]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update miscellaneous copyright dates.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
568035b7
JM
12013-01-02 Joseph Myers <joseph@codesourcery.com>
2
e6898b8d
JM
3 * NEWS: Update dates in second copyright notice.
4 * README: Update copyright dates in example.
5 * manual/libc.texinfo: Update copyright dates.
6 * scripts/test-installation.pl: Update copyright date in --version
7 output.
8
0e2f9562
JM
9 * hurd/ctty-input.c: Fix copyright notice formatting.
10 * hurd/ctty-output.c: Likewise.
11 * hurd/dtable.c: Likewise.
12 * hurd/hurd-raise.c: Likewise.
13 * hurd/hurdprio.c: Likewise.
14 * hurd/msgportdemux.c: Likewise.
15 * misc/sys/file.h: Likewise.
16 * misc/sys/ioctl.h: Likewise.
17 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18 * sysdeps/mach/hurd/chdir.c: Likewise.
19 * sysdeps/mach/hurd/fchdir.c: Likewise.
20 * sysdeps/mach/hurd/rename.c: Likewise.
21 * sysdeps/mach/hurd/rmdir.c: Likewise.
22 * sysdeps/mach/hurd/seekdir.c: Likewise.
23 * sysdeps/mach/hurd/setsid.c: Likewise.
24 * sysdeps/posix/wait3.c: Likewise.
25
568035b7
JM
26 * All files with FSF copyright notices: Update copyright dates
27 using scripts/update-copyrights.
28 * intl/plural.c: Regenerated.
29 * locale/programs/charmap-kw.h: Likewise.
30 * locale/programs/locfile-kw.h: Likewise.
31
da08f647
SP
322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33
0f5477af
SP
34 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35 four values.
36
44e0d4c2
SP
37 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38 calculation loop and add branch prediction.
39
4d55b4e5
SP
40 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41 check access beyond bounds of m1np.
42
da08f647
SP
43 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
44 MPTWO.
45 (__inv): Remove local variable MPTWO to use the global
46 constant.
47 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49 variable MPTWO.
50 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51 MP3HALFS static const.
52
8e051029
DM
532013-01-01 David S. Miller <davem@davemloft.net>
54
55 * po/ca.po: Update from translation team.
56
f4cf5f2d
JM
572013-01-01 Joseph Myers <joseph@codesourcery.com>
58
59 * scripts/update-copyrights: New file.
60 * Makeconfig: Reformat copyright notice.
61 * ctype/ctype.h: Likewise.
62 * debug/swprintf_chk.c: Likewise.
63 * elf/dl-cache.c: Likewise.
64 * elf/dl-debug.c: Likewise.
65 * elf/dl-object.c: Likewise.
66 * grp/initgroups.c: Likewise.
67 * hurd/Makefile: Likewise.
68 * hurd/hurd/signal.h: Likewise.
69 * hurd/hurdfault.c: Likewise.
70 * hurd/hurdioctl.c: Likewise.
71 * hurd/hurdlookup.c: Likewise.
72 * hurd/intr-msg.c: Likewise.
73 * iconv/gconv_open.c: Likewise.
74 * libio/swprintf.c: Likewise.
75 * locale/lc-ctype.c: Likewise.
76 * locale/nl_langinfo.c: Likewise.
77 * mach/Machrules: Likewise.
78 * mach/Makefile: Likewise.
79 * malloc/obstack.h: Likewise.
80 * manual/Makefile: Likewise.
81 * manual/tsort.awk: Likewise.
82 * misc/bits/stab.def: Likewise.
83 * nis/nis_print_group_entry.c: Likewise.
84 * nis/nis_table.c: Likewise.
85 * nis/nss_compat/compat-pwd.c: Likewise.
86 * nis/nss_compat/compat-spwd.c: Likewise.
87 * po/Makefile: Likewise.
88 * posix/fnmatch.c: Likewise.
89 * posix/regex.h: Likewise.
90 * resolv/Makefile: Likewise.
91 * resolv/nss_dns/dns-network.c: Likewise.
92 * resolv/res_hconf.c: Likewise.
93 * scripts/gen-sorted.awk: Likewise.
94 * soft-fp/soft-fp.h: Likewise.
95 * stdio-common/printf.h: Likewise.
96 * stdlib/monetary.h: Likewise.
97 * stdlib/random.c: Likewise.
98 * stdlib/random_r.c: Likewise.
99 * sysdeps/generic/Makefile: Likewise.
100 * sysdeps/gnu/Makefile: Likewise.
101 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
108 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
111 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
112 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
113 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
114 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
115 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
116 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
117 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
119 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
120 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
121 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
122 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
123 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
124 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
125 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
129 * sysdeps/mach/hurd/errnos.awk: Likewise.
130 * sysdeps/mach/hurd/fork.c: Likewise.
131 * sysdeps/mach/hurd/getcwd.c: Likewise.
132 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
133 * sysdeps/mach/hurd/mmap.c: Likewise.
134 * sysdeps/mach/hurd/utimes.c: Likewise.
135 * sysdeps/mach/hurd/xmknod.c: Likewise.
136 * sysdeps/posix/profil.c: Likewise.
137 * sysdeps/posix/readdir_r.c: Likewise.
138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
139 * sysdeps/powerpc/bits/setjmp.h: Likewise.
140 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
141 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
145 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
147 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
148 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
149 * sysdeps/pthread/lio_listio.c: Likewise.
150 * sysdeps/sparc/dl-procinfo.h: Likewise.
151 * sysdeps/unix/i386/sysdep.S: Likewise.
152 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
153 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
154 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
155 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
157 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
158 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
159 * sysdeps/unix/sysv/linux/speed.c: Likewise.
160 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
161 * sysdeps/wordsize-32/divdi3.c: Likewise.
162 * time/sys/time.h: Likewise.
163 * wcsmbs/Makefile: Likewise.
164
0549fbba
DM
1652013-01-01 David S. Miller <davem@davemloft.net>
166
a141f1a7
DM
167 * po/fr.po: Update from translation team.
168
0549fbba
DM
169 * catgets/gencat.c: Update copyright year.
170 * csu/version.c: Likewise.
171 * debug/catchsegv.sh: Likewise.
172 * debug/pcprofiledump.c: Likewise.
173 * debug/xtrace.sh: Likewise.
174 * elf/ldconfig.c: Likewise.
175 * elf/ldd.bash.in: Likewise.
176 * elf/pldd.c: Likewise.
177 * elf/sotruss.ksh: Likewise.
178 * elf/sprof.c: Likewise.
179 * iconv/iconv_prog.c: Likewise.
180 * iconv/iconvconfig.c: Likewise.
181 * locale/programs/locale.c: Likewise.
182 * locale/programs/localedef.c: Likewise.
183 * login/programs/pt_chown.c: Likewise.
184 * malloc/memusage.sh: Likewise.
185 * malloc/memusagestat.c: Likewise.
186 * malloc/mtrace.pl: Likewise.
187 * nscd/nscd.c: Likewise.
188 * nss/getent.c: Likewise.
189 * nss/makedb.c: Likewise.
190 * posix/getconf.c: Likewise.
191
18ea052c
SP
1922012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
193
194 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
195 numbers.
196
9c89fca6
MF
1972012-12-30 Mike Frysinger <vapier@gentoo.org>
198
199 * math/bits/mathcalls.h (modf): Use __nonnull.
200
085ec079
SP
2012012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
202
203 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
204 (split): Use macro CN instead of the bare value.
205 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
206 could be used.
207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
208 instead of the bare value.
209 (power1): Likewise.
210
6d9f97e1
SP
2112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
212
d63f73be
SP
213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
214 __ATAN_TWOM.
215 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
216
6d9f97e1
SP
217 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
218 their values.
219 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
220 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
221 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
222 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
223
4c4febf5
AJ
2242012-12-28 Andreas Jaeger <aj@suse.de>
225
af5843ef
AJ
226 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
227 values are from Linux 3.7.
228
4c4febf5
AJ
229 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
230 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
231
99136f82
SP
2322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
233
2f216c3c 234 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
235 TRUE case.
236
99136f82
SP
237 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
238 (norm): Likewise.
239 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
240 variables with preprocessor constants.
241 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
243 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
244
7fffbdff
BH
2452012-12-27 Bruno Haible <bruno@clisp.org>
246
247 [BZ #14317]
248 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
249 only if needed.
250
b76eb5f0
SP
2512012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
252
31a7fe5c
SP
253 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
254 and use variable directly.
255 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
256
b76eb5f0
SP
257 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
258 MPONE.
259 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
261 variable MPONE.
262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
264 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
265 include directive. Remove local variable MPONE.
266 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
267 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
269
2c8bfe7d
DM
2702012-12-25 David S. Miller <davem@davemloft.net>
271
272 * version.h (RELEASE): Set to "development".
273 (VERSION): Set to "2.17.90".
274 * NEWS: Add 2.18 section.
275
147d03b0
DM
2762012-12-21 David S. Miller <davem@davemloft.net>
277
278 * po/hr.po: Update from translation team.
279
a8ebb2b9
AK
2802012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
281
282 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
283
95b4f1b6
SE
2842012-12-19 Steve Ellcey <sellcey@mips.com>
285
b2d94007 286 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 287
cedb2a90
MS
2882012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
289
290 * manual/contrib.texi (Contributors): Spelling correction.
291
bbf527d6
DM
2922012-12-15 David S. Miller <davem@davemloft.net>
293
294 * po/ru.po: Update from translation team.
295
bc38c906
DM
2962012-12-13 David S. Miller <davem@davemloft.net>
297
85429b1a
DM
298 * NEWS: Mention IFUNC testsuite enhancements.
299
d283e353
DM
300 * po/pl.po: Update from translation team.
301 * po/bg.po: Likewise.
302
bc38c906
DM
303 * manual/contrib.texi (Contributors): Update entries for Hongjiu
304 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
305
a181b0d7
DM
3062012-12-11 David S. Miller <davem@davemloft.net>
307
4641d57e
DM
308 * po/sv.po: Update from translation team.
309
f7bc6495
DM
310 * po/vi.po: Update from translation team.
311
6fc9048f
DM
312 * po/cs.po: Update from translation team.
313
a181b0d7
DM
314 * po/de.po: Update from translation team.
315 * po/eo.po: Likewise.
316 * po/nl.po: Likewise.
317
f70bfe80
SP
3182012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
319
3c8b4190
SP
320 [BZ #14246]
321 * manual/argp.texi (Argp Helper Functions): Move node to follow
322 Argp Parsing State.
323
f70bfe80
SP
324 [BZ #14872]
325 * manual/conf.texi (Limits on File System Capacity): Mention if
326 terminating null is included in the max size.
327
188f0adf
AJ
3282012-12-10 Andreas Jaeger <aj@suse.de>
329
330 * po/cs.po: Update from translation team.
331
56e7d3ad
SP
3322012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
333
334 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
335 void pointer and cast to uintptr_t.
336 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
337 path.
338 * sysdeps/s390/s390-64/memcpy.S: Likewise.
339 * sysdeps/s390/s390-64/memset.S: Likewise.
340
76f2d2ea 3412012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
342
343 [BZ #14833]
344 * menual/message.texi (Message Translation): Fix typos.
345 (Helper programs for gettext): Likewise.
346
67cbf9a2
AS
3472012-12-07 Andreas Schwab <schwab@linux-m68k.org>
348
349 [BZ #14898]
350 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
351 Change to -1.
352
682d0e9a
DM
3532012-12-07 David S. Miller <davem@davemloft.net>
354
355 * po/libc.pot: Update.
356
573cd484
RH
3572012-12-07 Richard Henderson <rth@redhat.com>
358
7e9da188 359 [BZ #10114]
573cd484
RH
360 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
361 normal/normal case to before the switch.
362 (_FP_DIV): Likewise.
363
e933a943
MF
3642012-12-06 Carlos O'Donell <carlos@systemhalted.org>
365 Mike Frysinger <vapier@gentoo.org>
366
367 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
368 check for __NR_fadvise64_64.
369
82123268
CM
3702012-12-06 Chris Metcalf <cmetcalf@tilera.com>
371
372 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
373 0, not just to plain "0" as a statement.
374 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
375 with cw.
376
d9814526
JM
3772012-12-06 Joseph Myers <joseph@codesourcery.com>
378
379 * NEWS: Use sourceware.org in Bugzilla URL.
380
7728c574
SP
3812012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
382
f16946dd
SP
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
384 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
385
5704bbcb
SP
386 * stdio-common/tst-put-error.c (do_test): Add newline to the
387 padded test to ensure flush.
388
17aa0516
JL
3892012-12-05 Jeff Law <law@redhat.com>
390
391 * sunrpc/etc.rpc (fedfs_admin): Add entry.
392
363313b5
JM
3932012-12-05 Joseph Myers <joseph@codesourcery.com>
394
effbd42a
JM
395 * README: Don't refer to ports add-on as distributed separately.
396 Mention AArch64 in list of systems supported in the ports add-on.
397
87600365
JM
398 * LICENSES: Add more non-FSF copyright and license notices.
399
a0d7066a
JM
400 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
401 ((unused)).
402
66ca5a5b
JM
403 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
404
363313b5
JM
405 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
406 10000 as width of padded output.
407
b37984ad
JM
4082012-12-04 Joseph Myers <joseph@codesourcery.com>
409
9003570a
JM
410 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
411
b37984ad
JM
412 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
413 variable LX with __attribute__ ((unused)).
414 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
415 Likewise.
416 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
419 with __attribute__ ((unused)).
420
c8df52ec
DM
4212012-12-04 David S. Miller <davem@abraco.davemloft.net>
422
423 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
424
b3b099af
JM
4252012-12-04 Joseph Myers <joseph@codesourcery.com>
426
c33aa6e3
JM
427 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
428 (CFLAGS-nldbl-acos.c): New variable.
429 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
430 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
431 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
432 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
433 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
434 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
435 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
436 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
437 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
438 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
439 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
440 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
441 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
442 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
443 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
444 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
445 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
446 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
447 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
448 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
449 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
450 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
451 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
452 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
453 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
454 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
455 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
456 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
457 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
458 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
459 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
460 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
461 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
462 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
463 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
464 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
465 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
466 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
467 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
468 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
469 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
470 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
471 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
472 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
473 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
474 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
475 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
476 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
477 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
478 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
479 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
480 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
481 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
482 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
483 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
484 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
485 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
486 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
487 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
488 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
489 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
490 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
491 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
492 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
493 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
494 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
495 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
496 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
497 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
498 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
499 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
500 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
501 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
502 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
503 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
504 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
505 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
506 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
507 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
508 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
509 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
510 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
511 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
512 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
513 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
514 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
515 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
516 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
517 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
518 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
519 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
520 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
521 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
522 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
523 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
524 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
525 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
526
20f0018d
JM
527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
528 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
529
b3b099af
JM
530 [BZ #14914]
531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
532 whole low double instead of just low 47 bits when splitting values
533 into two parts.
534
029264d1
AM
5352012-12-03 Allan McRae <allan@archlinux.org>
536
537 * manual/stdio.texi (Predefined Printf Handlers): Remove
538 @hsep and @vsep usage.
539
c9d6789e
MF
5402012-12-03 Mike Frysinger <vapier@gentoo.org>
541
542 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
543 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
544
4b7634a5
JL
5452012-12-03 Jeff Law <law@redhat.com>
546
547 * time/sys/time.h (settimeofday): Do not mark TV argument
548 as __nonnull.
549
eb6cbd24
MF
5502012-12-01 Mike Frysinger <vapier@gentoo.org>
551
552 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
553 when currently writing and seek to current position when not.
554 * libio/Makefile (tests): Remove bug-fclose1.
555 * libio/bug-fclose1.c: Delete.
556
f638872a
JM
5572012-12-01 Joseph Myers <joseph@codesourcery.com>
558
559 * manual/arith.texi (feenableexcept): Fix typo.
560 (fedisableexcept): Likewise.
561
48085d14
RM
5622012-11-30 Roland McGrath <roland@hack.frob.com>
563
564 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
565 second, differently-typed declaration, rather than a cast.
566
1a538b9f
SP
5672012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
568
569 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
570 * include/rpc/svc.h: ... here.
571
d07f2ff1 5722012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
573
574 [BZ #13013]
575 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
576 depending n and resplen2 to catch cases where answer
577 equals answerp2.
578
c93ec1f0
CD
5792012-11-29 Carlos O'Donell <carlos@systemhalted.org>
580
581 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
582 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
583
37db69de
MF
5842012-11-29 Mike Frysinger <vapier@gentoo.org>
585
586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
587
e10c4e4f
RM
5882012-11-29 Roland McGrath <roland@hack.frob.com>
589
590 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
591
2af1b328
JL
5922012-11-28 Jeff Law <law@redhat.com>
593
594 [BZ #13761]
595 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
596 dataset_temporary. Track alloca usage into alloca_used.
597 If dataset is large allocate and release it via malloc/free.
598
111db5b1
FW
5992012-06-04 Florian Weimer <fweimer@redhat.com>
600
f06cc227 601 [BZ #14197]
111db5b1
FW
602 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
603
dd694abd
DM
6042012-11-28 David S. Miller <davem@davemloft.net>
605
606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
607
9984dd01
JM
6082012-11-28 Joseph Myers <joseph@codesourcery.com>
609
610 [BZ #14803]
611 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
612 of pi/2 rounded to nearest to 64 bits.
613 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
614 nearest to 64 bits.
615 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
616 bits.
617
14bc93a9
JL
6182012-11-28 Jeff Law <law@redhat.com>
619 Martin Osvald <mosvald@redhat.com>
620
621 [BZ #14889]
622 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
623 * sunrpc/svc.c: Include time.h.
624 (__svc_accept_failed): New function.
625 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
626 any reason other than EINTR, call __svc_accept_failed.
627 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
628 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
629
e3c6aa3a
AS
6302012-11-28 Andreas Schwab <schwab@suse.de>
631
632 * scripts/abilist.awk: Also handle indirect functions in .opd
633 section.
634
1bead169
JM
6352012-11-28 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #13881]
638 * sysdeps/x86/fpu/powl_helper.c: New file.
639 * sysdeps/x86/fpu/Makefile: Likewise.
640 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
641 (p3): New object.
642 (__ieee754_powl): Use __powl_helper for finite arguments except
643 integer exponents below 8.
644 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
645 (p3): New object.
646 (__ieee754_powl): Use __powl_helper for finite arguments except
647 integer exponents below 8.
648 * math/libm-test.inc (pow_test): Add more tests and enable some
649 previously disabled tests.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652
0817d63d
SP
6532012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
654 Carlos O'Donell <carlos_odonell@mentor.com>
655
656 * nss/makedb.c (is_prime): Assert that input is odd and greater
657 than 4. Note that fact in a comment too.
658 (next_prime): Add 4 to input.
659
de2fd463
SP
6602012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
661
662 [BZ #11741]
663 * libio/Makefile (tests): Add test case tst-fwrite-error.
664 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
665 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
666 * libio/tst-fwrite-error.c: New test case.
667
c515fb51
L
6682012-11-26 H.J. Lu <hongjiu.lu@intel.com>
669
670 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
671 before casting to void *.
672 * include/libc-internal.h (__pointer_type): New macro.
673 (__integer_if_pointer_type_sub): Likewise.
674 (__integer_if_pointer_type): Likewise.
675 (cast_to_integer): Likewise.
676 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
677 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
678 before casting to atomic64_t.
679 (atomic_exchange_acq): Likewise.
680 (__arch_exchange_and_add_body): Likewise.
681 (__arch_add_body): Likewise.
682 (atomic_add_negative): Likewise.
683 (atomic_add_zero): Likewise.
684
4cf77aa9
JM
6852012-11-26 Joseph Myers <joseph@codesourcery.com>
686
687 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
688 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
689 (add_fdes): Likewise.
690 (linear_search_fdes): Likewise.
691 (binary_search_unencoded_fdes): Likewise.
692
d260b3b4
AS
6932012-11-26 Andreas Schwab <schwab@linux-m68k.org>
694
695 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
696
67060746
AC
6972012-11-24 Adam Conrad <adconrad@0c3.net>
698
699 * configure.in: Autodetect C++ header directories.
700 * configure: Regenerated.
701
800938a1
MF
7022012-11-23 Mike Frysinger <vapier@gentoo.org>
703
704 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
705
4e6e34e6
AS
7062012-11-23 Andreas Schwab <schwab@linux-m68k.org>
707
708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
709
7c7feb47
JM
7102012-11-22 Joseph Myers <joseph@codesourcery.com>
711
7184dcdf
JM
712 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
713 LDBL_MANT_DIG == 106]: Disable some tests.
714 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
715 Likewise.
716 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
717 Likewise.
718
0a42601f
JM
719 [BZ #14871]
720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
721 input for small inputs. Return +/- pi/2 for large inputs.
722 * math/libm-test.inc (atan_test): Add more tests.
723
79c9b9fe
JM
724 * sysdeps/generic/unwind-dw2-fde-glibc.c
725 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
726 __attribute__ ((unused)).
727
c60d3bf2
JM
728 [BZ #14645]
729 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
730 x * y if x and y are nonzero and z is zero.
731
ef1e0867
JM
732 [BZ #14811]
733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
734 nonzero exponents with absolute value below 0x1p-117 to +/-
735 0x1p-117.
736
1468ded3
JM
737 [BZ #14869]
738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
739 up arguments below 2**-450, not just those below 2**-500.
740 * math/libm-test.inc (hypot_test): Add another test.
741
8e27e3cc
JM
742 [BZ #14868]
743 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
744 Return a+b for ratio over 2**120, not 2**60.
745 * math/libm-test.inc (hypot_test): Add another test.
746
c9c0279b
JM
747 * math/libm-test.inc (clog_test): Use
748 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
749 (clog10_test): Likewise.
750
7c7feb47
JM
751 [BZ #6778]
752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
753
fff1530e
AS
7542012-11-22 Andreas Schwab <schwab@suse.de>
755
756 * sysdeps/i386/fpu/libm-test-ulps: Update.
757
94558d30
PT
7582012-11-22 Pino Toscano <toscano.pino@tiscali.it>
759
760 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
761 printf output with newline.
762
7e1be741
L
7632012-11-21 H.J. Lu <hongjiu.lu@intel.com>
764
6bfea974
L
765 [BZ #14865]
766 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
767 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
768 -z nodlopen, -z initfirst and -z execstack support.
769 * configure: Regenerated.
770
7e1be741
L
771 * elf/elf.h (DF_1_NODIRECT): New macro.
772 (DF_1_IGNMULDEF): Likewise.
773 (DF_1_NOKSYMS): Likewise.
774 (DF_1_NOHDR): Likewise.
775 (DF_1_EDITED): Likewise.
776 (DF_1_NORELOC): Likewise.
777 (DF_1_SYMINTPOSE): Likewise.
778 (DF_1_GLOBAUDIT): Likewise.
779 (DF_1_SINGLETON): Likewise.
780 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
781 DT_1_SUPPORTED_MASK bits.
782 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
783
105ce2ce
CD
7842012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
785
786 * sysdeps/unix/make-syscalls.sh: Document prefixes.
787
123be9de
TS
7882012-11-20 Thomas Schwinge <thomas@codesourcery.com>
789
d072f3f7
TS
790 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
791 macro.
792
123be9de
TS
793 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
794 (sendmmsg): Move declarations...
795 * socket/sys/socket.h: ... here.
796 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
797 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
798 include it from...
799 * socket/recvmmsg.c: ... this new file.
800 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
801 (sendmmsg): Rename to __sendmmsg, create weak alias and make
802 definition of __sendmmsg hidden.
803 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
804 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
805 Move ENOSYS stub into and include it from...
806 * socket/sendmmsg.c: ... this new file.
807 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
808 (sysdep_routines): Move recvmmsg and sendmmsg...
809 * socket/Makefile (routines): ... here.
810 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
811 (GLIBC_PRIVATE): Add __sendmmsg.
812 * include/sys/socket.h (__sendmmsg): Add declarations.
813 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
814 sendmmsg.
815
cf9a5d18
JM
8162012-11-20 Joseph Myers <joseph@codesourcery.com>
817
818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
819 variable I1 with __attribute__ ((unused)).
820 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
821
ecd4caf9
JM
8222012-11-19 Joseph Myers <joseph@codesourcery.com>
823
be14d48f
JM
824 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
825 DUMMY variables with __attribute__ ((unused)).
826
ecd4caf9
JM
827 * bits/byteswap.h: Include <bits/types.h>.
828 (__bswap_64): Use __uint64_t instead of unsigned long long int.
829
986cab95
PT
8302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
831
832 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
833 string_t. Do not manually set errno.
834 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
835 length with __strnlen. Make sure to both set errno and return it on
836 failure.
837
6d33cc9d
DM
8382012-11-19 David S. Miller <davem@davemloft.net>
839
840 With help from Joseph Myers.
841 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
842 very large arguments properly.
843 * math/libm-test.inc (atan_test): New tests.
844 (atan2_test): New tests.
845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
847
ee663277
JM
8482012-11-19 Joseph Myers <joseph@codesourcery.com>
849
877f2d8e
JM
850 [BZ #14856]
851 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
852 Define to 3.
853
116fc08a
JM
854 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
855 [POSIX] (EADDRNOTAVAIL): Likewise.
856 [POSIX] (EAFNOSUPPORT): Likewise.
857 [POSIX] (EALREADY): Likewise.
858 [POSIX] (ECONNABORTED): Likewise.
859 [POSIX] (ECONNREFUSED): Likewise.
860 [POSIX] (ECONNRESET): Likewise.
861 [POSIX] (EDESTADDRREQ): Likewise.
862 [POSIX] (EDQUOT): Likewise.
863 [POSIX] (EHOSTUNREACH): Likewise.
864 [POSIX] (EIDRM): Likewise.
865 [POSIX] (EISCONN): Likewise.
866 [POSIX] (ELOOP): Likewise.
867 [POSIX] (EMULTIHOP): Likewise.
868 [POSIX] (ENETDOWN): Likewise.
869 [POSIX] (ENETUNREACH): Likewise.
870 [POSIX] (ENOBUFS): Likewise.
871 [POSIX] (ENODATA): Likewise.
872 [POSIX] (ENOLINK): Likewise.
873 [POSIX] (ENOMSG): Likewise.
874 [POSIX] (ENOPROTOOPT): Likewise.
875 [POSIX] (ENOSR): Likewise.
876 [POSIX] (ENOSTR): Likewise.
877 [POSIX] (ENOTCONN): Likewise.
878 [POSIX] (ENOTSOCK): Likewise.
879 [POSIX] (EOPNOTSUPP): Likewise.
880 [POSIX] (EOVERFLOW): Likewise.
881 [POSIX] (EPROTO): Likewise.
882 [POSIX] (EPROTONOSUPPORT): Likewise.
883 [POSIX] (EPROTOTYPE): Likewise.
884 [POSIX] (ESTALE): Likewise.
885 [POSIX] (ETIME): Likewise.
886 [POSIX] (ETXTBSY): Likewise.
887 [POSIX] (EWOULDBLOCK): Likewise.
888 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
889 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
890 [POSIX] (SEEK_CUR): Likewise.
891 [POSIX] (SEEK_END): Likewise.
892 [POSIX || UNIX98] (mode_t): Do not require.
893 [POSIX] (off_t): Likewise.
894 [POSIX] (pid_t): Likewise.
895 [POSIX] (sys/stat.h): Do not allow header.
896 [POSIX] (unistd.h): Likewise.
897 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
898 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
899 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
900 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
901 require.
902 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
903 sigevent): Specify elements.
904 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
905 entry.
906 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
907 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
908
a483863f
JM
909 * conform/data/cpio.h-data [POSIX]: Disable whole file.
910 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
911 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
912 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
913 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
914 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
915 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
916 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
917 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
918 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
919 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
920 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
921 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
922 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
923 Likewise.
924 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
925 Likewise.
926 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
927 Likewise.
928 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
929 Likewise.
930 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
931 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
932 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
933 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
934 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
935 Specify lower bound on value.
936 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
937 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
938 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
939 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
940 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
941 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
942 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
943 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
944 value.
945 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
946 as optional.
947 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
948 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
949 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
950 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
951 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
952 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
953 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
954 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
955 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
956 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
957 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
958 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
959 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
960 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
961 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
962 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
963 entry.
964 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
965 optional.
966 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
967 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
968 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
969 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
970 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
971 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
972 Likewise.
973 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
974 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
975 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
976 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
977 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
978 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
980 as optional.
981 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
982 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
983 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
984 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
985 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
986 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
987 specify as optional.
988 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
989 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
990 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
991 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
992 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
993 [XPG3] (NL_LANGMAX): Likewise.
994 [POSIX || XPG3] (NL_MSGMAX): Likewise.
995 [POSIX || XPG3] (NL_NMAX): Likewise.
996 [POSIX || XPG3] (NL_SETMAX): Likewise.
997 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
998 [XPG3] (NZERO): Likewise.
999 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1000 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1001 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1002 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1003 (REG_ERANGE): Expect.
1004 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1005 optional-constant.
1006 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1007 Use (void) in prototype.
1008 [POSIX] (*_t): Allow.
1009 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1010 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1011 (WRDE_BADVAL): Expect.
1012
5ba924e3
JM
1013 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1014 expect.
1015 [XPG3 || XPG4] (O_RSYNC): Likewise.
1016 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1017 Likewise.
1018 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1019 [XPG3 || XPG4] (sigqueue): Likewise.
1020 [XPG3 || XPG4] (sigtimedwait): Likewise.
1021 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1022 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1023 [XPG3 || XPG4] (vsnprintf): Likewise.
1024 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1025 Likewise.
1026 [XPG3 || XPG4] (blksize_t): Likewise.
1027 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1028 Likewise.
1029 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1030 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1031 [XPG3 || XPG4] (struct itimerspec): Likewise.
1032 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1033 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1034 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1035 [XPG3 || XPG4] (clockid_t): Likewise.
1036 [XPG3 || XPG4] (timer_t): Likewise.
1037 [XPG3 || XPG4] (clock_getres): Likewise.
1038 [XPG3 || XPG4] (clock_gettime): Likewise.
1039 [XPG3 || XPG4] (clock_settime): Likewise.
1040 [XPG3 || XPG4] (nanosleep): Likewise.
1041 [XPG3 || XPG4] (timer_create): Likewise.
1042 [XPG3 || XPG4] (timer_delete): Likewise.
1043 [XPG3 || XPG4] (timer_gettime): Likewise.
1044 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1045 [XPG3 || XPG4] (timer_settime): Likewise.
1046 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1047 [XPG3 || XPG4] (getlogin_r): Likewise.
1048 [XPG3 || XPG4] (pread): Likewise.
1049 [XPG3 || XPG4] (pthread_atfork): Likewise.
1050 [XPG3 || XPG4] (pwrite): Likewise.
1051
ee663277
JM
1052 [BZ #14835]
1053 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1054 <bits/siginfo.h>.
1055
942caa16
PT
10562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1057
e19af380
PT
1058 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1059 finalizing MALLSTREAM.
1060
942caa16
PT
1061 * sysdeps/mach/hurd/syncfs.c: New file.
1062
cfde9b46
SP
10632012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1064
1065 [BZ #14719]
1066 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1067 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1069 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1070 (_nss_dns_gethostbyname4_r): Likewise.
1071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1072 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1073
f6da27e5
PH
10742012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1075
1076 [BZ #13763]
1077 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1078
6665d4a2
SM
10792012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1080
1f51ee92
SM
1081 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1082 * elf/cache.c (print_entry): Print ",AArch64" for
1083 FLAG_AARCH64_LIB64
1084
6665d4a2
SM
1085 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1086 * elf/cache.c (print_entry): Print ",hard-float" for
1087 FLAG_ARM_LIBHF.
1088
05b227bd
DM
10892012-11-18 David S. Miller <davem@davemloft.net>
1090
1091 With help from Joseph Myers.
1092 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1093 cutoff to 2**-13.
1094 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1095 cutoff to 2**-25.
1096 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1097 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1098 small.
1099 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1100 * math/libm-test.inc (y0_test): New tests.
1101 (y1_test): New tests.
1102 * sysdeps/i386/fpu/libm-test-ulps: Update.
1103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1105
786b0b67
AS
11062012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1107
1108 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1109 64-bit targets.
1110 * configure: Regenerated.
1111
8e18b86d
DM
11122012-11-17 David S. Miller <davem@davemloft.net>
1113
1114 [BZ #14811]
1115 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1116 nonzero exponents with absolute value below 0x1p-128 to +/-
1117 0x1p-128.
1118
531f1ae0
JM
11192012-11-17 Joseph Myers <joseph@codesourcery.com>
1120
12df29e2
JM
1121 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1122
150dc1a0
JM
1123 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1124
531f1ae0
JM
1125 * posix/getconf-speclist.c: New file.
1126 * posix/posix-envs.def: Likewise.
1127 * posix/confstr.c (START_ENV_GROUP): New macro.
1128 (END_ENV_GROUP): Likewise.
1129 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1130 (KNOWN_PRESENT_ENV_STRING): Likewise.
1131 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1132 (UNKNOWN_ENVIRONMENT): Likewise.
1133 (confstr): Include posix-envs.def instead of handling
1134 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1135 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1136 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1137 (END_ENV_GROUP): Likewise.
1138 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1139 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1140 (UNKNOWN_ENVIRONMENT): Likewise.
1141 (__sysconf): Include posix-envs.def instead of handling associated
1142 cases directly here.
1143 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1144 preprocessing getconf-speclist.c rather than running getconf or
1145 generating empty file.
1146
a93f9cbc
PT
11472012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1148
1149 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1150
d64d9f87
AL
11512012-11-16 Andrej Lajovic <natrij@gmail.com>
1152
1153 [BZ #14672]
1154 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1155
447885eb
DM
11562012-11-16 David S. Miller <davem@davemloft.net>
1157
1158 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1159 smaller than LDBL_EPSILON/2.0L, just return xm1.
1160
bcbf9830
L
11612012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 * elf/tst-array1.c (init): Set constructor priority to 1000.
1164 (fini): Set destructor priority to 1000.
1165 * elf/tst-array2dep.c: Likewise.
1166
2b766585
SP
11672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1168
1169 [BZ #11741]
1170 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1171 (_IO_new_file_xsputn): Also return EOF if none of the input
1172 data was written when overflow failed.
1173 * libio/iopadn.c (_IO_padn): Likewise.
1174 * libio/iowpadn.c (_IO_wpadn): Likewise.
1175 * stdio-common/tst-put-error.c: Add copyright notice.
1176 (do_test): Add case for printing padded string.
1177 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1178 _IO_padn returned error.
1179 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1180 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1181 return EOF.
1182
b1848fde
SP
11832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
1185 * libio/libioP.h: Add comment note that the references to C++
1186 bits are now obsolete.
1187
2fd89785
MS
11882012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1189
1190 * math/libm-test.inc (check_complex): Use asprintf.
1191
e3ea5409
JM
11922012-11-14 Joseph Myers <joseph@codesourcery.com>
1193
1194 * debug/pcprofiledump.c (print_version): Update copyright year.
1195 * malloc/memusagestat.c (print_version): Likewise.
1196
2e64d265
L
11972012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 [BZ #14831]
1200 * elf/Makefile (tests): Add tst-audit8.
1201 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1202 ($(objpfx)tst-audit8.out): New target.
1203 (tst-audit8-ENV): New variable.
1204 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1205 audit if l_reloc_result is NULL.
1206 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1207 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1208 * elf/tst-audit8.c: New file.
1209
c485e4d2
MS
12102012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1211
1212 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1213 * misc/Makefile (CFLAGS-select.c): Define.
1214 * posix/Makefile (CFLAGS-pause.c): Define.
1215
3a0d900a
DM
12162012-11-13 David S. Miller <davem@davemloft.net>
1217
1218 * crypt/Makefile: Move test targets after toplevel Rules
1219 inclusion. Grab any necessary sysdep routines when linking.
1220 * crypt/md5.c (md5_process_block): Remove define, we will always
1221 name it __md5_process_block.
1222 (md5_finish_ctx): Update md5_process_block call.
1223 (md5_stream): Likewise.
1224 (md5_process_bytes): Likewise.
1225 (md5_process_block): Rename to __md5_process_block and move to ...
1226 * crypt/md5-block.c: ... here.
1227 * crypt/sha256.c (sha256_process_block): Move to ...
1228 * crypt/sha256-block.c: ... here.
1229 * crypt/sha512.c (sha512_process_block): Move to ...
1230 * crypt/sha512-block.c: ... here.
1231 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1232 path.
1233 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1234 * sysdeps/sparc/sparc64/multiarch/Makefile
1235 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1236 crypt subdir.
1237 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1238 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1239 multiarch changes.
1240 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1241 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1242 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1243 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1244 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1245 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1246 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1247 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1249 file.
1250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1251 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1252 file.
1253 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1254
8ca89318
JM
12552012-11-13 Joseph Myers <joseph@codesourcery.com>
1256
e27d476a
JM
1257 * timezone/tzselect.ksh: Update from tzcode git revision
1258 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1259 * timezone/zdump.c: Likewise.
1260 * timezone/zic.c: Likewise.
1261 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1262 in TZVERSION setting, not $(PKGVERSION).
1263 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1264 REPORT_BUGS_TO settings.
1265
8ca89318
JM
1266 [BZ #14838]
1267 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1268 macro.
1269
47594329
MS
12702012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1271
1272 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1273 detection to immediately after _FP_ROUND().
1274 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1275 bits are 0.
1276
640ac3f1
DM
12772012-11-11 David S. Miller <davem@davemloft.net>
1278
1279 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1280 inttypes.h
1281 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1282 __close rather than their public counterparts.
1283
3d2577bb
JM
12842012-11-10 Joseph Myers <joseph@codesourcery.com>
1285
1286 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1287 file.
1288 [UNIX98] (sem_timedwait): Do not expect.
1289 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1290 [XPG4 || UNIX98] (sockatmark): Do not expect.
1291 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1292 (clock_getcpuclockid): Do not expect.
1293 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1294 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1295 Do not expect.
1296 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1297 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1298 [UNIX98] (vwscanf): Likewise.
1299 [UNIX98] (vswscanf): Likewise.
1300
fb1ae1ee
JM
13012012-11-09 Joseph Myers <joseph@codesourcery.com>
1302
9ec6f8bd
JM
1303 * timezone/version.h: Remove file.
1304 * timezone/README: Do not refer to version.h.
1305 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1306 $(objpfx)version.h.
1307 ($(objpfx)zdump.o): Likewise.
c3f81911 1308 ($(objpfx)version.h): New target.
9ec6f8bd 1309
0aa8f8a1
JM
1310 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1311 2012i.
1312 * timezone/README: Don't mention modification to tzselect.ksh.
1313 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1314 work on unmodified tzselect.ksh. Substitute version numbers in
1315 tzselect.ksh.
1316
4e87147f
JM
1317 * Makefile (format-me): Remove.
1318 (INSTALL): Adjust indentation. Use commands directly instead of
1319 using $(format-me).
1320
8b748aed
JM
1321 * aclocal.m4 (ACX_PKGVERSION): New macro.
1322 (ACX_BUGURL): Likewise.
1323 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1324 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1325 (REPORT_BUGS_TO): Likewise.
1326 * configure: Regenerated.
1327 * config.h.in (PKGVERSION): New macro.
1328 (REPORT_BUGS_TO): Likewise.
1329 * config.make.in (PKGVERSION): New variable.
1330 (PKGVERSION_TEXI): Likewise.
1331 (REPORT_BUGS_TO): Likewise.
1332 (REPORT_BUGS_TEXI): Likewise.
1333 * Makefile (format-me): Use -I$(common-objpfx)manual.
1334 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1335 ($(common-objpfx)manual/%): New target.
1336 (manual/%): Remove target.
1337 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1338 (print_version): Use PKGVERSION.
1339 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1340 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1341 and REPORT_BUGS_TO.
1342 ($(objpfx)xtrace): Likewise.
1343 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1344 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1345 (print_version): Use PKGVERSION.
1346 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1347 (do_version): Use PKGVERSION.
1348 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1349 REPORT_BUGS_TO.
1350 (common-ldd-rewrite): Likewise.
1351 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1352 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1353 (print_version): Use PKGVERSION.
1354 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1355 * elf/pldd.c (argp_program_bug_address): Remove variable.
1356 (more_help): New function.
1357 (argp): Use more_help.
1358 (print_version): Use PKGVERSION.
1359 * elf/sln.c (main): Use PKGVERSION.
1360 (usage): Use REPORT_BUGS_TO.
1361 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1362 (top level): Use PKGVERSION.
1363 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1364 (print_version): Use PKGVERSION.
1365 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1366 (print_version): Use PKGVERSION.
1367 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1368 (print_version): Use PKGVERSION.
1369 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1370 (print_version): Use PKGVERSION.
1371 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1372 (print_version): Use PKGVERSION.
1373 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1374 (print_version): Use PKGVERSION.
1375 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1376 and BUGURL.
1377 ($(objpfx)memusage): Likewise.
1378 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1379 (do_version): Use PKGVERSION.
1380 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1381 (print_version): Use PKGVERSION.
1382 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1383 ($PKGVERSION): New variable.
1384 ($REPORT_BUGS_TO): Likewise.
1385 (usage): Use $REPORT_BUGS_TO.
1386 (top level): Use $PKGVERSION.
1387 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1388 ($(objpfx)pkgvers.texi): New rule.
1389 ($(objpfx)stamp-pkgvers): Likewise.
1390 * manual/install.texi: Include pkgvers.texi.
1391 (--with-pkgversion): Document new configure option.
1392 (--with-bugurl): Likewise.
1393 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1394 than necessarily for this particular distribution. Use
1395 REPORT_BUGS_TO for where to report bugs.
1396 * INSTALL: Regenerated.
1397 * manual/libc.texinfo: Include pkgvers.texi.
1398 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1399 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1400 (print_version): Use PKGVERSION.
1401 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1402 (print_version): Use PKGVERSION.
1403 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1404 (print_version): Use PKGVERSION.
1405 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1406 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1407 macro.
1408 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1409 (print_version): Use PKGVERSION.
1410 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1411 (print_version): Use PKGVERSION.
1412 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1413 and PKGVERSION.
1414
92e4b6a9
JM
1415 * timezone/checktab.awk: Update from tzcode 2012i.
1416 * timezone/ialloc.c: Likewise.
1417 * timezone/private.h: Likewise.
1418 * timezone/scheck.c: Likewise.
1419 * timezone/tzfile.h: Likewise.
1420 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1421 (TZVERSION): Hardcode tzcode version number.
1422 * timezone/zdump.c: Update from tzcode 2012i.
1423 * timezone/zic.c: Likewise.
1424 * timezone/version.h: New file.
1425 * timezone/README: Describe version.h. Update upstream location.
1426
9bde902c
JM
1427 [BZ #14824]
1428 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1429 (mktemp): Enable declaration.
1430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1431 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1433 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1434 Likewise.
1435 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1436 Likewise.
1437 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1438 Likewise.
1439 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1440 Likewise.
1441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1442 Likewise.
1443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1444 Likewise.
1445
fb1ae1ee
JM
1446 [BZ #14821]
1447 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1448 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1449 for copies of such integer values.
1450 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1451 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1452
2c1adbcb
AJ
14532012-11-09 Andreas Jaeger <aj@suse.de>
1454
1455 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1456 definitions and declarations that are provided by
1457 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1458
d0f8457e
AK
14592012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1460
1461 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1462 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1463 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1464 definition.
1465
57241e26
MS
14662012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1467
1468 * elf/elf.h: Update comment before AArch64 relocations.
1469
60e8270d
DM
14702012-11-07 David S. Miller <davem@davemloft.net>
1471
1472 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1474 (__start_context): Declare.
1475 (__makecontext_ret): Delete.
1476 (__makecontext): Hook up __start_context instead of
1477 __makecontext_ret.
1478 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1479 (sysdep_routines): Add __start_context when in stdlib.
1480
0fbb0fbc
JM
14812012-11-07 Joseph Myers <joseph@codesourcery.com>
1482
1483 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1484 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1485 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1486 hardcoded "nm".
1487 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1488 (READELF): New variable. Use it instead of hardcoded "readelf".
1489
eb48db7e
L
14902012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1491
1492 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1493 * sysdeps/x86/Makefile: Here.
1494 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1495 * sysdeps/x86/tst-xmmymm.sh: This.
1496
05bcf62a
JM
14972012-11-07 Joseph Myers <joseph@codesourcery.com>
1498
c4b6cf53
JM
1499 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1500 expectations.
1501 [UNIX98] (pthread_barrier_t): Do not expect.
1502 [UNIX98] (pthread_barrierattr_t): Likewise.
1503 [UNIX98] (pthread_spinlock_t): Likewise.
1504 [UNIX98] (pthread_barrier_destroy): Likewise.
1505 [UNIX98] (pthread_barrier_init): Likewise.
1506 [UNIX98] (pthread_barrier_wait): Likewise.
1507 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1508 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1509 [UNIX98] (pthread_barrierattr_init): Likewise.
1510 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1511 [UNIX98] (pthread_getcpuclockid): Likewise.
1512 [UNIX98] (pthread_mutex_timedlock): Likewise.
1513 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1514 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1515 [UNIX98] (pthread_sigmask): Likewise.
1516 [UNIX98] (pthread_spin_destroy): Likewise.
1517 [UNIX98] (pthread_spin_init): Likewise.
1518 [UNIX98] (pthread_spin_lock): Likewise.
1519 [UNIX98] (pthread_spin_trylock): Likewise.
1520 [UNIX98] (pthread_spin_unlock): Likewise.
1521 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1522 Do not expect.
1523 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1524 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1525 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1526 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1527 [XPG3 || XPG4] (pthread_key_t): Likewise.
1528 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1529 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1530 [XPG3 || XPG4] (pthread_once_t): Likewise.
1531 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1532 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1533 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1534 [XPG3 || XPG4] (pthread_t): Likewise.
1535
cbe6e120
JM
1536 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1537 not expect.
1538 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1539
1b126443
JM
1540 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1541 Change function return type to int.
1542
b961a573
JM
1543 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1544 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1545 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1546 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1547 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1548 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1549 [!POSIX] (posix_madvise): Likewise.
1550 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1551 && !UNIX98].
1552 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1553 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1554 (mode_t): Likewise.
1555 (posix_mem_offset): Likewise.
1556 (posix_typed_mem_get_info): Likewise.
1557 (posix_typed_mem_open): Likewise.
1558
9e188909
JM
1559 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1560 Change condition to [XOPEN2K8].
1561
05bcf62a
JM
1562 * conform/conformtest.pl: Preprocess allow-header data with -x c
1563 instead of from stdin.
1564 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1565 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1566 [C99-based standards] (cerfc): Likewise.
1567 [C99-based standards] (cexp2): Likewise.
1568 [C99-based standards] (cexpm1): Likewise.
1569 [C99-based standards] (clog10): Likewise.
1570 [C99-based standards] (clog1p): Likewise.
1571 [C99-based standards] (clog2): Likewise.
1572 [C99-based standards] (clgamma): Likewise.
1573 [C99-based standards] (ctgamma): Likewise.
1574 [C99-based standards] (cerff): Likewise.
1575 [C99-based standards] (cerfcf): Likewise.
1576 [C99-based standards] (cexp2f): Likewise.
1577 [C99-based standards] (cexpm1f): Likewise.
1578 [C99-based standards] (clog10f): Likewise.
1579 [C99-based standards] (clog1pf): Likewise.
1580 [C99-based standards] (clog2f): Likewise.
1581 [C99-based standards] (clgammaf): Likewise.
1582 [C99-based standards] (ctgammaf): Likewise.
1583 [C99-based standards] (cerfl): Likewise.
1584 [C99-based standards] (cerfcl): Likewise.
1585 [C99-based standards] (cexp2l): Likewise.
1586 [C99-based standards] (cexpm1l): Likewise.
1587 [C99-based standards] (clog10l): Likewise.
1588 [C99-based standards] (clog1pl): Likewise.
1589 [C99-based standards] (clog2l): Likewise.
1590 [C99-based standards] (clgammal): Likewise.
1591 [C99-based standards] (ctgammal): Likewise.
1592 * conform/data/inttypes.h-data [C99-based standards]: Include
1593 stdint.h-data. Remove all expectations for stdint.h contents.
1594 [C99-based standards] (PRI*): Do not allow.
1595 [C99-based standards] (SCN*): Likewise.
1596 [C99-based standards] (*_t): Likewise.
1597 [C99-based-standards] (PRId8): Expect macro.
1598 [C99-based-standards] (PRIi8): Likewise.
1599 [C99-based-standards] (PRIo8): Likewise.
1600 [C99-based-standards] (PRIu8): Likewise.
1601 [C99-based-standards] (PRIx8): Likewise.
1602 [C99-based-standards] (PRIX8): Likewise.
1603 [C99-based-standards] (SCNd8): Likewise.
1604 [C99-based-standards] (SCNi8): Likewise.
1605 [C99-based-standards] (SCNo8): Likewise.
1606 [C99-based-standards] (SCNu8): Likewise.
1607 [C99-based-standards] (SCNx8): Likewise.
1608 [C99-based-standards] (PRIdLEAST8): Likewise.
1609 [C99-based-standards] (PRIiLEAST8): Likewise.
1610 [C99-based-standards] (PRIoLEAST8): Likewise.
1611 [C99-based-standards] (PRIuLEAST8): Likewise.
1612 [C99-based-standards] (PRIxLEAST8): Likewise.
1613 [C99-based-standards] (PRIXLEAST8): Likewise.
1614 [C99-based-standards] (SCNdLEAST8): Likewise.
1615 [C99-based-standards] (SCNiLEAST8): Likewise.
1616 [C99-based-standards] (SCNoLEAST8): Likewise.
1617 [C99-based-standards] (SCNuLEAST8): Likewise.
1618 [C99-based-standards] (SCNxLEAST8): Likewise.
1619 [C99-based-standards] (PRIdFAST8): Likewise.
1620 [C99-based-standards] (PRIiFAST8): Likewise.
1621 [C99-based-standards] (PRIoFAST8): Likewise.
1622 [C99-based-standards] (PRIuFAST8): Likewise.
1623 [C99-based-standards] (PRIxFAST8): Likewise.
1624 [C99-based-standards] (PRIXFAST8): Likewise.
1625 [C99-based-standards] (SCNdFAST8): Likewise.
1626 [C99-based-standards] (SCNiFAST8): Likewise.
1627 [C99-based-standards] (SCNoFAST8): Likewise.
1628 [C99-based-standards] (SCNuFAST8): Likewise.
1629 [C99-based-standards] (SCNxFAST8): Likewise.
1630 [C99-based-standards] (PRId16): Likewise.
1631 [C99-based-standards] (PRIi16): Likewise.
1632 [C99-based-standards] (PRIo16): Likewise.
1633 [C99-based-standards] (PRIu16): Likewise.
1634 [C99-based-standards] (PRIx16): Likewise.
1635 [C99-based-standards] (PRIX16): Likewise.
1636 [C99-based-standards] (SCNd16): Likewise.
1637 [C99-based-standards] (SCNi16): Likewise.
1638 [C99-based-standards] (SCNo16): Likewise.
1639 [C99-based-standards] (SCNu16): Likewise.
1640 [C99-based-standards] (SCNx16): Likewise.
1641 [C99-based-standards] (PRIdLEAST16): Likewise.
1642 [C99-based-standards] (PRIiLEAST16): Likewise.
1643 [C99-based-standards] (PRIoLEAST16): Likewise.
1644 [C99-based-standards] (PRIuLEAST16): Likewise.
1645 [C99-based-standards] (PRIxLEAST16): Likewise.
1646 [C99-based-standards] (PRIXLEAST16): Likewise.
1647 [C99-based-standards] (SCNdLEAST16): Likewise.
1648 [C99-based-standards] (SCNiLEAST16): Likewise.
1649 [C99-based-standards] (SCNoLEAST16): Likewise.
1650 [C99-based-standards] (SCNuLEAST16): Likewise.
1651 [C99-based-standards] (SCNxLEAST16): Likewise.
1652 [C99-based-standards] (PRIdFAST16): Likewise.
1653 [C99-based-standards] (PRIiFAST16): Likewise.
1654 [C99-based-standards] (PRIoFAST16): Likewise.
1655 [C99-based-standards] (PRIuFAST16): Likewise.
1656 [C99-based-standards] (PRIxFAST16): Likewise.
1657 [C99-based-standards] (PRIXFAST16): Likewise.
1658 [C99-based-standards] (SCNdFAST16): Likewise.
1659 [C99-based-standards] (SCNiFAST16): Likewise.
1660 [C99-based-standards] (SCNoFAST16): Likewise.
1661 [C99-based-standards] (SCNuFAST16): Likewise.
1662 [C99-based-standards] (SCNxFAST16): Likewise.
1663 [C99-based-standards] (PRId32): Likewise.
1664 [C99-based-standards] (PRIi32): Likewise.
1665 [C99-based-standards] (PRIo32): Likewise.
1666 [C99-based-standards] (PRIu32): Likewise.
1667 [C99-based-standards] (PRIx32): Likewise.
1668 [C99-based-standards] (PRIX32): Likewise.
1669 [C99-based-standards] (SCNd32): Likewise.
1670 [C99-based-standards] (SCNi32): Likewise.
1671 [C99-based-standards] (SCNo32): Likewise.
1672 [C99-based-standards] (SCNu32): Likewise.
1673 [C99-based-standards] (SCNx32): Likewise.
1674 [C99-based-standards] (PRIdLEAST32): Likewise.
1675 [C99-based-standards] (PRIiLEAST32): Likewise.
1676 [C99-based-standards] (PRIoLEAST32): Likewise.
1677 [C99-based-standards] (PRIuLEAST32): Likewise.
1678 [C99-based-standards] (PRIxLEAST32): Likewise.
1679 [C99-based-standards] (PRIXLEAST32): Likewise.
1680 [C99-based-standards] (SCNdLEAST32): Likewise.
1681 [C99-based-standards] (SCNiLEAST32): Likewise.
1682 [C99-based-standards] (SCNoLEAST32): Likewise.
1683 [C99-based-standards] (SCNuLEAST32): Likewise.
1684 [C99-based-standards] (SCNxLEAST32): Likewise.
1685 [C99-based-standards] (PRIdFAST32): Likewise.
1686 [C99-based-standards] (PRIiFAST32): Likewise.
1687 [C99-based-standards] (PRIoFAST32): Likewise.
1688 [C99-based-standards] (PRIuFAST32): Likewise.
1689 [C99-based-standards] (PRIxFAST32): Likewise.
1690 [C99-based-standards] (PRIXFAST32): Likewise.
1691 [C99-based-standards] (SCNdFAST32): Likewise.
1692 [C99-based-standards] (SCNiFAST32): Likewise.
1693 [C99-based-standards] (SCNoFAST32): Likewise.
1694 [C99-based-standards] (SCNuFAST32): Likewise.
1695 [C99-based-standards] (SCNxFAST32): Likewise.
1696 [C99-based-standards] (PRId64): Likewise.
1697 [C99-based-standards] (PRIi64): Likewise.
1698 [C99-based-standards] (PRIo64): Likewise.
1699 [C99-based-standards] (PRIu64): Likewise.
1700 [C99-based-standards] (PRIx64): Likewise.
1701 [C99-based-standards] (PRIX64): Likewise.
1702 [C99-based-standards] (SCNd64): Likewise.
1703 [C99-based-standards] (SCNi64): Likewise.
1704 [C99-based-standards] (SCNo64): Likewise.
1705 [C99-based-standards] (SCNu64): Likewise.
1706 [C99-based-standards] (SCNx64): Likewise.
1707 [C99-based-standards] (PRIdLEAST64): Likewise.
1708 [C99-based-standards] (PRIiLEAST64): Likewise.
1709 [C99-based-standards] (PRIoLEAST64): Likewise.
1710 [C99-based-standards] (PRIuLEAST64): Likewise.
1711 [C99-based-standards] (PRIxLEAST64): Likewise.
1712 [C99-based-standards] (PRIXLEAST64): Likewise.
1713 [C99-based-standards] (SCNdLEAST64): Likewise.
1714 [C99-based-standards] (SCNiLEAST64): Likewise.
1715 [C99-based-standards] (SCNoLEAST64): Likewise.
1716 [C99-based-standards] (SCNuLEAST64): Likewise.
1717 [C99-based-standards] (SCNxLEAST64): Likewise.
1718 [C99-based-standards] (PRIdFAST64): Likewise.
1719 [C99-based-standards] (PRIiFAST64): Likewise.
1720 [C99-based-standards] (PRIoFAST64): Likewise.
1721 [C99-based-standards] (PRIuFAST64): Likewise.
1722 [C99-based-standards] (PRIxFAST64): Likewise.
1723 [C99-based-standards] (PRIXFAST64): Likewise.
1724 [C99-based-standards] (SCNdFAST64): Likewise.
1725 [C99-based-standards] (SCNiFAST64): Likewise.
1726 [C99-based-standards] (SCNoFAST64): Likewise.
1727 [C99-based-standards] (SCNuFAST64): Likewise.
1728 [C99-based-standards] (SCNxFAST64): Likewise.
1729 [C99-based-standards] (PRIdMAX): Likewise.
1730 [C99-based-standards] (PRIiMAX): Likewise.
1731 [C99-based-standards] (PRIoMAX): Likewise.
1732 [C99-based-standards] (PRIuMAX): Likewise.
1733 [C99-based-standards] (PRIxMAX): Likewise.
1734 [C99-based-standards] (PRIXMAX): Likewise.
1735 [C99-based-standards] (SCNdMAX): Likewise.
1736 [C99-based-standards] (SCNiMAX): Likewise.
1737 [C99-based-standards] (SCNoMAX): Likewise.
1738 [C99-based-standards] (SCNuMAX): Likewise.
1739 [C99-based-standards] (SCNxMAX): Likewise.
1740 [C99-based-standards] (PRIdPTR): Likewise.
1741 [C99-based-standards] (PRIiPTR): Likewise.
1742 [C99-based-standards] (PRIoPTR): Likewise.
1743 [C99-based-standards] (PRIuPTR): Likewise.
1744 [C99-based-standards] (PRIxPTR): Likewise.
1745 [C99-based-standards] (PRIXPTR): Likewise.
1746 [C99-based-standards] (SCNdPTR): Likewise.
1747 [C99-based-standards] (SCNiPTR): Likewise.
1748 [C99-based-standards] (SCNoPTR): Likewise.
1749 [C99-based-standards] (SCNuPTR): Likewise.
1750 [C99-based-standards] (SCNxPTR): Likewise.
1751 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1752 allow.
1753 * conform/data/stdint.h-data: Update comments to clarify
1754 requirements.
1755 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1756 type.
1757 [C99-based standards] (INT8_MAX): Likewise.
1758 [C99-based standards] (INT16_MIN): Likewise.
1759 [C99-based standards] (INT16_MAX): Likewise.
1760 [C99-based standards] (INT32_MIN): Likewise.
1761 [C99-based standards] (INT32_MAX): Likewise.
1762 [C99-based standards] (INT64_MIN): Likewise.
1763 [C99-based standards] (INT64_MAX): Likewise.
1764 [C99-based standards] (UINT8_MAX): Likewise.
1765 [C99-based standards] (UINT16_MAX): Likewise.
1766 [C99-based standards] (UINT32_MAX): Likewise.
1767 [C99-based standards] (UINT64_MAX): Likewise.
1768 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1769 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1770 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1771 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1772 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1773 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1774 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1775 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1776 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1777 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1778 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1779 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1780 [C99-based standards] (INT_FAST8_MIN): Likewise.
1781 [C99-based standards] (INT_FAST8_MAX): Likewise.
1782 [C99-based standards] (INT_FAST16_MIN): Likewise.
1783 [C99-based standards] (INT_FAST16_MAX): Likewise.
1784 [C99-based standards] (INT_FAST32_MIN): Likewise.
1785 [C99-based standards] (INT_FAST32_MAX): Likewise.
1786 [C99-based standards] (INT_FAST64_MIN): Likewise.
1787 [C99-based standards] (INT_FAST64_MAX): Likewise.
1788 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1789 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1790 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1791 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1792 [C99-based standards] (INTPTR_MIN): Likewise.
1793 [C99-based standards] (INTPTR_MAX): Likewise.
1794 [C99-based standards] (UINTPTR_MAX): Likewise.
1795 [C99-based standards] (INTMAX_MIN): Likewise.
1796 [C99-based standards] (INTMAX_MAX): Likewise.
1797 [C99-based standards] (UINTMAX_MAX): Likewise.
1798 [C99-based standards] (PTRDIFF_MIN): Likewise.
1799 [C99-based standards] (PTRDIFF_MAX): Likewise.
1800 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1801 [C99-based standards] (SIZE_MAX): Likewise.
1802 [C99-based standards] (WCHAR_MAX): Likewise.
1803 [C99-based standards] (WINT_MAX): Likewise.
1804 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1805 constraint on value.
1806 [C99-based standards] (WCHAR_MIN): Likewise.
1807 [C99-based standards] (WINT_MIN): Likewise.
1808 [C99-based standards] (*_t): Allow.
1809 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1810 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1811 Include math.h-data and complex.h-data. Remove all expectations
1812 of math.h and complex.h contents.
1813 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1814 at end of line.
1815 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1816 (struct tm): Expect tag.
1817 [C99-based-standards] (wcstof): Expect function.
1818 [C99-based-standards] (wcstold): Likewise.
1819 [C99-based-standards] (wcstoll): Likewise.
1820 [C99-based-standards] (wcstoull): Likewise.
1821 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1822 macro-int-constant. Specify type.
1823 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1824 constraint on value.
1825 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1826 Specify type.
1827 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1828 Specify value.
1829 [ISO C standards]: Do not allow headers.
1830 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1831 wcs[abcdefghijklmnopqrstuvwxyz]*.
1832 [ISO C standards] (*_t): Do not allow.
1833 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1834 Expect function.
1835 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1836 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1837 Specify type.
1838 [ISO C standards]: Do not allow headers.
1839 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1840 is[abcdefghijklmnopqrstuvwxyz]*.
1841 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1842 to[abcdefghijklmnopqrstuvwxyz]*.
1843 [ISO C standards] (*_t): Do not allow.
1844 * conform/data/stdalign.h-data: New file.
1845 * conform/data/stdbool.h-data: Likewise.
1846 * conform/data/stdnoreturn.h-data: Likewise.
1847
7514feb8
RM
18482012-11-07 Roland McGrath <roland@hack.frob.com>
1849
1850 [BZ #14815]
1851 * manual/filesys.texi (Directory Entries): Typo fix.
1852 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1853
19b2ecfc
MS
18542012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1855
1856 * elf/elf.h (EM_AARCH64): New macro.
1857 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1858 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1859 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1860 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1861 (R_AARCH64_TLSDESC): Likewise.
1862 (NT_ARM_TLS): Likewise.
1863 (NT_ARM_HW_BREAK): Likewise.
1864 (NT_ARM_HW_WATCH): Likewise.
1865
60e235ee
JM
18662012-11-07 Joseph Myers <joseph@codesourcery.com>
1867
1868 [BZ #14811]
1869 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1870 (__ieee754_powl): Saturate nonzero exponents with absolute value
1871 below 0x1p-79 to +/- 0x1p-79.
1872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1873 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1874 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1875 nonzero exponents with absolute value below 0x1p-32 to +/-
1876 0x1p-32.
1877 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1878 (__ieee754_powl): Saturate nonzero exponents with absolute value
1879 below 0x1p-79 to +/- 0x1p-79.
1880 * math/libm-test.inc (pow_test): Add more tests.
1881
0ab234b7
AK
18822012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1883
1884 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1885 _dl_s390_cap_flags with kernel. Increase string length.
1886 (_dl_s390_platforms): Add z196 and zEC12.
1887
45832f74
JM
18882012-11-07 Joseph Myers <joseph@codesourcery.com>
1889
1890 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1891 Change XOPEN21K to XOPEN2K.
1892
19218757
MK
18932012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1894
1895 * string/memmove.c: Use memcpy when possible.
1896
c5f45721
AJ
18972012-11-06 Andreas Jaeger <aj@suse.de>
1898
1899 * po/eo.po: Update from translation team.
1900
82477c28
JM
19012012-11-06 Joseph Myers <joseph@codesourcery.com>
1902
1903 [BZ #14793]
1904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1905 exponent and small x and y exponents, scale x or y up. Increase
1906 by 2 the exponent used in scaling up.
1907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1909 * math/libm-test.inc (fma_test): Add more tests.
1910 (fma_test_towardzero): Likewise.
1911 (fma_test_downward): Likewise.
1912 (fma_test_upward): Likewise.
1913
99252c8c
JM
19142012-11-05 Joseph Myers <joseph@codesourcery.com>
1915
acfa885f
JM
1916 [BZ #14805]
1917 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1918 fenv_t *.
1919
99252c8c
JM
1920 [BZ #14801]
1921 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1922 namespace for names of struct fields.
1923 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1924 fenv_t fields.
1925 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1926 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1927
d6d98dea
ST
19282012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1929
1930 [BZ #3665]
1931 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1932
e10bb107
TS
19332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1934
1935 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1936 PTR_DEMANGLE.
1937
1938 [BZ #5246]
1939 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1940 PTR_DEMANGLE.
1941
a0c2940d
JM
19422012-11-04 Joseph Myers <joseph@codesourcery.com>
1943
1944 [BZ #14797]
1945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1946 definitely overflow as x * y not x * y + z.
1947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1949 * math/libm-test.inc (fma_test): Add more tests.
1950 (fma_test_towardzero): Likewise.
1951 (fma_test_downward): Likewise.
1952 (fma_test_upward): Likewise.
1953
b830319d
TS
19542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1955
1956 [BZ #157]
1957
1958 * include/stub-tag.h: Remove file.
1959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1960 '#include' of it.
1961 * manual/maint.texi (Porting): Don't reference it.
1962 * Makerules ($(objpfx)stubs): Likewise.
1963 * dirent/closedir.c: Don't include <stub-tag.h>.
1964 * dirent/dirfd.c: Likewise.
1965 * dirent/fdopendir.c: Likewise.
1966 * dirent/getdents.c: Likewise.
1967 * dirent/getdents64.c: Likewise.
1968 * dirent/opendir.c: Likewise.
1969 * dirent/readdir.c: Likewise.
1970 * dirent/readdir64.c: Likewise.
1971 * dirent/readdir64_r.c: Likewise.
1972 * dirent/readdir_r.c: Likewise.
1973 * dirent/rewinddir.c: Likewise.
1974 * dirent/seekdir.c: Likewise.
1975 * dirent/telldir.c: Likewise.
1976 * gmon/profil.c: Likewise.
1977 * grp/setgroups.c: Likewise.
1978 * inet/if_index.c: Likewise.
1979 * io/access.c: Likewise.
1980 * io/chdir.c: Likewise.
1981 * io/chmod.c: Likewise.
1982 * io/chown.c: Likewise.
1983 * io/close.c: Likewise.
1984 * io/dup.c: Likewise.
1985 * io/dup2.c: Likewise.
1986 * io/dup3.c: Likewise.
1987 * io/euidaccess.c: Likewise.
1988 * io/faccessat.c: Likewise.
1989 * io/fchdir.c: Likewise.
1990 * io/fchmod.c: Likewise.
1991 * io/fchmodat.c: Likewise.
1992 * io/fchown.c: Likewise.
1993 * io/fchownat.c: Likewise.
1994 * io/fcntl.c: Likewise.
1995 * io/flock.c: Likewise.
1996 * io/fstatfs.c: Likewise.
1997 * io/fstatfs64.c: Likewise.
1998 * io/fstatvfs.c: Likewise.
1999 * io/fstatvfs64.c: Likewise.
2000 * io/futimens.c: Likewise.
2001 * io/fxstat.c: Likewise.
2002 * io/fxstat64.c: Likewise.
2003 * io/fxstatat.c: Likewise.
2004 * io/fxstatat64.c: Likewise.
2005 * io/getcwd.c: Likewise.
2006 * io/isatty.c: Likewise.
2007 * io/lchmod.c: Likewise.
2008 * io/lchown.c: Likewise.
2009 * io/link.c: Likewise.
2010 * io/linkat.c: Likewise.
2011 * io/lseek.c: Likewise.
2012 * io/lseek64.c: Likewise.
2013 * io/lxstat64.c: Likewise.
2014 * io/mkdir.c: Likewise.
2015 * io/mkdirat.c: Likewise.
2016 * io/mkfifo.c: Likewise.
2017 * io/mkfifoat.c: Likewise.
2018 * io/open.c: Likewise.
2019 * io/open64.c: Likewise.
2020 * io/openat.c: Likewise.
2021 * io/openat64.c: Likewise.
2022 * io/pipe.c: Likewise.
2023 * io/pipe2.c: Likewise.
2024 * io/poll.c: Likewise.
2025 * io/posix_fadvise.c: Likewise.
2026 * io/posix_fadvise64.c: Likewise.
2027 * io/posix_fallocate.c: Likewise.
2028 * io/posix_fallocate64.c: Likewise.
2029 * io/read.c: Likewise.
2030 * io/readlink.c: Likewise.
2031 * io/readlinkat.c: Likewise.
2032 * io/rmdir.c: Likewise.
2033 * io/sendfile.c: Likewise.
2034 * io/sendfile64.c: Likewise.
2035 * io/statfs.c: Likewise.
2036 * io/statfs64.c: Likewise.
2037 * io/statvfs.c: Likewise.
2038 * io/statvfs64.c: Likewise.
2039 * io/symlink.c: Likewise.
2040 * io/symlinkat.c: Likewise.
2041 * io/ttyname.c: Likewise.
2042 * io/ttyname_r.c: Likewise.
2043 * io/umask.c: Likewise.
2044 * io/unlink.c: Likewise.
2045 * io/unlinkat.c: Likewise.
2046 * io/utime.c: Likewise.
2047 * io/utimensat.c: Likewise.
2048 * io/write.c: Likewise.
2049 * io/xmknod.c: Likewise.
2050 * io/xmknodat.c: Likewise.
2051 * io/xstat.c: Likewise.
2052 * io/xstat64.c: Likewise.
2053 * login/getpt.c: Likewise.
2054 * login/grantpt.c: Likewise.
2055 * login/unlockpt.c: Likewise.
2056 * math/e_acoshl.c: Likewise.
2057 * math/e_acosl.c: Likewise.
2058 * math/e_asinl.c: Likewise.
2059 * math/e_atan2l.c: Likewise.
2060 * math/e_atanhl.c: Likewise.
2061 * math/e_coshl.c: Likewise.
2062 * math/e_expl.c: Likewise.
2063 * math/e_fmodl.c: Likewise.
2064 * math/e_gammal_r.c: Likewise.
2065 * math/e_hypotl.c: Likewise.
2066 * math/e_j0l.c: Likewise.
2067 * math/e_j1l.c: Likewise.
2068 * math/e_jnl.c: Likewise.
2069 * math/e_lgammal_r.c: Likewise.
2070 * math/e_log10l.c: Likewise.
2071 * math/e_log2l.c: Likewise.
2072 * math/e_logl.c: Likewise.
2073 * math/e_powl.c: Likewise.
2074 * math/e_rem_pio2l.c: Likewise.
2075 * math/e_sinhl.c: Likewise.
2076 * math/e_sqrtl.c: Likewise.
2077 * math/fclrexcpt.c: Likewise.
2078 * math/fedisblxcpt.c: Likewise.
2079 * math/feenablxcpt.c: Likewise.
2080 * math/fegetenv.c: Likewise.
2081 * math/fegetexcept.c: Likewise.
2082 * math/fegetround.c: Likewise.
2083 * math/feholdexcpt.c: Likewise.
2084 * math/fesetenv.c: Likewise.
2085 * math/fesetround.c: Likewise.
2086 * math/feupdateenv.c: Likewise.
2087 * math/fgetexcptflg.c: Likewise.
2088 * math/fraiseexcpt.c: Likewise.
2089 * math/fsetexcptflg.c: Likewise.
2090 * math/ftestexcept.c: Likewise.
2091 * math/k_cosl.c: Likewise.
2092 * math/k_rem_pio2l.c: Likewise.
2093 * math/k_sinl.c: Likewise.
2094 * math/k_tanl.c: Likewise.
2095 * math/s_asinhl.c: Likewise.
2096 * math/s_atanl.c: Likewise.
2097 * math/s_cbrtl.c: Likewise.
2098 * math/s_erfl.c: Likewise.
2099 * math/s_expm1l.c: Likewise.
2100 * math/s_log1pl.c: Likewise.
2101 * math/s_tanhl.c: Likewise.
2102 * misc/acct.c: Likewise.
2103 * misc/brk.c: Likewise.
2104 * misc/chflags.c: Likewise.
2105 * misc/chroot.c: Likewise.
2106 * misc/fchflags.c: Likewise.
2107 * misc/fgetxattr.c: Likewise.
2108 * misc/flistxattr.c: Likewise.
2109 * misc/fremovexattr.c: Likewise.
2110 * misc/fsetxattr.c: Likewise.
2111 * misc/fsync.c: Likewise.
2112 * misc/ftruncate.c: Likewise.
2113 * misc/futimes.c: Likewise.
2114 * misc/futimesat.c: Likewise.
2115 * misc/getdomain.c: Likewise.
2116 * misc/getdtsz.c: Likewise.
2117 * misc/gethostid.c: Likewise.
2118 * misc/gethostname.c: Likewise.
2119 * misc/getloadavg.c: Likewise.
2120 * misc/getpagesize.c: Likewise.
2121 * misc/getsysstats.c: Likewise.
2122 * misc/getxattr.c: Likewise.
2123 * misc/gtty.c: Likewise.
2124 * misc/ioctl.c: Likewise.
2125 * misc/lgetxattr.c: Likewise.
2126 * misc/listxattr.c: Likewise.
2127 * misc/llistxattr.c: Likewise.
2128 * misc/lremovexattr.c: Likewise.
2129 * misc/lsetxattr.c: Likewise.
2130 * misc/lutimes.c: Likewise.
2131 * misc/madvise.c: Likewise.
2132 * misc/mincore.c: Likewise.
2133 * misc/mlock.c: Likewise.
2134 * misc/mlockall.c: Likewise.
2135 * misc/mmap.c: Likewise.
2136 * misc/mprotect.c: Likewise.
2137 * misc/msync.c: Likewise.
2138 * misc/munlock.c: Likewise.
2139 * misc/munlockall.c: Likewise.
2140 * misc/munmap.c: Likewise.
2141 * misc/preadv.c: Likewise.
2142 * misc/preadv64.c: Likewise.
2143 * misc/ptrace.c: Likewise.
2144 * misc/pwritev.c: Likewise.
2145 * misc/pwritev64.c: Likewise.
2146 * misc/readv.c: Likewise.
2147 * misc/reboot.c: Likewise.
2148 * misc/remap_file_pages.c: Likewise.
2149 * misc/removexattr.c: Likewise.
2150 * misc/revoke.c: Likewise.
2151 * misc/select.c: Likewise.
2152 * misc/setdomain.c: Likewise.
2153 * misc/setegid.c: Likewise.
2154 * misc/seteuid.c: Likewise.
2155 * misc/sethostid.c: Likewise.
2156 * misc/sethostname.c: Likewise.
2157 * misc/setregid.c: Likewise.
2158 * misc/setreuid.c: Likewise.
2159 * misc/setxattr.c: Likewise.
2160 * misc/sstk.c: Likewise.
2161 * misc/stty.c: Likewise.
2162 * misc/swapoff.c: Likewise.
2163 * misc/swapon.c: Likewise.
2164 * misc/sync.c: Likewise.
2165 * misc/syncfs.c: Likewise.
2166 * misc/syscall.c: Likewise.
2167 * misc/truncate.c: Likewise.
2168 * misc/ualarm.c: Likewise.
2169 * misc/usleep.c: Likewise.
2170 * misc/ustat.c: Likewise.
2171 * misc/utimes.c: Likewise.
2172 * misc/vhangup.c: Likewise.
2173 * misc/writev.c: Likewise.
2174 * posix/_exit.c: Likewise.
2175 * posix/alarm.c: Likewise.
2176 * posix/execve.c: Likewise.
2177 * posix/fexecve.c: Likewise.
2178 * posix/fork.c: Likewise.
2179 * posix/fpathconf.c: Likewise.
2180 * posix/getaddrinfo.c: Likewise.
2181 * posix/getegid.c: Likewise.
2182 * posix/geteuid.c: Likewise.
2183 * posix/getgid.c: Likewise.
2184 * posix/getgroups.c: Likewise.
2185 * posix/getlogin.c: Likewise.
2186 * posix/getlogin_r.c: Likewise.
2187 * posix/getpgid.c: Likewise.
2188 * posix/getpid.c: Likewise.
2189 * posix/getppid.c: Likewise.
2190 * posix/getresgid.c: Likewise.
2191 * posix/getresuid.c: Likewise.
2192 * posix/getsid.c: Likewise.
2193 * posix/getuid.c: Likewise.
2194 * posix/glob64.c: Likewise.
2195 * posix/nanosleep.c: Likewise.
2196 * posix/pathconf.c: Likewise.
2197 * posix/pause.c: Likewise.
2198 * posix/posix_madvise.c: Likewise.
2199 * posix/pread.c: Likewise.
2200 * posix/pread64.c: Likewise.
2201 * posix/pwrite.c: Likewise.
2202 * posix/pwrite64.c: Likewise.
2203 * posix/sched_getaffinity.c: Likewise.
2204 * posix/sched_getp.c: Likewise.
2205 * posix/sched_gets.c: Likewise.
2206 * posix/sched_primax.c: Likewise.
2207 * posix/sched_primin.c: Likewise.
2208 * posix/sched_rr_gi.c: Likewise.
2209 * posix/sched_setaffinity.c: Likewise.
2210 * posix/sched_setp.c: Likewise.
2211 * posix/sched_sets.c: Likewise.
2212 * posix/sched_yield.c: Likewise.
2213 * posix/setgid.c: Likewise.
2214 * posix/setlogin.c: Likewise.
2215 * posix/setpgid.c: Likewise.
2216 * posix/setresgid.c: Likewise.
2217 * posix/setresuid.c: Likewise.
2218 * posix/setsid.c: Likewise.
2219 * posix/setuid.c: Likewise.
2220 * posix/sleep.c: Likewise.
2221 * posix/spawni.c: Likewise.
2222 * posix/sysconf.c: Likewise.
2223 * posix/times.c: Likewise.
2224 * posix/wait.c: Likewise.
2225 * posix/wait3.c: Likewise.
2226 * posix/wait4.c: Likewise.
2227 * posix/waitpid.c: Likewise.
2228 * resolv/gai_sigqueue.c: Likewise.
2229 * resource/getpriority.c: Likewise.
2230 * resource/getrlimit.c: Likewise.
2231 * resource/getrusage.c: Likewise.
2232 * resource/nice.c: Likewise.
2233 * resource/setpriority.c: Likewise.
2234 * resource/setrlimit.c: Likewise.
2235 * resource/ulimit.c: Likewise.
2236 * rt/aio_cancel.c: Likewise.
2237 * rt/aio_fsync.c: Likewise.
2238 * rt/aio_read.c: Likewise.
2239 * rt/aio_sigqueue.c: Likewise.
2240 * rt/aio_suspend.c: Likewise.
2241 * rt/aio_write.c: Likewise.
2242 * rt/clock_getres.c: Likewise.
2243 * rt/clock_gettime.c: Likewise.
2244 * rt/clock_nanosleep.c: Likewise.
2245 * rt/clock_settime.c: Likewise.
2246 * rt/lio_listio.c: Likewise.
2247 * rt/mq_close.c: Likewise.
2248 * rt/mq_getattr.c: Likewise.
2249 * rt/mq_notify.c: Likewise.
2250 * rt/mq_open.c: Likewise.
2251 * rt/mq_receive.c: Likewise.
2252 * rt/mq_send.c: Likewise.
2253 * rt/mq_setattr.c: Likewise.
2254 * rt/mq_timedreceive.c: Likewise.
2255 * rt/mq_timedsend.c: Likewise.
2256 * rt/mq_unlink.c: Likewise.
2257 * rt/shm_open.c: Likewise.
2258 * rt/shm_unlink.c: Likewise.
2259 * rt/timer_create.c: Likewise.
2260 * rt/timer_delete.c: Likewise.
2261 * rt/timer_getoverr.c: Likewise.
2262 * rt/timer_gettime.c: Likewise.
2263 * rt/timer_settime.c: Likewise.
2264 * setjmp/__longjmp.c: Likewise.
2265 * setjmp/setjmp.c: Likewise.
2266 * signal/kill.c: Likewise.
2267 * signal/killpg.c: Likewise.
2268 * signal/raise.c: Likewise.
2269 * signal/sigaction.c: Likewise.
2270 * signal/sigaltstack.c: Likewise.
2271 * signal/sigblock.c: Likewise.
2272 * signal/sigignore.c: Likewise.
2273 * signal/sigintr.c: Likewise.
2274 * signal/signal.c: Likewise.
2275 * signal/sigpause.c: Likewise.
2276 * signal/sigpending.c: Likewise.
2277 * signal/sigqueue.c: Likewise.
2278 * signal/sigreturn.c: Likewise.
2279 * signal/sigset.c: Likewise.
2280 * signal/sigsetmask.c: Likewise.
2281 * signal/sigstack.c: Likewise.
2282 * signal/sigsuspend.c: Likewise.
2283 * signal/sigtimedwait.c: Likewise.
2284 * signal/sigvec.c: Likewise.
2285 * signal/sigwait.c: Likewise.
2286 * signal/sigwaitinfo.c: Likewise.
2287 * signal/sysv_signal.c: Likewise.
2288 * socket/accept.c: Likewise.
2289 * socket/accept4.c: Likewise.
2290 * socket/bind.c: Likewise.
2291 * socket/connect.c: Likewise.
2292 * socket/getpeername.c: Likewise.
2293 * socket/getsockname.c: Likewise.
2294 * socket/getsockopt.c: Likewise.
2295 * socket/isfdtype.c: Likewise.
2296 * socket/listen.c: Likewise.
2297 * socket/recv.c: Likewise.
2298 * socket/recvfrom.c: Likewise.
2299 * socket/recvmsg.c: Likewise.
2300 * socket/send.c: Likewise.
2301 * socket/sendmsg.c: Likewise.
2302 * socket/sendto.c: Likewise.
2303 * socket/setsockopt.c: Likewise.
2304 * socket/shutdown.c: Likewise.
2305 * socket/sockatmark.c: Likewise.
2306 * socket/socket.c: Likewise.
2307 * socket/socketpair.c: Likewise.
2308 * stdio-common/ctermid.c: Likewise.
2309 * stdio-common/cuserid.c: Likewise.
2310 * stdio-common/remove.c: Likewise.
2311 * stdio-common/rename.c: Likewise.
2312 * stdio-common/renameat.c: Likewise.
2313 * stdio-common/tempname.c: Likewise.
2314 * stdlib/getcontext.c: Likewise.
2315 * stdlib/makecontext.c: Likewise.
2316 * stdlib/setcontext.c: Likewise.
2317 * stdlib/swapcontext.c: Likewise.
2318 * stdlib/system.c: Likewise.
2319 * streams/fattach.c: Likewise.
2320 * streams/fdetach.c: Likewise.
2321 * streams/getmsg.c: Likewise.
2322 * streams/getpmsg.c: Likewise.
2323 * streams/putmsg.c: Likewise.
2324 * streams/putpmsg.c: Likewise.
2325 * sysdeps/unix/bsd/getpt.c: Likewise.
2326 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2327 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2328 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2330 Likewise.
2331 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2332 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2333 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2334 * sysvipc/msgctl.c: Likewise.
2335 * sysvipc/msgget.c: Likewise.
2336 * sysvipc/msgrcv.c: Likewise.
2337 * sysvipc/msgsnd.c: Likewise.
2338 * sysvipc/semctl.c: Likewise.
2339 * sysvipc/semget.c: Likewise.
2340 * sysvipc/semop.c: Likewise.
2341 * sysvipc/semtimedop.c: Likewise.
2342 * sysvipc/shmat.c: Likewise.
2343 * sysvipc/shmctl.c: Likewise.
2344 * sysvipc/shmdt.c: Likewise.
2345 * sysvipc/shmget.c: Likewise.
2346 * termios/tcdrain.c: Likewise.
2347 * termios/tcflow.c: Likewise.
2348 * termios/tcflush.c: Likewise.
2349 * termios/tcgetattr.c: Likewise.
2350 * termios/tcgetpgrp.c: Likewise.
2351 * termios/tcsendbrk.c: Likewise.
2352 * termios/tcsetattr.c: Likewise.
2353 * termios/tcsetpgrp.c: Likewise.
2354 * time/adjtime.c: Likewise.
2355 * time/clock.c: Likewise.
2356 * time/getitimer.c: Likewise.
2357 * time/gettimeofday.c: Likewise.
2358 * time/setitimer.c: Likewise.
2359 * time/settimeofday.c: Likewise.
2360 * time/stime.c: Likewise.
2361 * time/time.c: Likewise.
2362
23632012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2364
a20492cf
PT
2365 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2366 /usr/old/bin.
2367
72e182e3
PT
2368 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2369 instead of spaces.
2370 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2371
fbeafede
JM
23722012-11-03 Joseph Myers <joseph@codesourcery.com>
2373
5b5b04d6
JM
2374 [BZ #14796]
2375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2376 FE_TONEAREST before applying Dekker multiplication and Knuth
2377 addition. Clear inexact exceptions and check for exact zero
2378 results afterwards.
2379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2382 * math/libm-test.inc (fma_test): Add more tests.
2383 (fma_test_towardzero): Likewise.
2384 (fma_test_downward): Likewise.
2385 (fma_test_upward): Likewise.
2386 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2387 function.
2388 (libc_fesetround): New macro.
2389 (libc_fesetroundf): Likewise.
2390 (libc_fesetroundl): Likewise.
2391 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2392 function.
2393 (libc_fesetround_387): Likewise.
2394 (libc_fesetroundf): New macro.
2395 (libc_fesetround): Likewise.
2396 (libc_fesetroundl): Likewise.
2397 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2398 function.
2399 (libc_fesetroundf): New macro.
2400 (libc_fesetround): Likewise.
2401 (libc_fesetroundl): Likewise.
2402 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2403 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2404 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2405 libm_hidden_ver.
2406 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2407 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2408 libm_hidden_def.
2409 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2410 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2411 libm_hidden_ver.
2412 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2413 libm_hidden_def.
2414
fbeafede
JM
2415 [BZ #3439]
2416 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2417 integer constant usable in #if and use that to give value to enum
2418 constant.
2419 (FE_DIVBYZERO): Likewise.
2420 (FE_UNDERFLOW): Likewise.
2421 (FE_OVERFLOW): Likewise.
2422 (FE_INVALID): Likewise.
2423 (FE_INVALID_SNAN): Likewise.
2424 (FE_INVALID_ISI): Likewise.
2425 (FE_INVALID_IDI): Likewise.
2426 (FE_INVALID_ZDZ): Likewise.
2427 (FE_INVALID_IMZ): Likewise.
2428 (FE_INVALID_COMPARE): Likewise.
2429 (FE_INVALID_SOFTWARE): Likewise.
2430 (FE_INVALID_SQRT): Likewise.
2431 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2432 (FE_TONEAREST): Likewise.
2433 (FE_TOWARDZERO): Likewise.
2434 (FE_UPWARD): Likewise.
2435 (FE_DOWNWARD): Likewise.
2436 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2437 (FE_DIVBYZERO): Likewise.
2438 (FE_OVERFLOW): Likewise.
2439 (FE_UNDERFLOW): Likewise.
2440 (FE_INEXACT): Likewise.
2441 (FE_TONEAREST): Likewise.
2442 (FE_DOWNWARD): Likewise.
2443 (FE_UPWARD): Likewise.
2444 (FE_TOWARDZERO): Likewise.
2445 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2446 (FE_UNDERFLOW): Likewise.
2447 (FE_OVERFLOW): Likewise.
2448 (FE_DIVBYZERO): Likewise.
2449 (FE_INVALID): Likewise.
2450 (FE_TONEAREST): Likewise.
2451 (FE_TOWARDZERO): Likewise.
2452 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2453 (FE_OVERFLOW): Likewise.
2454 (FE_UNDERFLOW): Likewise.
2455 (FE_DIVBYZERO): Likewise.
2456 (FE_INEXACT): Likewise.
2457 (FE_TONEAREST): Likewise.
2458 (FE_TOWARDZERO): Likewise.
2459 (FE_UPWARD): Likewise.
2460 (FE_DOWNWARD): Likewise.
2461 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2462 (FE_DIVBYZERO): Likewise.
2463 (FE_OVERFLOW): Likewise.
2464 (FE_UNDERFLOW): Likewise.
2465 (FE_INEXACT): Likewise.
2466 (FE_TONEAREST): Likewise.
2467 (FE_DOWNWARD): Likewise.
2468 (FE_UPWARD): Likewise.
2469 (FE_TOWARDZERO): Likewise.
2470
105ca950
CM
24712012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2472
2473 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2474
a542b389
AS
24752012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2476
2477 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2478 commands. Quote $PWD.
2479 (blacklist_exports): Don't use remove_newlines. Replace "declare
2480 -x" by "export".
2481 (remove_newlines): Remove.
2482
f62c8abc
L
24832012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2484
2485 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2486 * stdlib/stdlib.h (atof): Moved to ...
2487 * include/bits/stdlib-float.h: Here. New file.
2488 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2489 * stdlib/bits/stdlib-float.h: New file.
2490 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2491 -mno-sse -mno-mmx.
2492 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2493 <xmmintrin.h>.
2494
0155d5b2
JM
24952012-11-02 Joseph Myers <joseph@codesourcery.com>
2496
a68d0680
JM
2497 * conform/conformtest.pl (@headers): Add fenv.h.
2498 * conform/data/fenv.h-data: New file.
2499 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2500 include of <math/fenv.h>.
2501
caf7f573
JM
2502 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2503 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2504 && !UNIX98]. Enables tests for XOPEN2K8.
2505 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2506 POSIX2008]: Likewise.
2507
6c073ad6
JM
2508 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2509 (struct rusage): Do not expect type or its members.
2510
0155d5b2
JM
2511 [BZ #3439]
2512 * math/math.h (FP_NAN): Define macro to integer constant usable in
2513 #if and use that to give value to enum constant.
2514 (FP_INFINITE): Likewise.
2515 (FP_ZERO): Likewise.
2516 (FP_SUBNORMAL): Likewise.
2517 (FP_NORMAL): Likewise.
2518
b5dcacb4
AS
25192012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2520
2521 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2522 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2523 arguments.
2524
f7934be8
RM
25252012-11-02 Roland McGrath <roland@hack.frob.com>
2526
2527 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2528 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2529 autoconf-time if not.
2530 * configure.in: Remove AC_PREREQ.
2531
d7d08bde
TMQMF
25322012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2533
2534 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2535 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2536 of the internal implementation.
2537
dcdae19a
JM
25382012-11-02 Joseph Myers <joseph@codesourcery.com>
2539
2540 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2541 except include of <misc/sys/syslog.h>.
2542
d6cffd3e
AS
25432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2544
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2546 function returns with a NULL context exit with zero.
2547
b3563932
TMQMF
25482012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2549
2550 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2551
b288a93d
L
25522012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2555 (run_program_cmd): This.
2556 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2557 (tst_langinfo): New variable. Use it.
2558
a2421a68
SAS
25592012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2560
2561 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2562 floating point opcodes.
2563
6f796e1b
TS
25642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2565
7402596b
TS
2566 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2567 variable.
2568
d0d4f868
TS
2569 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2570
6f796e1b
TS
2571 * sysdeps/mach/hurd/powerpc: Remove directory.
2572 * sysdeps/mach/powerpc: Likewise.
2573
4da224a2
AS
25742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2575
2576 * scripts/check-local-headers.sh: Ignore c++ headers.
2577
341dd673
TS
25782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2579
2580 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2581 __libc_cleanup_region_start argument.
2582
473611b2
JM
25832012-11-01 Joseph Myers <joseph@codesourcery.com>
2584
2585 [BZ #14784]
2586 [BZ #14785]
2587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2588 x * y using scaling, not as x * y + z.
2589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2591 * math/libm-test.inc (fma_test): Add more tests.
2592 (fma_test_towardzero): Likewise.
2593 (fma_test_downward): Likewise.
2594 (fma_test_upward): Likewise.
2595
4078da3d
TS
25962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2597
2598 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2599
903252aa
JM
26002012-10-31 Joseph Myers <joseph@codesourcery.com>
2601
2602 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2603 New variable.
2604
cbc818d0
TS
26052012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2606
2607 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2608
5a03cb1e
AS
26092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2610
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2612 Fix sort order.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2614 Likewise.
2615
90aff2ff
TMQMF
26162012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2617
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2619 Fix the order of the list for glibc 2.17.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2621 Likewise.
2622
1818fcb7
AS
26232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2624
2625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2626
ef82f4da
JM
26272012-10-31 Joseph Myers <joseph@codesourcery.com>
2628
16a0e2ec
JM
2629 [BZ #14610]
2630 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2631 for low part of x being zero before using __atanl (y).
2632 * math/libm-test.inc (atan2_test): Add another test.
2633
0eb69512
JM
2634 * manual/install.texi (Configuring and compiling): Document
2635 general use of test-wrapper and test-wrapper-env.
2636 * INSTALL: Regenerated.
2637
ef82f4da
JM
2638 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2639 (__fma): Do not extract and scale down low bits on after-rounding
2640 systems when result rounded to normal precision would have normal
2641 exponent.
2642 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2643 (__fmal): Do not extract and scale down low bits on after-rounding
2644 systems when result rounded to normal precision would have normal
2645 exponent.
2646 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2647 (__fmal): Do not extract and scale down low bits on after-rounding
2648 systems when result rounded to normal precision would have normal
2649 exponent.
2650 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2651 macro.
2652 (fma_test): Add more tests.
2653 (fma_test_towardzero): Likewise.
2654 (fma_test_downward): Likewise.
2655 (fma_test_upward): Likewise.
2656
954ef0d9
L
26572012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * sysdeps/i386/tininess.h: Renamed to ...
2660 * sysdeps/x86/tininess.h: This.
2661 * sysdeps/x86_64/tininess.h: Removed.
2662
df61ffb2
JM
26632012-10-30 Joseph Myers <joseph@codesourcery.com>
2664
2665 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2666 input. Use $(build-program-cmd).
2667 ($(objpfx)tst-array1-static.out): Likewise.
2668 ($(objpfx)tst-array2.out): Likewise.
2669 ($(objpfx)tst-array3.out): Likewise.
2670 ($(objpfx)tst-array4.out): Likewise.
2671 ($(objpfx)tst-array5.out): Likewise.
2672 ($(objpfx)tst-array5-static.out): Likewise.
2673
01767843
CM
26742012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2675
47cc1490
CM
2676 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2677 if defined.
2678
01767843
CM
2679 * nss/nsswitch.h (nss_interface_function): Provide new
2680 macro for use with NSS functions.
2681 * grp/initgroups.c: Use new macro.
2682 * nss/getXXbyYY.c: Likewise.
2683 * nss/getXXbyYY_r.c: Likewise.
2684 * nss/getXXent.c: Likewise.
2685 * nss/getXXent_r.c: Likewise.
2686 * sysdeps/posix/getaddrinfo.c: Likewise.
2687
8321aa97
AJ
26882012-10-30 Andreas Jaeger <aj@suse.de>
2689
2690 * po/ru.po: Update Russion translation from translation project.
2691
2a27fd6d
JM
26922012-10-30 Joseph Myers <joseph@codesourcery.com>
2693
8627a232
JM
2694 [BZ #14152]
2695 [BZ #14783]
2696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2697 result and shift together with sticky bit instead of replicating
2698 round-to-nearest rounding.
2699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2701 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2702 missing underflow exceptions.
2703 (fma_test_towardzero): Add more tests.
2704 (fma_test_downward): Likewise.
2705 (fma_test_upward): Likewise.
2706
2a27fd6d
JM
2707 [BZ #14047]
2708 * sysdeps/generic/tininess.h: New file.
2709 * sysdeps/i386/tininess.h: Likewise.
2710 * sysdeps/sh/tininess.h: Likewise.
2711 * sysdeps/x86_64/tininess.h: Likewise.
2712 * stdlib/tst-strtod-underflow.c: Likewise.
2713 * stdlib/tst-tininess.c: Likewise.
2714 * stdlib/strtod_l.c: Include <tininess.h>.
2715 (round_and_return): Do not set errno for exact underflow cases.
2716 Force an underflow exception when setting errno for underflow.
2717 Determine underflow based on rounding to normal precision if
2718 TININESS_AFTER_ROUNDING.
2719 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2720 ERANGE for exact underflow cases.
2721 * stdlib/Makefile (tests): Add tst-tininess and
2722 tst-strtod-underflow.
2723 ($(objpfx)tst-tininess): Use $(link-libm).
2724 ($(objpfx)tst-strtod-underflow): Likewise.
2725
e7170363
AJ
27262012-10-30 Andreas Jaeger <aj@suse.de>
2727
e5088dc6
AJ
2728 [BZ#14767]
2729 * elf/Makefile (tests): Remove conditional for have-initfini-array
2730 since this is now always required and the variable does not exist
2731 anymore.
2732 (tests-static): Likewise.
2733 (modules-names): Likewise.
2734
e7170363 2735 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2736
2737 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2738 merged with constructor/destructor.
2739 (init_array): Likewise.
2740 * elf/tst-array2dep.c (fini_array): Likewise.
2741 (init_array): Likewise.
2742
60457d8a
MF
27432012-10-29 Mike Frysinger <vapier@gentoo.org>
2744
2745 * manual/message.texi: Delete @cartouche tags.
2746
8bece752
PT
27472012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2748
94ce799f
PT
2749 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2750 EOPNOTSUPP.
2751 * sysdeps/mach/hurd/fsync.c: Likewise.
2752
8bece752
PT
2753 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2754 [_POSIX_REALTIME_SIGNALS]: Change condition to
2755 [_POSIX_REALTIME_SIGNALS > 0].
2756
86ebe6b1
AJ
27572012-10-27 Andreas Jaeger <aj@suse.de>
2758
2759 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2760 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2762 [__WORDSIZE != 64]: Likewise.
2763
54399c08
L
27642012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * iconvdata/tst-table.sh: Remove ${SHELL}.
2767 * iconvdata/tst-tables.sh: Likewise.
2768
e2211bed
DM
27692012-10-25 David S. Miller <davem@davemloft.net>
2770
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2772 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2773 of strtoull.
2774
f303f97c
DM
2775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2776 ifunc-impl-list.c
2777 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2778 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2779 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2780 file.
2781
1e9d84cd
RM
27822012-10-25 Roland McGrath <roland@hack.frob.com>
2783
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2785 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2786 __getdirentries.
2787
df381762
JM
27882012-10-25 Joseph Myers <joseph@codesourcery.com>
2789 Jim Blandy <jimb@codesourcery.com>
2790
2791 * scripts/cross-test-ssh.sh: New file.
2792 * manual/install.texi (Configuring and compiling): Document use of
2793 cross-test-ssh.sh.
2794 * INSTALL: Regenerated.
2795
bff64913
PT
27962012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2797
2798 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2799 EOPNOTSUPP.
2800
25fe8932
JM
28012012-10-25 Joseph Myers <joseph@codesourcery.com>
2802
2803 * Makeconfig (run-program-prefix): Fix comment.
2804
cc1290d0
JM
28052012-10-24 Joseph Myers <joseph@codesourcery.com>
2806 Jim Blandy <jimb@codesourcery.com>
2807
2808 * Makeconfig (test-wrapper): New variable,
2809 (test-wrapper-env): Likewise.
2810 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2811 (run-built-tests): Define to yes.
2812 (run-program-prefix): Use $(test-wrapper).
2813 (built-program-cmd): Likewise.
2814 * Rules (make-test-out): Use $(test-wrapper-env) and
2815 $(host-built-program-cmd).
2816 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2817 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2818 tst-pathopt.sh.
2819 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2820 $(test-wrapper-env) to tst-rtld-load-self.sh.
2821 ($(objpfx)order2.out): Use $(test-wrapper).
2822 ($(objpfx)tst-initorder.out): Likewise.
2823 ($(objpfx)tst-initorder2.out): Likewise.
2824 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2825 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2826 (test_wrapper_env): New variable. Use it to run ld.so.
2827 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2828 Use it to run ld.so.
2829 (test_wrapper_env): Likewise.
2830 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2831 $(test-wrapper) to run-iconv-test.sh.
2832 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2833 (ICONV): Use $test_wrapper.
2834 * posix/Makefile ($(objpfx)globtest.out): Pass
2835 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2836 globtest.sh, not $(run-program-prefix).
2837 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2838 (test_wrapper): Likewise.
2839 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2840 set together with run_via_rtld_prefix.
2841 (run_program_prefix): Define in terms of test_wrapper and
2842 run_via_rtld_prefix.
2843
6e6249d0
RM
28442012-10-24 Roland McGrath <roland@hack.frob.com>
2845
2846 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2847 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2848 Targets removed.
2849
2850 [BZ #14743]
2851 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2852 Declare __clock_getres, __clock_gettime, __clock_settime,
2853 __clock_nanosleep, and __clock_getcpuclockid.
2854 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2855 Remove librt_hidden_def (clock_gettime).
2856 * sysdeps/unix/clock_gettime.c: Likewise.
2857 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2859 * rt/clock_getres.c: Define __clock_getres as an alias.
2860 * sysdeps/posix/clock_getres.c: Likewise.
2861 * rt/clock_settime.c: Define __clock_settime as an alias.
2862 * sysdeps/unix/clock_settime.c: Likewise.
2863 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2864 * sysdeps/unix/clock_nanosleep.c: Likewise.
2865 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2866 * rt/clock-compat.c: New file.
2867 * rt/Makefile (librt-routines): Add clock-compat and move
2868 $(clock-routines) to ...
2869 (routines): ... here, new variable.
2870 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2871 Don't add get_clockfreq here.
2872 * rt/Versions (libc: GLIBC_2.17): New version set.
2873 Add clock_* symbols here.
2874 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2876 (GLIBC_2.17): Add clock_* symbols.
2877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2888 * NEWS: Mention the move.
2889
2890 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2891 Use __open, __read, __close rather than their public counterparts.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2893 (__get_clockfreq_via_cpuinfo): Likewise.
2894 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2895 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2896
2897 * config.h.in (HAVE_IFUNC): New #undef.
2898 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2899 was successful.
2900 * configure: Regenerated.
2901
0cae3f4b
MF
29022012-10-24 Mike Frysinger <vapier@gentoo.org>
2903
2904 * configure.in: Move READELF check to start of file.
2905 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2906 libc_cv_asm_gnu_indirect_function in the process.
2907 * configure: Regenerated.
2908
8175a253
MF
29092012-10-24 Mike Frysinger <vapier@gentoo.org>
2910
2911 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2912 send the output to /dev/null.
2913 (libc_cv_cc_with_libunwind): Likewise.
2914 (libc_cv_as_noexecstack): Likewise.
2915 * configure: Regenerate.
2916
0708a7d1
JM
29172012-10-24 Joseph Myers <joseph@codesourcery.com>
2918
10b40d85
JM
2919 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2920
0708a7d1
JM
2921 * posix/globtest.sh (TMPDIR): Do not set.
2922 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2923 (testout): Likewise.
2924
9fddec1a
AJ
29252012-10-24 Andreas Jaeger <aj@suse.de>
2926
3a8db22f
AJ
2927 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2928 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2929 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2930 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2931 posix_fadvise64, posix_fallocate64.
2932
9fddec1a
AJ
2933 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2934 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2935 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2936 Likewise.
2937 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2938 Likewise.
2939 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2940
2941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2942 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2943 <bits/fcntl-linux.h>.
2944 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2945
2946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2947 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2948 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2949 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2950 [__WORDSIZE != 64]: Likewise.
2951
ebfd1bbd
JM
29522012-10-23 Joseph Myers <joseph@codesourcery.com>
2953
03ac099f
JM
2954 * Makeconfig (run-built-tests): New variable.
2955 * Rules [$(cross-compiling) = yes]: Change condition to
2956 [$(run-built-tests) = no].
2957 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2958 to [$(run-built-tests) = yes].
2959 * elf/Makefile [$(cross-compiling) = no]: Likewise
2960 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2961 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2962 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2963 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2964 * io/Makefile [$(cross-compiling) = no]: Likewise.
2965 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2966 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2967 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2968 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2969 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2970 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2971 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2972 * string/Makefile [$(cross-compiling) = no]: Likewise.
2973
ebfd1bbd
JM
2974 * posix/Makefile ($(objpfx)globtest.out): Pass
2975 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2976 $(rtld-installed-name).
2977 * posix/globtest.sh (elf_objpfx): Remove variable.
2978 (rtld_installed_name): Likewise.
2979 (library_path): Likewise.
2980 (run_program_prefix): New variable. Use for running globtest
2981 binary.
2982
166bca24
JB
29832012-10-23 Jim Blandy <jimb@codesourcery.com>
2984 Joseph Myers <joseph@codesourcery.com>
2985
2986 * Makeconfig (host-built-program-cmd): New variable.
2987 * elf/Makefile (tst-stackguard1-ARGS): Use
2988 $(host-built-program-cmd).
2989 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2990 (tst-spawn-ARGS): Likewise.
2991 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2992
88866099
JM
29932012-10-23 Joseph Myers <joseph@codesourcery.com>
2994 Jim Blandy <jimb@codesourcery.com>
2995
2996 * Makeconfig (run-via-rtld-prefix): New variable.
2997 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2998 (built-program-cmd): Likewise.
2999
b4b4c296
AJ
30002012-10-22 Andreas Jaeger <aj@suse.de>
3001
3002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3003 __O_RSYNC if it exists, otherwise to O_SYNC.
3004
6fb54a22
JB
30052012-10-22 Jim Blandy <jimb@codesourcery.com>
3006 Joseph Myers <joseph@codesourcery.com>
3007
3008 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3009 /dev/null.
3010 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3011 from /dev/null
3012 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3013 /dev/null.
3014
481b90b9
AJ
30152012-10-22 Andreas Jaeger <aj@suse.de>
3016
2a0e2669
AJ
3017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3018 Define always.
3019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3020
76e38f9a
AJ
3021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3022 bits/fcntl-linux.h.
3023
7cd37b43
AJ
3024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3025 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3026
481b90b9
AJ
3027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3028 to __O_LARGEFILE.
3029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3030 to __O_LARGEFILE.
3031
aba75984
JB
30322012-10-21 Jim Blandy <jimb@codesourcery.com>
3033 Joseph Myers <joseph@codesourcery.com>
3034
3035 * config.make.in (NM): New variable.
3036
88d4247f
AJ
30372012-10-21 Andreas Jaeger <aj@suse.de>
3038
3039 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3040 definitions and declarations that are provided by
3041 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3042
f2eed205
L
30432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 [BZ #14683]
3046 * elf/Makefile (tests-static): Add tst-leaks1-static.
3047 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3048 ($(objpfx)tst-leaks1-static): New rule.
3049 ($(objpfx)tst-leaks1-static-mem): Likewise.
3050 (tst-leaks1-static-ENV): New macro.
3051 * elf/dl-open.c (dl_open_worker): Check the main application
3052 only if SHARED is defined.
3053 * elf/tst-leaks1-static.c: New file.
3054
335e6931
AJ
30552012-10-20 Andreas Jaeger <aj@suse.de>
3056
3057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3058 generic values for Linux.
3059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3060 and declarations that are provided by <bits/fcntl-linux.h> and
3061 include <bits/fcntl-linux.h>.
3062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3064
ac5c94d3
RM
30652012-10-20 Roland McGrath <roland@hack.frob.com>
3066
3067 * io/fcntl.h: Move include of <bits/types.h> to the top and
3068 include it unconditionally.
3069
de54b33a
L
30702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3071
228cfb01
L
3072 * wcsmbs/Makefile (tests-ifunc): New variable.
3073 (tests): Add $(tests-ifunc).
3074 * wcsmbs/test-wcschr-ifunc.c: New file.
3075 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3076 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3077 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3078 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3079 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3080
69f07e5f
L
3081 * string/Makefile (tests-ifunc): New variable.
3082 (tests): Add $(tests-ifunc).
3083 * string/test-memccpy.c (TEST_NAME): New macro.
3084 * string/test-memchr.c (TEST_NAME): Likewise.
3085 * string/test-memcmp.c (TEST_NAME): Likewise.
3086 * string/test-memcpy.c (TEST_NAME): Likewise.
3087 * string/test-memmem.c (TEST_NAME): Likewise.
3088 * string/test-memmove.c (TEST_NAME): Likewise.
3089 * string/test-memset.c (TEST_NAME): Likewise.
3090 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3091 * string/test-stpcpy.c (TEST_NAME): Likewise.
3092 * string/test-stpncpy.c (TEST_NAME): Likewise.
3093 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3094 * string/test-strcasestr.c (TEST_NAME): Likewise.
3095 * string/test-strcat.c (TEST_NAME): Likewise.
3096 * string/test-strchr.c (TEST_NAME): Likewise.
3097 * string/test-strcmp.c(TEST_NAME): Likewise.
3098 * string/test-strcpy.c (TEST_NAME): Likewise.
3099 * string/test-strcspn.c (TEST_NAME): Likewise.
3100 * string/test-strlen.c (TEST_NAME): Likewise.
3101 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3102 * string/test-strncmp.c (TEST_NAME): Likewise.
3103 * string/test-strncpy.c (TEST_NAME): Likewise.
3104 * string/test-strnlen.c (TEST_NAME): Likewise.
3105 * string/test-strpbrk.c (TEST_NAME): Likewise.
3106 * string/test-strrchr.c (TEST_NAME): Likewise.
3107 * string/test-strspn.c (TEST_NAME): Likewise.
3108 * string/test-strstr.c (TEST_NAME): Likewise.
3109 * string/test-bcopy-ifunc.c: New file.
3110 * string/test-bzero-ifunc.c: Likewise.
3111 * string/test-memccpy-ifunc.c: Likewise.
3112 * string/test-memchr-ifunc.c: Likewise.
3113 * string/test-memcmp-ifunc.c: Likewise.
3114 * string/test-memcpy-ifunc.c: Likewise.
3115 * string/test-memmem-ifunc.c: Likewise.
3116 * string/test-memmove-ifunc.c: Likewise.
3117 * string/test-mempcpy-ifunc.c: Likewise.
3118 * string/test-memset-ifunc.c: Likewise.
3119 * string/test-rawmemchr-ifunc.c: Likewise.
3120 * string/test-stpcpy-ifunc.c: Likewise.
3121 * string/test-stpncpy-ifunc.c: Likewise.
3122 * string/test-strcasecmp-ifunc.c: Likewise.
3123 * string/test-strcasestr-ifunc.c: Likewise.
3124 * string/test-strcat-ifunc.c: Likewise.
3125 * string/test-strchr-ifunc.c: Likewise.
3126 * string/test-strchrnul-ifunc.c: Likewise.
3127 * string/test-strcmp-ifunc.c: Likewise.
3128 * string/test-strcpy-ifunc.c: Likewise.
3129 * string/test-strcspn-ifunc.c: Likewise.
3130 * string/test-strlen-ifunc.c: Likewise.
3131 * string/test-strncasecmp-ifunc.c: Likewise.
3132 * string/test-strncat-ifunc.c: Likewise.
3133 * string/test-strncmp-ifunc.c: Likewise.
3134 * string/test-strncpy-ifunc.c: Likewise.
3135 * string/test-strnlen-ifunc.c: Likewise.
3136 * string/test-strpbrk-ifunc.c: Likewise.
3137 * string/test-strrchr-ifunc.c: Likewise.
3138 * string/test-strspn-ifunc.c: Likewise.
3139 * string/test-strstr-ifunc.c: Likewise.
3140
de54b33a
L
3141 * debug/Makefile (tests-ifunc): New variable.
3142 (tests): Add $(tests-ifunc).
3143 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3144 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3145 * debug/test-stpcpy_chk-ifunc.c: New file.
3146 * debug/test-strcpy_chk-ifunc.c: Likewise.
3147
88481c16
SP
31482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
3150 [BZ #13601]
3151 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3152 header is not read in.
3153
135948bd
JM
31542012-10-19 Joseph Myers <joseph@codesourcery.com>
3155
89f1c388
JM
3156 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3157 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3158 directly. Pass built executable to script as
3159 $(built-program-cmd).
3160 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3161 $testprogram without using LD_LIBRARY_PATH and $ldso.
3162
e40a0d21
JM
3163 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3164 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3165 $(rtld-installed-name).
3166 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3167 (rtld_installed_name): Likewise.
3168 (library_path): Likewise.
3169 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3170 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3171 $(run-program-prefix) to tst-tables.sh.
3172 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3173 it to run tst-table-from and tst-table-to.
3174 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3175 Pass it to tst-table.sh.
3176 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3177 $(run-program-prefix) to tst-gettext.sh.
3178 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3179 tst-translit.sh.
3180 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3181 tst-gettext2.sh.
3182 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3183 to run tst-gettext.
3184 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3185 to run tst-gettext2.
3186 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3187 to run tst-translit.
3188 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3189 $(run-program-prefix) to tst-mtrace.sh.
3190 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3191 to run tst-mtrace.
3192 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3193 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3194 $(rtld-installed-name).
3195 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3196 (rtld_installed_name): Likewise.
3197 (run_program_prefix): New variable. Use it to run wordexp-test.
3198
728e272a
JM
3199 * Makeconfig (ARCH): Remove all definitions.
3200 (machine): Likewise.
3201 [ARCH]: Remove conditional code.
3202 [!objdir]: Give error.
3203 [!objdir] (objpfx): Remove.
3204 [!objdir] (common-objpfx): Likewise.
3205 [!objdir] (common-objdir): Likewise.
3206 * configure.in (config_makefile): Remove. Hardcode Makefile in
3207 AC_CONFIG_FILES call.
3208 * configure: Regenerated.
3209
d528cdcf
JM
3210 [BZ #13888]
3211 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3212 or TMPDIR.
3213 (testout): Likewise.
3214
135948bd
JM
3215 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3216 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3217 $(rtld-installed-name).
3218 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3219 (rtld_installed_name): Likwise.
3220 (runit): Remove function.
3221 (run_getconf): New variable, Use it for running getconf binary.
3222
38c78296
L
32232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3224
3225 [BZ #14716]
3226 * string/test-memmem.c (check_result): New function.
3227 (do_one_test): Use it.
3228 (check1): New function.
3229 (test_main): Use it.
3230
d077f65f
MT
32312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3232
3233 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3234
ced52c71
JM
32352012-10-18 Joseph Myers <joseph@codesourcery.com>
3236
3237 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3238 (_G_LSEEK64): Likewise.
3239 (_G_MMAP64): Likewise.
3240 (_G_FSTAT64): Likewise.
3241 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3242 (_G_LSEEK64): Likewise.
3243 (_G_MMAP64): Likewise.
3244 (_G_FSTAT64): Likewise.
3245 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3246 unconditional. Call __mmap64 directly.
3247 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3248 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3249 __lseek64 directly.
3250 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3251 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3252 __mmap64 directly.
3253 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3254 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3255 __lseek64 directly.
3256 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3257 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3258 __lseek64 directly.
3259 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3260 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3261 __lseek64 directly.
3262 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3263 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3264 __fxstat64 directly.
3265 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3266 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3267 unconditional.
3268 (freopen64) [!_G_OPEN64]: Remove conditional code.
3269 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3270 unconditional.
3271 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3272 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3273 unconditional.
3274 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3275 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3276 unconditional.
3277 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3278 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3279 unconditional.
3280 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3281 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3282 unconditional.
3283 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3284 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3285 unconditional.
3286 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3287 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3288 unconditional.
3289 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3290
b741de23
SP
32912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3292
3293 [BZ #12140]
3294 * manual/memory.texi (Malloc Tunable Parameters): Add note
3295 about free list pointers overwriting some perturb bytes.
3296 Wording suggested by Roland McGrath.
3297
f9b9d9c9
JM
32982012-10-17 Joseph Myers <joseph@codesourcery.com>
3299
3300 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3301 (lgamma_test): Likewise.
3302 (tgamma_test): Likewise.
3303
172a631a
FW
33042012-10-16 Florian Weimer <fweimer@redhat.com>
3305
3306 [BZ #14700]
3307 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3308 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3309
e9f37252
MK
33102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3311
3312 * NEWS: Mention BZ #14716.
3313 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3314 when removing AVAILABLE1_USES_J macro.
3315
d394eb74
L
33162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3319 (__bswap_64): __uint64_t for unsigned 64-bit int.
3320
ca38dc17
AS
33212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3322
3323 * include/string.h (memmem): Declare libc hidden alias.
3324 * string/memmem.c (memmem): Define libc hidden alias.
3325 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3326 __read, __close instead of open, read, close.
3327
9a387d1f
L
33282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3329
ac49ecaf
L
3330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3331 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3332 global and hidden.
3333 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3334 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3335 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3336 Likewise.
3337 (__rawmemchr_sse2): Likewise.
3338 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3339 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3340 (__strchr_sse2): Likewise.
3341 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3342 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3343 (__strcasecmp_sse2): Likewise.
3344 (__strncasecmp_sse2): Likewise.
3345 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3346 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3347 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3348 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3349 (__strrchr_sse2): Likewise.
3350 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3351 ifunc-impl-list.c.
3352 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3353 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3354 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3355 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3356 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3357 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3358 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3359 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3360 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3361 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3362 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3363 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3364 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3365 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3366 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3367 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3368 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3369 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3370 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3371 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3372 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3373 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3374 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3375 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3376 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3377 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3378 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3379 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3380 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3381 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3382
b090e8ea
L
3383 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3384 global and hidden.
3385 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3386 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3387 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3388 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3389 Likewise.
3390 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3391 Likewise.
3392 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3393 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3394 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3395 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3396 ifunc-impl-list.c.
3397 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3398 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3399 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3400 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3401 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3402 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3403 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3404 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3405 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3406 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3407 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3408 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3409 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3410 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3411 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3415 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3431 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3438
11dd4af6
L
3439 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3440 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3441 * include/ifunc-impl-list.h: New file.
3442 * misc/ifunc-impl-list.c: Likewise.
3443 * misc/Makefile (routines): Add ifunc-impl-list.
3444 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3445 * string/test-string.h: Include <ifunc-impl-list.h>.
3446 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3447 impl_array): New variables.
3448 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3449 are defined.
3450 (test_init): Call __libc_ifunc_impl_list to initialize
3451 func_list if TEST_IFUNC and TEST_NAME are defined.
3452
9a387d1f
L
3453 * string/Makefile (strop-tests): Add bcopy and bzero.
3454 * string/test-bcopy.c: New file.
3455 * string/test-bzero.c: Likewise.
3456 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3457 defined.
3458 * string/test-memset.c: Support bzero test if TEST_BZERO is
3459 defined.
3460 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3461 __libc_memmove.
3462 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3463 __libc_memset.
3464 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3465 of memset.
3466
472371b9
JM
34672012-10-10 Joseph Myers <joseph@codesourcery.com>
3468
1e4a9536
JM
3469 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3470 * configure: Regenerated.
3471
d173d12e
JM
3472 * Makeconfig (+link-static-before-libc): Don't include
3473 $(link-static-libc).
3474
472371b9
JM
3475 * libio/libio.h (_IO_pos_t): Remove.
3476
89a3ad0b
AO
34772012-10-10 Alexandre Oliva <aoliva@redhat.com>
3478
3479 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3480 McGrath.
3481
e7451425
AO
34822012-10-10 Alexandre Oliva <aoliva@redhat.com>
3483
3484 * crypt/crypt-entry.c: Include fips-private.h.
3485 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3486 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3487 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3488 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3489
4ba74a35
AO
34902012-10-10 Alexandre Oliva <aoliva@redhat.com>
3491
3492 * crypt/crypt-private.h: Include stdbool.h.
3493 (_ufc_setup_salt_r): Return bool.
3494 * crypt/crypt-entry.c: Include errno.h.
3495 (__crypt_r): Return NULL with EINVAL for bad salt.
3496 * crypt/crypt_util.c (bad_for_salt): New.
3497 (_ufc_setup_salt_r): Check that salt is long enough and within
3498 the specified alphabet.
3499 * crypt/badsalttest.c: New file.
3500 * crypt/Makefile (tests): Add it.
3501 ($(objpfx)badsalttest): New.
3502
f96f1242
MK
35032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3504
3505 * NEWS: Add entry for BZ #14602.
3506
0e8e0c1c
JM
35072012-10-09 Joseph Myers <joseph@codesourcery.com>
3508
3509 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3510 type-generic.
3511 * math/libm-test.inc: Update comment listing what functions and
3512 macros are tested.
3513 (isgreater_test): New function.
3514 (isgreaterequal_test): Likewise.
3515 (isless_test): Likewise.
3516 (islessequal_test): Likewise.
3517 (islessgreater_test): Likewise.
3518 (isunordered_test): Likewise.
3519 (main): Call the new functions.
3520
273edc5e
RM
35212012-10-09 Roland McGrath <roland@hack.frob.com>
3522
b8493de0
RM
3523 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3524 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3525 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3526 * sysdeps/i386/configure: Regenerated.
3527 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3528 * sysdeps/mach/configure: Regenerated.
3529 * sysdeps/mach/hurd/configure: Regenerated.
3530 * sysdeps/powerpc/configure: Regenerated.
3531 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3532 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3533 * sysdeps/s390/s390-32/configure: Regenerated.
3534 * sysdeps/s390/s390-64/configure: Regenerated.
3535 * sysdeps/sh/configure: Regenerated.
3536 * sysdeps/sparc/configure: Regenerated.
3537 * sysdeps/unix/sysv/linux/configure: Regenerated.
3538 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3539 * sysdeps/x86_64/configure: Regenerated.
3540
273edc5e
RM
3541 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3542 defined. Don't check if MAP is NULL.
3543
c8450f70
JM
35442012-10-09 Joseph Myers <joseph@codesourcery.com>
3545
3546 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3547 (_G_stat64): Likewise.
3548 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3549 (_G_stat64): Likewise.
3550 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3551 instead of struct _G_stat64.
3552 * libio/fileops.c (mmap_remap_check): Likewise.
3553 (decide_maybe_mmap): Likewise.
3554 (_IO_new_file_seekoff): Likewise.
3555 (_IO_file_stat): Likewise.
3556 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3557 _G_off64_t.
3558 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3559 instead of struct _G_stat64.
3560 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3561
57e605ba
MK
35622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3563
3564 [BZ #14602]
3565 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3566 Replace with ...
3567 (CHECK_EOL): New macro.
3568 (two_way_short_needle): Check beginning of haystack for EOL. Use
3569 CHECK_EOL.
3570 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3571 Replace with CHECK_EOL.
3572 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3573 Replace with CHECK_EOL.
3574
ef1bb361
JM
35752012-10-08 Joseph Myers <joseph@codesourcery.com>
3576
3577 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3578 type-generic.
3579 * math/libm-test.inc: Update comment listing what functions and
3580 macros are tested.
3581 (finite_test): New function.
3582 (isinf_test): Likewise.
3583 (isnan_test): Likewise.
3584 (fpclassify_test): Test subnormal input.
3585 (isfinite_test): Likewise.
3586 (isnormal_test): Likewise.
3587 (main): Call the new functions.
3588
55f11534
JN
35892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3590
3591 [BZ #14660]
3592 * Makerules (%.dynsym): Force C locale when running
3593 $(OBJDUMP) --dynamic-syms.
3594
1ab29350
AS
35952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3596
3597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3598 <stdint.h>.
3599
f1ecb7ef
DM
36002012-10-06 David S. Miller <davem@davemloft.net>
3601
3602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3603 upper 32-bits of the length value in %o2 since we use branch-on-register
3604 tests which consider the entire 64-bit register.
3605
5d41d91a
L
36062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3607
3608 * string/test-strstr.c (check2): Add a test for page boundary.
3609
3baddb72
DM
36102012-10-05 David S. Miller <davem@davemloft.net>
3611
3612 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3613 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3614 file.
3615 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3616 sysdep_routines.
3617 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3618 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3619 and bzero when HWCAP_SPARC_CRYPTO is present.
3620
9cee5585
L
36212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3622
d7e0dab9
L
3623 [BZ #14602]
3624 * string/test-strstr.c (check2): New function.
3625 (test_main): Call check2.
3626
03759f47
L
3627 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3628 and bug-strchr1.
3629 * string/bug-strcasestr1.c (do_test): Moved to ...
3630 * string/test-strcasestr.c (check1): Here. New function.
3631 (do_one_test): Break out result checking code into ...
3632 (check_result): This. New function.
3633 (do_one_test): Call check_result.
3634 (test_main): Call check1.
3635 * string/bug-strchr1.c (do_test): Moved to ...
3636 * string/test-strchr.c (check1): Here. New function.
3637 (do_one_test): Break out result checking code into ...
3638 (check_result): This. New function.
3639 (do_one_test): Call check_result.
3640 (test_main): Call check1.
3641 * string/bug-strstr1.c (main): Moved to ...
3642 * string/test-strchr.c (check1): Here. New function.
3643 (do_one_test): Break out result checking code into ...
3644 (check_result): This. New function.
3645 (do_one_test): Call check_result.
3646 (test_main): Call check1.
3647 * string/bug-strcasestr1.c: Removed.
3648 * string/bug-strchr1.c: Likewise.
3649 * string/bug-strstr1.c: Likewise.
3650
53cea63e
L
3651 * elf/Makefile (dl-routines): Add hwcaps.
3652 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3653 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3654 (_dl_important_hwcaps): Moved to ...
3655 * elf/dl-hwcaps.c: Here. New file.
3656 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3657
9cee5585 3658 [BZ #14557]
bb859b06
L
3659 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3660 if IS_IN_rtld isn't defined.
3661
9cee5585
L
3662 * elf/dl-support.c (_dl_sysinfo_map): New.
3663 Include "get-dynamic-info.h" and "setup-vdso.h".
3664 (_dl_non_dynamic_init): Call setup_vdso.
3665 * elf/dynamic-link.h: Don't include <assert.h>.
3666 (elf_get_dynamic_info): Moved to ...
3667 * elf/get-dynamic-info.h: Here. New file.
3668 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3669 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3670 * elf/setup-vdso.h: Here. New file.
3671 * elf/rtld.c: Include "setup-vdso.h".
3672 (dl_main): Call setup_vdso.
3673
23c31b76
JM
36742012-10-05 Joseph Myers <joseph@codesourcery.com>
3675
28234b07
JM
3676 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3677 creal in comment listing functions tested. List finite, isinf,
3678 isnan, isless, islessequal, isgreater, isgreaterequal,
3679 islessgreater, isunordered, lgamma_r and pow10 as functions and
3680 macros not tested. Mention which functions not tested are aliases
3681 for other functions. Fix typo. Note that signs of NaNs are not
3682 tested.
3683
23c31b76
JM
3684 * scripts/config.guess: Update from config.git.
3685 * scripts/config.sub: Likewise.
3686
9043e228
RM
36872012-10-04 Roland McGrath <roland@hack.frob.com>
3688
3689 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3690 * misc/madvise.c (madvise): Renamed to __madvise.
3691 Make madvise a weak alias.
3692 * include/sys/mman.h: Declare __madvise.
3693 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3694 * sysdeps/unix/syscalls.list
3695 (madvise): Make __madvise the strong name, and madvise a weak alias.
3696 * sysdeps/unix/sysv/linux/syscalls.list
3697 (madvise, mmap): Remove redundant entries.
3698 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3699 * malloc/malloc.c (mtrim): Likewise.
3700 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3701
f57f8055
RM
37022012-10-03 Roland McGrath <roland@hack.frob.com>
3703
3704 * sysdeps/mach/hurd/dl-cache.c: File removed.
3705 * config.h.in (USE_LDCONFIG): New #undef.
3706 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3707 * configure: Regenerated.
3708 * elf/Makefile (dl-routines): Add dl-cache only under
3709 [$(use-ldconfig) = yes].
3710 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3711 cache on [USE_LDCONFIG].
3712 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3713 [USE_LDCONFIG].
3714 * elf/rtld.c (dl_main): Likewise.
3715
5bb0c10a
PT
37162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3717
3718 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3719 _SC_LEVEL4_CACHE_LINESIZE.
3720
010188c6
RM
37212012-10-03 Roland McGrath <roland@hack.frob.com>
3722
3723 * sysdeps/unix/bsd/confstr.h: File removed.
3724
b6c5ec07
AO
37252012-10-02 Alexandre Oliva <aoliva@redhat.com>
3726
3727 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3728 sys/sdt-config.h.
3729
408223d4
RM
37302012-10-02 Roland McGrath <roland@hack.frob.com>
3731
3732 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3733 Make 'mapoff' field ElfW(Off) rather than off_t.
3734
bb9510dc
DL
37352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3736
fc997c6e
DL
3737 * nscd/Makefile: Remove nscd-cflags and all its users.
3738 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3739 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3740
bb9510dc
DL
3741 [BZ #10631]
3742 * malloc.c (malloc_printerr): Clarify error message.
3743
05699367
L
37442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 [BZ #14648]
3747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3748 Set bit_FMA_Usable if FMA is supported.
3749 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3750 macro.
3751 (bit_FMA4_Usable): Updated.
3752 (index_FMA_Usable): New macro.
3753 (CPUID_FMA): Likewise
3754 (HAS_FMA): Defined with bit_FMA_Usable.
3755
51367701
RM
37562012-10-01 Roland McGrath <roland@hack.frob.com>
3757
3758 * bits/types.h (__swblk_t): Type removed.
3759 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3760 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3762 (__SWBLK_T_TYPE): Likewise.
3763 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3764 (__SWBLK_T_TYPE): Likewise.
3765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3766 (__SWBLK_T_TYPE): Likewise.
3767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3768 (__SWBLK_T_TYPE): Likewise.
3769
4d57bf63 37702012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3771 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3772
3773 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3774 (xdr_mapname): Use YPMAXMAP as maxsize.
3775 (xdr_peername): Use YPMAXPEER as maxsize.
3776 (xdr_keydat): Use YPAXRECORD as maxsize.
3777 (xdr_valdat): Use YPMAXRECORD as maxsize.
3778
93c65d43
RM
37792012-10-01 Roland McGrath <roland@hack.frob.com>
3780
497a03d6
RM
3781 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3782
93c65d43
RM
3783 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3784 * csu/init-first.c: ... here.
3785 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3786 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3787 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3789 * sysdeps/i386/init-first.c: File removed.
3790 * sysdeps/sh/init-first.c: File removed.
3791
bec749fd
JM
37922012-10-01 Joseph Myers <joseph@codesourcery.com>
3793
3794 [BZ #14645]
3795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3796 if x * y might underflow to zero and z is zero.
3797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3799 * math/libm-test.inc (min_subnorm_value): New variable.
3800 (fma_test): Add more tests.
3801 (fma_test_towardzero): Likewise.
3802 (fma_test_downward): Likewise
3803 (fma_test_upward): Likewise.
3804 (initialize): Set min_subnorm_value.
3805
8ec5b013
JM
38062012-09-29 Joseph Myers <joseph@codesourcery.com>
3807
3808 [BZ #14638]
3809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3810 0 + 0.
3811 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3812 mode for addition resulting in exact zero.
3813 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3815 exact 0 + 0.
3816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3818 * math/libm-test.inc (fma_test): Add more tests.
3819 (fma_test_towardzero): New function.
3820 (fma_test_downward): Likewise.
3821 (fma_test_upward): Likewise.
3822 (main): Call the new functions.
3823
b1fa802e
DM
38242012-09-28 David S. Miller <davem@davemloft.net>
3825
3826 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3827
d3b9fd9e
RM
38282012-09-28 Roland McGrath <roland@hack.frob.com>
3829
ea4d37b3
RM
3830 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3831 instead of SIGALRM.
3832
ac51c949
RM
3833 * sysdeps/gnu/_G_config.h: Moved to ...
3834 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3835 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3836 * sysdeps/generic/_G_config.h: ... here.
3837
28c195f7
RM
3838 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3839
848917f9
RM
3840 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3841
6bacf05b
RM
3842 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3843 Conditionalize target on [libnss_test1.so-version].
3844
91363dbb
RM
3845 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3846
cc87f7d8
RM
3847 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3848 (elfobjdir): Move out of conditionals.
3849
b1c608fe
RM
3850 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3851 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3852 (__nss_lookup_function): Conditionalize label remove_from_tree on
3853 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3854
1d9a6d96
DM
38552012-09-28 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3858 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3859 file.
3860 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3861 sysdep_routines.
3862 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3864 when HWCAP_SPARC_CRYPTO is present.
3865
72581615
PT
38662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3867
3868 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3869
715a900c
JL
38702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 [BZ #6530]
3873 * stdio-common/vfprintf.c (process_string_arg): Revert
3874 2000-07-22 change.
3875
38762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3877
3878 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3879 for testcase.
3880 * stdio-common/tst-sprintf.c: Include <locale.h>
3881 (main): Test sprintf's handling of incomplete multibyte
3882 characters.
3883
9bac1d86
L
38842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3885
3886 * elf/dl-runtime.c (VERSYMIDX): Removed.
3887 * elf/dl-version.c (VERSYMIDX): Likewise.
3888 * elf/do-rel.h (VERSYMIDX): Likewise.
3889 (VALIDX): Likewise.
3890 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3891 * elf/rtld.c (VALIDX): Likewise.
3892 (ADDRIDX): Likewise.
9bac1d86
L
3893 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3894 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3895 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3896 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3897 (VALIDX): Likewise.
3898 (ADDRIDX): Likewise.
9bac1d86 3899
b31606c0
PT
39002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3901
3902 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3903
11541177
JL
39042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3905
3906 [BZ #11438]
3907 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3908 to global scope.
3909 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3910 addresses are in the same scope as 192.0.2/24.
3911 * posix/gai.conf: Document new scope table defaults.
3912
adb26fae
SP
39132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
3915 [BZ #5298]
3916 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3917 for ftell. Compute offsets from write pointers instead.
3918 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3919
4573c6b0
SP
39202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3921
3922 [BZ #14543]
3923 * libio/Makefile (tests): New test case tst-fseek.
3924 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3925 combination works in wide mode.
3926 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3927 state when the external buffer state changes.
3928
aa9bbfe6
DM
39292012-09-27 David S. Miller <davem@davemloft.net>
3930
3931 [BZ #14376]
3932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3933 pass reloc->r_addend in as the 'high' argument to
3934 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3935
784421e7
DM
3936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3937
c39bc8b8
PT
39382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3939
3940 * rt/tst-aio2.c: Include <pthread.h>.
3941 * rt/tst-aio3.c: Likewise.
3942
1ccc2399
SE
39432012-09-27 Steve Ellcey <sellcey@mips.com>
3944
3945 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3946
31ed4153
L
39472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3948
25f5f885
L
3949 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3950 contents on [SHARED].
31ed4153 3951
b7bfe116
MP
39522012-09-26 Marek Polacek <polacek@redhat.com>
3953
3954 [BZ #14530]
3955 [BZ #13741]
3956 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3957 for C++ and GCC <4.3 as well as for non GCC compilers.
3958
43c4edba
MT
39592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3960
3961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3962
6a1bf82f
RM
39632012-09-25 Roland McGrath <roland@hack.frob.com>
3964
3965 * Makefile.in (all, install): Declare with .PHONY.
3966 Reported by Michael Hope <michael.hope@linaro.org>.
3967
8ad11b9a
TMQMF
39682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3969
3970 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3971 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3972 system header.
3973 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3974 Likewise.
3975 (sydep_routines): Add the new and the internal functions.
3976 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3977 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3979 (GLIBC_2.17): Add the new function.
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3981 (GLIBC_2.17): Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3983 (GLIBC_2.17): Likewise.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3985 (GLIBC_2.17): Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3987
7e2fca8d
AM
39882012-09-25 Alan Modra <amodra@gmail.com>
3989
3990 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3991 Add release barrier before setting once_control to say
3992 initialisation is done. Add hints on lwarx. Use macro in
3993 place of isync.
3994 (clear_once_control): Add release barrier.
3995
b87c4b24
JM
39962012-09-25 Joseph Myers <joseph@codesourcery.com>
3997
d032e0d2
JM
3998 [BZ #13629]
3999 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4000 specially.
4001 * math/s_clog10.c (__clog10): Likewise.
4002 * math/s_clog10f.c (__clog10f): Likewise.
4003 * math/s_clog10l.c (__clog10l): Likewise.
4004 * math/s_clogf.c (__clogf): Likewise.
4005 * math/s_clogl.c (__clogl): Likewise.
4006 * math/Makefile (libm-calls): Add x2y2m1.
4007 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4008 (__x2y2m1): Likewise.
4009 (__x2y2m1l): Likewise.
4010 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4011 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4014 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4015 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4016 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4017 * sysdeps/i386/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4019
b87c4b24
JM
4020 [BZ #14621]
4021 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4022 int as type of variable DEPTH.
4023 (glob): Use size_t instead of int as type of variables NEWCOUNT
4024 and OLD_PATHC.
4025
6d3bf199
LD
40262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4027
22bf5c17
LD
4028 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4029 Add s_sincosf-sse2.
4030 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4031 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4032 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4033 macros for using routine as __sincosf_ia32.
4034 Use macro for function declaration and weak_alias.
4035 * sysdeps/i386/fpu/libm-test-ulps: Update.
4036
4037 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4039
4040 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4041 subnormal argument.
4042 * math/s_cexpf.c (__cexpf): Likewise.
4043 * math/s_csinf.c (__csinf): Likewise.
4044 * math/s_csinhf.c (__csinhf): Likewise.
4045 * math/s_ctanf.c (__ctanf): Likewise.
4046 * math/s_ctanhf.c (__ctanhf): Likewise.
4047 * math/s_ccosh.c (__ccoshf): Likewise.
4048 * math/s_cexp.c (__cexpl): Likewise.
4049 * math/s_csin.c (__csin): Likewise.
4050 * math/s_csinh.c (__csinh): Likewise.
4051 * math/s_ctan.c (__ctan): Likewise.
4052 * math/s_ctanh.c (ctanh): Likewise.
4053 * math/s_ccoshl.c (__ccoshl): Likewise.
4054 * math/s_cexpl.c (__cexpl): Likewise.
4055 * math/s_csinl.c (__csinl): Likewise.
4056 * math/s_csinhl.c (__csinhl): Likewise.
4057 * math/s_ctanl.c (__ctanl): Likewise.
4058 * math/s_ctanhl.c (__ctanhl): Likewise.
4059
203e5603
JM
40602012-09-25 Joseph Myers <joseph@codesourcery.com>
4061
4062 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4063 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4064 (_IO_off_t): Define to __off_t, not _G_off_t.
4065 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4066 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4067 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4068 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4069 type of __dummy and __dummy2 fields.
4070 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4071 (_G_ssize_t): Likewise.
4072 (_G_off_t): Likewise.
4073 (_G_pid_t): Likewise.
4074 (_G_uid_t): Likewise.
4075 (_G_wchar_t): Likewise.
4076 (_G_wint_t): Likewise.
4077 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4078 (_G_ssize_t): Likewise.
4079 (_G_off_t): Likewise.
4080 (_G_pid_t): Likewise.
4081 (_G_uid_t): Likewise.
4082 (_G_wchar_t): Likewise.
4083 (_G_wint_t): Likewise.
4084 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4085 (_G_ssize_t): Likewise.
4086 (_G_off_t): Likewise.
4087 (_G_pid_t): Likewise.
4088 (_G_uid_t): Likewise.
4089 (_G_wchar_t): Likewise.
4090 (_G_wint_t): Likewise.
4091
9fab36eb
SP
40922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4093
4094 * malloc/arena.c: Include malloc-sysdep.h.
4095 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4096 is sufficient to shrink the heap or an unmap is needed.
4097 * sysdeps/generic/malloc-sysdep.h: New file. Define
4098 new function check_may_shrink_heap.
4099 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4100 new function check_may_shrink_heap.
4101
2b4f00d1
SP
41022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4103
4104 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4105 comments.
4106
9a9028b1
DL
41072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4108
57c69bef
DL
4109 * catgets/test-gencat.sh: Add "set -e".
4110 * elf/tst-pathopt.sh: Likewise.
4111 * grp/tst_fgetgrent.sh: Likewise.
4112 * iconvdata/run-iconv-test.sh: Likewise.
4113 * intl/tst-gettext.sh: Likewise.
4114 * intl/tst-gettext2.sh: Likewise.
4115 * intl/tst-gettext4.sh: Likewise.
4116 * intl/tst-gettext6.sh: Likewise.
4117 * intl/tst-translit.sh: Likewise.
4118 * io/ftwtest-sh: Likewise.
4119 * libio/test-freopen.sh: Likewise.
4120 * malloc/tst-mtrace.sh: Likewise.
4121 * posix/globtest.sh: Likewise.
4122 * posix/tst-getconf.sh: Likewise.
4123 * posix/wordexp-tst.sh: Likewise.
4124 * stdio-common/tst-printf.sh: Likewise.
4125 * stdio-common/tst-unbputc.sh: Likewise.
4126 * stdlib/tst-fmtmsg.sh: Likewise.
4127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4128 * catgets/Makefile: Do not specify -e option when running
4129 testsuite shell scripts.
4130 * elf/Makefile: Likewise.
4131 * grp/Makefile: Likewise.
4132 * iconvdata/Makefile: Likewise.
4133 * intl/Makefile: Likewise.
4134 * io/Makefile: Likewise.
4135 * libio/Makefile: Likewise.
4136 * malloc/Makefile: Likewise.
4137 * posix/Makefile: Likewise.
4138 * stdio-common/Makefile: Likewise.
4139 * stdlib/Makefile: Likewise.
4140 * sysdeps/x86_64/Makefile: Likewise.
4141
9a9028b1
DL
4142 * io/ftwtest-sh: Add copyright header.
4143 * posix/globtest.sh: Likewise.
4144 * posix/tst-getconf.sh: Likewise.
4145 * posix/wordexp-tst.sh: Likewise.
4146 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4147
ced6f16e
L
41482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4149
94b32c39
L
4150 [BZ #13679]
4151 * Makeconfig (+link): Defined as $(+link-static) if
4152 $(build-shared) isn't yes.
4153 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4154 isn't yes.
4155 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4156
189e935b
L
4157 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4158
ced6f16e
L
4159 [BZ #14562]
4160 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4161 new chunk size with MALLOC_ALIGN_MASK.
4162
a9f8e53a
JM
41632012-09-24 Joseph Myers <joseph@codesourcery.com>
4164
4165 [BZ #5044]
4166 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4167 <rounding-mode.h>.
4168 (__printf_fphex): Determine rounding using get_rounding_mode and
4169 round_away.
4170 * stdio-common/tst-printf-round.c (struct hex_test): New
4171 structure.
4172 (hex_tests): New variable.
4173 (test_hex_in_one_mode): New function.
4174 (do_test): Also run tests for hex float output.
4175
43153109
JM
41762012-09-21 Joseph Myers <joseph@codesourcery.com>
4177
4178 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4179 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4180 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4181 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4182 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4183 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4184 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4186
8a26625d
JM
41872012-09-20 Joseph Myers <joseph@codesourcery.com>
4188
4189 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4190 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4191 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4192 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4193
f3fd569c
DL
41942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4195
4196 [BZ #14579]
4197 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4198 mode only.
4199 * elf/tst-rtld-load-self.sh: New test.
4200 * elf/Makefile: Run it.
4201
63bbedd4
JM
42022012-09-18 Joseph Myers <joseph@codesourcery.com>
4203
4204 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4205 (tst-writev-ENV): Remove.
4206 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4207
626f8b6a
CM
42082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4209
4210 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4211
b7aaa4d6
JM
42122012-09-17 Joseph Myers <joseph@codesourcery.com>
4213
4214 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4215 unconditional.
4216 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4217 Likewise.
4218 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4219 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4220 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4221 Likewise.
4222
65513990
L
42232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4224
4225 [BZ #14587]
4226 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4227 * config.make.in (have-cpp-asm-debuginfo): Removed.
4228 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4229 * configure: Regenerated.
4230
784761be
JM
42312012-09-14 Joseph Myers <joseph@codesourcery.com>
4232
4233 [BZ #5044]
4234 * stdio-common/printf_fp.c: Include <stdbool.h> and
4235 <rounding-mode.h>.
4236 (___printf_fp): Determine rounding using get_rounding_mode and
4237 round_away.
4238 * stdio-common/tst-printf-round.c: New file.
4239 * stdio-common/Makefile (tests): Add tst-printf-round.
4240 (link-libm): New variable.
4241 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4242
9503345f
L
42432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4244
4245 [BZ #14576]
4246 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4247 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4248 Likewise.
4249 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4250 Likewise.
4251
ad35fc00
JM
42522012-09-13 Joseph Myers <joseph@codesourcery.com>
4253
4254 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4255 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4256 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4257 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4258
6c9b0f68
JM
42592012-09-12 Joseph Myers <joseph@codesourcery.com>
4260
4261 [BZ #14518]
4262 * include/rounding-mode.h: New file.
4263 * sysdeps/generic/get-rounding-mode.h: Likewise.
4264 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4265 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4266 (MAX_VALUE): New macro.
4267 (MIN_VALUE): Likewise.
4268 (overflow_value): New function.
4269 (underflow_value): Likewise.
4270 (round_and_return): Use overflow_value and underflow_value to
4271 determine return values in overflow and underflow cases. Use
4272 round_away to determine rounding depending on rounding mode.
4273 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4274 determine return values in overflow and underflow cases.
4275 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4276 (struct test_results): New structure.
4277 (struct test): Use struct test_results to store expected results
4278 for all rounding modes.
4279 (TEST): Include expected results for all rounding modes.
4280 (test_in_one_mode): New function.
4281 (do_test): Use test_in_one_mode to compute and check results.
4282 Check results for all rounding modes.
4283 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4284 $(link-libm).
4285
19fcedd5
AM
42862012-12-09 Allan McRae <allan@archlinux.org>
4287
1e9d84cd 4288 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4289
8bbfd2f1
JM
42902012-09-11 Joseph Myers <joseph@codesourcery.com>
4291
4292 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4293 (_G_int32_t): Likewise.
4294 (_G_uint16_t): Likewise.
4295 (_G_uint32_t): Likewise.
4296 (_G_HAVE_BOOL): Likewise.
4297 (_G_HAVE_ATEXIT): Likewise.
4298 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4299 (_G_HAVE_IO_FILE_OPEN): Likewise.
4300 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4301 (_G_int32_t): Likewise.
4302 (_G_uint16_t): Likewise.
4303 (_G_uint32_t): Likewise.
4304 (_G_HAVE_BOOL): Likewise.
4305 (_G_HAVE_ATEXIT): Likewise.
4306 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4307 (_G_HAVE_IO_FILE_OPEN): Likewise.
4308 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4309 (_G_int32_t): Likewise.
4310 (_G_uint16_t): Likewise.
4311 (_G_uint32_t): Likewise.
4312 (_G_HAVE_BOOL): Likewise.
4313 (_G_HAVE_ATEXIT): Likewise.
4314 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4315 (_G_HAVE_IO_FILE_OPEN): Likewise.
4316
b1dc5912
L
43172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4318
4319 * csu/libc-tls.c: Update copyright years.
4320
0e886ef9
JM
43212012-09-10 Joseph Myers <joseph@codesourcery.com>
4322
28361c5e
JM
4323 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4324 [!_G_USING_THUNKS]: Remove conditional code.
4325 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4326 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4327
0e886ef9
JM
4328 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4329 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4330 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4331 (_G_VTABLE_LABEL_PREFIX): Likewise.
4332 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4333 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4334 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4335 (_G_VTABLE_LABEL_PREFIX): Likewise.
4336 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4337 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4338 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4339 (_G_VTABLE_LABEL_PREFIX): Likewise.
4340 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4341
bcba7aa2
L
43422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4343
4344 * libio/Makefile: Include ../Makeconfig before tests.
4345 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4346 only if $(build-shared) is yes.
4347
06585ee8
L
4348 * iconv/gconv_db.c: Update copyright years.
4349
80ccd52c
LD
43502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4351
4352 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4353 unwind info if defined PIC. Fix special cases description.
4354 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4355
4356 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4357 DP_HI_MASK entry.
4358 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4359
691bc9c1
L
43602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4361
3d9b46b3
L
4362 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4363
de2139a9
L
4364 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4365 is NULL.
4366
5ca78dd0
L
4367 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4368 (LDLIBS-tst-chk4): This.
4369 (LDFLAGS-tst-chk5): Renamed to ...
4370 (LDLIBS-tst-chk5): This.
4371 (LDFLAGS-tst-chk6): Renamed to ...
4372 (LDLIBS-tst-chk6): This.
4373 (LDFLAGS-tst-lfschk4): Renamed to ...
4374 (LDLIBS-tst-lfschk4): This.
4375 (LDFLAGS-tst-lfschk5): Renamed to ...
4376 (LDLIBS-tst-lfschk5): This.
4377 (LDFLAGS-tst-lfschk6): Renamed to ...
4378 (LDLIBS-tst-lfschk6): This.
4379
691bc9c1
L
4380 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4381 on $(common-objpfx)soversions.mk.
4382
65cafb1c
JM
43832012-09-07 Joseph Myers <joseph@codesourcery.com>
4384
4385 [BZ #10014]
4386 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4387 example host name.
4388
c78ab094
SP
43892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
4391 * malloc/arena.c (arena_get_retry): New function that gets
4392 another arena for the caller to try its request on.
4393 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4394 current arena cannot fulfill the request.
4395 (__libc_memalign): Likewise.
4396 (__libc_memalign): Likewise.
4397 (__libc_pvalloc): Likewise.
4398 (__libc_calloc): Likewise.
4399
01f49f59
JT
44002012-09-05 John Tobey <john.tobey@gmail.com>
4401
4402 [BZ #13542]
4403 * manual/arith.texi (Operations on Complex): Fix description
4404 of carg branch cut.
4405
4c23fed5
JM
44062012-09-06 Joseph Myers <joseph@codesourcery.com>
4407
1d3c8572
JM
4408 [BZ #10014]
4409 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4410 host name.
4411
4c23fed5
JM
4412 [BZ #10038]
4413 * manual/memory.texi (Memory): Make order of menu items match
4414 order of sections.
4415
04570aaa
L
44162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4419 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4420 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4421
b80af2f4
L
44222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * csu/libc-tls.c (static_dtv): Renamed to ...
4425 (_dl_static_dtv): This. Make it global.
4426 (_dl_initial_dtv): Removed.
4427 (__libc_setup_tls): Updated.
4428 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4429 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4430 DL_INITIAL_DTV.
4431
2abe9f15
PM
44322012-09-06 Petr Machata <pmachata@redhat.com>
4433
4434 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4435 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4436 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4437 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4438
0948c3af
L
44392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 [BZ #14545]
4442 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4443 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4444 freeing dtv[-1].
4445
a5055ad1
L
44462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4447
4448 [BZ #14544]
4449 * Makeconfig (link-static-before-libc): Replace $(+prector)
4450 with $(+prectorT).
4451 (link-static-after-libc): Replace $(+postctor) with
4452 $(+postctorT).
4453 (link-bounded): Replace $(+prector)/$(+postctor) with
4454 $(+prectorT)/$(+postctorT).
4455 (+prectorT): New macro.
4456 (+postctorT): Likewise.
4457
ed8c2ecd
JM
44582012-09-06 Joseph Myers <joseph@codesourcery.com>
4459
4460 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4461 (round_str): Handle values above the maximum for IBM long double
4462 as inexact.
4463 * stdlib/tst-strtod-round.c (tests): Regenerated.
4464
14c996c8
AK
44652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4466
4467 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4468 assembler flag.
4469 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4470 zarch_nohighgprs around the zarch optimized routines.
4471 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4472 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4473 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4474 for zarch.
4475
430d6ce6
DM
44762012-09-05 David S. Miller <davem@davemloft.net>
4477
4478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4479
ff04dda4
DM
4480 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4481 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4482 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4484 entries.
4485
24d4e01b
AO
44862012-09-05 Alexandre Oliva <aoliva@redhat.com>
4487
4488 * malloc/arena.c: Fold copyright years.
4489 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4490
61d58174
AO
44912012-09-05 Alexandre Oliva <aoliva@redhat.com>
4492
4493 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4494
20196a5e
AO
44952012-09-05 Alexandre Oliva <aoliva@redhat.com>
4496
4497 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4498
5c447383
AO
44992012-09-05 Alexandre Oliva <aoliva@redhat.com>
4500
4501 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4502 change internal state upon failure.
4503
fad64255
AO
45042012-09-05 Alexandre Oliva <aoliva@redhat.com>
4505
4506 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4507 * malloc/memusage.c (mmap): Likewise.
4508 (mmap64, mremap): Likewise. Adjust name in comment.
4509
1ffb8c90
SP
45102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
4512 * libio/fileops.c: Fix typos in comments.
4513 * libio/oldfileops.c: Likewise.
4514 * libio/wfileops.c: Likewise.
4515
6ef9cc37
SP
45162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4517
4518 [BZ #1349]
4519 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4520 (tst-malloc-usable-ENV): Set environment for test case.
4521 * malloc/hooks.c (malloc_check_get_size): New function to get
4522 requested size.
4523 * malloc/malloc.c (musable): Use malloc_check_get_size.
4524 * malloc/tst-malloc-usable.c: New test case.
4525
4d038ae3
AS
45262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4527
4528 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4529
c4e85184
AM
45302012-09-05 Allan McRae <allan@archlinux.org>
4531
b9dafc56 4532 [BZ #13966]
c4e85184
AM
4533 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4534 determine header location.
4535 * configure: Regenerated.
4536
e1343020
AS
45372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4538
4539 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4540 float format.
4541 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4542 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4543 format.
e1343020
AS
4544 (test): Regenerate.
4545
0a9f1987
DM
45462012-09-04 David S. Miller <davem@davemloft.net>
4547
4548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4550 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4551
29237804
FW
45522012-09-04 Florian Weimer <fweimer@redhat.com>
4553
4554 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4555 failures.
4556
edb3cb88
FW
4557 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4558
60160d83
JM
45592012-09-04 Joseph Myers <joseph@codesourcery.com>
4560
4561 [BZ #9914]
4562 * libio/iogetdelim.c: Include <limits.h>.
4563 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4564 + len + 1 would overflow.
4565
bcd6c8dc
AJ
45662012-09-03 Andreas Jaeger <aj@suse.de>
4567
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4569 * sysdeps/i386/fpu/libm-test-ulps: Update.
4570
4ffffbd2
LD
45712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4572
4573 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4574 Add s_sinf-sse2, s_conf-sse2.
4575
4576 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4577 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4578 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4579 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4580
4581 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4582 for using routine as __sinf_ia32.
4583 Use macro for function declaration and weak_alias.
4584 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4585 for using routine as __cosf_ia32.
4586 Use macro for function declaration and weak_alias.
4587
4588 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4589 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4590
4591 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4592 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4594
4595 * math/libm-test.inc (cos_test): Add more test cases.
4596 (sin_test): Likewise.
4597 (sincos_test): Likewise.
4598
511fa286
AK
45992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4600
4601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4602 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4603 hidden.
4604 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4605
5f30cfec
L
46062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 [BZ #14538]
4609 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4610 first element of the GOT.
4611 (elf_machine_load_address): Return the difference between
4612 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4613
0786794f
AM
46142012-09-01 Allan McRae <allan@archlinux.org>
4615
5f30cfec
L
4616 [BZ #13412]
4617 * configure.in (AWK): Require gawk version 3.0 or later.
4618 * configure: Regenerated.
0786794f 4619
26889eac
JM
46202012-09-01 Joseph Myers <joseph@codesourcery.com>
4621
4622 * sysdeps/unix/sysv/linux/kernel-features.h
4623 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4624 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4625 [__NR_clock_getres]: Make code unconditional.
4626 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4627 (clock_getcpuclockid): Remove code left unreachable by removal of
4628 conditionals.
4629 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4630 code unconditional.
4631 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4633 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4634 Make code unconditional.
4635 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4636 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4637 * sysdeps/unix/sysv/linux/clock_settime.c
4638 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4639 conditional code.
4640 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4641 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4642
d22e28b0
L
46432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4644
4645 [BZ #14476]
4646 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4647 scripts/test-installation.pl.
4648
4649 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4650 and $ld_so_version if it is set.
4651
050af9c4
SP
46522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4653
4654 [BZ #14516]
4655 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4656 failure if reading from procfs failed.
4657 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4658
ad845c0b
JM
46592012-08-27 Joseph Myers <joseph@codesourcery.com>
4660
4661 * sysdeps/unix/sysv/linux/kernel-features.h
4662 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4663 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4664 Remove conditional code.
4665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4666 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4667 Remove conditional code.
4668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4669 * sysdeps/unix/sysv/linux/i386/fxstat.c
4670 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4672 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4673 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4675 * sysdeps/unix/sysv/linux/i386/lxstat.c
4676 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4678 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4679 Remove conditional code.
4680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4681 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4682 Remove conditional code.
4683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4684 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4685 <kernel-features.h>.
4686 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4687 Remove.
4688 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4689 Remove conditional code.
4690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4691 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4692 Remove conditional.
4693
5dbf56af
MF
46942012-08-27 Mike Frysinger <vapier@gentoo.org>
4695
4696 [BZ #5400]
4697 * NEWS: Add fixed bug number.
4698
d6e70f43
JM
46992012-08-27 Joseph Myers <joseph@codesourcery.com>
4700
7efb4737
JM
4701 [BZ #14519]
4702 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4703 underflowing exponent in case of negative sign.
4704 * stdlib/tst-strtod-round-data: Add more tests.
4705 * stdlib/tst-strtod-round.c (tests): Regenerated.
4706
af92131a
JM
4707 [BZ #3479]
4708 * stdlib/strtod_l.c (NDIG): Remove.
4709 (HEXNDIG): Likewise.
4710 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4711 smallest representable value.
4712 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4713 lie within an exact representation of 1/2 ulp of the result.
4714 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4715 unconditionally.
4716 (TENS_P9_IDX): Define unconditionally.
4717 (TENS_P9_SIZE): Likewise.
4718 (TENS_P10_IDX): Likewise.
4719 (TENS_P10_SIZE): Likewise.
4720 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4721 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4722 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4723 entries for 10^2^13 and 10^2^14.
4724 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4725 (TENS_P13_IDX): Define.
4726 (TENS_P13_SIZE): Likewise.
4727 (TENS_P14_IDX): Likewise.
4728 (TENS_P14_SIZE): Likewise.
4729 (_fpioconst_pow10): Change array size to
4730 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4731 unconditional.
4732 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4733 1024]: Add entries for 10^2^13 and 10^2^14.
4734 [LAST_POW10 > _LAST_POW10]: Remove #error.
4735 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4736 (_fpioconst_pow10): Change array size to
4737 FPIOCONST_POW10_ARRAY_SIZE.
4738 * stdlib/gen-fpioconst.c: New file.
4739 * stdlib/gen-tst-strtod-round.c: Likewise.
4740 * stdlib/tst-strtod-round-data: Likewise.
4741 * stdlib/tst-strtod-round.c: Likewise.
4742 * stdlib/Makefile (tests): Add tst-strtod-round.
4743
d6e70f43
JM
4744 [BZ #14459]
4745 * stdlib/strtod_l.c: Include <stdint.h>.
4746 (NDEBUG): Do not define.
4747 (round_and_return): Change EXPONENT parameter to type intmax_t.
4748 Rearrange calculations to avoid internal overflow possibilities.
4749 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4750 Rearrange calculations to avoid internal overflow possibilities.
4751 Assert that number fits inside MPNSIZE limbs.
4752 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4753 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4754 calculations and add assertions to avoid internal overflow
4755 possibilities. Add casts to avoid signed/unsigned operations.
4756 * stdlib/tst-strtod-overflow.c: New file.
4757 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4758
1f529f7d
MP
47592012-08-25 Marek Polacek <polacek@redhat.com>
4760
4761 * time/time.h: Fix some typos in comments.
4762
59a629f1
RM
47632012-08-23 Roland McGrath <roland@hack.frob.com>
4764
4765 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4766 * posix/tst-rfc3484-2.c: Likewise.
4767 * posix/tst-rfc3484-3.c: Likewise.
4768
d3bafbc9
SM
47692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4770
4771 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4772 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4773
4efcc022
JM
47742012-08-23 Joseph Myers <joseph@codesourcery.com>
4775
4776 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4777 #include of fxstatat64.c.
4778
3cc3ef96
RM
47792012-08-22 Roland McGrath <roland@hack.frob.com>
4780
f04e2132
RM
4781 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4782 * shadow/getspent_r.c: Likewise.
4783 * shadow/getspnam.c: Likewise.
4784 * shadow/getspnam_r.c: Likewise.
4785 * gshadow/getsgent.c: Likewise.
4786 * gshadow/getsgent_r.c: Likewise.
4787 * gshadow/getsgnam.c: Likewise.
4788 * gshadow/getsgnam_r.c: Likewise.
4789 * inet/getnetbyad.c: Likewise.
4790 * inet/getnetbyad_r.c: Likewise.
4791 * inet/getnetbynm.c: Likewise.
4792 * inet/getnetbynm_r.c: Likewise.
4793 * inet/getnetent.c: Likewise.
4794 * inet/getnetent_r.c: Likewise.
4795 * inet/getproto.c: Likewise.
4796 * inet/getproto_r.c: Likewise.
4797 * inet/getprtent.c: Likewise.
4798 * inet/getprtent_r.c: Likewise.
4799 * inet/getprtname.c: Likewise.
4800 * inet/getprtname_r.c: Likewise.
4801 * inet/getrpcbyname.c: Likewise.
4802 * inet/getrpcbyname_r.c: Likewise.
4803 * inet/getrpcbynumber.c: Likewise.
4804 * inet/getrpcbynumber_r.c: Likewise.
4805 * inet/getrpcent.c: Likewise.
4806 * inet/getrpcent_r.c: Likewise.
4807 * inet/getaliasent.c: Likewise.
4808 * inet/getaliasent_r.c: Likewise.
4809 * inet/getaliasname.c: Likewise.
4810 * inet/getaliasname_r.c: Likewise.
4811 * nscd/getgrgid_r.c: Likewise.
4812 * nscd/getgrnam_r.c: Likewise.
4813 * nscd/gethstbyad_r.c: Likewise.
4814 * nscd/gethstbynm3_r.c: Likewise.
4815 * nscd/getpwnam_r.c: Likewise.
4816 * nscd/getpwuid_r.c: Likewise.
4817 * nscd/getsrvbynm_r.c: Likewise.
4818 * nscd/getsrvbypt_r.c: Likewise.
4819 * nscd/gai.c: Likewise.
4820
c53d909c
RM
4821 * configure.in (build_nscd): New substituted variable, set
4822 by --disable-build-nscd and defaults to $use_nscd.
4823 * configure: Regenerated.
4824 * config.make.in (build-nscd): New substituted variable.
4825 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4826 Change conditional to require [$(build-nscd) = yes] as well.
4827 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4828
3cc3ef96
RM
4829 [BZ# 13696]
4830 * configure.in (use_nscd): New substituted variable, set by
4831 --disable-nscd. If enabled, define USE_NSCD.
4832 * configure: Regenerated.
4833 * config.h.in: Add USE_NSCD.
4834 * config.make.in (use-nscd): New substituted variable.
4835 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4836 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4837 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4838 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4839 (CFLAGS-getgrnam_r.c): Likewise.
4840 (CFLAGS-initgroups.c): Likewise.
4841 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4842 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4843 Variables removed.
4844 * inet/getnetgrent_r.c
4845 (nscd_setnetgrent): New function, broken out of ...
4846 (setnetgrent): ... here. Call it.
4847 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4848 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4849 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4850 * nscd/Makefile (routines, aux): Move definitions after include of
4851 Makeconfig. Conditionalize on [$(use-nscd) != no].
4852 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4853 Conditionalize on [USE_NSCD].
4854 (is_nscd, nscd_init_cb): Likewise.
4855 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4856 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4857 * nss/nss_db/db-init.c: Likewise.
4858 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4859 [USE_NSCD].
4860 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4861 (make_request): Use it.
4862 (cache_valid_p): New function.
4863 (__check_pf): Use it.
4864 * NEWS: Add item for --disable-nscd.
4865
07e51550
DL
48662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4867
4868 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4869 to support sed >= 4.2.1-20-ga9bf076.
4870 * configure: Regenerated.
4871
35a5b08b
RM
48722012-08-22 Roland McGrath <roland@hack.frob.com>
4873
4874 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4875 Conditionalize whole body on [IREL].
4876
8479f23a
JL
48772012-08-22 Jeff Law <law@redhat.com>
4878
4879 [BZ #14505]
4880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4881 if the family is PF_UNSPEC.
4882
48da0b21
MF
48832012-08-22 Mike Frysinger <vapier@gentoo.org>
4884
4885 * Makerules (lib-version): Rename from V.
4886 (install-lib-nosubdir): Change V to lib-version.
4887
15d0da8c
WS
48882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4889
4890 [BZ #14252]
4891 * powerpc32/power6/wcschr.c: New file.
4892 * powerpc32/power6/wcscpy.c: New file.
4893 * powerpc32/power6/wcsrchr.c: New file.
4894 * powerpc64/power6/wcschr.c: New file.
4895 * powerpc64/power6/wcscpy.c: New file.
4896 * powerpc64/power6/wcsrchr.c: New file.
4897
bcca0895
MK
48982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4899
4900 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4901 (two_way_short_needle): Use it.
5a4aaa33
RM
4902 * string/strstr.c (AVAILABLE1_USES_J): Define.
4903 * string/strcasestr.c: Likewise.
99677e57
MK
4904
4905 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4906 array references.
4907 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4908
400726de
MK
4909 [BZ #11607]
4910 * NEWS: Add an entry.
4911 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4912 define their defaults.
4913 (two_way_short_needle): Detect end-of-string on-the-fly.
4914 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4915 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4916 * string/bug-strcasestr1.c: New test.
4917 * string/Makefile: Run it.
4918
20a71f2c
MK
49192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4920
4921 [BZ #11607]
4922 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4923 the first character.
4924
21ad0558
RM
49252012-08-21 Roland McGrath <roland@hack.frob.com>
4926
4927 * csu/elf-init.c (__libc_csu_irel): Function removed.
4928 * csu/libc-start.c (apply_irel): New function.
4929 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4930
0e1d9911
JM
49312012-08-21 Joseph Myers <joseph@codesourcery.com>
4932
4933 * sysdeps/unix/sysv/linux/kernel-features.h
4934 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4935 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4936 <kernel-features.h>.
4937 [__NR_fadvise64_64]: Make code unconditional.
4938 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4939 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4940 !__NR_fadvise64_64)]: Likewise.
4941 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4942 !__NR_fadvise64_64))]: Likewise.
4943 [__NR_fadvise64]: Make code unconditional.
4944 [!__NR_fadvise64]: Remove conditional code.
4945 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4946 <kernel-features.h>.
4947 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4948 unconditional.
4949 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4950 conditional code.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4952 not include <kernel-features.h>.
4953 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4954 unconditional.
4955 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4956 conditional code.
4957 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4958 include <kernel-features.h>.
4959 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4960 unconditional.
4961 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4962 conditional code.
4963
14a50c9d
WS
49642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4965
4966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4967 slight instruction rearrangements per scrollpipe analysis.
4968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4969
c0f4faf0
RM
49702012-08-20 Roland McGrath <roland@hack.frob.com>
4971
696da859
RM
4972 * manual/syslog.texi (syslog; vsyslog, closelog):
4973 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4974 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4975
c0f4faf0
RM
4976 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4977 DSOCAPS to match condition on defining it.
4978
348363b2
JM
49792012-08-20 Joseph Myers <joseph@codesourcery.com>
4980
a35cbf28
JM
4981 * sysdeps/unix/sysv/linux/kernel-features.h
4982 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4984 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4985 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4987 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4988 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4990 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4991 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4992
445f7ecd
JM
4993 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4994 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4995
348363b2
JM
4996 * sysdeps/unix/sysv/linux/kernel-features.h
4997 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4998 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4999 unconditional.
5000 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5001 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5002 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5003 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5004 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5005 Make code unconditional.
5006 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5007 (__mmap64) [!__NR_mmap2]: Likewise.
5008 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5009 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5010 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5012 [__NR_mmap2]: Make code unconditional.
5013 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5014 (__mmap64) [!__NR_mmap2]: Likewise.
5015
bc5bc0e5
AK
50162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5017
5018 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5019
88d506de
AJ
50202012-08-18 Andreas Jaeger <aj@suse.de>
5021
5022 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5023
493387d2
MF
50242012-08-18 Mike Frysinger <vapier@gentoo.org>
5025
5026 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5027 * include/unistd.h (__have_sock_cloexec): Likewise.
5028 (__have_pipe2): Likewise.
5029 (__have_dup3): Likewise.
5030
a277af22
MF
50312012-08-18 Mike Frysinger <vapier@gentoo.org>
5032
5033 [BZ #9685]
5034 * include/unistd.h (__have_pipe2): Change define into an extern int.
5035 (__have_dup3): Likewise.
5036 * socket/have_sock_cloexec.c: Include fcntl.h.
5037 (__have_pipe2): New variable.
5038 (__have_dup3): Likewise.
5039
fdab8fd3
MF
50402012-08-17 Mike Frysinger <vapier@gentoo.org>
5041
5042 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5043
31035e80
MP
50442012-08-17 Marek Polacek <polacek@redhat.com>
5045
5046 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5047 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5048
3bd9e993
RM
50492012-08-17 Roland McGrath <roland@hack.frob.com>
5050
c91c505f
RM
5051 * configure.in: Add AC_SUBST for sysheaders.
5052 * configure: Regenerated.
5053 * config.make.in (sysheaders): New substituted variable.
5054
7c6f9d53
RM
5055 * sysdeps/unix/mkfifo.c: Moved ...
5056 * sysdeps/posix/mkfifo.c: ... here.
5057 * sysdeps/unix/mkfifoat.c: Moved ...
5058 * sysdeps/posix/mkfifoat.c: ... here.
5059
5060 * sysdeps/unix/utime.c: Moved ...
5061 * sysdeps/posix/utime.c: ... here.
5062
5063 * sysdeps/unix/time.c: Moved ...
5064 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5065 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5066 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5067
5068 * sysdeps/unix/nice.c: Moved ...
5069 * sysdeps/posix/nice.c: ... here.
5070
5071 * sysdeps/unix/alarm.c: Moved ...
5072 * sysdeps/posix/alarm.c: ... here.
5073
3bd9e993
RM
5074 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5075
d1f09384
JL
50762012-08-17 Jeff Law <law@redhat.com>
5077
5078 * intl/Makefile (codeset_mo): New variable.
5079 ($(codeset_mo)): New target.
5080 (tst-codeset.out): Depend on that. Remove explicit rule.
5081 (tst-gettext3.out, tst-gettext5.out): Likewise.
5082 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5083 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5084 * intl/tst-codeset.sh: Remove.
5085 * intl/tst-gettext3.sh: Likewise.
5086 * intl/tst-gettext5.sh: Likewise.
5087
2ae1ae5c
RM
50882012-08-17 Roland McGrath <roland@hack.frob.com>
5089
c31fdb83
RM
5090 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5091 * sysdeps/unix/syscalls.list: ... here.
5092
a0844057
RM
5093 * sysdeps/posix/getaddrinfo.c
5094 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5095 (gaiconf_init, gaiconf_reload): Use them.
5096 [!_STATBUF_ST_NSEC]
5097 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5098 Define using time_t rather than struct timespec.
5099
750c1f2a
RM
5100 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5101 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5102 Macros removed.
5103 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5104 [!NO_THREADS].
5105 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5106 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5107 Likewise.
5108
2ae1ae5c
RM
5109 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5110 __libc_cleanup_push argument.
5111
e66a42f5
RM
5112 * bits/param.h: New file.
5113 * misc/sys/param.h: New file.
5114 * include/sys/param.h: New file.
5115 * misc/Makefile (headers): Add bits/param.h.
5116 * sysdeps/generic/sys/param.h: File removed.
5117 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5118 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5119 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5120 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5121
b7c08a66
RM
5122 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5123 last change.
5124
b2e1c562
RM
5125 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5126 [_IO_MTSAFE_IO].
5127 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5128 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5129 New macros.
5130
c75ccd4c
RM
5131 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5132 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5133 rather than -D_IO_MTSAFE_IO conditionally.
5134 * stdio-common/Makefile (CPPFLAGS): Likewise.
5135 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5136 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5137 Use $(libio-mtsafe).
5138 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5139 of -D_IO_MTSAFE_IO.
5140 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5141 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5142 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5143 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5144 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5145 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5146 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5147 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5148 (CFLAGS-fread_u_chk.c): Likewise.
5149 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5150 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5151 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5152 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5153 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5154 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5155 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5156 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5157 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5158
5159 * libio/Makefile: Test [$(libc-reentrant) = yes]
5160 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5161
5162 * Makeconfig
5163 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5164 * sysdeps/pthread/configure: File removed.
5165 * sysdeps/pthread/Makeconfig: New file.
5166 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5167 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5168
d9195db8
GB
51692012-08-16 Gary Benson <gbenson@redhat.com>
5170
5171 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5172 unmapping the first object in a namespace.
5173
86466cd9
RM
51742012-08-16 Roland McGrath <roland@hack.frob.com>
5175
5176 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5177 (__internal_setnetgrent): ... this. Add internal_function to
5178 definition. Add libc_hidden_def.
5179 (setnetgrent): Update caller.
5180 (internal_endnetgrent): Renamed to ...
5181 (__internal_endnetgrent): ... this. Add internal_function to
5182 definition. Add libc_hidden_def.
5183 (endnetgrent): Update caller.
5184 (internal_getnetgrent_r): Renamed to ...
5185 (__internal_getnetgrent_r): ... this. Add internal_function to
5186 definition. Add libc_hidden_def.
5187 (__getnetgrent_r): Update caller.
5188 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5189
c3c8283c
JM
51902012-08-16 Joseph Myers <joseph@codesourcery.com>
5191
5192 * stdlib/longlong.h: Update from GCC.
5193
db1ee0a8
RM
51942012-08-16 Roland McGrath <roland@hack.frob.com>
5195
5196 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5197 on _QL, which is set by umul_ppmm but never used.
5198 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5199 variables, which are set by GMP macros but never used.
5200 * stdio-common/_itowa.c (_itowa): Likewise.
5201 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5202 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5203
30f69637
CD
52042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5205
5206 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5207 struct La_sh_regs is not constant.
5208 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5209 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5210 and struct La_sparc64_regs are not constant.
5211
93a78ac4
JM
52122012-08-16 Joseph Myers <joseph@codesourcery.com>
5213
5214 * sysdeps/unix/sysv/linux/kernel-features.h
5215 (__ASSUME_POSIX_TIMERS): Remove.
5216 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5218 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5219 Make code unconditional.
5220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5221 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5222 Make code unconditional.
5223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5224 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5225 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5227 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5228 Make code unconditional.
5229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5230 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5231 (__libc_missing_posix_timers): Remove.
5232
dd924cd7
RM
52332012-08-15 Roland McGrath <roland@hack.frob.com>
5234
4b4f2771
RM
5235 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5236 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5237
601c888b
RM
5238 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5239
176790a7
RM
5240 * elf/dl-sym.c: Include <stdlib.h>.
5241
329bc018
RM
5242 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5243 constants, which avoids warnings in 32-bit builds.
5244
e04e272d
RM
5245 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5246 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5247
952bf94a
RM
5248 * misc/lseek.c: File moved to ...
5249 * io/lseek.c: ... here.
5250
7c99b50a
RM
5251 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5252
dd924cd7
RM
5253 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5254 shifting LEN more than 31 bits at once.
5255
b3f479a8
LD
52562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5257
5258 [BZ #14195]
8c4ae0d4
RM
5259 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5260 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5261 * string/test-strncasecmp.c (check1): Renamed to...
5262 (bz12205): ...this.
5263 (bz14195): Add new testcase for two empty input strings and N > 0.
5264 (test_main): Call new testcase, adapt for renamed function.
5265
9c55864e
AJ
52662012-08-15 Andreas Jaeger <aj@suse.de>
5267
5268 [BZ #14090]
5269 * crypt/md5test2.c: New test, based on test supplied by Serge
5270 Belyshev <belyshev@depni.sinp.msu.ru>.
5271 * crypt/Makefile (xtests): Add md5test-giant..
5272 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5273
02dcb6c5
PE
52742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5275
5276 [BZ #14090]
5277 * crypt/md5.c (md5_process_block): Don't assume the buffer
5278 length is less than 2**32.
5279 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5280 length is less than 2**64.
5281
a3f95dcc
RM
52822012-08-15 Roland McGrath <roland@hack.frob.com>
5283
be75d758
RM
5284 * string/str-two-way.h: Include <sys/param.h>.
5285 (MAX): Macro removed.
5286
7312ca90
RM
5287 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5288 Move #define and #undef of memmove to just before and after
5289 including <string.h>.
5290
9a0a5486
RM
5291 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5292 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5293 and after including <string.h>. Move declarations of
5294 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5295 to before #include "string/memmove.c".
5296
67cc348d
RM
5297 * include/dirent.h: Declare __getdirentries.
5298
a3f95dcc
RM
5299 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5300 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5301
ca98e171
MF
53022012-08-14 Mike Frysinger <vapier@gentoo.org>
5303
5304 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5305 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5306 * sysdeps/i386/configure: Regenerated.
5307 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5308 STABS_CURRENT_FILE, and STABS_FUN.
5309 (END): Remove call to STABS_FUN_END.
5310 (STABS_CURRENT_FILE1): Delete.
5311 (STABS_CURRENT_FILE): Likewise.
5312 (STABS_FUN): Likewise.
5313 (STABS_FUN_END): Likewise.
5314 (STABS_FUN2): Likewise.
5315 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5316 * sysdeps/x86_64/configure: Regenerated.
5317
5908bf46
RM
53182012-08-14 Roland McGrath <roland@hack.frob.com>
5319
5320 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5321 * elf/dl-lookup.c: Likewise.
5908bf46 5322
f2c05b9e
JM
53232012-08-14 Joseph Myers <joseph@codesourcery.com>
5324
5325 * sysdeps/unix/sysv/linux/kernel-features.h
5326 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5327 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5328 unconditionally.
5329 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5330 unconditionally.
5331 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5332 condition on __ASSUME_CLONE_THREAD_FLAGS.
5333
e11f5155
AJ
53342012-08-14 Andreas Jaeger <aj@suse.de>
5335
5336 * sysdeps/i386/fpu/libm-test-ulps: Update.
5337
51a9ba86
MK
53382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5339
2fdd4f78
AJ
5340 * include/atomic.h (atomic_exchange_and_add): Split into ...
5341 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5342 New atomic macros.
51a9ba86 5343
ba6cba9e
MT
53442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5345
5346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5347
42443a47
JL
53482012-08-13 Jeff Law <law@redhat.com>
5349
5350 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5351 null byte in the output string.
5352
121dce05
JM
53532012-08-10 Joseph Myers <joseph@codesourcery.com>
5354
5355 * sysdeps/unix/sysv/linux/kernel-features.h
5356 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5357 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5358 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5360 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5361 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5362 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5363
bf51f568
JL
53642012-08-09 Jeff Law <law@redhat.com>
5365
5366 [BZ #13939]
5367 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5368 When avoid_arena is set, don't retry in the that arena. Pick the
5369 next one, whatever it might be.
5370 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5371 (arena_lock): Pass in new parameter to arena_get2.
5372 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5373 arena_get2.
5374 (__libc_malloc): Unify retrying after main arena failure with
5375 __libc_memalign version.
5376 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5377
f85fa270
L
53782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5379
5380 [BZ #14166]
5381 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5382 to __redirect_strstr.
5383 (__strstr_sse42): Use typeof __redirect_strstr.
5384 (__strstr_ia32): Likewise.
5385 (__libc_strstr): New prototype.
5386 (strstr): Renamed to ...
5387 (__libc_strstr): This.
5388 (strstr): New strong alias of __libc_strstr.
5389 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5390 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5391 __redirect_time.
5392 Include <time.h>.
5393 (__libc_time): New prototype.
5394 (time_ifunc): Replace time with __libc_time.
5395 (time): New strong alias and hidden definition of __libc_time.
5396 (__GI_time): Remove strong alias.
5397 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5398 Include <stddef.h>.
5399 (memmove): Redefined to __redirect_memmove.
5400 (__memmove_sse2): Use typeof __redirect_memmove.
5401 (__memmove_ssse3): Likewise.
5402 (__memmove_ssse3_back): Likewise.
5403 (__libc_memmove): New prototype.
5404 (memmove): Renamed to ...
5405 (__libc_memmove): This.
5406 (memmove): New strong alias of __libc_memmove.
5407
33b4a91e
MS
54082012-08-08 Mark Salter <msalter@redhat.com>
5409
5410 * elf/elf.h
5411 (R_MN10300_TLS_GD): Define.
5412 (R_MN10300_TLS_LD): Likewise.
5413 (R_MN10300_TLS_LDO): Likewise.
5414 (R_MN10300_TLS_GOTIE): Likewise.
5415 (R_MN10300_TLS_IE): Likewise.
5416 (R_MN10300_TLS_LE): Likewise.
5417 (R_MN10300_TLS_DTPMOD): Likewise.
5418 (R_MN10300_TLS_DTPOFF): Likewise.
5419 (R_MN10300_TLS_TPOFF): Likewise.
5420 (R_MN10300_SYM_DIFF): Likewise.
5421 (R_MN10300_ALIGN): Likewise.
5422 (R_MN10300_NUM): Update.
5423
b36137f1
JM
54242012-08-08 Joseph Myers <joseph@codesourcery.com>
5425
5426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5427 Remove.
5428
cdd915fd
RM
54292012-08-08 Roland McGrath <roland@hack.frob.com>
5430
a2433aac
RM
5431 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5432
cdd915fd
RM
5433 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5434 sysdeps/unix -> sysdeps/posix move.
5435 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5436
bf9b740a
AM
54372012-08-07 Allan McRae <allan@archlinux.org>
5438
5439 [BZ #14303]
5440 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5441 (SUNOS_CPP): Likewise.
5442 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5443 not found.
5444 (open_input): Call CPP using execvp.
5445
93df14ee
JM
54462012-08-07 Joseph Myers <joseph@codesourcery.com>
5447
5448 * sysdeps/unix/sysv/linux/kernel-features.h
5449 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5450 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5451 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5452 (__ASSUME_WAITID_SYSCALL): Likewise.
5453 * sysdeps/unix/sysv/linux/dl-execstack.c
5454 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5455 code unconditional.
5456 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5457 conditional code.
5458 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5459 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5460 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5461 code.
5462 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5463 unconditional.
5464 [__ASSUME_WAITID_SYSCALL]: Likewise.
5465 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5466
d34689de
RM
54672012-08-07 Roland McGrath <roland@hack.frob.com>
5468
a281decc
RM
5469 * sysdeps/unix/closedir.c: Renamed to ...
5470 * sysdeps/posix/closedir.c: ... here.
5471 * sysdeps/unix/dirfd.c: Renamed to ...
5472 * sysdeps/posix/dirfd.c: ... here.
5473 * sysdeps/unix/dirstream.h: Renamed to ...
5474 * sysdeps/posix/dirstream.h: ... here.
5475 * sysdeps/unix/fdopendir.c: Renamed to ...
5476 * sysdeps/posix/fdopendir.c: ... here.
5477 * sysdeps/unix/opendir.c: Renamed to ...
5478 * sysdeps/posix/opendir.c: ... here.
5479 * sysdeps/unix/readdir.c: Renamed to ...
5480 * sysdeps/posix/readdir.c: ... here.
5481 * sysdeps/unix/readdir_r.c: Renamed to ...
5482 * sysdeps/posix/readdir_r.c: ... here.
5483 * sysdeps/unix/rewinddir.c: Renamed to ...
5484 * sysdeps/posix/rewinddir.c: ... here.
5485 * sysdeps/unix/seekdir.c: Renamed to ...
5486 * sysdeps/posix/seekdir.c: ... here.
5487 * sysdeps/unix/telldir.c: Renamed to ...
5488 * sysdeps/posix/telldir.c: ... here.
5489 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5490 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5491 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5492 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5493
22895b47
RM
5494 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5495 * bits/fcntl.h: ... here.
5496
707a53b6
RM
5497 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5498 not 0.
5499 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5500 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5501 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5502 (struct flock): Move l_start, l_len to the beginning.
5503 Use __pid_t for l_pid.
5504 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5505 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5506 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5507 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5508 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5509 [__USE_LARGEFILE64] (struct flock64): New type.
5510 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5511
f0bd3e25
RM
5512 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5513 * bits/dirent.h: ... here.
5514
d34689de
RM
5515 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5516 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5517
6dad2c06
JM
55182012-08-07 Joseph Myers <joseph@codesourcery.com>
5519
5520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5521 Change from 2.6.0 to 2.6.16.
5522 * sysdeps/unix/sysv/linux/configure: Regenerated.
5523 * sysdeps/unix/sysv/linux/kernel-features.h
5524 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5525 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5526 version.
5527 (__ASSUME_UTIMES): Likewise.
5528 (__ASSUME_CLONE_STOPPED): Remove.
5529 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5530 architectures, not kernel version.
5531 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5532 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5533 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5534 (__ASSUME_WAITID_SYSCALL): Likewise.
5535 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5536 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5537 * README: State 2.6.16 as minimum Linux kernel version. Do not
5538 refer to older versions.
5539
03af9520
RM
55402012-08-06 Roland McGrath <roland@hack.frob.com>
5541
8e49df1d
RM
5542 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5543 Define alphasort64 as an alias.
5544 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5545 Define versionsort64 as an alias.
5546 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5547 Define scandir64 as an alias.
5548 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5549 Define scandirat64 as an alias.
5550 * dirent/alphasort64.c (alphasort64):
5551 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5552 * dirent/versionsort64.c: Likewise.
5553 * dirent/scandir64.c: Likewise.
5554 * dirent/scandirat64.c: Likewise.
5555 * sysdeps/wordsize-64/alphasort.c: File removed.
5556 * sysdeps/wordsize-64/alphasort64.c: File removed.
5557 * sysdeps/wordsize-64/scandir.c: File removed.
5558 * sysdeps/wordsize-64/scandir64.c: File removed.
5559 * sysdeps/wordsize-64/scandirat.c: File removed.
5560 * sysdeps/wordsize-64/scandirat64.c: File removed.
5561 * sysdeps/wordsize-64/versionsort.c: File removed.
5562 * sysdeps/wordsize-64/versionsort64.c: File removed.
5563 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5564 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5565 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5566 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5567 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5568 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5569 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5570 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5571
5572 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5574 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5576 [defined __arch64__ || defined __sparcv9]
5577 (__INO_T_MATCHES_INO64_T): New macro.
5578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5579 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5580 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5581 * sysdeps/unix/sysv/linux/bits/dirent.h
5582 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5583 (_DIRENT_MATCHES_DIRENT64): New macro.
5584
03af9520
RM
5585 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5586 Define lockf64 as an alias.
5587 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5588 Define fseeko64 as an alias.
5589 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5590 Define ftello64 as an alias.
5591 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5592 Define _IO_fgetpos64 and fgetpos64 as aliases.
5593 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5594 Define _IO_fsetpos64 and fsetpos64 as aliases.
5595 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5596 Conditionalize body on this.
5597 * libio/fseeko64.c: Likewise.
5598 * libio/ftello64.c: Likewise.
5599 * libio/iofgetpos64.c: Likewise.
5600 * libio/iofsetpos64.c: Likewise.
5601 * sysdeps/wordsize-64/lockf.c: File removed.
5602 * sysdeps/wordsize-64/lockf64.c: File removed.
5603 * sysdeps/wordsize-64/fseeko.c: File removed.
5604 * sysdeps/wordsize-64/fseeko64.c: File removed.
5605 * sysdeps/wordsize-64/ftello.c: File removed.
5606 * sysdeps/wordsize-64/ftello64.c: File removed.
5607 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5608 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5609 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5610 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5611 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5612 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5613 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5614 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5615 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5616 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5621
5622 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5624 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5626 [defined __arch64__ || defined __sparcv9]
5627 (__OFF_T_MATCHES_OFF64_T): New macro.
5628 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5629 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5631 (__OFF_T_MATCHES_OFF64_T): New macro.
5632
c5757acd
L
56332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5634
5635 * stdlib/secure-getenv.c (__secure_getenv): Replace
5636 GLIBC_2_16 with GLIBC_2_17.
5637
3a31811e
L
56382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5639
5640 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5641 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5642
faa2bccb
DM
56432012-08-03 David S. Miller <davem@davemloft.net>
5644
5645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5646
85fe1997
JM
56472012-08-03 Joseph Myers <joseph@codesourcery.com>
5648
5649 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5650 Remove.
5651 (__ASSUME_CORRECT_SI_PID): Likewise.
5652 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5653 (__ASSUME_TMPFS_NAME): Likewise.
5654 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5655 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5656 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5657 (HAVE_AUX_SECURE): Make definition unconditional.
5658 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5659 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5660
4f75b7a0
RM
56612012-08-03 Roland McGrath <roland@hack.frob.com>
5662
5663 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5664 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5665 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5666 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5667 __eloop_threshold instead of SYMLOOP_MAX.
5668
5669 * sysdeps/generic/eloop-threshold.h: New file.
5670 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5671 of MAXSYMLINKS.
5672 * elf/chroot_canon.c (chroot_canon): Likewise.
5673
7aab07e4
JM
56742012-08-03 Joseph Myers <joseph@codesourcery.com>
5675
5676 [BZ #13717]
5677 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5678 Change to 2.6.0 everywhere.
5679 * sysdeps/unix/sysv/linux/configure: Regenerated.
5680 * sysdeps/unix/sysv/linux/kernel-features.h
5681 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5682 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5683 kernel versions.
5684 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5685 (__ASSUME_FUTEX_REQUEUE): Remove.
5686 (__ASSUME_STATFS64): Define unconditionally.
5687 (__ASSUME_AT_SECURE): Likewise.
5688 (__ASSUME_CORRECT_SI_PID): Likewise.
5689 (__ASSUME_TGKILL): Define without depending on kernel version for
5690 i386.
5691 (__ASSUME_UTIMES): Likewise.
5692 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5693 kernel version.
5694 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5695 (__ASSUME_TMPFS_NAME): Likewise.
5696 * README: Update reference to Linux kernel versions.
5697
b67e9372
MP
56982012-08-02 Marek Polacek <polacek@redhat.com>
5699
1f529f7d 5700 [BZ# 14150]
b67e9372
MP
5701 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5702 libc_cv_asm_type_prefix with %.
5703 * configure: Regenerated.
d2441631
RM
5704 * include/libc-symbols.h: Remove comment about
5705 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5706 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5707 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5708 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5709 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5710 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5711 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5712 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5713 * elf/tst-unique2mod1.c: Likewise.
5714 * elf/tst-unique1mod2.c: Likewise.
5715 * elf/tst-unique1mod1.c: Likewise.
5716 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5717 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5718 Replace ASM_TYPE_DIRECTIVE with .type.
5719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5720 * sysdeps/i386/sysdep.h: Likewise.
5721 * sysdeps/x86_64/sysdep.h: Likewise.
5722 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5724 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5725 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5726 * sysdeps/powerpc/powerpc32/sysdep.h:
5727 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5728 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5729 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5730 * sysdeps/i386/fpu/e_powf.S: Likewise.
5731 * sysdeps/i386/fpu/e_expl.S: Likewise.
5732 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5733 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5734 * sysdeps/i386/fpu/e_pow.S: Likewise.
5735 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5736 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5737 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5738 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5739 * sysdeps/i386/fpu/e_log2.S: Likewise.
5740 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5741 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5742 * sysdeps/i386/fpu/e_powl.S: Likewise.
5743 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5744 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5745 * sysdeps/i386/fpu/e_logl.S: Likewise.
5746 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5747 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5748 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5750 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5751 * sysdeps/i386/fpu/e_log.S: Likewise.
5752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5753 * sysdeps/i386/fpu/e_logf.S: Likewise.
5754 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5755 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5757 * sysdeps/i386/fpu/e_log10.S: Likewise.
5758 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5759 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5760 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5761 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5762 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5765 * sysdeps/i386/i686/strtok.S: Likewise.
5766 * sysdeps/i386/i386-mcount.S: Likewise.
5767 * sysdeps/i386/strtok.S: Likewise.
5768 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5769 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5771 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5772 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5774 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5775 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5776 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5777 * sysdeps/x86_64/_mcount.S: Likewise.
5778 * sysdeps/x86_64/strtok.S: Likewise.
5779 * sysdeps/sh/_mcount.S: Likewise.
5780
2747bf9a
RM
57812012-08-01 Roland McGrath <roland@hack.frob.com>
5782
5783 * libio/iofopen.c: Include <fcntl.h>.
5784 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5785 (_IO_fopen64, fopen64): Define as aliases.
5786 * libio/iofopen64.c: Include <fcntl.h>.
5787 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5788 Conditionalize body on this.
5789 * sysdeps/wordsize-64/iofopen.c: File removed.
5790 * sysdeps/wordsize-64/iofopen64.c: File removed.
5791
3fb791b8
MP
57922012-08-01 Marek Polacek <polacek@redhat.com>
5793
5794 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5795 Use dlfcn directly instead of a variable.
5796 (binfmt-subdir): Do not define.
5797 (dlfcn): Likewise.
5798
a9f1039f
JM
57992012-08-01 Joseph Myers <joseph@codesourcery.com>
5800
23bddc06
JM
5801 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5802 Remove all definitions.
5803 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5804 <kernel-features.h>.
5805 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5806 (miss_F_GETOWN_EX): Remove all definitions.
5807 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5808 macro definition.
5809 [!__ASSUME_FCNTL64]: Remove conditional code.
5810 [__ASSUME_FCNTL64]: Make code unconditional.
5811 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5812 <kernel-features.h>.
5813 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5814 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5815 (lockf64) [__NR_fcntl64]: Make code unconditional.
5816 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5817
a9f1039f
JM
5818 * sysdeps/unix/sysv/linux/kernel-features.h
5819 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5820 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5821 Make code unconditional.
5822 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5823 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5825 [__NR_vfork]: Make code unconditional.
5826 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5827 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5829 [__NR_vfork]: Make code unconditional.
5830 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5831 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5832
09c0ee5f
RM
58332012-08-01 Roland McGrath <roland@hack.frob.com>
5834
48aec5b9
RM
5835 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5836 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5837
cd97c966
RM
5838 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5839 Define mkstemp64 as an alias.
3f55550c
RM
5840 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5841 Define mkstemps64 as an alias.
cd97c966
RM
5842 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5843 Define mkostemp64 as an alias.
b8625cfc
RM
5844 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5845 Define mkostemps64 as an alias.
cd97c966
RM
5846 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5847 Conditionalize body on this.
5848 * misc/mkostemp64.c: Likewise.
b8625cfc 5849 * misc/mkostemps64.c: Likewise.
3f55550c 5850 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5851 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5852 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5853 * sysdeps/wordsize-64/mkostemp.c: File removed.
5854 * sysdeps/wordsize-64/mkstemp.c: File removed.
5855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5857 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5859
09c0ee5f
RM
5860 [BZ #14138]
5861 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5862 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5863 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5864 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5865
5866 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5867 compat_symbol macros from <shlib-compat.h> rather than the underlying
5868 default_symbol_version and symbol_version macros, so that DEFAULT
5869 lines in shlib-versions are respected.
5870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5871
7e66ee51
FW
58722012-08-01 Florian Weimer <fweimer@redhat.com>
5873
5874 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5875 Declare with warn_unused_result.
5876 (setgid, setregid, setegid, setresgid): Likewise.
5877 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5878 Likewise.
5879 * WUR-REPORT: Remove set*id functions.
5880
d2a54255
PT
58812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5882
5883 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5884
7ecdb005
RM
58852012-07-31 Roland McGrath <roland@hack.frob.com>
5886
789bd351
RM
5887 * include/sys/socket.h (__libc_accept, __libc_accept4):
5888 Add attribute_hidden.
5889 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5890
40ce302d
RM
5891 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5892 use of PTR_MANGLE.
5893 * inet/getnetgrent_r.c (setup): Likewise.
5894
7ecdb005
RM
5895 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5896
e2eabb2c
DM
58972012-07-31 David S. Miller <davem@davemloft.net>
5898
5899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5900
d0419dbf
JM
59012012-07-31 Joseph Myers <joseph@codesourcery.com>
5902
5903 [BZ #13629]
5904 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5905 value between 1.0 and 2.0 and smaller part has absolute value less
5906 than 1.0.
5907 * math/s_clog10.c (__clog10): Likewise.
5908 * math/s_clog10f.c (__clog10f): Likewise.
5909 * math/s_clog10l.c (__clog10l): Likewise.
5910 * math/s_clogf.c (__clogf): Likewise.
5911 * math/s_clogl.c (__clogl): Likewise.
5912 * math/libm-test.inc (clog_test): Add more tests.
5913 (clog10_test): Likewise.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5916
2bc13872
FW
59172012-07-31 Florian Weimer <fweimer@redhat.com>
5918
5919 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5920 Exit with zero in case no suitable GID is found, and write a
5921 message to standard error.
5922
bea9b193
RM
59232012-07-30 Roland McGrath <roland@hack.frob.com>
5924
5925 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5926 rather than to 1.
5927 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5928 (MAXPATHLEN): Removed.
5929 (NOGROUP, NODEV): New macros.
5930 (setbit, clrbit, isset, isclr): New macros.
5931 (howmany, roundup, powerof2): New macros.
5932 (DEV_BSIZE): New macro.
5933
5934 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5935 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5936
5937 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5938 definition on [!__NO_LONG_DOUBLE_MATH].
5939
5940 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5941 PTR_MANGLE and PTR_DEMANGLE.
5942
5943 * socket/accept4.c (accept4): Rename to __libc_accept4.
5944 Define accept4 as a weak alias.
5945
5946 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5947 on [_DIRENT_HAVE_D_TYPE].
5948 * io/ftw.c (ftw_dir): Likewise.
5949
5950 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5951
5952 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5953
5954 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5955 Use the BSD numbers rather than the arbitrary ones we had.
5956 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5957 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5958 (SIGXCPU, SIGXFSZ): New macros.
5959 (_NSIG): Now 32.
5960
5961 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5962 initializer on [_LIBC_REENTRANT].
5963
5964 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5965 definitions inside [_POSIX_MAPPED_FILES].
5966
5967 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5968
5969 * dirent/opendir.c: Include <fcntl.h>.
5970
5971 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5972 (__libc_getspecific): Likewise.
5973 (__libc_key_create): Likewise.
5974
5975 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5976 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5977 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5978 (tmpfile64): Define as alias.
5979 * sysdeps/wordsize-64/tmpfile.c: File removed.
5980 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5981 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5983
5984 * stdio-common/vfscanf.c: Include <stdbool.h>.
5985 * nss/makedb.c: Likewise.
5986 * stdio-common/_i18n_number.h: Likewise.
5987 * argp/argp-help.c: Likewise.
5988 * posix/wordexp.c: Likewise.
5989 * sysdeps/posix/spawni.c: Likewise.
5990 * nss/nss_files/files-initgroups.c: Likewise.
5991 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5992 * nss/nss_files/files-initgroups.c: Likewise.
5993 * nss/nss_db/db-netgrp.c: Likewise.
5994 * nss/nss_db/db-initgroups.c: Likewise.
5995 * io/fchmodat.c: Include <sys/stat.h>.
5996
5997 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5998 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5999
6000 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6001 [HAVE_MMAP].
6002
6003 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6004 Add multiple inclusion protection.
6005
e5abc686
DM
60062012-07-27 David S. Miller <davem@davemloft.net>
6007
6008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6009
815e6fa3
GB
60102012-07-27 Gary Benson <gbenson@redhat.com>
6011
6012 [BZ #14298]
6013 * elf/rtld.c: Include <stap-probe.h>.
6014 (dl_main): Added static probes "init_start" and "init_complete".
6015 * elf/dl-load.c: Include <stap-probe.h>.
6016 (lose): Take new parameter "nsid".
6017 Added static probe "map_failed".
6018 (_dl_map_object_from_fd): Pass namespace id to lose.
6019 Added static probe "map_start".
6020 (open_verify): Pass namespace id to lose.
6021 * elf/dl-open.c: Include <stap-probe.h>.
6022 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6023 and "reloc_complete".
6024 * elf/dl-close.c: Include <stap-probe.h>.
6025 (_dl_close_worker): Added static probes "unmap_start" and
6026 "unmap_complete".
6027 * elf/rtld-debugger-interface.txt: New file documenting the above.
6028
9f98c16c
RM
60292012-07-26 Roland McGrath <roland@hack.frob.com>
6030
6031 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6032 rather than a string variable.
6033 * sunrpc/rpc_main.c (h_output): Likewise.
6034 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6035
f3c22df3
PT
60362012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6037
6038 * inet/check_native.c: New file.
6039
3129cfc6
JM
60402012-07-26 Joseph Myers <joseph@codesourcery.com>
6041
da865e95
JM
6042 [BZ #13629]
6043 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6044 if larger part has absolute value 1.0.
6045 * math/s_clog10.c (__clog10): Likewise.
6046 * math/s_clog10f.c (__clog10f): Likewise.
6047 * math/s_clog10l.c (__clog10l): Likewise.
6048 * math/s_clogf.c (__clogf): Likewise.
6049 * math/s_clogl.c (__clogl): Likewise.
6050 * math/libm-test.inc (clog_test): Add more tests.
6051 (clog10_test): Likewise.
6052 * sysdeps/i386/fpu/libm-test-ulps: Update.
6053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6054
3129cfc6
JM
6055 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6056 (pltexit): Likewise.
6057 (La_regs): Likewise.
6058 (La_retval): Likewise.
6059 (int_retval): Likewise.
6060 Update #error for removed macros to refer only to definitions in
6061 tst-audit.h.
6062 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6063 macro.
6064 (pltexit): Likewise.
6065 (La_regs): Likewise.
6066 (La_retval): Likewise.
6067 (int_retval): Likewise.
6068 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6069 macro.
6070 (pltexit): Likewise.
6071 (La_regs): Likewise.
6072 (La_retval): Likewise.
6073 (int_retval): Likewise.
6074 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6075 macro.
6076 (pltexit): Likewise.
6077 (La_regs): Likewise.
6078 (La_retval): Likewise.
6079 (int_retval): Likewise.
6080 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6081 macro.
6082 (pltexit): Likewise.
6083 (La_regs): Likewise.
6084 (La_retval): Likewise.
6085 (int_retval): Likewise.
6086 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6087 macro.
6088 (pltexit): Likewise.
6089 (La_regs): Likewise.
6090 (La_retval): Likewise.
6091 (int_retval): Likewise.
6092 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6093 macro.
6094 (pltexit): Likewise.
6095 (La_regs): Likewise.
6096 (La_retval): Likewise.
6097 (int_retval): Likewise.
6098 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6099 macro definitions in tst-audit.h.
6100 * sysdeps/i386/tst-audit.h: New file.
6101 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6102 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6103 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6104 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6105 * sysdeps/sh/tst-audit.h: Likewise.
6106 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6107 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6108 * sysdeps/x86_64/tst-audit.h: Likewise.
6109
bfc07087
AJ
61102012-07-26 Andreas Jaeger <aj@suse.de>
6111
b1b2aaf8
AJ
6112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6113 ptrace.
6114
6115 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6116 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6117 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6118 PTRACE_O_MASK.
6119 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6120 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6121 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6122
bfc07087
AJ
6123 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6124 value.
6125
6126 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6127 _sigsys.
6128 (si_call_addr, si_syscall, si_arch): Define new macro.
6129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6130 _sigsys.
6131 (si_call_addr, si_syscall, si_arch): Define new marcro.
6132 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6133 _sigsys.
6134 (si_call_addr, si_syscall, si_arch): Define new macro.
6135 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6136 _sigsys.
6137 (si_call_addr, si_syscall, si_arch): Define new macro.
6138
89b4b02f
JM
61392012-07-25 Joseph Myers <joseph@codesourcery.com>
6140
6141 [BZ #13717]
6142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6143 Change to 2.4.21 where previously 2.4.1.
6144 * sysdeps/unix/sysv/linux/configure: Regenerated.
6145 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6146 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6147 Linux kernel version.
6148 (__ASSUME_STD_AUXV): Remove.
6149 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6150 kernel version.
6151 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6152 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6153 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6154 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6155 (__ASSUME_NETLINK_SUPPORT): Likewise.
6156 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6157 (__no_netlink_support): Remove conditional definition.
6158 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6159 Remove.
6160 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6161 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6162 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6163 (if_nameindex_ioctl): Remove.
6164 (if_nameindex_netlink): Do not handle __no_netlink_support.
6165 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6166 code.
6167 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6168 Remove conditional code.
6169 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6170 code.
6171 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6172 unconditional.
6173 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6174 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6175 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6176 Remove.
6177 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6178 [!__ASSUME_STD_AUXV]: Remove conditional code.
6179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6180 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6181 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6183 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6184 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6185 code.
6186 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6188 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6189 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6190 conditional code.
6191 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6193 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6194 code.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6196 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6197 conditional code.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6199 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6200 code unconditional.
6201 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6202 conditional code.
6203 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6204 unconditional.
6205 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6206 conditional code.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6208 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6209 unconditional.
6210 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6211 conditional code.
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6213 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6214 code unconditional.
6215 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6216 conditional code.
6217 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6218 unconditional.
6219 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6220 conditional code.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6222 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6223 code unconditional.
6224 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6225 conditional code.
6226 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6227 unconditional.
6228 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6229 conditional code.
6230
842a39cd
AS
62312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6232
6233 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6234 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6235 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6236 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6237 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6238 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6239 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6240 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6241 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6243 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6244 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6245 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6246 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6247 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6248 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6249 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6250 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6251 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6253 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6254 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6255 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6256
84b3fd84
FW
62572012-07-25 Florian Weimer <fweimer@redhat.com>
6258
6259 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6260 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6261 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6262 Introduce __libc_secure_getenv.
0c7936d5
FW
6263 * stdlib/Versions (2.17): Add secure_getenv
6264 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6265 * stdlib/secure-getenv.c: Rename __secure_getenv to
6266 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6267 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6268 * stdlib/tst-secure-getenv.c: New.
6269 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6270 * manual/startup.texi (Environment Access): Document
6271 secure_getenv.
84b3fd84
FW
6272 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6273 __libc_secure_getenv.
6274 * inet/ruserpass.c (ruserpass): Likewise.
6275 * malloc/mtrace.c (mtrace): Likewise.
6276 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6277 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6278 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6279 * sysdeps/posix/tempname.c: Likewise. Evaluate
6280 HAVE_SECURE_GETENV.
6281 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6282 __secure_getenv to __libc_secure_getenv.
84b3fd84 6283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6285 Likewise.
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6295
56e49b71
JM
62962012-07-25 Joseph Myers <joseph@codesourcery.com>
6297
6298 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6299 (struct La_i86_retval): Likewise.
6300 (struct La_x86_64_regs): Likewise.
6301 (struct La_x86_64_retval): Likewise.
6302 (struct La_x32_regs): Likewise.
6303 (struct La_x32_retval): Likewise.
6304 (struct La_ppc32_regs): Likewise.
6305 (struct La_ppc32_retval): Likewise.
6306 (struct La_ppc64_regs): Likewise.
6307 (struct La_ppc64_retval): Likewise.
6308 (struct La_sh_regs): Likewise.
6309 (struct La_sh_retval): Likewise.
6310 (struct La_s390_32_regs): Likewise.
6311 (struct La_s390_32_retval): Likewise.
6312 (struct La_s390_64_regs): Likewise.
6313 (struct La_s390_64_retval): Likewise.
6314 (struct La_sparc32_regs): Likewise.
6315 (struct La_sparc32_retval): Likewise.
6316 (struct La_sparc64_regs): Likewise.
6317 (struct La_sparc64_retval): Likewise.
6318 (struct audit_ifaces): Remove architecture-specific pltenter and
6319 pltexit members.
6320 * sysdeps/i386/ldsodefs.h: New file.
6321 * sysdeps/powerpc/ldsodefs.h: Likewise.
6322 * sysdeps/s390/ldsodefs.h: Likewise.
6323 * sysdeps/sh/ldsodefs.h: Likewise.
6324 * sysdeps/sparc/ldsodefs.h: Likewise.
6325 * sysdeps/x86_64/ldsodefs.h: Likewise.
6326
354691b7
MP
63272012-07-25 Marek Polacek <polacek@redhat.com>
6328
6329 [BZ #6808]
6330 * math/libm-test.inc (yn_test): Add another test.
6331 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6332 to ERANGE when the result is +-Inf.
6333 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6334 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6337
bf9e2071
JM
63382012-07-24 Joseph Myers <joseph@codesourcery.com>
6339
6340 * conform/data/time.h-data (NULL): Use macro-constant. Require
6341 equal to 0.
6342 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6343 clock_t.
6344 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6345
57633811
TS
63462012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6347
6348 * configure.in <sysdeps resolving>: Correct printing
6349 Implies_before.
6350 * configure: Regenerate.
6351
c23c33b0
TS
63522012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6353
6354 * math/w_ilogb.c: Include <limits.h>.
6355 * math/w_ilogbl.c: Likewise.
6356
b5982523
JM
63572012-07-20 Joseph Myers <joseph@codesourcery.com>
6358
6359 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6360 va_copy. Document allowing for unavailable va_copy only as
6361 pre-C99 compatibility.
6362 * manual/string.texi (Copying and Concatenation): Use va_copy
6363 instead of __va_copy in concat example.
6364
ac4ea442
PT
63652012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6366
6367 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6368 (__sendto): Use create_address_port. Initialize APORT and deallocate
6369 it if not null.
6370
f98eafbd
PT
6371 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6372 with O_NOLINK passed to __file_name_lookup.
6373
898c7aab
PT
6374 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6375 with O_NOLINK passed to __file_name_lookup.
6376
0ced335a
PT
6377 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6378 negative N or less than NGIDS.
6379
b3404dbd
PT
6380 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6381 type to string_t. Set ERANGE as errno and return it if NAME is not big
6382 enough. Use memcpy instead of strncpy.
6383
0f48659e
JM
63842012-07-20 Joseph Myers <joseph@codesourcery.com>
6385
6386 * elf/Makefile (check-data): Remove.
6387 (localplt.data): New vpath directive.
6388 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6389 instead of $(check-data).
6390 * scripts/data/localplt-generic.data: Move to ...
6391 * sysdeps/generic/localplt.data: ... here.
6392 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6393 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6394 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6396 ... here.
6397 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6399 ... here.
6400 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6402 ... here.
6403 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6405 ... here.
6406 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6408 ... here.
6409 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6411 ... here.
6412
d37cbdaa
AZ
64132012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6416 PPC32 and PPC64 files.
6417 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6418 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6419
46f85fc2
AK
64202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6421
6422 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6423 __makecontext_ret to ...
6424 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6425 ... here and call exit if uc_link is NULL. New file.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6427 __makecontext_ret.S.
6428 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6429 __makecontext_ret to ...
6430 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6431 ... here and call exit if uc_link is NULL. New file.
6432 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6433 __makecontext_ret.S.
6434
08f43f9b
AK
64352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6436
6437 * elf/elf.h (R_390_IRELATIVE): New definition.
6438 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6439 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6440 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6442 (elf_machine_lazy_rel): Likewise.
6443 * sysdeps/s390/dl-irel.h: New file.
6444 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6445 * sysdeps/s390/s390-64/memset.S: New asm code.
6446 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6447 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6448 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6449 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6450 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6451 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6452 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6453 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6454 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6455 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6456 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6457 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6458 * sysdeps/s390/s390-32/memset.S: New asm code.
6459 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6460
3b05db33
MP
64612012-07-17 Marek Polacek <polacek@redhat.com>
6462
6463 [BZ #14349]
6464 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6465 * sysdeps/s390/s390-64/configure.in: Likewise.
6466 * sysdeps/sparc/configure.in: Likewise.
6467 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6468 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6469 * sysdeps/i386/configure.in: Likewise.
6470 * sysdeps/x86_64/configure.in: Likewise.
6471 * sysdeps/sh/configure.in: Likewise.
6472 * sysdeps/s390/s390-32/configure: Regenerated.
6473 * sysdeps/s390/s390-64/configure: Likewise.
6474 * sysdeps/x86_64/configure: Likewise.
6475 * sysdeps/sh/configure: Likewise.
6476 * sysdeps/powerpc/powerpc64/configure: Likewise.
6477 * sysdeps/powerpc/powerpc32/configure: Likewise.
6478 * sysdeps/sparc/configure: Likwise.
6479 * sysdeps/i386/configure: Likewise.
6480
a66877c6
MP
6481 * elf/dl-open.c: Comment fixes.
6482
cfc82fd8
JM
64832012-07-17 Joseph Myers <joseph@codesourcery.com>
6484
bd29910a
JM
6485 * Makefile [CXX] (check-data): Remove.
6486 [CXX] (c++-types.data): New vpath directive.
6487 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6488 vpath. Do not allow for C++ type data being missing.
6489 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6490 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6491 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6492 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6493 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6494 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6495 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6497 ... here.
6498 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6500 ... here.
6501 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6503 ... here.
6504 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6506 ... here.
6507 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6509 ... here.
6510 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6512 ... here.
6513 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6515 ... here.
6516 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6518
cfc82fd8
JM
6519 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6520 definitions to architecture-specific files.
6521 (TLS_IE): Likewise.
6522 (TLS_LD): Likewise.
6523 (TLS_GD): Likewise.
6524 * sysdeps/i386/tls-macros.h: New file.
6525 * sysdeps/powerpc/tls-macros.h: Likewise.
6526 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6527 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6528 * sysdeps/sh/tls-macros.h: Likewise.
6529 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6530 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6531 * sysdeps/x86_64/tls-macros.h: Likewise.
6532
f7db3170
TS
65332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6534
07cbfc23
TS
6535 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6536 zero value for regular exit case.
6537
f7db3170
TS
6538 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6539 (__start_context): Preserve zero value for regular exit case.
6540
dc97c227
TS
65412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6542 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6543
6544 * manual/setjmp.texi (setcontext): Clarify normal process
6545 termination when uc_link is the null pointer.
6546 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6547 exit call.
6548
d0cd7d02
AS
65492012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6550
6551 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6552 preprocessor. Test for each exception mask separately.
6553
dd318934
AJ
65542012-07-16 Andreas Jaeger <aj@suse.de>
6555
6556 * po/ru.po: Update from translation team.
6557
8048311a
JM
65582012-07-15 Joseph Myers <joseph@codesourcery.com>
6559
6560 * conform/data/string.h-data (NULL): Use macro-constant. Require
6561 equal to 0.
6562 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6563 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6564 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6565 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6567
b637d46e
AJ
65682012-07-13 Andreas Jaeger <aj@suse.de>
6569
6570 * po/fr.po: Update from translation team.
6571
541428fe
MP
65722012-07-12 Marek Polacek <polacek@redhat.com>
6573
6574 [BZ #14173]
6575 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6577 loop condition.
6578
ec332e94
JM
65792012-07-12 Joseph Myers <joseph@codesourcery.com>
6580
6581 [BZ #13717]
6582 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6583 Change to 2.4.1 where previously 2.4.0.
6584 * sysdeps/unix/sysv/linux/configure: Regenerated.
6585 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6586 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6587 version.
6588 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6589 (__ASSUME_AT_CLKTCK): Remove.
6590 (__ASSUME_AT_PAGESIZE): Likewise.
6591 (__ASSUME_AT_XID): Likewise.
6592 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6593 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6594 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6595 unconditionally.
6596 (HAVE_AUX_PAGESIZE): Likewise.
6597 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6598 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6599 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6600
7b6e99be
JB
66012012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6602
6603 [BZ #14307]
6604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6605 the temporary buffer used to invoke __gethostbyname2_r,
6606 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6607 host_data / struct gaih_addrtuple.
6608 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6609 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6610 header file nss/nsswitch.h.
6611 * nss/nsswitch.h (global scope): Add definition of implementation
6612 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6613 resolv/nss_dns/dns-host.c).
6614
608404eb
AJ
66152012-07-11 Andreas Jaeger <aj@suse.de>
6616
6617 * po/fr.po: Update from translation team.
6618
71220aca
AJ
6619 * po/sv.po: Update from translation team
6620 * po/fr.po: Another update from translation team.
6621
28cfe843
AZ
66222012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6625 for subnormals or multiply small sinh result by itself.
6626 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6628
6b90f981
DM
66292012-07-11 David S. Miller <davem@davemloft.net>
6630
6631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6632
c6825772
AS
66332012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6634
6635 [BZ #14347]
6636 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6637 (INTERNAL_MARK): Shift it here.
6638
7b8e0d49
MP
66392012-07-10 Marek Polacek <polacek@redhat.com>
6640
6641 [BZ #14151]
6642 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6643 libc_cv_asm_global_directive with .globl.
6644 * configure: Regenerated.
6645 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6646 with .globl.
6647 * sysdeps/i386/configure: Regenerated.
6648 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6649 with .globl.
6650 * sysdeps/x86_64/configure: Regenerated.
6651 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6652 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6653 * elf/tst-unique2mod2.c: Likewise.
6654 * elf/tst-unique2mod1.c: Likewise.
6655 * elf/tst-unique1mod2.c: Likewise.
6656 * elf/tst-unique1mod1.c: Likewise.
6657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6658 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6660 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6661 * sysdeps/mach/sysdep.h: Likewise.
6662 * sysdeps/i386/sysdep.h: Likewise.
6663 * sysdeps/i386/i386-mcount.S: Likewise.
6664 * sysdeps/x86_64/_mcount.S: Likewise.
6665 * sysdeps/x86_64/sysdep.h: Likewise.
6666 * sysdeps/sh/_mcount.S: Likewise.
6667 * sysdeps/sh/sysdep.h: Likewise.
6668 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6669 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6670 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6671 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6672 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6673 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6674 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6675 * locale/localeinfo.h: Likewise.
6676 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6677 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6678
6c55cda3
RM
66792012-07-09 Roland McGrath <roland@hack.frob.com>
6680
6681 [BZ #14336]
6682 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6683 system".
6684 * manual/message.texi (The Uniforum approach): Likewise.
6685 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6686 (glibc iconv Implementation): Likewise.
6687
638a572e
JM
66882012-07-09 Joseph Myers <joseph@codesourcery.com>
6689
6690 [BZ #14337]
6691 * math/s_clog.c (__clog): Avoid scaling a value down where that
6692 could result in underflow.
6693 * math/s_clog10.c (__clog10): Likewise.
6694 * math/s_clog10f.c (__clog10f): Likewise.
6695 * math/s_clog10l.c (__clog10l): Likewise.
6696 * math/s_clogf.c (__clogf): Likewise.
6697 * math/s_clogl.c (__clogl): Likewise.
6698 * math/libm-test.inc (clog_test): Add more tests.
6699 (clog10_test): Likewise.
6700 * sysdeps/i386/fpu/libm-test-ulps: Update.
6701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6702
261f4859
AS
67032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6704
0abaf3e4
AS
6705 [BZ #14283]
6706 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6707 by 7 not 8 to examine high bit of fractional part.
6708
261f4859
AS
6709 [BZ #14042]
6710 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6711 for call to __mcount_internal.
6712 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6713 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6714 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6715
f17ac40d
JM
67162012-07-06 Joseph Myers <joseph@codesourcery.com>
6717
9ad63c23
JM
6718 [BZ #14154]
6719 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6720 approximation for values within 0x1p-13f of an odd multiple of
6721 pi/4.
6722 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6723 exception. Add more tests.
6724 * sysdeps/i386/fpu/libm-test-ulps: Update.
6725
f17ac40d
JM
6726 [BZ #6778]
6727 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6728 inputs and return -1 for them. Do not check for +Inf in case not
6729 reachable for +Inf.
6730 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6731 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6733 and return -1 for them. Do not check for +Inf in case not
6734 reachable for +Inf.
6735 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6736 define.
6737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6738 and return -1 for them. Do not check for +Inf in case not
6739 reachable for +Inf.
6740 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6741 spurious underflow.
6742 * sysdeps/i386/fpu/libm-test-ulps: Update.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6744
fb21f89b
MF
67452012-07-06 Mike Frysinger <vapier@gentoo.org>
6746
6747 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6748
cdfe2c5e
JM
67492012-07-05 Joseph Myers <joseph@codesourcery.com>
6750
6751 [BZ #14157]
6752 [BZ #14331]
6753 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6754 could result in spurious underflow. Scale down values above
6755 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6756 * math/s_csqrtf.c (__csqrtf): Likewise.
6757 * math/s_csqrtl.c (__csqrtl): Likewise.
6758 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6759 spurious underflow.
6760 * sysdeps/i386/fpu/libm-test-ulps: Update.
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6762
70d35b67
AS
67632012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6764
704bc459
AS
6765 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6766 xopen-msg.sed.
6767 * catgets/xopen-msg.awk: New file.
6768 * catgets/xopen-msg.sed: Removed.
6769
70d35b67
AS
6770 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6771 po2text.sed.
6772 * intl/po2test.awk: New file.
6773 * intl/po2test.sed: Removed.
6774
ca61cf32
JM
67752012-07-04 Joseph Myers <joseph@codesourcery.com>
6776
6777 [BZ #14328]
6778 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6779 or multiply small sinh result by itself.
6780 * math/s_ctanf.c (__ctanf): Likewise.
6781 * math/s_ctanh.c (__ctanh): Likewise.
6782 * math/s_ctanhf.c (__ctanhf): Likewise.
6783 * math/s_ctanhl.c (__ctanhl): Likewise.
6784 * math/s_ctanl.c (__ctanl): Likewise.
6785 * math/libm-test.inc (ctan_test_tonearest): New function.
6786 (ctan_test_towardzero): Likewise.
6787 (ctan_test_downward): Likewise.
6788 (ctan_test_upward): Likewise.
6789 (ctanh_test_tonearest): Likewise.
6790 (ctanh_test_towardzero): Likewise.
6791 (ctanh_test_downward): Likewise.
6792 (ctanh_test_upward): Likewise.
6793 (main): Call these new functions.
6794 * sysdeps/i386/fpu/libm-test-ulps: Update.
6795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6796
ca48a46a
MF
67972012-07-03 Mike Frysinger <vapier@gentoo.org>
6798
6799 * .gitignore: Delete /ports entry.
6800
9d63d37d
AJ
68012012-07-03 Andreas Jaeger <aj@suse.de>
6802
6803 * po/bg.po: Update from translation team.
6804 * po/cs.po: Likewise.
6805 * po/de.po: Likewise.
6806 * po/hr.po: Likewise.
6807 * po/nl.pl: Likewise.
6808 * po/pl.po: Likewise.
6809 * po/vi.po: Likewise.
6810
370ca3d2
JM
68112012-07-03 Joseph Myers <joseph@codesourcery.com>
6812
95f5a9a8
JM
6813 * Makeconfig [!+link] (+link-before-libc): New variable.
6814 [!+link] (+link-after-libc): Likewise.
6815 [!+link] (+link-tests): Likewise.
6816 [!+link] (+link): Define in terms of $(+link-before-libc) and
6817 $(+link-after-libc).
6818 [!+link-static] (+link-static-before-libc): New variable.
6819 [!+link-static] (+link-static-after-libc): Likewise.
6820 [!+link-static] (+link-static-tests): Likewise.
6821 [!+link-static] (+link-static): Define in terms of
6822 $(+link-static-before-libc) and $(+link-static-after-libc).
6823 [build-shared] (link-libc-before-gnulib): New variable.
6824 [build-shared] (link-libc-tests): Likewise.
6825 [build-shared] (link-libc): Define in terms of
6826 $(link-libc-before-gnulib).
6827 [!build-shared] (link-libc-tests): New variable.
6828 (link-libc-static-tests): New variable.
6829 [!gnulib] (gnulib-arch): New variable.
6830 [!gnulib] (gnulib-tests): Likewise.
6831 [!gnulib] (static-gnulib-arch): Likewise.
6832 [!gnulib] (static-gnulib-tests): Likewise.
6833 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6834 Define with "=" instead of ":=".
6835 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6836 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6837 * Rules (binaries-all-notests): New variable.
6838 (binaries-all-tests): Likewise.
6839 (binaries-static-notests): Likewise.
6840 (binaries-static-tests): Likewise.
6841 (binaries-all): Define using $(binaries-all-notests) and
6842 $(binaries-all-tests).
6843 (binaries-static): Define using $(binaries-static-notests) and
6844 $(binaries-static-tests).
6845 (binaries-shared-tests): New variable.
6846 (binaries-shared-notests): Likewise.
6847 (binaries-shared): Remove variable.
6848 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6849 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6850 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6851 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6852 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6853 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6854 * elf/Makefile (sln-modules): New variable.
6855 (extra-objs): Add $(sln-modules:=.o).
6856 (ldconfig-modules): Add static-stubs.
6857 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6858 * elf/static-stubs.c: New file.
6859
7a845b2c
JM
6860 [BZ #14283]
6861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6862 by 7 not 8 to examine high bit of fractional part. Use volatile
6863 variables when splitting into final array of floats if
6864 __FLT_EVAL_METHOD__ != 0.
6865 * math/libm-test.inc (cos_test): Add another test.
6866 (sin_test): Likewise.
6867 * sysdeps/i386/fpu/libm-test-ulps: Update.
6868
e2283f38
JM
6869 [BZ #14273]
6870 * math/libm-test.inc (cosh_test): Add more tests.
6871
370ca3d2
JM
6872 * version.h (RELEASE): Set to "development".
6873 (VERSION): Set to "2.16.90".
6874
ee9247c3
CD
68752012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6876
6877 * NEWS: Update copyright. Remove last-updated date.
6878 Mention math library bug fixes and timezone data changes.
6879 * README: Mention GNU/Hurd, x32, and HPPA support status.
6880
4648c381
TS
68812012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6882
6883 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6884
aac78a43
AJ
68852012-06-27 Andreas Jaeger <aj@suse.de>
6886
6887 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6888
ed3dbfad
AJ
68892012-06-25 Andreas Jaeger <aj@suse.de>
6890
6891 * sysdeps/s390/fpu/libm-test-ulps: Update.
6892
4d0ee855
AS
68932012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6894 Thomas Schwinge <thomas@codesourcery.com>
6895
6896 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6897 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6899 fanotify_mark.
6900
af1bce34
TS
69012012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6902
a9fa33ba
TS
6903 * sysdeps/mach/start.c: Remove file.
6904 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6905 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6906 * sysdeps/sh/init-first.c: Likewise.
6907
58f902b8
TS
6908 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6909 registers for frame unwinding purposes, add CFI directives.
6910 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6912 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6913 Likewise.
6914
1518f58b
TS
6915 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6916 __fortify_fail returning.
6917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6918
db9b5059
TS
6919 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6920 sysdeps/sh/____longjmp_chk.S.
6921 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6922 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6923 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6924 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6925
967705fe
TS
6926 * sysdeps/sh/abort-instr.h: New file.
6927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6928 process in case exit returns.
6929
a9def8c4
TS
6930 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6931 initialize the GOT register before use.
6932
2a649725
TS
6933 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6934 calculation of ARGC > 4.
6935
af1bce34
TS
6936 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6937 meaningful names to some local labels.
6938
d230f50a
KK
69392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6940 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6941
6942 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6943 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6944 (__arch_compare_and_exchange_val_16_acq): Likewise.
6945 (__arch_compare_and_exchange_val_32_acq): Likewise.
6946 (atomic_exchange_and_add): Fix gUSA sequence.
6947 (atomic_add): Likewise.
6948 (atomic_add_negative): Likewise.
6949 (atomic_add_zero): Likewise.
6950 (atomic_bit_test_set): Likewise.
6951
0479b305
AS
69522012-06-22 Andreas Schwab <schwab@redhat.com>
6953
6954 [BZ #13579]
6955 * include/link.h (struct link_map): Add l_free_initfini.
6956 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6957 l_initfini.
6958 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6959 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6960 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6961 set.
6962
0e3933b9
CD
69632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6964
6965 * configure.in: Use AC_LANG_SOURCE.
6966 * configure: Regenerate.
6967
4248b1b1
RM
69682012-06-22 Roland McGrath <roland@hack.frob.com>
6969
6970 * configure.in (libc_cv_localstatedir): New substituted variable.
6971 * configure: Regenerated.
6972 * config.make.in (localstatedir): New variable, substituted from
6973 libc_cv_localstatedir.
6974 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6975 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6976 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6977 * sysdeps/gnu/configure: Regenerated.
6978
006dd861
JL
69792012-06-21 Jeff Law <law@redhat.com>
6980
6981 [BZ #14277]
6982 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6983 free. Simplify list management for _LIBC case.
6984
79662d42
JM
69852012-06-21 Joseph Myers <joseph@codesourcery.com>
6986
b7abb4bf
JM
6987 [BZ #14273]
6988 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6989 Clear sign bit of 64-bit integer value before comparing against
6990 overflow value.
6991
79662d42
JM
6992 * sysdeps/mach/configure: Regenerated.
6993
1f150908
L
69942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6995
6996 [BZ #14278]
6997 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6998
28363bbf
JL
69992012-06-21 Jeff Law <law@redhat.com>
7000
7001 [BZ #13882]
7002 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7003 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7005 * elf/dl-open.c (dl_open_worker): Likewise.
7006
09615db4
CD
70072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7008
7009 * scripts/list-sources.sh: Scan PORTS for translations.
7010 * po/libc.pot: Regenerated.
7011
2174c6dd
AJ
70122012-06-21 Andreas Jaeger <aj@suse.de>
7013
7014 [BZ #12194]
7015 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7016 warning.
7017 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7018 * bits/byteswap-16.h (__bswap_16): Likewise.
7019 * bits/byteswap.h (__bswap_constant_16): Likewise.
7020
3ee947b1
L
70212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7022
7023 [BZ #14117]
a2f34833
L
7024 * sysdeps/i386/fpu_control.h: Removed.
7025 * sysdeps/x86_64/fpu_control.h: Moved to ...
7026 * sysdeps/x86/fpu_control.h: Here.
7027
3ee947b1
L
7028 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7029 (_FPU_SETCW): Likewise.
7030
ed1825f8
L
70312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7032
25f1282a
L
7033 [BZ #14117]
7034 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7035 * sysdeps/x86/fpu/bits/mathinline.h: This.
7036 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7037
ed1825f8
L
7038 [BZ #14050]
7039 [BZ #14117]
7040 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7041 functions if __x86_64__ is defined.
7042
36d54b74
CLT
70432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7044
7045 * string/endian.h: Add !__ASSEMBLER__ condition for including
7046 conversion interfaces.
7047
10285c21
JM
70482012-06-15 Joseph Myers <joseph@codesourcery.com>
7049
7050 [BZ #14241]
7051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7052 of ABS(x) in calculating zero to negative powers other than odd
7053 integers.
7054 * math/libm-test.inc (pow_test): Add more tests.
7055
06c5abbd
AJ
70562012-06-15 Andreas Jaeger <aj@suse.de>
7057
7058 * manual/contrib.texi (Contributors): Update entry of Liubov
7059 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7060 Machado Filho.
7061
a3aeac40
CH
70622012-06-15 Cyril Hrubis <metan@ucw.cz>
7063
7064 * string/string.h: Add __wur to GNU version of strerror_r.
7065
49bdf4c1
L
70662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7067
7068 [BZ #14229]
7069 * string/Makefile (tests): Add tst-strtok_r.
7070 * string/tst-strtok_r.c: New file.
7071 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7072 RAX_LP/RDX_LP on SAVE_PTR.
7073
834f9b8d
RM
70742012-06-14 Roland McGrath <roland@hack.frob.com>
7075
7076 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7077
75fa1921
JM
70782012-06-14 Joseph Myers <joseph@codesourcery.com>
7079
7080 * libm_test.inc (csqrt_test): Allow more spurious underflow
7081 exceptions.
7082 (j0_test): Likewise.
7083 (j1_test): Likewise.
7084 (y0_test): Likewise.
7085 (y1_test): Likewise.
7086
771766df
CD
70872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7088
7089 * po/Makefile (libc.pot): Use UTF-8 charset.
7090
ceb9e56b
PP
70912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7092
7093 [BZ #14210]
7094 Suppress sign-conversion warning from FD_SET.
7095 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7096 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7097 not unsigned long int.
7098 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7099
ddb28975
L
71002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7101
7102 [BZ #14050]
7103 [BZ #14117]
7104 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7105 __extern_always_inline instead of __extern_inline.
7106 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7107 (__signbit): Likewise.
7108 (__signbitl): Support C++ namespace.
7109 (lrintf): New inline function.
7110 (lrint): Likewise.
7111 (llrintf): Likewise.
7112 (llrint): Likewise.
7113 (fmaxf): Likewise.
7114 (fmax): Likewise.
7115 (fminf): Likewise.
7116 (fmin): Likewise.
7117 (rint): Likewise.
7118 (rintf): Likewise.
7119 (ceil): Likewise.
7120 (ceilf): Likewise.
7121 (floor): Likewise.
7122 (floorf): Likewise.
7123 (nearbyint): Likewise.
7124 (nearbyintf): Likewise.
7125
d7b4fb26
TS
71262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7127
7128 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7129 non-default versions.
7130
eb55f5c2
RM
71312012-06-11 Roland McGrath <roland@hack.frob.com>
7132
7133 [BZ #14218]
7134 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7135
366af02c
TS
71362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7137
99ff6e5c
TS
7138 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7139 (FE_UPWARD, FE_DOWNWARD): Don't define.
7140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7141 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7142
366af02c
TS
7143 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7144 reading it.
7145 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7146 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7147
793ea851
KK
71482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7149
7150 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7152 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7153 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7154
a728a38f
L
71552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 [BZ #14117]
c08010c7
L
7158 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7159 * sysdeps/i386/fpu/Implies: New file.
7160 * sysdeps/x86_64/fpu/Implies: Likewise.
7161 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7162 * sysdeps/x86/fpu/bits/fenv.h: This.
7163
a728a38f
L
7164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7165 __SSE_MATH__.
7166
6e230d11
SP
71672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7168
7169 [BZ #14134]
7170 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7171 character 0xffff that matches the last element of the
7172 conversion table.
7173
1b671feb
AZ
71742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175
7176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7177 fmodl commit.
7178
6043738b
AZ
71792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7180
7181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7182 values higher than 25.6283.
7183
34ae0b32
AZ
71842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7185
7186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7187 subnormal exponent extraction and add some __builtin_expect.
7188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7189 Fix for subnormal mantissa calculation.
7190
1214ec8f
MF
71912012-06-04 Mike Frysinger <vapier@gentoo.org>
7192
7193 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7194 cpu2 is -1 and errno is not ENOSYS.
7195
f3d1f93c
L
71962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7197
7198 [BZ #14117]
0e4a3cd7
L
7199 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7200 * sysdeps/x86/bits/string.h: This.
7201 * sysdeps/x86_64/bits/string.h: Removed.
7202
6704c645
L
7203 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7204 if not compiling for x86-64, but compiling for >= i486.
7205
48495318
L
7206 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7207 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7208
14adcbfc
L
7209 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7210 New macro from Linux kernel 3.4.0.
7211 (FP_XSTATE_MAGIC2): Likewise.
7212 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7213 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7214 (struct _fpx_sw_bytes): New struct.
7215 (struct _xsave_hdr): Likewise.
7216 (struct _ymmh_state): Likewise.
7217 (struct _xstate): Likewise.
7218
68e408ab
L
7219 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7220 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7222 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7223 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7224 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7225
f3d1f93c
L
7226 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7227 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7228 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7229 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7230 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7231 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7232
d9dc34cd
TMQMF
72332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7234
7235 [BZ #13743]
7236 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7237 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7238 (sysdep_headers): Include sys/platform/ppc.h.
7239 * sysdeps/powerpc/test-gettimebase.c: Test for
7240 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7241 * manual/Makefile (appendices): Include platform.texi.
7242 * manual/contrib.texi (Contributors): Update @node pointers.
7243 * manual/maint.texi (Maintenance): Likewise.
7244 (Platform): New node.
7245 * manual/platform.texi: New file. Document the new features.
7246
4af3879c
SP
72472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7248 Jakub Jelinek <jakub@redhat.com>
7249
7250 [BZ #14188]
7251 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7252 where __builtin_expect is unavailable.
7253
2fd6ff13
DM
72542012-06-03 David S. Miller <davem@davemloft.net>
7255
7256 * stdlib/longlong.h: Updated from GCC.
7257
173f7220
AS
72582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7259
7260 [BZ #14042]
7261 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7262 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7263 __mcount_internal.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7265 (GLIBC_2.16): Likewise.
7266
f34a1c6f
L
72672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7268
7269 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7270
88a4576f
JM
72712012-06-01 Joseph Myers <joseph@codesourcery.com>
7272
ea32bcdd
JM
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7274 (default-abi): New variable.
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7277 variable.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7279 Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7281 Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7283 Likewise.
7284
88a4576f
JM
7285 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7286 definition. Document in comment.
7287
402fe938
DM
72882012-06-01 David S. Miller <davem@davemloft.net>
7289
7290 * stdlib/longlong.h: Updated from GCC.
7291
3553723f
L
72922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7293
7294 [BZ #14117]
3bd872c4
L
7295 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7296 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7297 sys/debugreg.h sys/io.h here.
7298 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7299 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7300 sys/io.h.
7301 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7302 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7303 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7304 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7305 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7306 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7307
3553723f
L
7308 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7309 Define only if __x86_64__ is defined.
7310
4842e4fe
JM
73112012-06-01 Joseph Myers <joseph@codesourcery.com>
7312
c5bfe3d5
JM
7313 [BZ #14048]
7314 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7315 Use int64_t for variable i.
7316 * math/libm-test.inc (fmod_test): Add more tests.
7317
4842e4fe
JM
7318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7319 z computation is not scheduled after fetestexcept.
7320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7321 Use math_force_eval instead of asm to ensure calculation scheduled
7322 before exception test.
7323 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7324 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7325
efb73488
AJ
73262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7327
7328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7329 computation is not scheduled after fetestexcept.
7330
29bcce7c
L
73312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7332
7333 [BZ #14117]
7334 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7335 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7336
73a68f94
AZ
73372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7338
7339 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7340 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7341
67b6df78
L
73422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7343
edf2933a 7344 [BZ #14117]
ebc64a18
L
7345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7346 <bits/wordsize.h>.
7347 (__WCHAR_MIN): Support __WORDSIZE == 64.
7348 (__WCHAR_MAX): Likewise.
7349
edf2933a
L
7350 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7352
57c6cf40
L
7353 [BZ #14183]
7354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7355 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7356
67b6df78 7357 [BZ #14117]
8eb6281e
L
7358 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7359 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7360
aac639f4
L
7361 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7363
67b6df78
L
7364 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7365 Defined to 1 if __x86_64__ isn't defined.
7366 (_STAT_VER_LINUX_OLD): New.
7367 (st_atime): Remove duplicate.
7368 (st_mtime): Likewise.
7369 (st_ctime): Likewise.
7370
1c2cfe81
DM
73712012-05-31 David S. Miller <davem@davemloft.net>
7372
7373 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7374 entries.
7375
5be8418c
AS
73762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7377
e7725326
AS
7378 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7379 gen-libm-test.pl.
7380
5be8418c
AS
7381 [BZ #14132]
7382 * elf/dl-reloc.c: Include <_itoa.h>.
7383 (_dl_reloc_bad_type): Remove use of INTUSE.
7384 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7385 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7386 * stdio-common/psiginfo.c (psiginfo): Likewise.
7387 * stdio-common/psignal.c (psignal): Likewise.
7388 * string/strsignal.c (strsignal): Likewise.
7389 * include/signal.h (_sys_siglist): Declare hidden proto.
7390 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7391 INTVARDEF with libc_hidden_data_def.
7392 * stdio-common/itoa-udigits.c: Likewise.
7393 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7394 (_itoa_lower_digits_internal): Remove declaration.
7395 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7396 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7397 (_sys_sigabbrev_internal): Remove aliases.
7398 (_sys_siglist): Define hidden alias.
7399
507352f1
MT
74002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7401
7402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7403 bits/sysctl.h.
7404
42bbb1c3
L
74052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7406
7407 [BZ #14117]
6bd784b6
L
7408 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7409 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7410
8bca20f0
L
7411 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7412 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7413 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7414 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7416 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7417
f9e890a9
L
7418 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7420 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7421
471101a1
L
7422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7423 with __addr.
7424 (insw): Likewise.
7425 (insl): Likewise.
7426 (outsb): Likewise.
7427 (outsw): Likewise.
7428 (outsl): Likewise.
7429
6451c862
L
7430 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7431 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7432 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7433
a254b8c9
L
7434 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7435 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7436 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7437 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7438 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7439 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7440
b8dfdd92
L
7441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7442 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7443
578cd270
L
7444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7445 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7446
de662f5f
L
7447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7449 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7450
25653439
L
7451 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7452 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7453 to ...
7454 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7455
6bad24a0
L
7456 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7457 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7458 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7459
42bbb1c3
L
7460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7461 for x86-64.
7462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7463
2d10d547
JM
74642012-05-31 Joseph Myers <joseph@codesourcery.com>
7465
7466 * math/math.h (M_El): Use two more decimal places.
7467 (M_LOG2El): Likewise.
7468 (M_LOG10El): Likewise.
7469 (M_LN2l): Likewise.
7470 (M_LN10l): Likewise.
7471 (M_PIl): Likewise.
7472 (M_PI_2l): Likewise.
7473 (M_PI_4l): Likewise.
7474 (M_1_PIl): Likewise.
7475 (M_2_PIl): Likewise.
7476 (M_2_SQRTPIl): Likewise.
7477 (M_SQRT2l): Likewise.
7478 (M_SQRT1_2l): Likewise.
7479
f230c29b
DM
74802012-05-31 David S. Miller <davem@davemloft.net>
7481
7482 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7483 values between float registers.
7484 * sysdeps/sparc/sparc64/memset.S: Likewise.
7485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7486
fed806c3
MF
74872012-05-31 Mike Frysinger <vapier@gentoo.org>
7488
7489 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7490 -D_FORTIFY_SOURCE=1.
7491 (CPPFLAGS-tst-longjmp_chk.c): Define.
7492 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7493 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7494 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7495 CFLAGS-tst-wchar-h.c.
7496
30917259
MP
74972012-05-31 Marek Polacek <polacek@redhat.com>
7498
7499 [BZ #14132]
7500 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7501 __endmntent_internal): Remove declaration.
7502 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7503 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7504 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7505
1c58d5dc
DM
75062012-05-30 David S. Miller <davem@davemloft.net>
7507
7508 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7509 (___Q_simulate_exceptions): Use real FP ops rather than writing
7510 into the %fsr.
7511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7512 Likewise.
7513
7dc00e0d
L
75142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 [BZ #14117]
0bd53985
L
7517 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7518 * sysdeps/x86/bits/xtitypes.h: This.
7519
3a257e66
L
7520 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7521 * sysdeps/x86/bits/wordsize.h: This.
7522
62f62904
L
7523 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7524 * sysdeps/x86/bits/huge_vall.h: This.
7525
404fe9d9
L
7526 * sysdeps/i386/bits/select.h: Removed.
7527 * sysdeps/x86_64/bits/select.h: Renamed to ...
7528 * sysdeps/x86/bits/select.h: This.
7529
d48d0446
L
7530 * sysdeps/i386/bits/setjmp.h: Removed.
7531 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7532 * sysdeps/x86/bits/setjmp.h: This.
7533
7dc00e0d
L
7534 * sysdeps/i386/bits/mathdef.h: Removed.
7535 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7536 * sysdeps/x86/bits/mathdef.h: This.
7537
03277f8f
AS
75382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7539
7540 [BZ #14132]
7541 * include/sys/socket.h (__connect_internal)
7542 (__libc_sa_len_internal): Remove declaration.
7543 (__connect, __libc_sa_len): Declare hidden_proto.
7544 (SA_LEN): Remove use of INTUSE.
7545 * socket/connect.c: Add libc_hidden_def.
7546 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7547 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7548 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7549 alias.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7551 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7552 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7553 of adding _internal alias.
7554
13764867
L
75552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 [BZ #14117]
6bd97696
L
7558 * sysdeps/i386/bits/link.h: Removed.
7559 * sysdeps/i386/bits/linkmap.h: Likewise.
7560 * sysdeps/x86_64/bits/link.h: Renamed to ...
7561 * sysdeps/x86/bits/link.h: This.
7562 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7563 * sysdeps/x86/bits/linkmap.h: This.
7564
f726f0bb
L
7565 * sysdeps/i386/bits/endian.h: Removed.
7566 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7567 * sysdeps/x86/bits/endian.h: This.
7568
13764867
L
7569 * sysdeps/i386/bits/byteswap.h: Removed.
7570 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7571 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7572 * sysdeps/x86/bits/byteswap.h: This.
7573 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7574 * sysdeps/x86/bits/byteswap-16.h: This.
7575 * sysdeps/i386/Implies: Add x86.
7576 * sysdeps/x86_64/Implies: Likewise.
7577
ae251b0b
DM
75782012-05-30 David S. Miller <davem@davemloft.net>
7579
7580 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7581 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7582 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7583 (FP_TRAPPING_EXCEPTIONS): Define.
7584 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7585 (FP_TRAPPING_EXCEPTIONS): Define.
7586 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7587 subnormals only when inexact has been signalled or underflow
7588 exceptions are enabled.
7589 (_FP_PACK_CANONICAL): Likewise.
7590
d5c90867
L
75912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7592
7593 [BZ #14183]
7594 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7595 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7596
63f1549e
RH
75972012-05-30 Richard Henderson <rth@twiddle.net>
7598
8d8f2279
RH
7599 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7600 with #ifndef NOT_IN_libc.
7601
63f1549e
RH
7602 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7603 marked to avoid plt entry.
7604
0ab0291b
L
76052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7606
7607 [BZ #14112]
7608 * Makeconfig (default-abi): New macro.
7609 (abi-includes): Likewise.
7610 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7611 $(abi-$(default-abi)-lib-soname) for soname if defined.
7612 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7613 abi-variants.
7614 * Makefile (installed-stubs): Likewise.
7615 * include/stubs-biarch.h: Removed.
7616 * scripts/lib-names.awk: Only handle one library at a time.
7617 * scripts/soversions.awk: Remove WORDSIZE support.
7618 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7619 entries.
7620 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7621 Removed.
7622 (syscall-list-default-condition): Likewise.
7623 (syscall-list-default-condition): Likewise.
7624 (syscall-list-includes): Likewise.
7625 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7626 syscall-list-* with abi-*. Handle undefined abi-variants.
7627 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7628 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7629 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7630 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7631 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7632 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7633 Removed.
7634 (syscall-list-32-options): Likewise.
7635 (syscall-list-32-condition): Likewise.
7636 (syscall-list-64-options): Likewise.
7637 (syscall-list-64-condition): Likewise.
7638 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7639 macro.
7640 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7641 Renamed to ...
7642 (abi-*): This.
7643 (abi-64-ld-soname): New macro.
7644 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7645 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7646 Renamed to ...
7647 (abi-*): This.
7648 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7649 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7650
4da0431d
JM
76512012-05-30 Joseph Myers <joseph@codesourcery.com>
7652
3a85279c
JM
7653 * sysdeps/unix/sysv/linux/kernel-features.h
7654 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7655 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7656 include <kernel-features.h>.
7657 [!__NR_ftruncate64]: Remove conditional code.
7658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7659 [__NR_ftruncate64]: Make code unconditional.
7660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7661 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7662 include <kernel-features.h>.
7663 [!__NR_ftruncate64]: Remove conditional code.
7664 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7665 [__NR_ftruncate64]: Make code unconditional.
7666 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7668 include <kernel-features.h>.
7669 [!__NR_ftruncate64]: Remove conditional code.
7670 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7671 [__NR_ftruncate64]: Make code unconditional.
7672 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7674 include <kernel-features.h>.
7675 [!__NR_ftruncate64]: Remove conditional code.
7676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7677 [__NR_ftruncate64]: Make code unconditional.
7678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7679
4da0431d
JM
7680 * configure.in (libc_cv_fpie): Weaken to a compile test using
7681 LIBC_TRY_CC_OPTION.
7682 * configure: Regenerated.
7683
11ef492c
AK
76842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7685
7686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7690 Refreshed.
7691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7697 Refreshed.
7698
d66ef399
DM
76992012-05-27 David S. Miller <davem@davemloft.net>
7700
7701 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7702 (___Q_zero): New.
7703 (__Q_simulate_exceptions): Return void. Change to simulate
7704 exceptions by writing into the %fsr.
7705 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7706 (__Qp_handle_exceptions): Likewise.
7707 (numbers): Delete.
7708 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7709 __Qp_handle_exceptions.
7710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7711 __Qp_handle_exceptions.
7712 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7713 as unused and give dummy FP_RND_NEAREST initializer.
7714 (FP_INHIBIT_RESULTS): Define.
7715 (___Q_simulate_exceptions): Update declaration.
7716 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7717 formatting.
7718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7719 as unused and give dummy FP_RND_NEAREST initializer.
7720 (__Qp_handle_exceptions): Update declaration.
7721 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7722 formatting.
7723
04fb54b5
TS
77242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7725
7726 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7727 the temporary FPU control word.
7728 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7729 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7731 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7733 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7734 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7736 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7737 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7739
3f99608f
KK
77402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7741
7742 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7743 fields.
7744
65a4de4e
CLT
77452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7746
7747 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7748 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7749 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7750 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7751 Likewise.
7752 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7753 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7754 Likewise.
7755
15749d40
UD
77562012-05-27 Ulrich Drepper <drepper@gmail.com>
7757
7758 * po/h.po: Update from translation team.
7759
25dbcb27
AS
77602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7761
3d3f8e55
AS
7762 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7763
25dbcb27
AS
7764 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7765 handling of denormals.
7766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7767 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7768 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7769 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7773 Likewise.
7774
7ad47a80 77752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7776
7777 [BZ #14152]
7778 * math/libm-test.inc (fma_test): Don't always expect underflow
7779 exception.
7780
9c6ea9fa
SP
77812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7782
7783 [BZ #12416]
7784 * elf/tst-execstack.c: Include stackinfo.h.
7785 (do_test): Adjust test case to ensure that pthread_getattr_np
7786 behaviour remains the same after marking stack executable.
7787
a8239222
JM
77882012-05-25 Joseph Myers <joseph@codesourcery.com>
7789
7790 * sysdeps/unix/sysv/linux/kernel-features.h
7791 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7792 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7793 kernel-features.h.
7794 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7795 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7796 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7797 kernel-features.h.
7798 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7799 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7800
918b5606
L
78012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7802
7803 * configure.in: Define the default includes to being none.
7804 * configure: Regenerated.
7805
3a097cc7
RM
78062012-05-25 Roland McGrath <roland@hack.frob.com>
7807
8422c9a5
RM
7808 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7809 * sysdeps/x86_64/setjmp.S: Likewise.
7810 * sysdeps/i386/bsd-setjmp.S: Likewise.
7811 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7812 * sysdeps/i386/setjmp.S: Likewise.
7813 * sysdeps/i386/__longjmp.S: Likewise.
7814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7815 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7816
3a097cc7
RM
7817 * include/stap-probe.h: New file.
7818 * configure.in: Handle --enable-systemtap.
7819 * configure: Regenerated.
7820 * config.h.in (USE_STAP_PROBE): New #undef.
7821 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7822 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7823 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7824
21708942
JM
78252012-05-25 Joseph Myers <joseph@codesourcery.com>
7826
7827 [BZ #13717]
7828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7829 to 2.4.0 where earlier.
7830 * sysdeps/unix/sysv/linux/configure: Regenerated.
7831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7832 <kernel-features.h>.
7833 [__ASSUME_32BITUIDS]: Make code unconditional.
7834 [!__ASSUME_32BITUIDS]: Remove conditional code.
7835 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7836 <kernel-features.h>.
7837 [__ASSUME_32BITUIDS]: Make code unconditional.
7838 [!__ASSUME_32BITUIDS]: Remove conditional code.
7839 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7840 [__ASSUME_32BITUIDS]: Make code unconditional.
7841 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7842 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7843 <kernel-features.h>.
7844 [__ASSUME_32BITUIDS]: Make code unconditional.
7845 [!__ASSUME_32BITUIDS]: Remove conditional code.
7846 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7847 <kernel-features.h>.
7848 [__ASSUME_32BITUIDS]: Make code unconditional.
7849 [!__ASSUME_32BITUIDS]: Remove conditional code.
7850 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7851 <kernel-features.h>.
7852 [__ASSUME_32BITUIDS]: Make code unconditional.
7853 [!__ASSUME_32BITUIDS]: Remove conditional code.
7854 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7855 <kernel-features.h>.
7856 [__ASSUME_32BITUIDS]: Make code unconditional.
7857 [!__ASSUME_32BITUIDS]: Remove conditional code.
7858 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7859 <kernel-features.h>.
7860 [__ASSUME_32BITUIDS]: Make code unconditional.
7861 [!__ASSUME_32BITUIDS]: Remove conditional code.
7862 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7863 <kernel-features.h>.
7864 [__ASSUME_32BITUIDS]: Make code unconditional.
7865 [!__ASSUME_32BITUIDS]: Remove conditional code.
7866 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7867 <kernel-features.h>.
7868 [__ASSUME_32BITUIDS]: Make code unconditional.
7869 [!__ASSUME_32BITUIDS]: Remove conditional code.
7870 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7871 <kernel-features.h>.
7872 [__ASSUME_32BITUIDS]: Make code unconditional.
7873 [!__ASSUME_32BITUIDS]: Remove conditional code.
7874 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7875 <kernel-features.h>.
7876 [__ASSUME_32BITUIDS]: Make code unconditional.
7877 [!__ASSUME_32BITUIDS]: Remove conditional code.
7878 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7879 <kernel-features.h>.
7880 [__ASSUME_32BITUIDS]: Make code unconditional.
7881 [!__ASSUME_32BITUIDS]: Remove conditional code.
7882 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7883 <kernel-features.h>.
7884 [__NR_setresgid] (__setresgid): Do not declare.
7885 [__ASSUME_32BITUIDS]: Make code unconditional.
7886 [!__ASSUME_32BITUIDS]: Remove conditional code.
7887 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7888 <kernel-features.h>.
7889 [__NR_setresuid] (__setresuid): Do not declare.
7890 [__ASSUME_32BITUIDS]: Make code unconditional.
7891 [!__ASSUME_32BITUIDS]: Remove conditional code.
7892 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7893 <kernel-features.h>.
7894 [__ASSUME_32BITUIDS]: Make code unconditional.
7895 [!__ASSUME_32BITUIDS]: Remove conditional code.
7896 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7897 <kernel-features.h>.
7898 [__ASSUME_32BITUIDS]: Make code unconditional.
7899 [!__ASSUME_32BITUIDS]: Remove conditional code.
7900 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7901 <kernel-features.h>.
7902 [__ASSUME_32BITUIDS]: Make code unconditional.
7903 [!__ASSUME_32BITUIDS]: Remove conditional code.
7904 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7905 <kernel-features.h>.
7906 [__ASSUME_32BITUIDS]: Make code unconditional.
7907 [!__ASSUME_32BITUIDS]: Remove conditional code.
7908 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7909 <kernel-features.h>.
7910 [__ASSUME_32BITUIDS]: Make code unconditional.
7911 [!__ASSUME_32BITUIDS]: Remove conditional code.
7912 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7913 <kernel-features.h>.
7914 [__ASSUME_32BITUIDS]: Make code unconditional.
7915 [!__ASSUME_32BITUIDS]: Remove conditional code.
7916 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7917 <kernel-features.h>.
7918 [__ASSUME_32BITUIDS]: Make code unconditional.
7919 [!__ASSUME_32BITUIDS]: Remove conditional code.
7920 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7921 <kernel-features.h>.
7922 [__ASSUME_32BITUIDS]: Make code unconditional.
7923 [!__ASSUME_32BITUIDS]: Remove conditional code.
7924 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7925 <kernel-features.h>.
7926 [__ASSUME_32BITUIDS]: Make code unconditional.
7927 [!__ASSUME_32BITUIDS]: Remove conditional code.
7928 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7929 <kernel-features.h>.
7930 [__ASSUME_32BITUIDS]: Make code unconditional.
7931 [!__ASSUME_32BITUIDS]: Remove conditional code.
7932 * sysdeps/unix/sysv/linux/kernel-features.h
7933 (__ASSUME_SETRESUID_SYSCALL): Remove.
7934 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7935 (__ASSUME_32BITUIDS): Likewise.
7936 (__ASSUME_LDT_WORKS): Likewise.
7937 (__ASSUME_O_DIRECTORY): Likewise.
7938 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7939 architecture but not kernel version.
7940 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7941 (__ASSUME_MMAP2_SYSCALL): Likewise.
7942 (__ASSUME_STAT64_SYSCALL): Likewise.
7943 (__ASSUME_IPC64): Likewise.
7944 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7945 <kernel-features.h>.
7946 [__ASSUME_32BITUIDS]: Make code unconditional.
7947 [!__ASSUME_32BITUIDS]: Remove conditional code.
7948 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7949 <kernel-features.h>.
7950 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7951 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7952 132096]: Remove conditional code.
7953 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7954 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7955 <kernel-features.h>.
7956 [__ASSUME_32BITUIDS]: Make code unconditional.
7957 [!__ASSUME_32BITUIDS]: Remove conditional code.
7958 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7959 <kernel-features.h>.
7960 [__ASSUME_32BITUIDS]: Make code unconditional.
7961 [!__ASSUME_32BITUIDS]: Remove conditional code.
7962 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7963 <kernel-features.h>.
7964 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7965 unconditional.
7966 (__setresgid): Do not declare.
7967 [__ASSUME_32BITUIDS]: Make code unconditional.
7968 [!__ASSUME_32BITUIDS]: Remove conditional code.
7969 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7970 <kernel-features.h>.
7971 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7972 unconditional.
7973 (__setresuid): Do not declare.
7974 [__ASSUME_32BITUIDS]: Make code unconditional.
7975 [!__ASSUME_32BITUIDS]: Remove conditional code.
7976 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
7981 <kernel-features.h>.
7982 [__ASSUME_32BITUIDS]: Make code unconditional.
7983 [!__ASSUME_32BITUIDS]: Remove conditional code.
7984
a386f1cc
RH
79852012-05-25 Richard Henderson <rth@twiddle.net>
7986
7987 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7988 dl_hwcap to ifunc resolver.
7989 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7990 elf_ifunc_invoke.
7991 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7992 dl_hwcap to ifunc resolver.
7993 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7994
b6550497
JM
79952012-05-24 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #14153]
7998 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7999 for |x| <= 2**-26, not 2**-57.
8000 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8001 exception.
8002
b0bc23a1
JL
80032012-05-24 Jeff Law <law@redhat.com>
8004
8005 * stdio-common/Makefile (tests): Add bug25.
8006 * stdio-common/bug25.c: New test.
8007
347c92e9
L
80082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8009
8010 [BZ #13576]
8011 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8012 multiple of MALLOC_ALIGNMENT in size.
8013 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8014
6bcc8b3f
JM
80152012-05-24 Joseph Myers <joseph@codesourcery.com>
8016
8017 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8018 Require >= 256.
8019 (FILENAME_MAX): Use macro-int-constant.
8020 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8021 (_IOFBF): Use macro-int-constant.
8022 (_IOLBF): Likewise.
8023 (_IONBF): Likewise.
8024 (SEEK_CUR): Likewise.
8025 (SEEK_END): Likewise.
8026 (SEEK_SET): Likewise.
8027 (TMP_MAX): Likewise.
8028 (EOF): Use macro-int-constant. Require < 0.
8029 (NULL): Use macro-constant. Require == 0.
8030 (stdin): Require type to be FILE *.
8031 (stdout): Likewise.
8032 (stderr): Likewise.
8033 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8034 macro-int-constant.
8035 (EXIT_SUCCESS): Likewise.
8036 (NULL): Use macro-constant. Require == 0.
8037 (RAND_MAX): Use macro-int-constant.
8038 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8039 [C99-based standards] (strtof): Require function.
8040 [C99-based standards] (strtold): Likewise.
8041 [C99-based standards] (strtoll): Likewise.
8042 [C99-based standards] (strtoull): Likewise.
8043 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8044 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8045 [ISO || ISO99 || ISO11] (math.h): Likewise.
8046 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8047 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8049
d18ea0c5
AS
80502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8051
8052 [BZ #14132]
56d25bb8
AS
8053 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8054 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8055 * intl/dgettext.c (DCGETTEXT): Likewise.
8056 * intl/gettext.c (DCGETTEXT): Likewise.
8057 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8058 * posix/regex_internal.h (gettext): Likewise.
8059 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8060 Remove declaration.
8061 * include/argz.h (__argz_count_internal)
8062 (__argz_stringify_internal): Remove declaration.
8063 (__argz_count, __argz_stringify): Declare hidden proto.
8064 * intl/dcgettext.c: Remove use of INTDEF.
8065 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8066 * string/argz-stringify.c: Likewise.
8067 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8068 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8069 Declare hidden proto.
d18ea0c5
AS
8070 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8071 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8072 Declare hidden proto.
8073 * include/stdio.h (__asprintf_internal): Don't declare.
8074 (__asprintf): Don't define as macro. Declare hidden proto.
8075 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8076 (__fsetlocking): Declare hidden proto.
8077 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8078 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8079 hidden proto.
8080 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8081 (_IO_setlinebuf): Remove use of INTUSE.
8082 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8083 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8084 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8085 Remove declaration.
8086 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8087 (_IO_do_flush): Remove use of INTUSE.
8088 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8089 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8090 (_IO_adjust_column, _IO_least_wmarker)
8091 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8092 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8093 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8094 (_IO_default_doallocate, _IO_wdefault_doallocate)
8095 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8096 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8097 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8098 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8099 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8100 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8101 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8102 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8103 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8104 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8105 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8106 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8107 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8108 proto.
8109 (_IO_flush_all_internal, _IO_adjust_column_internal)
8110 (_IO_default_uflow_internal, _IO_default_finish_internal)
8111 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8112 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8113 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8114 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8115 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8116 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8117 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8118 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8119 (_IO_file_close_internal, _IO_file_close_it_internal)
8120 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8121 (_IO_file_init_internal, _IO_file_attach_internal)
8122 (_IO_file_fopen_internal, _IO_file_read_internal)
8123 (_IO_file_sync_internal, _IO_file_seek_internal)
8124 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8125 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8126 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8127 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8128 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8129 (_IO_list_all_internal, _IO_link_in_internal)
8130 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8131 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8132 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8133 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8134 (_IO_do_write_internal, _IO_padn_internal)
8135 (_IO_getline_info_internal, _IO_getline_internal)
8136 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8137 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8138 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8139 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8140 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8141 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8142 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8143 with libc_hidden_ver, remove use of INTUSE.
8144 * libio/genops.c: Likewise.
8145 * libio/freopen.c: Likewise.
8146 * libio/freopen64.c: Likewise.
8147 * libio/iofclose.c: Likewise.
8148 * libio/iofdopen.c: Likewise.
8149 * libio/iofflush.c: Likewise.
8150 * libio/iofflush_u.c: Likewise.
8151 * libio/iofgets.c: Likewise.
8152 * libio/iofgets_u.c: Likewise.
8153 * libio/iofopen.c: Likewise.
8154 * libio/iofopncook.c: Likewise.
8155 * libio/iofread.c: Likewise.
8156 * libio/iofread_u.c: Likewise.
8157 * libio/ioftell.c: Likewise.
8158 * libio/iofwrite.c: Likewise.
8159 * libio/iogetline.c: Likewise.
8160 * libio/iogets.c: Likewise.
8161 * libio/iogetwline.c: Likewise.
8162 * libio/iopadn.c: Likewise.
8163 * libio/iopopen.c: Likewise.
8164 * libio/ioseekoff.c: Likewise.
8165 * libio/ioseekpos.c: Likewise.
8166 * libio/iosetbuffer.c: Likewise.
8167 * libio/iosetvbuf.c: Likewise.
8168 * libio/ioungetc.c: Likewise.
8169 * libio/ioungetwc.c: Likewise.
8170 * libio/iovdprintf.c: Likewise.
8171 * libio/iovsprintf.c: Likewise.
8172 * libio/iovsscanf.c: Likewise.
8173 * libio/memstream.c: Likewise.
8174 * libio/obprintf.c: Likewise.
8175 * libio/oldfileops.c: Likewise.
8176 * libio/oldiofclose.c: Likewise.
8177 * libio/oldiofdopen.c: Likewise.
8178 * libio/oldiofopen.c: Likewise.
8179 * libio/oldiopopen.c: Likewise.
8180 * libio/oldstdfiles.c: Likewise.
8181 * libio/putc.c: Likewise.
8182 * libio/setbuf.c: Likewise.
8183 * libio/setlinebuf.c: Likewise.
8184 * libio/stdfiles.c: Likewise.
8185 * libio/strops.c: Likewise.
8186 * libio/vasprintf.c: Likewise.
8187 * libio/vscanf.c: Likewise.
8188 * libio/vsnprintf.c: Likewise.
8189 * libio/vswprintf.c: Likewise.
8190 * libio/wfiledoalloc.c: Likewise.
8191 * libio/wfileops.c: Likewise.
8192 * libio/wgenops.c: Likewise.
8193 * libio/wmemstream.c: Likewise.
8194 * libio/wstrops.c: Likewise.
8195 * libio/__fpurge.c: Likewise.
8196 * libio/__fsetlocking.c: Likewise.
8197 * assert/assert.c: Likewise.
8198 * debug/fgets_chk.c: Likewise.
8199 * debug/fgets_u_chk.c: Likewise.
8200 * debug/fread_chk.c: Likewise.
8201 * debug/fread_u_chk.c: Likewise.
8202 * debug/gets_chk.c: Likewise.
8203 * debug/obprintf_chk.c: Likewise.
8204 * debug/vasprintf_chk.c: Likewise.
8205 * debug/vdprintf_chk.c: Likewise.
8206 * debug/vsnprintf_chk.c: Likewise.
8207 * debug/vsprintf_chk.c: Likewise.
8208 * malloc/mtrace.c: Likewise.
8209 * misc/error.c: Likewise.
8210 * misc/syslog.c: Likewise.
8211 * stdio-common/asprintf.c: Likewise.
8212 * stdio-common/fxprintf.c: Likewise.
8213 * stdio-common/getw.c: Likewise.
8214 * stdio-common/isoc99_fscanf.c: Likewise.
8215 * stdio-common/isoc99_scanf.c: Likewise.
8216 * stdio-common/isoc99_vfscanf.c: Likewise.
8217 * stdio-common/isoc99_vscanf.c: Likewise.
8218 * stdio-common/isoc99_vsscanf.c: Likewise.
8219 * stdio-common/printf-prs.c: Likewise.
8220 * stdio-common/printf_fp.c: Likewise.
8221 * stdio-common/printf_fphex.c: Likewise.
8222 * stdio-common/printf_size.c: Likewise.
8223 * stdio-common/putw.c: Likewise.
8224 * stdio-common/scanf.c: Likewise.
8225 * stdio-common/sprintf.c: Likewise.
8226 * stdio-common/tmpfile.c: Likewise.
8227 * stdio-common/vfprintf.c: Likewise.
8228 * stdio-common/vfscanf.c: Likewise.
8229 * stdlib/strfmon_l.c: Likewise.
8230 * sunrpc/openchild.c: Likewise.
8231 * sunrpc/xdr_stdio.c: Likewise.
8232 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8233 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8234
d6c33fda
RM
82352012-05-24 Roland McGrath <roland@hack.frob.com>
8236
c1487492
RM
8237 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8238
8239 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8240 in the third column, to generate for the shared library an IFUNC
8241 that uses _dl_vdso_vsym.
8242 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8243 * Makeconfig (object-suffixes-noshared): New variable.
8244
8245 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8246 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8247 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8248 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8249
d6c33fda
RM
8250 [BZ #14132]
8251 * include/sys/time.h (__gettimeofday): Remove macro.
8252 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8253 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8254 Remove INTDEF.
8255 (__gettimeofday): Add libc_hidden_def.
8256 (gettimeofday): Add libc_hidden_weak.
8257 * sysdeps/mach/gettimeofday.c: Likewise.
8258 * sysdeps/posix/gettimeofday.c: Likewise.
8259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8260 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8261 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8262 (__gettimeofday_internal): Remove strong_alias.
8263 (__gettimeofday): Add libc_hidden_def.
8264 (gettimeofday): Add libc_hidden_weak.
8265 * sysdeps/unix/syscalls.list (gettimeofday):
8266 Remove __gettimeofday_internal alias.
8267
b5a2bbe6
L
82682012-05-24 Daniel Jacobowitz <drow@false.org>
8269 H.J. Lu <hongjiu.lu@intel.com>
8270
8271 [BZ #12495]
8272 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8273 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8274 (largebin_index_32_big): New.
8275 (largebin_index): Use it for 16-byte alignment.
8276 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8277 correction with front_misalign.
8278
cfba4fda
L
82792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8280
7f907421
L
8281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8283 Likewise.
8284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8285 Likewise.
8286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8287 Likewise.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8289 Likewise.
8290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8291 Likewise.
8292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8293 Likewise.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8295 Likewise.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8297 Likewise.
8298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8299 Likewise.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8301 Likewise.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8303 Likewise.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8305 Likewise.
8306
cfba4fda
L
8307 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8308 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8309
80bad0cc
JM
83102012-05-24 Joseph Myers <joseph@codesourcery.com>
8311
7a25eb06
JM
8312 [BZ #10846]
8313 [BZ #14036]
8314 * math/libm-test.inc (exp_test): Add test from bug 14036.
8315 (pow_test): Add test from bug 10846.
8316
795405f9
JM
8317 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8318 and other flags.
8319 (special_function): Do not include flags in test name.
8320 (parse_args): Likewise.
8321 * sysdeps/i386/fpu/libm-test-ulps: Update.
8322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8323 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8324 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8326
80bad0cc
JM
8327 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8328 exceptions.
8329 * math/libm-test.inc ("Philosophy"): Update comment about
8330 exception testing.
8331 (UNDERFLOW_EXCEPTION): New macro.
8332 (UNDERFLOW_EXCEPTION_OK): Likewise.
8333 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8334 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8335 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8336 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8337 (INVALID_EXCEPTION_OK): Update value.
8338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8339 (OVERFLOW_EXCEPTION_OK): Likewise.
8340 (IGNORE_ZERO_INF_SIGN): Likewise.
8341 (test_exceptions): Handle underflow exceptions.
8342 (acos_test): Update for underflow exception expectations.
8343 (cexp_test): Likewise.
8344 (clog_test): Likewise.
8345 (clog10_test): Likewise.
8346 (csqrt_test): Likewise.
8347 (ctan_test): Likewise.
8348 (ctanh_test): Likewise.
8349 (exp_test): Likewise.
8350 (exp10_test): Likewise.
8351 (exp2_test): Likewise.
8352 (expm1_test): Likewise.
8353 (fma_test): Likewise.
8354 (j0_test): Likewise.
8355 (jn_test): Likewise.
8356 (nexttoward_test): Likewise.
8357 (pow_test): Likewise.
8358 (scalbn_test): Likewise.
8359 (scalbln_test): Likewise.
8360 (tan_test): Likewise.
8361 (y1_test): Likewise.
8362 * sysdeps/i386/fpu/libm-test-ulps: Update.
8363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8364
9e0e3d0b
DM
83652012-05-23 David S. Miller <davem@davemloft.net>
8366
8367 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8368 (__libc_sigaction): Remove unused local variables.
8369
ccd0a08f
L
83702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8371
8372 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8373
62bdf9a6
PE
83742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8375
f8591f80
PE
8376 mktime: avoid signed integer overflow
8377 * time/mktime.c (__mktime_internal): Do not mishandle the case
8378 where diff == INT_MIN.
8379
94c7d826
PE
8380 mktime: simplify computation of average
8381 * time/mktime.c (ranged_convert): Use new time_t_avg function
8382 instead of rolling our own (probably-slower) code.
8383
ce73d683
PE
8384 mktime: do not assume signed right shift propagates sign bit
8385 * time/mktime.c (isdst_differ): New static function.
8386 (__mktime_internal): No need to normalize tm_isdst now.
8387 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8388 tm_isdst values.
8389
72a22e59
PE
8390 mktime: merge another wrapv change from gnulib
8391 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8392 from some compilers.
8393
68605433
PE
8394 mktime: remove incorrect attempt at unusual arithmetics
8395 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8396 The code didn't really work on such machines anyway.
8397 (TYPE_MINIMUM): Assume two's complement.
8398 (twos_complement_arithmetic): Verify that long_int and time_t
8399 are two's complement (or unsigned, in the latter case).
8400
03cf7fe3
PE
8401 mktime: check signed shifts on long_int and time_t, too
8402 * time/mktime.c (SHR): Check that shifts work as desired
8403 on the types long_int and time_t too, as SHR is used on
8404 such types.
8405
f04dfbc2
PE
8406 mktime: do not assume 'long' is wide enough
8407 * time/mktime.c (verify): Move decl up.
8408 (long_int): New type.
8409 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8410 to remove assumption in the code that 'long' is wide enough to
8411 store year values. This assumption is not true on x32 and on
8412 some non-glibc platforms.
8413
62bdf9a6
PE
8414 mktime: merge wrapv change from gnulib
8415 * time/mktime.c (WRAPV): New macro.
8416 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8417 (guess_time_tm, __mktime_internal): Do not assume that signed
8418 integer overflow wraps around; modern compilers generate code
8419 where this assumption is no longer valid.
8420
5e292e4f
L
84212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8424 Replace "jmp L(pseudo_end)" with "ret".
8425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8426 Likewise.
8427
8caf8c87
AJ
84282012-05-23 Andreas Jaeger <aj@suse.de>
8429
8430 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8431 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8432
1a09dc56
AJ
84332012-05-23 Andreas Jaeger <aj@suse.de>
8434 Maximilian Attems <max@stro.at>
8435
8436 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8437 New macros.
8438
1c87aba0
L
84392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8442 code so that pseudo_end is just ret and the stack pointer is
8443 correct also for static library in error case.
8444
40e45bd5
JM
84452012-05-23 Joseph Myers <joseph@codesourcery.com>
8446
c2670533
JM
8447 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8448 move to syscalls.list.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8453
40e45bd5
JM
8454 * manual/install.texi (Running make install): Do not mention Linux
8455 kernel version for which pt_chown is not needed.
8456 (Linux): Do not mention problems with nscd with 2.0 kernels.
8457 * INSTALL: Regenerated.
8458
be08eda5
AJ
84592012-05-23 Andreas Jaeger <aj@suse.de>
8460
8461 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8462 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8463 macro.
8464 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8466 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8468 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8472 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8473 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8474 * sysdeps/unix/sysv/linux/bits/in.h
8475 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8476
a6a056bb
RM
84772012-05-22 Roland McGrath <roland@hack.frob.com>
8478
8479 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8480 (PREPARE_VERSION): Just use assert instead, it will be elided
8481 under [NDEBUG] anyway.
8482
c9009328
L
84832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 * sysdeps/unix/sysv/linux/Makefile: Include
8486 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8487 (sysdep_routines): Remove sysctl.
c9009328
L
8488 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8489 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8491 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8492 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8493
73338355
AJ
84942012-05-22 Andreas Jaeger <aj@suse.de>
8495
8496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8497 that pseudo_end is just ret and the stack pointer is correct also
8498 for static library in error case.
8499
d44638b0
PP
85002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8501
8502 [BZ #14122]
8503 * nss/nsswitch.c (defconfig_entries): New variable.
8504 (__nss_database_lookup): Don't leak defconfig entries.
8505 (nss_parse_service_list): Don't leak on error paths.
8506 (free_database_entries): New function.
8507 (free_defconfig): New function.
8508 (free_mem): Move common code to free_database_entries.
8509
31a39bd8
L
85102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8511
da0331a8
L
8512 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8513 Add arch_prctl.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8515
31a39bd8
L
8516 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8517 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8519 New macro.
8520 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8521 (INTERNAL_SYSCALL_TYPES): Likewise.
8522 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8523 (LOAD_REGS_TYPES_[1-6]): Likewise.
8524 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8525 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8526
45470df3
AZ
85272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8528
8529 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8530 copysignl for GLIBC_2_0.
8531 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8532 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8534 logbl for GLIBC_2_0.
8535 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8537
98a61bcb
L
85382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8539
a4f6e481
L
8540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8542
f63d5db6
L
8543 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8544 Use "neg %eax".
8545
98a61bcb
L
8546 * time/mktime.c: Update copyright years.
8547
95770f14
PE
85482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8549
6226efbd
PE
8550 mktime: merge comment-quoting-style change from gnulib
8551 * time/mktime.c: Quote 'like this' in comments.
8552 The GNU coding standards suggest that we no longer quote `like this',
8553 as "`" and "'" are typically rendered asymmetrically nowadays.
8554 The typical gnulib style is to quote 'like this' when quoting
8555 code, and "like this" when quoting English.
8556
b99e4f78
PE
8557 * time/mktime.c (compile-command): Add "-I.".
8558
643e01e6
PE
8559 mktime: merge mktime-internal.h change from gnulib
8560 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8561
2554247d
PE
8562 mktime: merge time_r change from gnulib
8563 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8564
826dd0ab
PE
8565 mktime: merge DEBUG change from gnulib
8566 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8567 case system <time.h> has a #define.
8568
bd83aabe
PE
8569 mktime: merge <sys/types.h> change from gnulib
8570 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8571 since <time.t> is now guaranteed to define time_t.
8572
95770f14
PE
8573 mktime: merge HAVE_CONFIG_H change from gnulib
8574 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8575
5e1a27a9
L
85762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8577
0e44a77e
L
8578 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8579 Use "neg %eax".
8580
5e1a27a9
L
8581 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8582 __rlim_t cast.
8583 (struct rusage): Use anonymous union to pad each field to
8584 __syscall_slong_t.
8585
46259bec
DM
85862012-05-21 David S. Miller <davem@davemloft.net>
8587
8588 * Makefules (o-iterator): Remove .s cases.
8589 (compile-command.s): Delete.
8590 (COMPILE.s): Delete.
8591 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8592
59f0c22e
JM
85932012-05-21 Joseph Myers <joseph@codesourcery.com>
8594
8595 * configure.in (libc_cv_predef_stack_protector): Only consider
8596 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8597 * configure: Regenerated.
8598
20c07380
L
85992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8600
bbb3154b
L
8601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8602 New macro. Use R*LP on int and pointer.
8603 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8604 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8605 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8606 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8607
20c07380
L
8608 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8609 [__WORDSIZE_TIME64_COMPAT32] instead of
8610 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8611 (struct utmp): Likewise.
8612 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8613 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8614 Renamed to ...
8615 (__WORDSIZE_TIME64_COMPAT32): This.
8616 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8617 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8618 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8619 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8620 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8621 (__WORDSIZE_TIME64_COMPAT32): New macro.
8622
d8d1017e
AJ
86232012-05-21 Andreas Jaeger <aj@suse.de>
8624
8625 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8626 only if [SHARED]. Add prototype for __wcschr_ia32.
8627
6c7fb145
RM
86282012-05-21 Roland McGrath <roland@hack.frob.com>
8629
8630 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8631 of %rbp unmolested in the jmp_buf while mangling the low bits.
8632 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8633 unmolested high bits of %rbp while demangling the low bits.
8634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8635
66274218
AJ
86362012-05-21 Andreas Jaeger <aj@suse.de>
8637
07c58f8f
AJ
8638 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8639 * sunrpc/svc_simple.c: Use it for registerrpc.
8640 * sunrpc/xcrypt.c: Use it for passwd2des.
8641
66274218
AJ
8642 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8643
61f65140
L
86442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8645
8646 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8647 Don't define if [__SYSCALL_WORDSIZE != 32].
8648 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8649 New macro.
8650
5fefb436
AJ
86512012-05-21 Bruno Haible <bruno@clisp.org>
8652 Andreas Jaeger <aj@suse.de>
8653
8654 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8655 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8656 inptr and inend for must_buffer_ch.
8657 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8658 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8659 * stdio-common/Makefile (tests): Remove bug15.
8660 (bug15-ENV): Remove macro.
8661 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8662 anymore.
8663
d8e272ab
AJ
86642012-05-19 Andreas Jaeger <aj@suse.de>
8665 Roland McGrath <roland@hack.frob.com>
8666
8667 * manual/contrib.texi: Completely rewritten. It contains now an
8668 alphabetical list of contributors and their contributions.
8669
4a56a162
RH
86702012-05-21 Richard Henderson <rth@twiddle.net>
8671
8672 * misc/getauxval.c (__getauxval): Use unsigned long int.
8673 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8674 (getauxval): Use unsigned long int.
8675
d024d23c
L
86762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8677
8678 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8679
cbc00a03
RM
86802012-05-21 Roland McGrath <roland@hack.frob.com>
8681
8682 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8683 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8684 __alignof__ (long double).
8685
478143fa
AZ
86862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8687
8688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8689
c7683a6d
RH
86902012-05-20 Richard Henderson <rth@twiddle.net>
8691
8692 * misc/getauxval.c: New file.
8693 * misc/sys/auxv.h: New file.
8694 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8695 (routines): Add getauxval.
8696 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8698 * elf/dl-sysdep.c (_dl_auxv): Remove.
8699 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8700 * elf/dl-support.c (_dl_auxv): New variable.
8701 (_dl_aux_init): Initialize it.
8702 * manual/startup.texi (Auxiliary Vector): New node.
8703 * sysdeps/generic/bits/hwcap.h: New file.
8704 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8705 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8706 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8707 * sysdeps/sparc/sysdep.h: ... here. Include it.
8708 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8709 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8711 Update.
c7683a6d
RH
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8720
a6f1845d
AZ
87212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722
8723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8724
cbcbe830
DM
87252012-05-19 David S. Miller <davem@davemloft.net>
8726
8727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8728
e0b16cc2
JM
87292012-05-19 Joseph Myers <joseph@codesourcery.com>
8730
8731 [BZ #14123]
8732 * math/s_ccosh.c: Include <float.h>
8733 (__ccosh): Avoid internal overflow calculating sinh and cosh
8734 values before multiplying by sin and cos values.
8735 * math/s_ccoshf.c: Likewise.
8736 * math/s_ccoshl.c: Likewise.
8737 * math/s_csin.c: Likewise.
8738 * math/s_csinf.c: Likewise.
8739 * math/s_csinl.c: Likewise.
8740 * math/s_csinh.c: Likewise.
8741 * math/s_csinhf.c: Likewise.
8742 * math/s_csinhl.c: Likewise.
8743 * math/libm-test.inc (ccos_test): Add more tests.
8744 (ccosh_test): Likewise.
8745 (csin_test): Likewise.
8746 (csinh_test): Likewise.
8747 * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8749
6ad13e08
L
87502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8751
f66f0ce8
L
8752 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8753 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8754
6ad13e08
L
8755 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8756
b1d072a7
JM
87572012-05-19 Joseph Myers <joseph@codesourcery.com>
8758
8759 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8760 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8761 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8762 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8763 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8764 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8765 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8766 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8767 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8768 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8769 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8770 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8771 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8772 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8773 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8774 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8775 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8776 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8777 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8778 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8779 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8780 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8781 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8782 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8783 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8784 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8785 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8786 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8787 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8788 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8789 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8790
9eae47cb
AJ
87912012-05-18 Andreas Jaeger <aj@suse.de>
8792
8793 * csu/.gitignore: Delete.
8794
bb07f69f
L
87952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8796
8797 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8798 (timex): Use __syscall_slong_t.
8799
e6bdb741
AJ
88002012-05-18 Andreas Jaeger <aj@suse.de>
8801 Carlos O'Donell <carlos_odonell@mentor.com>
8802
8803 * manual/install.texi (Configuring and compiling): Update
8804 description about files modified in the source directory.
d6c33fda 8805 * INSTALL: Regenerated.
e6bdb741 8806
1b74487e
L
88072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8810 value. Use "or" to set return value to -1.
8811 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8812 negate return value.
8813
a88b64b9
TMQMF
88142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8815
8816 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8817 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8818 failure if the compiler has Graphite support disabled.
8819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8820 Likewise.
8821 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8822 CFLAGS-memmove.c): Likewise.
8823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8824 Likewise.
8825
3707636e
L
88262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8827
610b8622
L
8828 * sysdeps/x86_64/x32/_itoa.h: New file.
8829
7cd195df
L
8830 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8831 getdents system call only if kernel and user dirents have the
8832 same d_ino and d_off.
8833
94b07d20
L
8834 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8835 LLONG_MAX != LONG_MAX.
8836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8837 (_fitoa_word): Likewise.
8838
18298070
L
8839 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8840 years.
8841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8844
553c7ea4
L
8845 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8846 include <bits/wordsize.h>. Check __x86_64__ instead of
8847 __WORDSIZE.
8848 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8849 if __x86_64__ is defined. Use anonymous union on fpstate.
8850
3707636e
L
8851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8852 anonymous union.
8853
b53ef01a
AS
88542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8855
37fb1dc0
AS
8856 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8857 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8858 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8859 Refer to _rtld_local_ro instead of _rtld_global_ro.
8860 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8861 Likewise.
8862 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8863 Likewise.
8864 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8865 Likewise.
8866 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8867 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8868 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8869
b53ef01a
AS
8870 * sysdeps/powerpc/powerpc32/dl-machine.c
8871 (__elf_machine_runtime_setup) [PROF]: Don't reference
8872 _dl_prof_resolve.
8873
7a185db2
AJ
88742012-05-18 Andreas Jaeger <aj@suse.de>
8875
8876 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8877 function only available for GCCs before 3.4 since GCC 3.4
8878 introduced a builtin.
8879 (lrint): Likewise.
8880 (llrintf): Likewise.
8881 (llrint): Likewise.
8882 (fmaxf): Likewise.
8883 (fmax): Likewise.
8884 (fminf): Likewise.
8885 (fmin): Likewise.
8886 (rint): Likewise.
8887 (rintf): Likewise.
8888 (nearbyint): Likewise.
8889 (nearbyintf): Likewise.
8890 (ceil): Likewise.
8891 (ceilf): Likewise.
8892 (floor): Likewise.
8893 (floorf): Likewise.
8894
3e5aef87
L
88952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8896
428bd707
L
8897 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8898 on both fields and cast pointer to __syscall_ulong_t.
8899
3e5aef87
L
8900 * bits/types.h (__fsword_t): New type.
8901 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8902 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8904 (__FSWORD_T_TYPE): Likewise.
8905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8906 (__FSWORD_T_TYPE): Likewise.
8907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8908 (__FSWORD_T_TYPE): Likewise.
8909 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8910 (__FSWORD_T_TYPE): Likewise.
8911 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8912 __SWORD_TYPE with __fsword_t.
8913 (statfs64): Likewise.
8914
1ba7c3dc
DM
89152012-05-17 David S. Miller <davem@davemloft.net>
8916
8917 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8918
59910343
AJ
89192012-05-17 Andreas Jaeger <aj@suse.de>
8920
8921 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8922 warning.
8923
2e4c1e9e
L
89242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8927
de7f5ce7
AJ
89282012-05-17 Andreas Jaeger <aj@suse.de>
8929
8930 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8931 when it is used.
8932
286abc3d
CM
89332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8934
8935 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8936
477cc68e
L
89372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8938
8939 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8940 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8941
1a0994f5
CD
89422012-05-17 Andreas Jaeger <aj@suse.de>
8943 Carlos O'Donell <carlos_odonell@mentor.com>
8944
8945 [BZ #14059]
8946 * sysdeps/x86_64/multiarch/init-arch.h
8947 (bit_YMM_Usable): Rename to...
8948 (bit_AVX_Usable): ... this.
8949 (bit_FMA4_Usable): New macro.
8950 (bit_XMM_state): New macro.
8951 (bit_YMM_state): New macro.
8952 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8953 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8954 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8955 (CPUID_OSXSAVE): New macro.
8956 (CPUID_AVX): New macro.
8957 (CPUID_FMA4): New macro.
8958 (index_YMM_Usable): Rename to...
8959 (index_AVX_Usable): ... this.
8960 (HAS_AVX): Use HAS_ARCH_FEATURE.
8961 (HAS_FMA4): Likewise.
8962 (HAS_YMM_USABLE): Remove.
8963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8964 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8965 are present.
8966 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8967 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8968 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8969 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8970 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8971
0af797de
CM
89722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8973
8974 * math/libm-test.c: Support platforms without multiple rounding modes.
8975 * math/bug-nextafter.c: Support platforms without FP exceptions.
8976 * math/bug-nexttoward.c: Likewise.
8977 * math/test-fenv.c: Likewise.
8978 * math/test-misc.c: Likewise.
8979 * stdlib/bug-getcontext.c: Likewise.
8980
e39745ff
AJ
89812012-05-17 Andreas Jaeger <aj@suse.de>
8982
8983 * manual/examples/search.c (critter_cmp): Change signature to
8984 avoid warnings.
8985 * manual/string.texi (Collation Functions): Likewise.
8986
48970aba
L
89872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * bits/types.h: Fold copyright years.
8990 * bits/typesizes.h: Likewise.
8991 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8993 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8994 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8995 * time/time.h: Likewise.
8996
bedee953
PP
89972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8998
8999 [BZ #208]
9000 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9001 in instead of returning them. Return void.
9002 (__libc_mallinfo): Accumulate over all arenas.
9003 (__malloc_stats): Adjust for change in int_mallinfo interface.
9004
61653dfb
RM
90052012-05-16 Roland McGrath <roland@hack.frob.com>
9006
30b99d79
RM
9007 [BZ #10375]
9008 * configure.in (NM): Add AC_CHECK_TOOL for it.
9009 (libc_extra_cflags): New substituted variable.
9010 Check for -fstack-protector being used implicitly.
9011 * configure: Regenerated.
9012 * config.make.in (config-extra-cflags): New variable,
9013 gets @libc_extra_cflags@.
9014 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9015
61653dfb
RM
9016 [BZ #10375]
9017 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9018 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9019 * configure: Regenerated.
9020 * config.make.in (CPPUNDEFS): New substituted variable.
9021 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9022 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9023 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9024
661768bb
L
90252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9028 (mq_attr): Use __syscall_slong_t.
9029
d4261567
L
90302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9033 Check __x86_64__ instead of __WORDSIZE.
9034 (_STAT_VER_LINUX): Likewise.
9035 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9036 __syscall_ulong_t and __syscall_slong_t.
9037 (stat64): Likewise.
9038
cf3ff365
L
90392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9040
9041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9042
76cf3e4d
L
90432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9044
9045 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9046
a637753a
L
90472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9048
9049 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9050 __syscall_ulong_t.
9051
d5e05119
L
9052 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9053 include <bits/wordsize.h>. Check __x86_64__ instead of
9054 __WORDSIZE.
9055 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9056 defined.
9057 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9058
f62ee380
L
9059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9060 include <bits/wordsize.h>. Check __x86_64__ instead of
9061 __WORDSIZE.
9062 (user_regs_struct): Use "__extension__ unsigned long long"
9063 instead of "unsigned long" if __x86_64__ is defined.
9064 (user): Likewise. Pad after pointer field if __ILP32__ is
9065 defined.
9066
4e124ced
JM
90672012-05-16 Joseph Myers <joseph@codesourcery.com>
9068
6a3951a0
JM
9069 * configure.in (makeinfo): Require version 4.5 or later. Allow
9070 versions 5 to 9.
9071 * configure: Regenerated.
9072 * manual/install.texi (texinfo): Increase version requirement to
9073 4.5 or later.
9074 * INSTALL: Regenerated.
9075
4e124ced
JM
9076 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9077
953ca31a
L
90782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9081
617aca05
L
9082 * sysdeps/x86_64/x32/ffs.c: New file.
9083
5762f7ae
L
9084 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9085 __syscall_ulong_t.
9086 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9087 defined. Use __syscall_ulong_t.
9088 (shminfo): Use __syscall_ulong_t.
9089 (shm_info): Likewise.
9090
a26b6856
L
9091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9092 __syscall_ulong_t.
9093
cb2b9ef7
L
9094 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9095 <bits/wordsize.h>.
9096 (msgqnum_t): Use __syscall_ulong_t.
9097 (msglen_t): Likewise.
9098 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9099 __syscall_ulong_t.
9100
34683bb0
L
9101 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9102 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9103
84a68786
L
9104 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9105
48baa5f1
L
9106 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9107 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9108
180be88b
L
9109 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9110 __syscall_slong_t.
9111
5e90c8ad
L
9112 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9113 include <bits/wordsize.h>. Check __x86_64__ instead of
9114 __WORDSIZE.
9115
23dfb58b
L
9116 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9117 "unsigned long long int" if __x86_64__ is defined.
9118 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9119
ce5d54b0
L
9120 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9121 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9122 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9123
13dc9eac
L
9124 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9125 <stdint.h>.
9126 (GET_PC): Cast to uintptr_t first.
9127 (GET_FRAME): Likewise.
9128 (GET_STACK): Likewise.
9129
a7895d15
L
9130 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9131 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9132 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9134 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9136 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9137 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9138 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9139 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9140 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9141 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9143 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9145 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9146 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9147 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9148 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9149 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9150 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9151 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9152 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9153 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9154 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9156 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9159
656416c9
AS
91602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9161
5bd66283
AS
9162 * Makerules (+depfiles): Also collect depfiles from .oS in
9163 $(extra-objs).
9164 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9165 .oS, $(libnldbl-routines)).
9166
656416c9
AS
9167 * Makerules (native-compile-mkdep-flags): Define.
9168 * sunrpc/Makefile (extra-objs): Add $(addprefix
9169 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9170 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9171 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9172 calling $(make-target-directory).
9173
a46f2169
L
91742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 * bits/types.h (__snseconds_t): Removed.
9177 * time/time.h (struct timespec): Replace __snseconds_t with
9178 __syscall_slong_t.
9179 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9180 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9181 Likewise.
9182 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9183 (__SNSECONDS_T_TYPE): Likewise.
9184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9185 (__SNSECONDS_T_TYPE): Likewise.
9186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9187 (__SNSECONDS_T_TYPE): Likewise.
9188
6af6528b
L
91892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9190
9191 * sysdeps/mach/hurd/bits/typesizes.h
9192 (__SYSCALL_SLONG_TYPE): New macro.
9193 (__SYSCALL_ULONG_TYPE): Likewise.
9194
de986b56
L
91952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9196
9197 * bits/types.h (__syscall_slong_t): New type.
9198 (__syscall_ulong_t): Likewise.
9199
9200 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9201 (__SYSCALL_ULONG_TYPE): Likewise.
9202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9203 (__SYSCALL_SLONG_TYPE): Likewise.
9204 (__SYSCALL_ULONG_TYPE): Likewise.
9205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9206 (__SYSCALL_SLONG_TYPE): Likewise.
9207 (__SYSCALL_ULONG_TYPE): Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9209 (__SYSCALL_SLONG_TYPE): Likewise.
9210 (__SYSCALL_ULONG_TYPE): Likewise.
9211
85736dc7
L
92122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9215 Add sigaltstack-offsets.sym.
9216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9217 <sigaltstack-offsets.h>.
9218 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9219 longjmp_msg pointer.
9220 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9221 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9222 signal stack.
9223 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9224
cc03b296
JM
92252012-05-15 Joseph Myers <joseph@codesourcery.com>
9226
a9538892
JM
9227 * elf/stackguard-macros.h: Remove file.
9228 * sysdeps/generic/stackguard-macros.h: New file.
9229 * sysdeps/i386/stackguard-macros.h: Likewise.
9230 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9231 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9232 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9233 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9234 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9235 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9236 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9237 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9238 <elf/stackguard-macros.h>.
9239
cc03b296
JM
9240 [BZ #14109]
9241 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9242 __aligned__ in attribute.
9243 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9244 (gregset_t): Likewise.
9245
93171016
L
92462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9247
9248 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9249 * sysdeps/x86_64/64/Implies-after: Here. New file.
9250 * sysdeps/x86_64/x32/Implies-after: New file.
9251
d86813a0
L
92522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9253
9254 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9255 and access return value for _dl_profile_fixup. Use R10_LP to
9256 load frame size.
9257
2953ec75
L
92582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9259
9260 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9261
3b550e9e
L
92622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9265 * sysdeps/x86_64/x32/sysdep.h: New file.
9266
eda41706
L
92672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9268
9269 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9270 * sysdeps/x86_64/setjmp.S: Likewise.
9271
9ea01d93
AZ
92722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9273
9274 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9276 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9277 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9278 remove unused global constant.
9279
02a91938
CM
92802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9281
9282 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9283 include of <not-cancel.h>.
9284
6540185f
RM
92852012-05-15 Roland McGrath <roland@hack.frob.com>
9286
9287 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9288
509072a0
AJ
92892012-05-15 Jeff Law <law@redhat.com>
9290 Andreas Jaeger <aj@suse.de>
9291
9292 [BZ #13594]
9293 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9294 out from...
9295 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9296 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9297 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9298 code changing __hst_map_handle.map.
9299
ba75122d
RM
93002012-05-15 Roland McGrath <roland@hack.frob.com>
9301
9302 * configure.in (sysnames): Look for Implies-before and Implies-after
9303 files.
9304 * configure: Regenerated.
9305
890d8bd8
L
93062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9309 8-byte data alignment with LP_SIZE alignment.
9310
f6ee6623
L
93112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9312
9313 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9314 into R10_LP.
9315
ea2626f6
L
93162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9319
085f715e
L
93202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9323 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9325 Likewise.
9326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9327
be8498fc
L
93282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9329
9330 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9331 (stackinfo_sub_sp): Likewise.
9332
70bc83b9
L
93332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9334
9335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9336 RAX_LP.
9337
9bc0b730
L
93382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9339
9340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9341 into R*_LP.
9342
6d2850e7
L
93432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9346 sizes into R*_LP.
9347
3cb84561
L
93482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9349
9350 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9351
54e2ed81
L
93522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9353
9354 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9355 into R11_LP and load __x86_64_shared_cache_size_half into
9356 R8_LP.
9357
8a17f349
L
93582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9361 R8_LP.
9362
777b1eea
AZ
93632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364
9365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9366 logb for POWER7.
9367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9368 logbf for POWER7.
9369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9370 logbl for POWER7.
9371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9372 powerpc32/power7/fpu/s_logb.c via #include.
9373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9374 powerpc32/power7/fpu/s_logbf.c via #include.
9375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9376 powerpc32/power7/fpu/s_logbl.c via #include.
9377
d20d4ac2
JM
93782012-05-15 Joseph Myers <joseph@codesourcery.com>
9379
9380 * README.libm: Remove file.
9381
6cdef1ab
L
93822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9385 count for x32. Use R*_LP and omit operand-size suffix.
9386
0b254d8f
L
93872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9390 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9391 * sysdeps/x86_64/x32/shlib-versions: New file.
9392
ceb809dc
RM
93932012-05-14 Roland McGrath <roland@hack.frob.com>
9394
9395 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9396 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9397 Use _dl_fatal_printf instead.
9398
37f1abd4
JM
93992012-05-14 Joseph Myers <joseph@codesourcery.com>
9400
9401 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9402 set if not set by the user. Do not allow for being unset.
9403 * sysdeps/unix/sysv/linux/configure: Regenerated.
9404
11de3a33
L
94052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9408 the `q' suffix from lea and replace .quad with ASM_ADDR.
9409
e02f153a
L
94102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9411
9412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9413 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9414 instead of $17.
9415 (PTR_DEMANGLE): Likewise.
9416
520ae0fd
L
94172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9420 (LP_OP): Likewise.
9421 (ASM_ADDR): Likewise.
9422 (RAX_LP): Likewise.
9423 (RBP_LP): Likewise.
9424 (RBX_LP): Likewise.
9425 (RCX_LP): Likewise.
9426 (RDI_LP): Likewise.
9427 (RSI_LP): Likewise.
9428 (RSP_LP): Likewise.
9429 (R8_LP): Likewise.
9430 (R9_LP): Likewise.
9431 (R10_LP): Likewise.
9432 (R10_LP): Likewise.
9433 (R11_LP): Likewise.
9434 (R12_LP): Likewise.
9435 (R13_LP): Likewise.
9436 (R14_LP): Likewise.
9437 (R15_LP): Likewise.
9438
b985be81
L
94392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 * sysdeps/x86_64/x32/dl-machine.h: New file.
9442
6a4888ff
AJ
94432012-05-14 Andreas Jaeger <aj@suse.de>
9444
9445 * manual/Makefile (subdir): Remove export of subdir.
9446 (all): Remove target.
9447 (.PHONY): Remove all from list.
9448 (mkinstalldirs): Remove.
9449 (.PHONY): Remove installdirs from list.
9450 ($(inst_infodir)/libc.info): Use make-target-directory.
9451 (installdirs): Remove.
9452 (subdir_%): Remove.
9453 (glibc-targets): Remove.
9454 (lib): Remove.
9455 (stubs): Remove.
9456 ($(objpfx)stubs ../po/manual.pot): Remove.
9457 ($(objpfx)stamp%): Remove.
9458 (make-target-directory): Remove.
9459 (subdir_install): Remove.
9460 (routines): Remove.
9461 (aux): Remove.
9462 (sources): Remove.
9463 (objects): Remove.
9464 (headers): Remove.
9465
9466 [BZ #13750]
9467 * manual/.gitignore: Remove, it's not needed anymore.
9468 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9469 all files in it.
9470 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9471 directory.
9472 (texis): Renamed to $(objpfx)texis.
9473 (texis-path): New, contains path to generated files.
9474 (chapters.%): Use texis-path for complete path, add extra argument
9475 libc-texinfo.sh.
9476 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9477 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9478 (summary,texi, stamp-summary): Use complete path of
9479 files. Generate files in build dir.
9480 (dir-add.texi): Build in build dir.
9481 (libm-err.texi,stamp-libm-err): Likewise.
9482 (version.texi, stamp-version): Likewise.
9483 (.%c.texi): Likewise.
9484 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9485 (mostlyclean): Remove target.
9486 (realclean): Remove target.
9487 (generated): Add new variable with contents from mostlyclean and
9488 realclean, remove entries duplicated in common-mostlyclean, add
9489 stamp-libm-err and stamp-version.
9490 (generated-dirs): Add libc directory.
9491 ($(inst_infodir)/libc.info): Install files from build dir.
9492
9493 * manual/install.texi (Configuring and compiling): Adjust since
9494 the info files are not part of the tar ball anymore.
9495
7ac77294
AJ
94962012-05-14 Andreas Jaeger <aj@suse.de>
9497
9498 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9499 variable.
9500
ffb7875d
JM
95012012-05-14 Joseph Myers <joseph@codesourcery.com>
9502
9503 [BZ #13717]
9504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9505 to 2.2.0 where earlier.
9506 * sysdeps/unix/sysv/linux/configure: Regenerated.
9507 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9508 Remove conditional code.
9509 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9510 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9511 Remove conditional code.
9512 [!__NR_lchown]: Likewise.
9513 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9514 [__NR_lchown]: Likewise.
9515 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9516 comment referencing __ASSUME_LCHOWN_SYSCALL.
9517 * sysdeps/unix/sysv/linux/i386/sigaction.c
9518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9520 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9521 Remove conditional code.
9522 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9523 (__protocol_available): Remove #if 0 code.
9524 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9525 conditional code.
9526 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9527 * sysdeps/unix/sysv/linux/kernel-features.h
9528 (__ASSUME_GETCWD_SYSCALL): Don't define.
9529 (__ASSUME_REALTIME_SIGNALS): Likewise.
9530 (__ASSUME_PREAD_SYSCALL): Likewise.
9531 (__ASSUME_PWRITE_SYSCALL): Likewise.
9532 (__ASSUME_POLL_SYSCALL): Likewise.
9533 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9534 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9535 non-SPARC.
9536 (__ASSUME_SIOCGIFNAME): Don't define.
9537 (__ASSUME_MSG_NOSIGNAL): Likewise.
9538 (__ASSUME_SENDFILE): Define unconditionally.
9539 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9540 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9541 conditional code.
9542 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9543 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9544 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9545 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9546 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9547 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9548 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9550 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9553 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9556 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9573 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9574 Remove conditional code.
9575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9576 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9577 Remove conditional code.
9578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9579 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9580 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9581 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9582 Remove conditional code.
9583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9584 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9585 Remove conditional code.
9586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9587 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9588 Remove conditional code.
9589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9590 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9591 Remove conditional code.
9592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9593 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9594 Remove conditional code.
9595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9596 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9599 * sysdeps/unix/sysv/linux/sigaction.c
9600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9602 * sysdeps/unix/sysv/linux/sigpending.c
9603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9605 * sysdeps/unix/sysv/linux/sigprocmask.c
9606 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9607 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9608 * sysdeps/unix/sysv/linux/sigsuspend.c
9609 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9610 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9611 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9612 (__libc_missing_rt_sigs): Remove.
9613 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9614 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9615 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9616 Remove conditional code.
9617 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9618 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9619 return 1.
9620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9621 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9623 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9624
1bfb7291
AJ
96252012-05-14 Andreas Jaeger <aj@suse.de>
9626
caae5a81
AJ
9627 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9628 it's not used in glibc.
9629 (__coshm1): Likewise.
9630 (__acosh1p): Likewise.
9631 (__sgn): Likewise.
9632
1bfb7291
AJ
9633 * manual/string.texi (Copying and Concatenation): Add missing
9634 variable in concat example.
9635 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9636
c044d724
L
96372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9638
144c5467 9639 [BZ #14103]
c044d724
L
9640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9641 __builtin_clzl with __builtin_clzll.
9642
2523c62b
L
96432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9644
9645 [BZ #14104]
9646 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9647 libc_freeres_ptr.
9648
d7bb4c42
LD
96492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9650
9651 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9652 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9653 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9654 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9655
9dc4e1fb
MF
96562012-05-14 Mike Frysinger <vapier@gentoo.org>
9657
9658 * NEWS: Update ia64 info.
9659
c7df0112
AS
96602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9661
9662 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9663 used as bcopy.
9664
dc70356c
TS
96652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9666
9667 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9668 * sysdeps/unix/syscalls.list (dup3): Likewise.
9669 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9670 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9671
9fb1a21f
L
96722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9673
9674 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9675 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9676
4822a2a5
L
96772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9680 thread pointer.
9681 (TLS_IE): Use mov/add instead of movq/addq to load thread
9682 pointer.
9683 (TLS_GD_PREFIX): New.
9684 (TLS_GD): Use it.
9685
842b81d6
DM
96862012-05-11 David S. Miller <davem@davemloft.net>
9687
9688 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9689 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9690 (_FPU_SETCW): Likewise.
9691
1cf463cd
L
96922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9695 is 32-byte aligned.
9696
60cc4a18
AS
96972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9698
9699 [BZ #11837]
9700 * iconvdata/gb18030.c: Update tables.
9701 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9702 characters specially.
9703 (BODY for TO_LOOP): Add encoding of missing ranges.
9704
febb44a4
TS
97052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9706
9707 [BZ #13673]
9708 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9709 * sysdeps/mach/hurd/dup3.c: Likewise.
9710 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9711 * sysdeps/powerpc/memmove.c:: Likewise.
9712
0a10fb9e
L
97132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9714
9715 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9716 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9717
df8a552f
L
97182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 * elf/elf.h (R_X86_64_RELATIVE64): New.
9721 (R_X86_64_NUM): Updated.
9722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9723 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9724 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9725 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9726 tst-quad1pie tst-quad2pie
9727 (modules-names): Add tst-quadmod1 tst-quadmod2.
9728 ($(objpfx)tst-quad1): New dependency.
9729 ($(objpfx)tst-quad2): Likewise.
9730 ($(objpfx)tst-quad1pie): Likewise.
9731 ($(objpfx)tst-quad2pie): Likewise.
9732 * sysdeps/x86_64/tst-quad1.c: New file.
9733 * sysdeps/x86_64/tst-quad1pie.c: New file.
9734 * sysdeps/x86_64/tst-quad2.c: Likewise.
9735 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9736 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9737 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9738 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9739 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9740
f34d6f84
ST
97412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9742
f42d41d1
ST
9743 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9744 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9745 * streams/stropts.h (t_scalar_t): Define type.
9746
3c3571fc
ST
9747 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9748 (_PATH_PRESERVE): Set to "/var/lib".
9749 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9750
61f06bd3
ST
9751 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9752 instead of int.
9753
918d4d71
ST
9754 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9755 if __dir_mkfile succeeded.
9756
f34d6f84
ST
9757 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9758 checking for _hurd_dtablesize. Unlock it right after having
9759 finished _hurd_dtable allocation.
9760
10589b4a
TS
97612012-05-10 Thomas Schwinge <thomas@schwinge.name>
9762
674cdbc7
TS
9763 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9764 * sysdeps/mach/hurd/configure: Regenerated.
9765 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9766 special-casing to...
9767 * sysdeps/gnu/configure.in: ... this new file.
9768 * sysdeps/unix/sysv/linux/configure: Regenerated.
9769 * sysdeps/gnu/configure: New generated file.
9770
8e41b99f
TS
9771 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9772 for Linux: use nsec instead of usec, as well as:
9773 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9774 members of type struct timespec.
9775 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9776 New macros.
9777 (struct stat64): Likewise.
9778 (_STATBUF_ST_NSEC): New macro.
9779 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9780
10589b4a
TS
9781 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9782 __strtoul_internal rather than strtoul.
9783
63643c85
PT
97842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9785
9786 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9787 and reject them.
9788
3faebe6a
ST
97892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9790
9791 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9792 which preserves existing values.
9793 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9794
c6474b07
PT
97952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9796
9797 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9798 TIMEOUT values. Return EINVAL for NFDS values either negative or
9799 greater than FD_SETSIZE.
9800
1043890b
ST
98012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9802
9803 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9804 allocated, call __vm_protect to finish enabling the existing space, and
9805 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9806 allocate the remainder.
9807
37ed8b9b
PT
98082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9809
9810 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9811 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9812
db653660
ST
98132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9814
37ed8b9b
PT
9815 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9816 sysdeps/mach/hurd/readlink.c.
b29d4053 9817
db653660
ST
9818 * posix/tst-sysconf.c (posix_options): Only use
9819 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9820 _POSIX_SYNCHRONIZED_IO when they are defined
9821 * sysdeps/mach/hurd/bits/posix_opt.h:
9822 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9823 (_XOPEN_REALTIME): Undefine macro.
9824 (_XOPEN_REALTIME_THREADS): Undefine macro.
9825 (_XOPEN_SHM): Undefine macro.
9826 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9827 macro to -1.
9828 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9829 macro to -1.
9830 (_POSIX_ASYNC_IO): Undefine macro.
9831 (_POSIX_PRIORITIZED_IO): Undefine macro.
9832 (_POSIX_SPIN_LOCKS): Define macro to -1.
9833
ee16e894
ST
9834 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9835 SA_NODEFER, SA_RESETHAND.
9836 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9837 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9838 F_DUPFD_CLOEXEC.
9839
6103ae3b
TS
98402012-05-10 Thomas Schwinge <thomas@schwinge.name>
9841
9842 * elf/Makefile (pldd-modules): Define unconditionally.
9843
80b4e5f3
TS
98442012-05-10 Thomas Schwinge <thomas@schwinge.name>
9845
9846 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9847
edadcbd6
ST
98482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9849
9850 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9851 Return ENOENT when name is empty.
9852 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9853
80694780
TS
98542012-05-10 Thomas Schwinge <thomas@schwinge.name>
9855
1792c087
TS
9856 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9857
80694780
TS
9858 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9859
6b645f0d
ST
98602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9861
80694780
TS
9862 Fix mlock in all cases except non-readable pages.
9863 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9864 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9865
6b645f0d
ST
9866 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9867 (__mkdir): When path is `/', just fail with EEXIST.
9868 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9869
e468f8a3
TS
98702012-05-10 Thomas Schwinge <thomas@schwinge.name>
9871
9872 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9873 <sys/uio.h> (for writev).
9874 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9875 and <sys/param.h> (for MIN).
9876
a4186cff
PT
98772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9878
9879 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9880 REQUESTED_TIME. Properly set the remaining time and return EINTR
9881 if interrupted.
9882
510bbf14
TS
98832012-05-10 Thomas Schwinge <thomas@schwinge.name>
9884
9885 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9886 Depend on against $(link-rpcuserlibs).
9887
5d5722e8
ST
98882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9889
a4186cff
PT
9890 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9891 (__libc_stack_end): Do not use attribute_relro.
9892 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9893 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9894 to libthread-provided value.
a4186cff
PT
9895 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9896 attribute_relro.
5d5722e8 9897
37233df9
TS
98982012-05-10 Thomas Schwinge <thomas@schwinge.name>
9899
be971a2b
TS
9900 [BZ #3748]
9901 * bits/libc-lock.h (__libc_once_get): New macro.
9902 * sysdeps/mach/bits/libc-lock.h: Likewise.
9903 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9905 instead of using implementation details.
9906
37233df9
TS
9907 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9908 * libio/freopen.c: Likewise.
9909 * libio/freopen64.c: Likewise.
9910 * misc/syslog.c: Likewise.
9911 * nscd/connections.c: Likewise.
9912 * nscd/netgroupcache.c: Likewise.
9913 * sysdeps/posix/getcwd.c: Likewise.
9914
38de94a5
RM
99152012-05-10 Roland McGrath <roland@hack.frob.com>
9916
9917 * math/w_ilogbf.c: Add #include <limits.h>.
9918
67530489
ST
99192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9920
a4186cff 9921 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9922 path instead of returning without unlocking.
9923
67530489
ST
9924 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9925 immediate-write ioctls.
9926 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9927
5aa3a74a
TS
99282012-05-10 Thomas Schwinge <thomas@schwinge.name>
9929
18bad2ae
TS
9930 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9931 __builtin_frame_address instead of making assumptions about the
9932 location of the return address relative to DATA. Force early load of
9933 the return address.
9934 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9935 __builtin_frame_address.
9936
5aa3a74a
TS
9937 dup3 for GNU Hurd.
9938 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9939 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9940 implement dup3 and do some further code clean-ups.
9941 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9942 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9943
ecd0de9a
ST
99442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9945
cd9fa985
ST
9946 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9947
a4186cff
PT
9948 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9949 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9950 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9951 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9952 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9953 d->port.lock.
802ca5a5 9954
a4186cff
PT
9955 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9956 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9957 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9958
bcf55240
TS
99592012-05-10 Thomas Schwinge <thomas@schwinge.name>
9960
6960eb42
TS
9961 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9962 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9963 definitions.
9964
eb43375f
TS
9965 accept4 for GNU Hurd.
9966 * include/sys/socket.h (__libc_accept4): New prototype.
9967 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9968 to implement __libc_accept4.
9969 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9970 __libc_accept4.
9971 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9972
bcf55240
TS
9973 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9974 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9975 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9976 signal-defines.sym.
9977
6178c55b
ST
99782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9979
a4186cff 9980 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9981
6f080c2f
TS
99822012-05-10 Thomas Schwinge <thomas@schwinge.name>
9983
9984 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9985 assertion on O_CLOEXEC flag.
9986 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9987 * hurd/intern-fd.c: Likewise.
9988 * hurd/port2fd.c: Likewise.
9989
bcfe3a54
ST
99902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9991
9992 [BZ #3906]
9993 * bits/in.h (IPV6_PKTINFO): Define new macro.
9994 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9995
89c9aa49
AZ
99962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997
9998 [BZ #13954]
9999 [BZ #13955]
10000 [BZ #13956]
10001 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10003 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10006 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10007 * math/libm-test.inc (logb_test) : Additional logb tests.
10008
021db4be
AJ
100092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10010 Andreas Jaeger <aj@suse.de>
10011
10012 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10013 * configure: Regenerated.
10014 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10015 * config.make.in (link-obsolete-rpc): New substituted variable.
10016 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10017 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10018 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10019 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10020 so that libc.a contains the symbols.
10021 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10022 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10023 * sunrpc/auth_none.c: Likewise.
10024 * sunrpc/auth_unix.c: Likewise.
10025 * sunrpc/authdes_prot.c: Likewise.
10026 * sunrpc/authuxprot.c: Likewise.
10027 * sunrpc/clnt_gen.c: Likewise.
10028 * sunrpc/clnt_perr.c: Likewise.
10029 * sunrpc/clnt_raw.c: Likewise.
10030 * sunrpc/clnt_simp.c: Likewise.
10031 * sunrpc/clnt_tcp.c: Likewise.
10032 * sunrpc/clnt_udp.c: Likewise.
10033 * sunrpc/clnt_unix.c: Likewise.
10034 * sunrpc/des_crypt.c: Likewise.
10035 * sunrpc/des_soft.c: Likewise.
10036 * sunrpc/get_myaddr.c: Likewise.
10037 * sunrpc/key_call.c: Likewise.
10038 * sunrpc/key_prot.c: Likewise.
10039 * sunrpc/netname.c: Likewise.
10040 * sunrpc/pm_getmaps.c: Likewise.
10041 * sunrpc/pm_getport.c: Likewise.
10042 * sunrpc/pmap_clnt.c: Likewise.
10043 * sunrpc/pmap_prot.c: Likewise.
10044 * sunrpc/pmap_prot2.c: Likewise.
10045 * sunrpc/pmap_rmt.c: Likewise.
10046 * sunrpc/publickey.c: Likewise.
10047 * sunrpc/rpc_cmsg.c: Likewise.
10048 * sunrpc/rpc_common.c: Likewise.
10049 * sunrpc/rpc_dtable.c: Likewise.
10050 * sunrpc/rpc_prot.c: Likewise.
10051 * sunrpc/rpc_thread.c: Likewise.
10052 * sunrpc/rtime.c: Likewise.
10053 * sunrpc/svc.c: Likewise.
10054 * sunrpc/svc_auth.c: Likewise.
10055 * sunrpc/svc_raw.c: Likewise.
10056 * sunrpc/svc_run.c: Likewise.
10057 * sunrpc/svc_tcp.c: Likewise.
10058 * sunrpc/svc_udp.c: Likewise.
10059 * sunrpc/svc_unix.c: Likewise.
10060 * sunrpc/svcauth_des.c: Likewise.
10061 * sunrpc/xcrypt.c: Likewise.
10062 * sunrpc/xdr.c: Likewise.
10063 * sunrpc/xdr_array.c: Likewise.
10064 * sunrpc/xdr_float.c: Likewise.
10065 * sunrpc/xdr_intXX_t.c: Likewise.
10066 * sunrpc/xdr_mem.c: Likewise.
10067 * sunrpc/xdr_rec.c: Likewise.
10068 * sunrpc/xdr_ref.c: Likewise.
10069 * sunrpc/xdr_sizeof.c: Likewise.
10070 * sunrpc/xdr_stdio.c: Likewise.
10071
b5c086a2
RM
100722012-05-10 Roland McGrath <roland@hack.frob.com>
10073
10074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10075 change. Update copyright years.
10076
6d74dd09
JM
100772012-05-10 Joseph Myers <joseph@codesourcery.com>
10078
10079 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10080
28e72501
MK
100812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10082 Joseph Myers <joseph@codesourcery.com>
10083 Paul Pluzhnikov <ppluzhnikov@google.com>
10084
10085 [BZ #14012]
10086 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10087 requiring rpcgen.
10088 [cross-compiling] (extra-libs): Likewise.
10089 [cross-compiling] (extra-libs-others): Likewise.
10090 [cross-compiling] (librpcsvc-routines): Likewise.
10091 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10092 [cross-compiling] (omit-deps): Likewise.
10093 (sunrpc-CPPFLAGS): New variable.
10094 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10095 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10096 (cross-rpcgen-objs): New variable.
10097 (extra-objs): Append $(cross-rpcgen-objs).
10098 ($(cross-rpcgen-objs)): New rule.
10099 ($(objpfx)cross-rpcgen): Likewise.
10100 (rpcgen-cmd): Define to use $(built-program-file). Expand
10101 comment.
10102 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10103 ($(objpfx)x%.stmp): Likewise.
10104 * sunrpc/proto.h [IS_IN_build] (_): Define.
10105 [IS_IN_build] (_libc_intl_domainname): Likewise.
10106
c8c59454
L
101072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10110 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10111 and R_X86_64_TPOFF64.
10112
6f27cd16
JM
101132012-05-10 Joseph Myers <joseph@codesourcery.com>
10114
10115 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10116 sysdeps/unix/sysv/syscalls.list.
10117 (stime): Likewise.
10118 (utime): Likewise.
10119 * sysdeps/unix/sysv/syscalls.list: Remove file.
10120
02467e1c
PE
101212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10122
10123 [BZ #3440]
10124 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10125 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10126 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10127 (__LC_IDENTIFICATION): Make these macros useful in #if
10128 expressions, as required by C99.
10129
da392631
AS
101302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10131
10132 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10133 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10134 after this.
10135
8115f29b
L
101362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10137
10138 * stdlib/longlong.h: Updated from GCC.
10139
bdd74070
AJ
101402012-05-09 Andreas Jaeger <aj@suse.de>
10141
edfe0dbe
AJ
10142 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10143 default is first entry.
10144 (run_mode): Set type.
10145 (main): Remove informal message about syslog.
10146 (options): Fix typo.
10147
bcfe3a54
ST
10148 [BZ #14053]
10149 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10150 to asm.
bcfe3a54
ST
10151 (lrint): Likewise.
10152 (llrintf): Likewise.
10153 (llrint): Likewise.
10154 (rint): Likewise.
10155 (rintf): Likewise.
10156 (nearbyint): Likewise.
10157 (nearbyintf): Likewise.
bdd74070 10158
91d8d69e
AJ
101592012-05-09 Andreas Jaeger <aj@suse.de>
10160 Pedro Alves <palves@redhat.com>
10161
10162 * nscd/nscd.c (run_mode): Use enum.
10163 (main): Cleanup coding style issue.
10164
bb90b80b
AJ
101652012-05-09 Alexandre Oliva <aoliva@redhat.com>
10166 Andreas Jaeger <aj@suse.de>
10167
bcfe3a54
ST
10168 * nscd/nscd.c (go_background): Replaced with...
10169 (run_mode): ... this.
bb90b80b 10170 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10171 (options): Add -F --foreground.
10172 (main): Implement it.
10173 (parse_opt): Parse it.
bb90b80b 10174
1a4b75a1
AJ
101752012-05-09 Andreas Jaeger <aj@suse.de>
10176
10177 [BZ #14083]
10178 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10179 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10180 -Wconversion warning.
10181 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10182 Likewise.
10183
b1cc2472
JM
101842012-05-09 Joseph Myers <joseph@codesourcery.com>
10185
10186 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10187 == 0.
10188 (LC_ALL): Use macro-int-constant.
10189 (LC_COLLATE): Likewise.
10190 (LC_CTYPE): Likewise.
10191 (LC_MESSAGES): Likewise.
10192 (LC_MONETARY): Likewise.
10193 (LC_NUMERIC): Likewise.
10194 (LC_TIME): Likewise.
10195 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10196 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10198 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10199 Specify type.
10200 [C99-based standards] (float_t): Expect type.
10201 [C99-based standards] (double_t): Expect type.
10202 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10203 type.
10204 [C99-based standards] (HUGE_VALL): Likewise.
10205 [C99-based standards] (INFINITY): Likewise.
10206 [C99-based standards] (NAN): Likewise.
10207 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10208 [C99-based standards] (FP_NAN): Likewise.
10209 [C99-based standards] (FP_NORMAL): Likewise.
10210 [C99-based standards] (FP_SUBNORMAL): Likewise.
10211 [C99-based standards] (FP_ZERO): Likewise.
10212 [C99-based standards] (FP_FAST_FMA): Use
10213 optional-macro-int-constant. Specify type. Require == 1.
10214 [C99-based standards] (FP_FAST_FMAF): Likewise.
10215 [C99-based standards] (FP_FAST_FMAL): Likewise.
10216 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10217 [C99-based standards] (FP_ILOGBNAN): Likewise.
10218 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10219 Specify type.
10220 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10221 [C99-based standards] (math_errhandling): Specify type.
10222 [ISO99 || ISO11] (signgam): Do not allow.
10223 [non-C99-based standards] (copysignf): Do not allow.
10224 [non-C99-based standards] (exp2f): Likewise.
10225 [non-C99-based standards] (log2f): Likewise.
10226 [non-C99-based standards] (modff): Allow.
10227 [non-C99-based standards] (erff): Do not allow.
10228 [non-C99-based standards] (erfcf): Likewise.
10229 [non-C99-based standards] (gammaf): Likewise.
10230 [non-C99-based standards] (hypotf): Likewise.
10231 [non-C99-based standards] (j0f): Likewise.
10232 [non-C99-based standards] (j1f): Likewise.
10233 [non-C99-based standards] (jnf): Likewise.
10234 [non-C99-based standards] (lgammaf): Likewise.
10235 [non-C99-based standards] (tgammaf): Likewise.
10236 [non-C99-based standards] (y0f): Likewise.
10237 [non-C99-based standards] (y1f): Likewise.
10238 [non-C99-based standards] (ynf): Likewise.
10239 [non-C99-based standards] (isnanf): Likewise.
10240 [non-C99-based standards] (acoshf): Likewise.
10241 [non-C99-based standards] (asinhf): Likewise.
10242 [non-C99-based standards] (atanhf): Likewise.
10243 [non-C99-based standards] (cbrtf): Likewise.
10244 [non-C99-based standards] (expm1f): Likewise.
10245 [non-C99-based standards] (ilogbf): Likewise.
10246 [non-C99-based standards] (log1pf): Likewise.
10247 [non-C99-based standards] (logbf): Likewise.
10248 [non-C99-based standards] (nextafterf): Likewise.
10249 [non-C99-based standards] (remainderf): Likewise.
10250 [non-C99-based standards] (rintf): Likewise.
10251 [non-C99-based standards] (scalbf): Likewise.
10252 [non-C99-based standards] (copysignl): Likewise.
10253 [non-C99-based standards] (exp2l): Likewise.
10254 [non-C99-based standards] (log2l): Likewise.
10255 [non-C99-based standards] (modfl): Allow.
10256 [non-C99-based standards] (erfl): Do not allow.
10257 [non-C99-based standards] (erfcl): Likewise.
10258 [non-C99-based standards] (gammal): Likewise.
10259 [non-C99-based standards] (hypotl): Likewise.
10260 [non-C99-based standards] (j0l): Likewise.
10261 [non-C99-based standards] (j1l): Likewise.
10262 [non-C99-based standards] (jnl): Likewise.
10263 [non-C99-based standards] (lgammal): Likewise.
10264 [non-C99-based standards] (tgammal): Likewise.
10265 [non-C99-based standards] (y0l): Likewise.
10266 [non-C99-based standards] (y1l): Likewise.
10267 [non-C99-based standards] (ynl): Likewise.
10268 [non-C99-based standards] (isnanl): Likewise.
10269 [non-C99-based standards] (acoshl): Likewise.
10270 [non-C99-based standards] (asinhl): Likewise.
10271 [non-C99-based standards] (atanhl): Likewise.
10272 [non-C99-based standards] (cbrtl): Likewise.
10273 [non-C99-based standards] (expm1l): Likewise.
10274 [non-C99-based standards] (ilogbl): Likewise.
10275 [non-C99-based standards] (log1pl): Likewise.
10276 [non-C99-based standards] (logbl): Likewise.
10277 [non-C99-based standards] (nextafterl): Likewise.
10278 [non-C99-based standards] (remainderl): Likewise.
10279 [non-C99-based standards] (rintl): Likewise.
10280 [non-C99-based standards] (scalbl): Likewise.
10281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10282 [non-C99-based standards] (FP_*): Do not allow.
10283 [C99-based standards] (FP_*): Change to
10284 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10285 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10286 allow.
10287 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10288 (SIG_ERR): Likewise.
10289 [X/Open-based standards] (SIG_HOLD): Likewise.
10290 (SIG_IGN): Likewise.
10291 (SIGABRT): Use macro-int-constant. Specify type. Require
10292 positive value.
10293 (SIGFPE): Likewise.
10294 (SIGILL): Likewise.
10295 (SIGINT): Likewise.
10296 (SIGSEGV): Likewise.
10297 (SIGTER): Likewise.
10298 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10299 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10300 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10301 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10302 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10303 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10304 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10305 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10306 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10307 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10308 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10309 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10310 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10311 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10312 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10313 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10314 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10315 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10316 [X/Open-based standards] (SIGTRAP): Likewise.
10317 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10318 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10319 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10320 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10321 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10322 allow.
10323
b9f1922d
IW
103242012-05-08 Ian Wienand <ianw@vmware.com>
10325
10326 [BZ #14080]
10327 * time/tzset.c (__tzset_parse_tz): Update default rules for
10328 daylight time changes in the Energy Policy Act of 2005.
10329
1db86e88
AJ
103302012-05-09 Andreas Jaeger <aj@suse.de>
10331
10332 [BZ #13983]
10333 * elf/ldconfig.c (parse_conf): Change string to make clear that
10334 ldconfig only issued a warning if ld.so.conf does not exist.
10335
dee4a4e3
DM
103362012-05-08 David S. Miller <davem@davemloft.net>
10337
ee0db190
DM
10338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10339 movxtod instead of popping the value on the stack.
10340
dee4a4e3
DM
10341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10342
6a43ec98
CD
103432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10344
10345 * config.h.in: Add HAVE_ARM_PCS_VFP.
10346
05c2c961
RMG
103472012-05-08 Roland Mc Grath <roland@hack.frob.com>
10348
bcfe3a54
ST
10349 [BZ #13979]
10350 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10351 checking but the checks are disabled for any reason.
05c2c961 10352
4b30f61a
L
103532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10354
10355 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10356 and ELF64_R_TYPE with ELFW(R_TYPE).
10357
eee2bc67
JM
103582012-05-08 Joseph Myers <joseph@codesourcery.com>
10359
7ea5391a
JM
10360 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10361 (ulimit): Likewise.
10362
eee2bc67
JM
10363 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10364 (settimeofday): Likewise.
10365
abb66a67
MF
103662012-05-08 Mike Frysinger <vapier@gentoo.org>
10367
10368 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10369 a struct th_u2 inside the union, and move tu_block/tu_code into
10370 a new th_u3 union of tu_block/tu_code inside of that. Move
10371 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10372 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10373 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10374 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10375 (th_stuff): Change to th_u1.tu_stuff.
10376 (th_data): Define.
10377 (th_msg): Change to th_u1.th_u2.tu_data.
10378
7f18b530
DM
103792012-05-07 David S. Miller <davem@davemloft.net>
10380
05760585
DM
10381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10382
7f18b530
DM
10383 [BZ #14074]
10384 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10385 (SETUP_PIC_REG): Use it.
10386 (SETUP_PIC_REG_LEAF): Use it.
10387
495fd99f
JM
103882012-05-07 Joseph Myers <joseph@codesourcery.com>
10389
10390 [BZ #13885]
10391 [BZ #13923]
10392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10393 USE_AS_EXPM1L.
10394 (EXPL_FINITE): Likewise.
10395 (FLDLOG): Likewise.
10396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10397 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10398 e_expl.S.
10399 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10400 USE_AS_EXPM1L.
10401 (EXPL_FINITE): Likewise.
10402 (FLDLOG): Likewise.
10403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10404 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10405 e_expl.S.
10406 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10407 test of -max_value argument for long double.
10408 * sysdeps/i386/fpu/libm-test-ulps: Update.
10409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410
6693d694
DM
104112012-05-06 David S. Miller <davem@davemloft.net>
10412
10413 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10414 quad soft-float symbols whose references which are compiler
10415 generated.
10416 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10417
6c23e11c
JM
104182012-05-06 Joseph Myers <joseph@codesourcery.com>
10419
d8b82cad
JM
10420 [BZ #13884]
10421 [BZ #13914]
10422 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10423 USE_AS_EXP10L.
10424 (EXPL_FINITE): Likewise.
10425 (FLDLOG): Likewise.
10426 (c0): Likewise.
10427 (c1): Likewise.
10428 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10429 Adjust comments for base varying.
10430 (__expl_finite): Change alias to EXPL_FINITE.
10431 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10432 e_expl.S.
10433 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10434 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10436 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10437 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10438 USE_AS_EXP10L.
10439 (EXPL_FINITE): Likewise.
10440 (FLDLOG): Likewise.
10441 (c0): Likewise.
10442 (c1): Likewise.
10443 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10444 Adjust comments for base varying.
10445 (__expl_finite): Change alias to EXPL_FINITE.
10446 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10447 tests for bugs.
10448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10449
6c23e11c
JM
10450 [BZ #14064]
10451 * math/libm-test.inc (check_float_internal): Correct ulp
10452 calculation for subnormal expected results.
10453
29ba805c
AJ
104542012-05-06 Andreas Jaeger <aj@suse.de>
10455
10456 * Makeconfig (+math-flags): New, set to -frounding-math.
10457 (+cflags): Add +math-flags so that all of glibc gets compiled with
10458 it.
10459
10460 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10461
7b17aeda
JM
104622012-05-05 Joseph Myers <joseph@codesourcery.com>
10463
5779f134
JM
10464 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10465 Disable one test.
10466
41498f4d
JM
10467 [BZ #13787]
10468 [BZ #13922]
10469 [BZ #14036]
10470 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10471 (__ieee754_expl): Allow for and saturate large arguments.
10472 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10473 (u_threshold): Likewise.
10474 (__exp): Call __ieee754_exp before checking for overflow and
10475 underflow.
10476 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10477 (u_threshold): Likewise.
10478 (__expf): Call __ieee754_expf before checking for overflow and
10479 underflow.
10480 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10481 (u_threshold): Likewise.
10482 (__expl): Call __ieee754_expl before checking for overflow and
10483 underflow.
10484 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10485 (__ieee754_expl): Allow for and saturate large arguments.
10486 * math/libm-test.inc (exp_test): Add another test. Do not allow
10487 missing overflow exception on overflow.
10488 (expm1_test): Do not allow missing overflow exception on overflow.
10489
6698b8bf
JM
10490 * sysdeps/i386/fpu/e_expl.c: Move to ...
10491 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10492 rather than using inline asm.
10493 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10494 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10495 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10496
7b17aeda
JM
10497 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10498 (nice): Likewise.
10499 (poll): Likewise.
10500 (signal): Likewise.
10501 (time): Likewise.
10502 (times): Likewise.
10503
f7c85819
JM
105042012-05-04 Joseph Myers <joseph@codesourcery.com>
10505
10506 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10507 sysdeps/unix/common/syscalls.list.
10508 (fchmod): Likewise.
10509 (fchown): Likewise.
10510 (ftruncate): Likewise.
10511 (getrusage): Likewise.
10512 (gettimeofday): Likewise.
10513 (setpgid): Likewise.
10514 (setregid): Likewise.
10515 (setreuid): Likewise.
10516 (sigaction): Likewise.
10517 (truncate): Likewise.
10518 (vhangup): Likewise.
10519 * sysdeps/unix/common/syscalls.list: Remove file.
10520 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10521 * sysdeps/unix/sysv/linux/Implies: Likewise.
10522
336270d0
L
105232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10524
10525 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10527 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10528 Moved to ...
10529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10530 Here.
10531 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10532 to ...
10533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10534 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10535 to ...
10536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10537 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10538 to ...
10539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10540 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10541 to ...
10542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10543 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10544 to ...
10545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10546 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10547 to ...
10548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10549 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10550 to ...
10551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10552 Here.
10553 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10554 to ...
10555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10556 Here.
10557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10558 to ...
10559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10560 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10561 Moved to ...
10562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10563 Here.
10564 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10565 to ...
10566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10567
d128e450
JM
105682012-05-04 Joseph Myers <joseph@codesourcery.com>
10569
fa8ee516
JM
10570 * sysdeps/unix/common/bits/dirent.h: Remove file.
10571 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10572
d128e450
JM
10573 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10574 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10575 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10576 * sysdeps/unix/bsd/isatty.c: Likewise.
10577 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10578 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10579 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10580
ff8faaf0 105812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10582
62881be4 10583 [BZ #13563]
31dc8730
AZ
10584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10585 long double comparison inaccuracies.
10586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10588
6fef930c
AS
105892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10590
10591 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10592 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10593
8f203e6c
JM
105942012-05-04 Joseph Myers <joseph@codesourcery.com>
10595
10596 [BZ #14049]
10597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10598 nonzero digits before rounding a hex value.
10599 * stdlib/tst-strtod.c (tests): Add another test.
10600
5197d9c2
AK
106012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10602
10603 * sysdeps/s390/fpu/libm-test-ulps: Update.
10604
f0c1dedf
AJ
106052012-05-03 Andreas Jaeger <aj@suse.de>
10606
10607 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10608 does not get optimized out.
10609 (malloc_opt_barrier): New.
10610
a65ef2ae 106112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10612 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10613
2b942cb7 10614 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10615 intermediate file deletion.
2b942cb7 10616 (generated): Add .symlist files.
a65ef2ae 10617
54b71e02
JM
106182012-05-03 Joseph Myers <joseph@codesourcery.com>
10619
10620 [BZ #13775]
10621 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10622 Redirect under this condition.
10623 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10624 [__USE_GNU] (__dprintf_chk): Not under this condition.
10625 [__USE_GNU] (__vdprintf_chk): Likewise.
10626 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10627 under this condition.
10628 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10629 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10630 [__USE_XOPEN2K8] (vdprintf): Likewise.
10631 [__USE_GNU] (__dprintf_chk): Not under this condition.
10632 [__USE_GNU] (__vdprintf_chk): Likewise.
10633 [__USE_GNU] (dprintf): Likewise.
10634 [__USE_GNU] (vdprintf): Likewise.
10635
d3dfcc41
RM
106362012-05-03 Roland McGrath <roland@hack.frob.com>
10637
10638 * elf/Makefile (common-generated): Set this instead of generated for
10639 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10640 $(all-built-dso)-derived lists.
10641
7ac30cc5
AJ
106422012-05-03 Andreas Jaeger <aj@suse.de>
10643
0c51e550
AJ
10644 * sysdeps/i386/fpu/libm-test-ulps: Update.
10645
7ac30cc5
AJ
10646 * FAQ: Removed.
10647 * FAQ.in: Likewise.
10648 * scripts/gen-FAQ.pl: Likewise.
10649 * manual/install.texi (Installation): Point to online location of
10650 FAQ.
10651 * Makefile (files-for-dist): Remove FAQ.
10652 (FAQ): Remove.
10653
d4c2917f
AM
106542012-05-02 Allan McRae <allan@archlinux.org>
10655
10656 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10657 (LDFLAGS-reldepmod5.so): Likewise.
10658 (LDFLAGS-reldep6mod1.so): Likewise.
10659 (LDFLAGS-reldep6mod4.so): Likewise.
10660 (LDFLAGS-reldep8mod3.so): Likewise.
10661 (LDFLAGS-unload4mod1.so): Likewise.
10662 (LDFLAGS-unload4mod2.so): Likewise.
10663 (LDFLAGS-tst-initorder): Likewise.
10664 (LDFLAGS-tst-initordera2.so): Likewise.
10665 (LDFLAGS-tst-initordera3.so): Likewise.
10666 (LDFLAGS-tst-initordera4.so): Likewise.
10667 (LDFLAGS-tst-initorderb2.so): Likewise.
10668 (LDFLAGS-noload): Likewise.
10669 (LDFLAGS-next): Likewise.
10670 (LDFLAGS-order2mod1.so): Likewise.
10671 (LDFLAGS-order2mod2.so): Likewise.
10672 (LDFLAGS-tst-initorder2): Likewise.
10673 (LDFLAGS-tst-initorder2a.so): Likewise.
10674 (LDFLAGS-tst-initorder2b.so): Likewise.
10675 (LDFLAGS-tst-initorder2c.so): Likewise.
10676 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10677
d77f993f
DM
106782012-05-02 David S. Miller <davem@davemloft.net>
10679
10680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10681
171a70b4
PP
106822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10683
10684 [BZ #14055]
10685 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10686
0be196ad
AJ
106872012-05-02 Andreas Jaeger <aj@suse.de>
10688
10689 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10690 since we manipulate rounding mode.
10691 (CPPFLAGS-test-idouble.c): Likewise.
10692 (CPPFLAGS-test-ifloat.c): Likewise.
10693 (CFLAGS-test-ldouble.c): Likewise.
10694 (CFLAGS-test-double.c): Likewise.
10695 (CFLAGS-test-float.c): Likewise.
10696 (CFLAGS-test-misc.c): Likewise.
10697 (CFLAGS-test-test-fenv.c): Likewise.
10698
4f9d04aa
AZ
106992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10700
2b942cb7
RM
10701 [BZ #2550]
10702 [BZ #2570]
10703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10704 comparisons to determine direction to adjust input.
4f9d04aa 10705
82a79e7d
RM
107062012-05-01 Roland McGrath <roland@hack.frob.com>
10707
f5a01ca9
RM
10708 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10709 output to the target.
10710
90fe4186
RM
10711 * scripts/localplt.awk: New file.
10712 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10713 (check-localplt-CFLAGS): Variable removed.
10714 ($(all-built-dso:=.jmprel)): New static pattern rule.
10715 (generated): Add those targets.
10716 (localplt-built-dso): New variable.
10717 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10718
10719 * elf/check-localplt.c: File removed.
10720
82397ed6
RM
10721 * scripts/check-execstack.awk: New file.
10722 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10723 (check-execstack-CFLAGS): Variable removed.
10724 ($(objpfx)check-execstack.h): Target removed.
10725 ($(objpfx)execstack-default): New target.
10726 (generated): Add that instead of check-execstack.h.
10727 ($(all-built-dso:=.phdr)): New static pattern rule.
10728 (generated): Add those targets.
10729 * elf/check-execstack.c: File removed.
10730
82a79e7d
RM
10731 * scripts/check-textrel.awk: New file.
10732 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10733 (check-textrel-CFLAGS): Variable removed.
10734 (all-built-dso): Use := to define.o
10735 ($(all-built-dso:=.dyn)): New static pattern rule.
10736 (generated): Add those targets.
10737 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10738 * config.make.in (READELF): New substituted variable.
10739 * elf/check-textrel.c: File removed.
10740
62fde54f 107412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10742
615605c9
JM
10743 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10744 allow.
10745 * conform/data/ctype.h-data [C99-based standards] (isblank):
10746 Expect function.
10747 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10748 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10750 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10751 Specify type. Require positive value.
10752 (EILSEQ): Likewise.
10753 (ERANGE): Likewise.
10754 [ISO || POSIX] (EILSEQ): Do not expect.
10755 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10756 Specify type. Require positive value.
10757 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10773 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10774 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10775 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10779 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10780 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10781 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10782 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10785 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10787 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10788 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10789 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10790 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10791 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10792 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10793 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10794 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10795 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10796 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10797 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10798 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10799 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10800 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10801 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10802 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10803 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10804 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10805 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10806 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10807 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10808 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10809 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10810 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10811 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10812 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10813 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10814 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10815 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10816 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10817 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10818 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10819 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10820 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10821 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10822 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10823 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10824 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10825 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10826 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10827 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10828 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10829 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10830 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10831 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10832 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10833 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10834 Require >= 2.
10835 (FLT_ROUNDS): Expect as macro, not constant.
10836 (FLT_MANT_DIG): Use macro-int-constant.
10837 (DBL_MANT_DIG): Likewise.
10838 (LDBL_MANT_DIG): Likewise.
10839 (FLT_DIG): Likewise.
10840 (DBL_DIG): Likewise.
10841 (LDBL_DIG): Likewise.
10842 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10843 (DBL_MIN_EXP): Likewise.
10844 (LDBL_MIN_EXP): Likewise.
10845 (FLT_MAX_EXP): Use macro-int-constant.
10846 (DBL_MAX_EXP): Likewise.
10847 (LDBL_MAX_EXP): Likewise.
10848 (FLT_MAX_10_EXP): Likewise.
10849 (DBL_MAX_10_EXP): Likewise.
10850 (LDBL_MAX_10_EXP): Likewise.
10851 (FLT_MAX): Use macro-constant.
10852 (DBL_MAX): Likewise.
10853 (LDBL_MAX): Likewise.
10854 (FLT_EPSILON): Use macro-constant. Give upper bound.
10855 (DBL_EPSILON): Likewise.
10856 (LDBL_EPSILON): Likewise.
10857 (FLT_MIN): Likewise.
10858 (DBL_MIN): Likewise.
10859 (LDBL_MIN): Likewise.
10860 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10861 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10862 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10863 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10864 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10865 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10866 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10867 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10868 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10869 [ISO11] (FLT_TRUE_MIN): Likewise.
10870 [ISO11] (LDBL_TRUE_MIN): Likewise.
10871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10872 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10873 (SCHAR_MIN): Use macro-int-constant. Specify type.
10874 (SCHAR_MAX): Likewise.
10875 (UCHAR_MAX): Likewise.
10876 (CHAR_MIN): Likewise.
10877 (CHAR_MAX): Likewise.
10878 (MB_LEN_MAX): Use macro-int-constant.
10879 (SHRT_MIN): Use macro-int-constant. Specify type.
10880 (SHRT_MAX): Likewise.
10881 (USHRT_MAX): Likewise.
10882 (INT_MAX): Likewise.
10883 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10884 bound negative.
10885 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10886 bound with "U".
10887 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10888 bound with "L".
10889 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10890 bound negative. Suffix upper bound with "L".
10891 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10892 bound with "UL".
10893 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10894 Specify type.
10895 [C99-based standards] (LLONG_MAX): Likewise.
10896 [C99-based standards] (ULLONG_MAX): Likewise.
10897 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10898 == 0.
10899 [ISO11] (max_align_t): Require type.
10900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10901
c9140a62
JM
10902 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10903 from $CFLAGS, without defining away __attribute__ calls.
10904 (checknamespace): Use $CFLAGS_namespace.
10905
9af0bf29
JM
10906 * conform/conformtest.pl (@keywords): Only include C99 keywords
10907 for standards based on C99 or C11.
10908
343222a2
JM
10909 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10910 Disable tests.
10911 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10912 UNIX98]: Likewise.
10913
661f8cf0
JM
10914 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10915 usability of symbols in #if.
10916
ee74b9cb
JM
10917 * conform/conformtest.pl: If macro or constant types start
10918 "promoted:", expect the symbol to be of the following type
10919 promoted by the integer promotions.
62fde54f 10920
aafc49b3
JM
10921 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10922 in one place. Also handle "macro-constant".
10923
fefdf574
JM
10924 * conform/conformtest.pl: Only accept expected macro values with
10925 "==". Parse all "macro" lines in one place.
10926 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10927
f2d922fe
JM
10928 * conform/conformtest.pl: Handle braced types on "constant" lines
10929 instead of handling "typed-constant".
10930 * conform/data/signal.h-data: Use "constant" instead of
10931 "typed-constant".
10932
d22956c9
JM
10933 * conform/conformtest.pl: Handle "optional-" at start of lines in
10934 one place rather than duplicating several cases. Handle each
10935 format of "macro" line with initial "optional-".
10936
028e2e38
JM
10937 * conform/conformtest.pl: Only accept expected constant or
10938 optional-constant values with "==". Parse all "constant" lines in
10939 one place. Parse all "optional-constant" lines in one place.
10940 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10941 * conform/data/fmtmsg.h-data: Likewise.
10942 * conform/data/netinet/in.h-data: Likewise.
10943 * conform/data/tar.h-data: Likewise.
10944 * conform/data/limits.h-data: Use "==" form on "constant" and
10945 "optional-constant" lines.
10946
1b8f2850
JM
10947 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10948 Use -std=c99 for XOPEN2K.
10949 (@knownproblems): Remove.
10950 (newtoken): Don't check %isknown.
10951
a05a144b
JM
10952 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10953 Do not expect macro.
10954 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10966 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10967 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10978 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10981 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10982 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10983 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10984 [XPG3] (acosh): Likewise.
10985 [XPG3] (asinh): Likewise.
10986 [XPG3] (atanh): Likewise.
10987 [XPG3] (cbrt): Likewise.
10988 [XPG3] (expm1): Likewise.
10989 [XPG3] (ilogb): Likewise.
10990 [XPG3] (log1p): Likewise.
10991 [XPG3] (logb): Likewise.
10992 [XPG3] (nextafter): Likewise.
10993 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10994 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10995 [XPG3] (remainder): Likewise.
10996 [XPG3] (rint): Likewise.
10997 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10998 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10999 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11000 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11001 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11002 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11003 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11004 [UNIX98 || XOPEN2K] (scalb): Expect.
11005 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11006 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11007 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11008 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11009 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11010 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11011 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11012 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11013 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11014 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11015 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11016 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11017 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11018 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11019 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11020 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11021 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11022 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11023 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11024 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11025 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11026 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11027 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11028 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11029 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11030 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11031 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11032 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11033 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11034 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11035 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11036 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11037 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11038 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11039 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11040 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11041 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11042 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11043 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11044 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11045 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11046 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11047 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11048 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11049 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11050 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11051 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11052 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11053 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11054 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11055 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11056 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11057 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11058 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11059 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11060 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11061 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11062 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11063 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11064 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11065 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11066 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11067 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11068 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11069 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11070 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11071 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11072 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11073 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11074 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11075 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11076 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11077 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11078 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11079 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11080 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11082 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11083 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11084 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11086 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11087 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11088 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11089 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11090 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11091 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11092 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11093 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11094 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11095 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11096 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11097 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11098 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11099 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11100 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11101 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11102 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11103 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11104 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11105 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11106 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11107 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11108 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11109 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11110 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11111 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11112 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11113 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11114 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11115 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11116 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11117 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11118 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11119 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11120 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11121 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11122 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11123 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11124 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11125 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11126 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11127 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11128 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11129 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11130 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11131 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11132 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11133 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11134 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11135 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11136 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11137 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11138 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11139 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11140 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11141 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11142
73c5ebe3
JM
11143 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11144 _XOPEN_SOURCE_EXTENDED for XPG4.
11145
39c33b6c
JM
11146 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11147
62fde54f
JM
11148 * Makeconfig (localtime): Remove variable.
11149 (inst_localtime-file): Likewise.
11150
0741d64c
AS
111512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11152
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11154 Update.
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11156 Update.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11158 Update.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11160 Update.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11162 Update.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11164 Update.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11166 Update.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11168 Update.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11170 Update.
11171
7cb029ee
JM
111722012-05-01 Joseph Myers <joseph@codesourcery.com>
11173
11174 [BZ #2550]
11175 [BZ #2570]
11176 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11177 comparisons to determine direction to adjust input.
11178 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11179 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11181 Likewise.
11182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11183 Likewise.
11184 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11185 Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11187 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11188 Likewise.
11189 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11190 Likewise.
11191 * math/libm-test.inc (nexttoward_test): Add more tests.
11192
412bd966
AS
111932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11194
11195 [BZ #14040]
11196 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11197 in version GLIBC_2.1, not GLIBC_2.0.
11198 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11199 Likewise.
11200
9568c0c2
JM
112012012-04-30 Joseph Myers <joseph@codesourcery.com>
11202
adfbc8ac
JM
11203 [BZ #13942]
11204 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11205 (1 - x) * (1 + x).
11206 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11207 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11208 * math/libm-test.inc (acos_test): Add more tests.
11209 (asin_test): Likewise.
11210 * sysdeps/i386/fpu/libm-test-ulps: Update.
11211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11212
5ba3cc69
JM
11213 [BZ #14034]
11214 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11215 of square root.
11216 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11218 * math/libm-test.inc (acos_test_tonearest): New function.
11219 (acos_test_towardzero): Likewise.
11220 (acos_test_downward): Likewise.
11221 (acos_test_upward): Likewise.
11222 (asin_test_tonearest): Likewise.
11223 (asin_test_towardzero): Likewise.
11224 (asin_test_downward): Likewise.
11225 (asin_test_upward): Likewise.
11226 (main): Call the new functions.
11227 * sysdeps/i386/fpu/libm-test-ulps: Update.
11228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11229
9568c0c2
JM
11230 [BZ #13884]
11231 [BZ #13924]
11232 * math/e_exp10.c: Include <float.h>.
11233 (__ieee754_exp10): Handle underflow here rather than multiplying
11234 large negative argument by M_LN10.
11235 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11236 of __ieee754_expf.
11237 * math/e_exp10l.c: Include <float.h>.
11238 (__ieee754_exp10l): Handle underflow here rather than multiplying
11239 large negative argument by M_LN10l.
11240 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11241 spurious overflow exception on underflow.
11242
5ac3ea17
MP
112432012-04-29 Marek Polacek <polacek@redhat.com>
11244
11245 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11246 (__fortify_function): New macro.
11247 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11248 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11249 __extern_always_inline.
11250 * libio/bits/stdio2.h: Likewise.
11251 * libio/bits/stdio.h: Likewise.
11252 * string/string.h: Likewise.
11253 * string/bits/string3.h: Likewise.
11254 * include/stdio.h: Likewise.
11255 * stdlib/bits/stdlib.h: Likewise.
11256 * stdlib/stdlib.h: Likewise.
11257 * rt/bits/mqueue2.h: Likewise.
11258 * rt/mqueue.h: Likewise.
11259 * posix/bits/unistd.h: Likewise.
11260 * posix/unistd.h: Likewise.
11261 * io/bits/poll2.h: Likewise.
11262 * io/bits/fcntl2.h: Likewise.
11263 * io/fcntl.h: Likewise.
11264 * io/sys/poll.h: Likewise.
11265 * misc/bits/syslog.h: Likewise.
11266 * misc/bits/syslog-ldbl.h: Likewise.
11267 * misc/sys/syslog.h: Likewise.
11268 * socket/bits/socket2.h: Likewise.
11269 * socket/sys/socket.h: Likewise.
11270 * debug/tst-chk1.c: Likewise.
11271 * wcsmbs/bits/wchar2.h: Likewise.
11272 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11273 * wcsmbs/wchar.h: Likewise.
11274
ecf0ebfb
AJ
112752012-04-29 Andreas Jaeger <aj@suse.de>
11276
11277 * Makerules (tests): Remove enable-check-abi protection.
11278 (check-abi-warn): Remove.
11279 (check-abi-%): Remove check-abi-warn usage.
11280
11281 * configure.in: Remove check-abi configure option.
11282 * configure: Regenerated.
11283 * config.make.in (enable-check-abi): Remove.
11284
6d5c57fa
AS
112852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11286
24c5d07e 11287 [BZ #14033]
ded5180a
AS
11288 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11289 double functions to double *_finite functions.
11290
7e0d315d
AS
11291 [BZ #13941]
11292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11293 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11294 LDBL_MIN_EXP.
11295 * stdio-common/Makefile (tests): Add tst-sprintf3.
11296 * stdio-common/tst-sprintf3.c: New file.
11297
6d5c57fa
AS
11298 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11299 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11300
0749ff8b
JM
113012012-04-28 Joseph Myers <joseph@codesourcery.com>
11302
11303 * conform/conformtest.pl: Remove duplicate typed-constant
11304 handling.
11305
8dbd5d7b
DM
113062012-04-28 David S. Miller <davem@davemloft.net>
11307
11308 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11309 (check-abi-%): Remove AWK script prerequisite and explicit
11310 abilist directory.
11311 (check-abi): Rewrite to just diff the symlist with the abilist.
11312 (config-tls, config-abi-config): Delete, no longer used.
11313 (update-abi-%): Remove AWK script and explicit abilist directory.
11314 (update-abi): Rewrite to simply compare and conditionally copy the
11315 symlist and the sysdep abilist file. Remove update-abi-config
11316 checks.
11317 * abilist/ld.abilist: Remove.
11318 * abilist/libBrokenLocale.abilist: Remove.
11319 * abilist/libanl.abilist: Remove.
11320 * abilist/libcrypt.abilist: Remove.
11321 * abilist/libdl.abilist: Remove.
11322 * abilist/librt.abilist: Remove.
11323 * abilist/libthread_db.abilist: Remove.
11324 * abilist/libutil.abilist: Remove.
11325 * scripts/extract-abilist.awk: Remove.
11326 * scripts/merge-abilist.awk: Remove.
11327 * sysdeps/generic/libcidn.abilist: New file.
11328 * sysdeps/generic/libnss_compat.abilist: New file.
11329 * sysdeps/generic/libnss_db.abilist: New file.
11330 * sysdeps/generic/libnss_dns.abilist: New file.
11331 * sysdeps/generic/libnss_files.abilist: New file.
11332 * sysdeps/generic/libnss_hesiod.abilist: New file.
11333 * sysdeps/generic/libnss_nis.abilist: New file.
11334 * sysdeps/generic/libnss_nisplus.abilist: New file.
11335 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11336 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11337 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11338 file.
11339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11340 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11341 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11342 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11343 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11344 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11345 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11346 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11347 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11348 file.
11349 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11350 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11351 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11352 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11353 file.
11354 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11355 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11356 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11357 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11358 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11359 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11360 file.
11361 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11362 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11363 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11364 file.
11365 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11367 New file.
11368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11369 New file.
11370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11371 New file.
11372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11373 New file.
11374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11375 New file.
11376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11377 New file.
11378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11379 New file.
11380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11381 New file.
11382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11383 New file.
11384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11385 New file.
11386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11387 New file.
11388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11389 New file.
11390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11391 New file.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11393 file.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11395 New file.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11397 New file.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11399 file.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11401 New file.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11403 New file.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11405 file.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11407 New file.
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11409 New file.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11411 New file.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11413 New file.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11415 New file.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11417 New file.
11418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11420 file.
11421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11422 New file.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11424 file.
11425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11426 file.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11428 file.
11429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11430 file.
11431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11432 file.
11433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11434 New file.
11435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11436 file.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11438 file.
11439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11440 New file.
11441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11442 file.
11443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11445 file.
11446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11447 New file.
11448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11449 file.
11450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11451 file.
11452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11453 file.
11454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11455 file.
11456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11457 file.
11458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11459 New file.
11460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11461 file.
11462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11463 file.
11464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11465 New file.
11466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11467 file.
11468 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11469 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11470 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11471 file.
11472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11473 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11474 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11475 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11476 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11477 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11478 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11479 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11480 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11481 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11484 file.
11485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11486 New file.
11487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11488 file.
11489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11490 file.
11491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11492 file.
11493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11494 file.
11495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11496 file.
11497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11498 New file.
11499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11500 New file.
11501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11502 file.
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11504 New file.
11505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11506 file.
11507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11509 file.
11510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11511 New file.
11512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11513 file.
11514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11515 file.
11516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11517 file.
11518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11519 file.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11521 file.
11522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11523 New file.
11524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11525 New file.
11526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11527 file.
11528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11529 New file.
11530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11531 file.
11532
41d73a1b
JM
115332012-04-28 Joseph Myers <joseph@codesourcery.com>
11534
11535 * conform/conformtest.pl: Fix typo in handling typed-constant from
11536 allow-header.
11537
28aeeda4
JM
115382012-04-27 Joseph Myers <joseph@codesourcery.com>
11539
adae8f5e
JM
11540 * README: Cut down references to pre-2.6 Linux kernels and
11541 Linuxthreads. Update lists of configurations in libc and ports
11542 and sort alphabetically. Say "or newer" with Linux kernel version
11543 requirements.
11544
28aeeda4
JM
11545 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11546
a462cb63
RA
115472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11548
11549 [BZ #887]
11550 * math/libm-test.inc (logb_test_downward): New test to expose
11551 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11552 rounding mode.
11553
6ad3493e
JM
115542012-04-27 Joseph Myers <joseph@codesourcery.com>
11555
11556 [BZ #14027]
11557 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11558 to be done.
11559 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11560 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11561
2ce4f015
JM
115622012-04-26 Joseph Myers <joseph@codesourcery.com>
11563
5aeb141a
JM
11564 * sysdeps/unix/i386/brk.S: Remove file.
11565 * sysdeps/unix/i386/dl-brk.S: Likewise.
11566 * sysdeps/unix/i386/pipe.S: Likewise.
11567 * sysdeps/unix/i386/sigreturn.S: Likewise.
11568 * sysdeps/unix/i386/syscall.S: Likewise.
11569 * sysdeps/unix/i386/vfork.S: Likewise.
11570 * sysdeps/unix/i386/wait.S: Likewise.
11571
7143acae
JM
11572 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11573 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11574
2ce4f015
JM
11575 * configure.in (arm*-none*): Do not allow without
11576 --enable-hacker-mode.
11577 (netbsd*): Remove case setting base_os.
11578 (386bsd*): Likewise.
11579 (freebsd*): Likewise.
11580 (bsdi*): Likewise.
11581 (osf*): Likewise.
11582 (sunos*): Likewise.
11583 (ultrix*): Likewise.
11584 (newsos*): Likewise.
11585 (dynix*): Likewise.
11586 (*bsd*): Likewise.
11587 (sysv*): Likewise.
11588 (isc*): Likewise.
11589 (esix*): Likewise.
11590 (sco*): Likewise.
11591 (minix*): Likewise.
11592 (irix4*): Likewise.
11593 (irix6*): Likewise.
11594 (solaris[2-9]*): Likewise.
11595 (none): Likewise.
11596 * configure: Regenerated.
11597
0ac229c8
AZ
115982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11599
11600 [BZ #11521]
11601 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11602 overflow or cancellation in calculating denominator.
11603 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11605 down expression to avoid unexpected rounding in newer GCCs.
11606 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11607
33f244f4
DM
116082012-04-26 David S. Miller <davem@davemloft.net>
11609
11610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11611 long-double compat symbols.
11612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11625
cfa1f3e8
DM
116262012-04-25 David S. Miller <davem@davemloft.net>
11627
11628 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11629 HWCAP_* values only after the memory barriers have been defined.
11630 (atomic_full_barrier): Define.
11631 (atomic_read_barrier): Define.
11632 (atomic_write_barrier): Define.
11633
6e236b92
SP
116342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11635
11636 * shlib-versions: Add libgcc_s version information.
11637 * sysdeps/generic/libgcc_s.h: Remove.
11638 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11639 libgcc_s.h.
11640 * sysdeps/gnu/unwind-resume.c: Likewise.
11641 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11642
aab39a09
DM
116432012-04-25 David S. Miller <davem@davemloft.net>
11644
11645 * sysdeps/unix/sparc/brk.S: Delete.
11646 * sysdeps/unix/sparc/dl-brk.S: Delete.
11647 * sysdeps/unix/sparc/pipe.S: Delete.
11648 * sysdeps/unix/sparc/sysdep.S: Delete.
11649 * sysdeps/unix/sparc/sysdep.h: Delete.
11650 * sysdeps/unix/sparc/vfork.S: Delete.
11651 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11652 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11654 ret_ERRVAL, r0, r1, MOVE): Define.
11655 (JUMPTARGET): Remove.
11656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11657 sysdeps/unix/sparc/sysdep.h
11658 (ENTRY, END): Remove.
11659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11660
a3cc4f48
JM
116612012-04-25 Joseph Myers <joseph@codesourcery.com>
11662
2ed8cda2
JM
11663 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11664 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11665 -DIS_IN_build.
11666
35d76d59
JM
11667 * timezone/README: Update upstream location and email address for
11668 tzcode and tzdata.
11669 * timezone/zdump.c: Update from tzcode 2012b.
11670 * timezone/zic.c: Likewise.
11671
a3cc4f48
JM
11672 * configure.in (libc_cv_as_needed): Remove test.
11673 * configure: Regenerated.
11674 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11675 conditional definition.
11676 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11677 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11678 * config.make.in (have-as-needed): Remove variable.
11679
ceab42c3
SP
116802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11681 Paul Pluzhnikov <ppluzhnikov@google.com>
11682
11683 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11684 strings correctly.
11685
3ce2865f
CLT
116862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11687
11688 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11689 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11690 * sysdeps/sh/strlen.S: Likewise.
11691
f37e0d68
JM
116922012-04-24 Joseph Myers <joseph@codesourcery.com>
11693
ae186e9a
JM
11694 * sysdeps/unix/fork.S: Remove file.
11695 * sysdeps/unix/i386/fork.S: Likewise.
11696 * sysdeps/unix/sparc/fork.S: Likewise.
11697
b96914af
JM
11698 * sysdeps/unix/system.c: Remove file.
11699 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11700
f37e0d68
JM
11701 * sysdeps/unix/getegid.S: Remove file.
11702 * sysdeps/unix/geteuid.S: Likewise.
11703
87ef29ca
RM
117042012-04-24 Roland McGrath <roland@hack.frob.com>
11705
83bcd236
RM
11706 * scripts/check-localplt.awk: New file.
11707 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11708 of diff.
11709 * scripts/data/localplt-generic.data: Add a comment.
11710
87ef29ca
RM
11711 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11712 NODE when __dir_mkfile failed.
11713 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11714 Reported by Ludovic Courtès <ludo@gnu.org>.
11715
e5a6e567
AJ
117162012-04-24 Andreas Jaeger <aj@suse.de>
11717
11718 * Makerules (common-clean): Also remove gen-as-const-headers
11719 files.
11720
c1820385
JM
117212012-04-24 Joseph Myers <joseph@codesourcery.com>
11722
11723 * Makerules (native-compile): Do not change working directory for
11724 build. Use $(OUTPUT_OPTION) in command.
11725 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11726
94e02fc4
AZ
117272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11728
11729 [BZ #13886]
11730 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11731 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11732 * math/libm-test.inc (floor_test): Add more tests.
11733 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11734
3a533ca3
JM
117352012-04-24 Joseph Myers <joseph@codesourcery.com>
11736
940ab4b3
JM
11737 * sysdeps/unix/getdents.c: Remove file.
11738 * sysdeps/unix/sysv/getdents.c: Likewise.
11739 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11740
90e037bd
JM
11741 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11742 sysdeps/unix/mman/syscalls.list.
11743 (mmap): Likewise.
11744 (mprotect): Likewise.
11745 (msync): Likewise.
11746 (munmap): Likewise.
11747 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11748 * sysdeps/unix/mman/syscalls.list: Remove.
11749 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11750
3a533ca3
JM
11751 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11752 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11753 * configure: Regenerated.
11754 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11755 $(libgcc_s_suffix).
11756 * config.make.in (libgcc_s_suffix): Remove variable.
11757
1ad743de
JM
117582012-04-23 Joseph Myers <joseph@codesourcery.com>
11759
4ad451e2
JM
11760 * sysdeps/unix/sysv/gethostname.c: Move to ...
11761 * sysdeps/posix/gethostname.c: ... here.
11762
5e37ce39
JM
11763 * sysdeps/unix/execve.S: Remove file.
11764
1ad743de
JM
11765 * sysdeps/unix/_exit.S: Remove file.
11766
4e681b5b
AJ
117672012-04-23 Andreas Jaeger <aj@suse.de>
11768
11769 [BZ #13739]
11770 * manual/Makefile: Remove make dist support, there's no
11771 need for a stand-alone documentation tar ball.
11772 (TEXI2DVI): Define always, it's not in Makeconfig.
11773 (dist): Removed.
11774 (tar-it): Removed.
11775 (edition): Removed.
11776 (glibc-doc-$(edition).tar): Removed
11777 (%.Z): Removed.
11778 (%.gz): Removed.
11779 (%.uu): Removed.
11780 (ETAGS): Remove, it's in Makeconfig.
11781 (move-if-change): Remove, it's in Makeconfig.
11782
38686a03 117832012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11784
11785 [BZ #13970]
11786 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11787 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11788 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11789 (strtod_l, strtof_l, strtold_l): Remove __wur.
11790 It is not necessarily an error to ignore strtol's return value.
11791 One can reliably look at the stored endptr to decide whether
11792 the number had valid syntax.
11793
7c0616fa
AJ
117942012-04-21 Andreas Jaeger <aj@suse.de>
11795
803cb6b7 11796 [BZ #13739]
7c0616fa
AJ
11797 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11798
b0fe253f
JM
117992012-04-21 Joseph Myers <joseph@codesourcery.com>
11800
11801 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11802 * sysdeps/unix/sysv/Versions: Remove file.
11803
8280f22d
MT
118042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11805
11806 [BZ #13927]
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11808
75ce411f 118092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11810
11811 [BZ #7064]
11812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11813 version from __vm86.
11814
097d59fa
JM
118152012-04-20 Joseph Myers <joseph@codesourcery.com>
11816
a90f3bcb
JM
11817 * sysdeps/unix/common/lxstat.c: Remove file.
11818 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11819
edc7ea78
JM
11820 * sysdeps/unix/sysv/Makefile: Remove file.
11821
cb78c221
JM
11822 * sysdeps/unix/sysv/direct.h: Remove file.
11823
efa6a45f
JM
11824 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11825 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11826 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11827 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11828 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11829 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11830 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11831
9c9f2d0c
JM
11832 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11833
4541c83b
JM
11834 * sysdeps/unix/xmknod.c: Remove file.
11835 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11836
f5d153a0
JM
11837 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11838
aa746595
JM
11839 * sysdeps/unix/sysv/i386/time.S: Remove file.
11840
cce5905e
JM
11841 * sysdeps/unix/fxstat.c: Remove file.
11842 * sysdeps/unix/xstat.c: Likewise.
11843 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11844
37fa3841
JM
11845 * sysdeps/unix/sysv/sigaction.c: Remove file.
11846
ff1962a3
JM
11847 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11848 (sysdep_headers): Remove variable.
11849 [termio.h not in sysdep_headers] (generated): Likewise.
11850 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11851 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11852 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11853 * sysdeps/unix/sysv/tcflow.c: Likewise.
11854 * sysdeps/unix/sysv/tcflush.c: Likewise.
11855 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11856 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11857 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11858 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11859 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11860
e7740d31
JM
11861 * sysdeps/unix/siglist.c: Remove file.
11862
ee06f18b
JM
11863 * sysdeps/unix/getppid.S: Remove file.
11864
097d59fa
JM
11865 * sysdeps/unix/mkdir.c: Remove file.
11866 * sysdeps/unix/rmdir.c: Likewise.
11867
ff3d51ec
AS
118682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11869
11870 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11871 ERR_MAX value.
11872 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11873 errlist-compat value.
11874
50f81fd7
DM
118752012-04-18 David S. Miller <davem@davemloft.net>
11876
11877 * sysdeps/generic/memcopy.h (reg_char): Delete.
11878 * debug/strcat_chk.c: Use char, not reg_char.
11879 * debug/strcpy_chk.c: Likewise.
11880 * debug/strncat_chk.c: Likewise.
11881 * debug/strncpy_chk.c: Likewise.
11882 * string/memchr.c: Likewise.
11883 * string/memrchr.c: Likewise.
11884 * string/rawmemchr.c: Likewise.
11885 * string/strcat.c: Likewise.
11886 * string/strchr.c: Likewise.
11887 * string/strchrnul.c: Likewise.
11888 * string/strcmp.c: Likewise.
11889 * string/strcpy.c: Likewise.
11890 * string/strncat.c: Likewise.
11891 * string/strncmp.c: Likewise.
11892 * string/strncpy.c: Likewise.
11893
8ff41c46
WS
118942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11895
11896 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11897 __builtin_memcopy is called when src and dest ranges are known to not
11898 overlap.
11899
6b652f46
WS
119002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11901
11902 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11903 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11904 fwd_align_merge macro call.
11905 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11906 bwd_align_merge macro call.
11907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11908
b282631e
WS
119092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11910
11911 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11912 bwd_align_merge macros.
11913 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11914 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11916
95aa737c
DM
119172012-04-18 David S. Miller <davem@davemloft.net>
11918
11919 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11920
7a99a614
AJ
119212012-04-18 Andreas Jaeger <aj@suse.de>
11922
11923 [BZ# 6794]
11924 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11925 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11926 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11927
11928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11929 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11931
11932 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11933 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11934 Adjust for changed ldbl-128 files.
11935
11936 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11937 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11938 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11939
e5270c23
DM
119402012-04-17 David S. Miller <davem@davemloft.net>
11941
11942 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11943
fb5e92c9
AS
119442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11945
11946 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11947 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11948 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11949 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11950 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11951 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11952
76da7265
AZ
119532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11954
11955 [BZ #6794]
11956 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11957 * math/libm-test.inc: Add ilogb errno and exception tests.
11958 * math/w_ilogb.c: New file: ilogb wrapper.
11959 * math/w_ilogbf.c: New file: ilogbf wrapper.
11960 * math/w_ilogbl.c: New file: ilogbl wrapper.
11961 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11962 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11963 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11964 exception being thrown with 0.0 as argument.
11965 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11966 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11967 exception being thrown with 0.0 as argument.
11968 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11969 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11970 exception being thrown with 0.0 as argument.
11971 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11972 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11973 exception being thrown with 0.0 as argument.
11974 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11975 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11976 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11977 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11978 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11979 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11980 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11981 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11982 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11983
0396e69d
PB
119842012-04-17 Petr Baudis <pasky@ucw.cz>
11985
11986 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11987 with altivec.
11988
750b5926
MP
119892012-04-16 Marek Polacek <polacek@redhat.com>
11990
11991 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11992
751728a1
MP
119932012-04-16 Marek Polacek <polacek@redhat.com>
11994
11995 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11996 operands of fdivp instruction.
11997
34a27407
L
119982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12001 * elf/tst-auditmod3b.c: Likewise.
12002 * elf/tst-auditmod4b.c: Likewise.
12003 * elf/tst-auditmod5b.c: Likewise.
12004 * elf/tst-auditmod6b.c: Likewise.
12005 * elf/tst-auditmod6c.c: Likewise.
12006 * elf/tst-auditmod7b.c: Likewise.
12007 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12008 * sysdeps/x86_64/preconfigure.in: Likewise.
12009 * sysdeps/x86_64/preconfigure: Regenerated.
12010
7e73e17d
L
120112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12012
12013 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12014 __ILP32__.
12015
c7a6ab72
AB
120162012-04-13 Antoine Balestrat <merkil33@gmail.com>
12017
12018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12019 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12020
a9e8e0e0
CL
120212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12022
12023 [BZ #13973]
12024 * locale/iso-639.def: Fix gl language name. Spotted by
12025 Yaron Shahrabani.
12026
ec98af7d
RM
120272012-04-12 Roland McGrath <roland@hack.frob.com>
12028
12029 [BZ #2074]
12030 * libio/libio.h (__io_write_fn): Update comment.
12031
247c3ede
PB
120322012-04-12 Petr Baudis <pasky@ucw.cz>
12033
12034 [BZ #2074]
12035 * stdio.texi (Hook Functions): The user provided writer function
12036 is not allowed to return -1.
12037
55939d6d
DM
120382012-04-11 David S. Miller <davem@davemloft.net>
12039
12040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12041
90020f5a
MF
120422012-04-11 Mike Frysinger <vapier@gentoo.org>
12043
12044 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12045 Add a leading slash to rtkaio.
12046
288f9098
JM
120472012-04-11 Jim Meyering <meyering@redhat.com>
12048
90020f5a
MF
12049 [BZ #11959]
12050 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12051 It is not necessarily an error to ignore fwrite's return
12052 value. One can reliably use ferror to test for errors after
12053 the fact.
288f9098 12054
4be2b570
L
120552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12056
12057 * bits/types.h (__snseconds_t): New type.
12058 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12059
12060 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12062 (__SNSECONDS_T_TYPE): Likewise.
12063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12064 (__SNSECONDS_T_TYPE): Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12066 (__SNSECONDS_T_TYPE): Likewise.
12067
288f9098 120682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12069
12070 [BZ #2636]
12071 * manual/time.texi (Processor Time): Return type of times is
12072 elapsed real time since an arbitrary point in the past.
12073 (CPU Time): Move CLK_TCK from here...
12074 (Processor Time): ...to here. Correct description.
12075 * manual/conf.texi (Constants for Sysconf): Correct description of
12076 _SC_CLK_TCK.
12077
d7dd4413
DM
120782012-04-10 David S. Miller <davem@davemloft.net>
12079
12080 [BZ #13967]
12081 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12082 where the is a gap between DT_REL(A) and DT_JMPREL.
12083
b46068fc
L
120842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12085
12086 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12087 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12088 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12089
73d65cc3
SP
120902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12091
12092 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12093 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12094 (dl_main): Handle --inhibit-cache.
12095 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12096 _dl_inhibit_cache.
12097 * elf/dl-load.c (_dl_map_object): Use it.
12098 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12099
bcc8d661
JM
121002012-04-09 Joseph Myers <joseph@codesourcery.com>
12101
8f9a2fae
JM
12102 [BZ #13872]
12103 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12104 (__ieee754_powl): Saturate large exponents rather than testing for
12105 overflow of y*log2(x).
12106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12107 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12108 exceptions.
12109
bcc8d661
JM
12110 [BZ #11521]
12111 * math/s_ctan.c: Include <float.h>.
12112 (__ctan): Avoid internal overflow or cancellation in calculating
12113 denominator.
12114 * math/s_ctanf.c: Likewise.
12115 * math/s_ctanl.c: Likewise.
12116 * math/s_ctanh.c: Likewise.
12117 * math/s_ctanhf.c: Likewise.
12118 * math/s_ctanhl.c: Likewise.
12119 * math/libm-test.inc (ctan_test): Add more tests.
12120 (ctanh_test): Likewise.
12121 * sysdeps/i386/fpu/libm-test-ulps: Update.
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12123
823fbbb4
AJ
121242012-04-09 Andreas Jaeger <aj@suse.de>
12125
03879793
AJ
12126 [BZ #6894]
12127 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12128 is an optional BSD extension.
12129
823fbbb4
AJ
12130 [BZ #10254]
12131 * manual/stdio.texi (Opening Streams): Document additional fopen
12132 parameters.
12133
8de131cb
RM
121342012-04-09 Roland McGrath <roland@hack.frob.com>
12135
12136 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12137 %eax without telling the compiler.
12138
c0ed9d7d
CD
121392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12140
12141 [BZ # 13963]
12142 * manual/install.texi: Use sourceware.org.
12143
c483f6b4
JM
121442012-04-09 Joseph Myers <joseph@codesourcery.com>
12145
d7dd9453
JM
12146 [BZ #13873]
12147 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12148 (__ieee754_pow): Generate overflow and underflow using huge*huge
12149 and tiny*tiny rather than just returning constant infinity or zero
12150 for large exponents.
12151 * math/libm-test.inc (pow_test): Require overflow exceptions for
12152 applicable cases of large exponents.
12153
c483f6b4
JM
12154 [BZ #706]
12155 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12156 (__ieee754_pow): Use iterative multiplication algorithm only for
12157 integer exponents with absolute value below 1024. Check for odd
12158 integer exponents when using algorithm for real exponents.
12159 * math/libm-test.inc (pow_test): Add more tests.
12160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12161
d2de7579
JM
121622012-04-08 Joseph Myers <joseph@codesourcery.com>
12163
12164 [BZ #13705]
12165 * math/libm-test.inc (exp_test): Do not allow overflow exception
12166 on underflow test.
12167
f77f1232
AJ
121682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12169
12170 [BZ #13705]
12171 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12172 instead of __kernel_standard_f.
12173
3884932b
MF
121742012-04-08 Mike Frysinger <vapier@gentoo.org>
12175
12176 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12177 * sysdeps/x86_64/memset_chk.S: Likewise.
12178
54472e9c
AJ
121792012-04-08 Andreas Jaeger <aj@suse.de>
12180
6ab0fbfc
AJ
12181 [BZ #10153]
12182 * manual/startup.texi (Environment Access): Describe return value
12183 for putenv and setenv.
12184
61efba8c
AJ
12185 [BZ #6895]
12186 * manual/filesys.texi (Directory Entries): Add description for
12187 DT_LNK.
12188
95c3f29a
AJ
12189 [BZ #6890]
12190 * manual/filesys.texi (Directory Entries): Clarify that it's file
12191 system not operating system in the description of DT_UNKNOWN.
12192
54472e9c
AJ
12193 [BZ #6578]
12194 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12195
624254b1
SC
121962012-04-08 Stephen Compall <s11@member.fsf.org>
12197
12198 [BZ #6649]
12199 * manual/llio.texi (Opening and Closing Files): Add cross
12200 reference to explain mode argument.
12201
1e4920e0
MF
122022012-04-07 Mike Frysinger <vapier@gentoo.org>
12203
12204 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12205 * sysdeps/x86_64/memset_chk.S: Likewise.
12206
5ed848f3
DM
122072012-04-07 David S. Miller <davem@davemloft.net>
12208
12209 * elf/elf.h (R_SPARC_WDISP10): Define.
12210 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12211 R_SPARC_SIZE32.
12212 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12213 R_SPARC_SIZE64 and R_SPARC_H34.
12214
96154cd8
CD
122152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12216
12217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12218 conditions and remove no longer applicable assertion.
12219
9904dc47
L
122202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12221
12222 * bits/byteswap.h: Include <features.h>.
12223 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12224 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12225
f8887d0a
L
122262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12227
12228 * bits/byteswap.h (__bswap_16): Removed.
12229 Include <bits/byteswap-16.h> to get __bswap_16.
12230 * sysdeps/i386/bits/byteswap.h: Likewise.
12231 * sysdeps/s390/bits/byteswap.h: Likewise.
12232 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12233 * bits/byteswap-16.h: New file.
12234 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12235 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12236 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12237 * string/Makefile (headers): Add bits/byteswap-16.h.
12238
62470f60
PP
122392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12240
12241 [BZ #13895]
12242 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12243 extra indirection.
12244 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12245 * nss/tst-nss-static.c: New.
12246
4dad7bab
RM
122472012-04-06 Robert Millan <rmh@gnu.org>
12248
12249 [BZ #6486]
12250 * manual/llio.texi (File Position Primitive): lseek
12251 refers to WHENCE when it really means OFFSET.
12252
e9142a17
AJ
122532012-04-06 Andreas Jaeger <aj@suse.de>
12254
2c040eff
AJ
12255 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12256 strncmp declarations.
12257
e9142a17
AJ
12258 * abilist/libc.abilist: Add __poll and __ppoll.
12259
ff9f1c5f
DM
122602012-04-05 David S. Miller <davem@davemloft.net>
12261
dcd2ae90
DM
12262 * scripts/check-local-headers.sh: Accept a host triplet in the
12263 path matched by the exclude regexp.
12264
993eb054
DM
12265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12266 definition.
12267 * sysdeps/powerpc/powerpc32/dl-machine.h
12268 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12269 * sysdeps/s390/s390-32/dl-machine.h
12270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12271 * sysdeps/sparc/sparc32/dl-machine.h
12272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12273 * sysdeps/sparc/sparc64/dl-machine.h
12274 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12275
ff9f1c5f
DM
12276 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12277 lazy binding.
48e2e132 12278 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12279 undefined symbol errors.
12280
48e2e132 12281 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12282 DT_NEEDED entries.
12283
e80d6f94
MM
122842012-04-05 Michael Matz <matz@suse.de>
12285
12286 [BZ #13592]
12287 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12288
349fa79f
AJ
122892012-04-05 Andreas Jaeger <aj@suse.de>
12290
12291 [BZ #13908]
12292 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12293 comment.
12294
f402708f
KK
122952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12296
12297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12298 which ROUND is no valid rounding mode.
12299
2ecccfc9
KK
123002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12301
12302 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12303 read again.
12304 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12305
8a53f50f
KK
123062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12307
12308 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12309 an exception using FPU order intentionally.
12310
123112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12312
12313 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12314 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12315 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12316 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12317
d653abb7
SJ
123182012-04-05 Simon Josefsson <simon@josefsson.org>
12319
12320 [BZ #12340]
12321 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12322 EINVAL when BUFLEN is too smal.
12323
c3b1bf7d
TS
123242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12325
12326 [BZ #13553]
12327 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12328 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12329
b1aa60f3
AJ
123302012-04-03 Andreas Jaeger <aj@suse.de>
12331
c3b1bf7d 12332 [BZ #13938]
67f60a26
AJ
12333 * manual/setjmp.texi (System V contexts): Fix sentence.
12334
b1aa60f3
AJ
12335 [BZ #13926]
12336 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12337 New macro for this case.
12338 [!__GNUC__] (__bswap_64): New inline function for this case.
12339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12340 * bits/byteswap.h: Likewise.
12341 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12342 ull, guard with __GLIBC_HAVE_LONG_LONG.
12343
12344 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12345 __GLIBC_HAVE_LONG_LONG.
12346
12347 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12348 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12349
39c59c35
TMQMF
123502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12351
12352 [BZ #13691]
12353 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12354 inptr and inend, rather than using last_ch.
12355
135ffda8
DM
123562012-04-02 David S. Miller <davem@davemloft.net>
12357
12358 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12359 * stdio-common/printf-parse.h (read_int): Change return type to
12360 'int', return -1 on INT_MAX overflow.
12361 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12362 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12363 overflows INT_MAX. Check for overflow of in-format-string precision
12364 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12365 SIZE_MAX not INT_MAX for integer overflow test.
12366 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12367 skip the construct in the format string but do not record anything.
12368 * stdio-common/bug22.c: Adjust to test both width/prevision
12369 INT_MAX overflow as well as total length INT_MAX overflow. Check
12370 explicitly for proper errno values.
12371
228c019e
TS
123722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12373
302cadd3
TS
12374 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12375 CHAR_MAX.
12376 * string/test-strcmp.c [! WIDE]: Likewise.
12377 * time/tst-mktime2.c: Likewise for INT_MAX.
12378 * string/test-string.h: #include <sys/param.h> for MIN.
12379
228c019e
TS
12380 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12381 * sysdeps/i386/init-first.c (init): Likewise.
12382 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12383 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12384 * sysdeps/sh/init-first.c (init): Likewise.
12385
cfa633f5
UD
123862012-04-01 Ulrich Drepper <drepper@gmail.com>
12387
12388 * po/ru.po: Update from translation team.
d1635ef8 12389 * po/vi.po: Likewise.
cfa633f5 12390
6cd0a5ea
SP
123912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12392
12393 * resolv/nss_dns/dns-host.c: Merge copyright years.
12394
4b43400f
LD
123952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12396
12397 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12398 Optimize memcpy with prefetch if
12399 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12400 src, dst pointers have unequal 16 byte alignments.
12401
48c41d04
SP
124022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12403
12404 [BZ #13928]
12405 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12406 from a CNAME entry and return the minimum ttl for the query.
12407 (gaih_getanswer_slice): Likewise.
12408
b8dc394d
JL
124092012-03-30 Jeff Law <law@redhat.com>
12410
12411 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12412 due to long keys.
12413 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12414 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12415
2f5a5ed0
JL
12416 * resolv/nss_dns/dns-host.c: Update copyright year.
12417
1d39e359
UD
124182012-03-30 Ulrich Drepper <drepper@gmail.com>
12419
c030f70c 12420 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12421 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12422
1d39e359
UD
12423 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12424 comments for sendmmsg.
12425
124262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12427
12428 [BZ #13691]
12429 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12430 with only 1 character between 0x0041 and 0x01b0.
12431 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12432 * wcsmbs/tst-mbsnrtowcs.c: New file.
12433
20fde227
DM
124342012-03-29 David S. Miller <davem@davemloft.net>
12435
12436 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12437 small copies by hand.
12438
984a4237
JL
124392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12440
12441 [BZ #13761]
12442 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12443 _nss_compat_initgroups_dyn): Fall back to malloc/free
12444 for large group memberships.
12445
18c9d62b
DM
124462012-03-28 David S. Miller <davem@davemloft.net>
12447
88d85d4f
DM
12448 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12449 that branches into memcpy.
12450 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12453 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12455 bits.
12456 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12457 implementation too.
12458 * sysdeps/sparc/mempcpy.S: New file.
12459
e5aa83e1
DM
12460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12461 the IFUNC routine in the libc case.
12462 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12463
88570753
DM
12464 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12465 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12466 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12467 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12468 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12469 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12470 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12471 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12472
249d7567
DM
12473 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12474 loop to 256 bytes instead of 64 bytes and fix test signedness.
12475
18c9d62b
DM
12476 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12477 * sysdeps/sparc/sparc32/Makefile: rather than here...
12478 * sysdeps/sparc/sparc64/Makefile: and here.
12479
05f3d1f6
UD
124802012-03-28 Ulrich Drepper <drepper@gmail.com>
12481
12482 * malloc/mallocbug.c: Avoid warnings about unused variables.
12483
86ae07a8
JL
124842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12485
12486 [BZ #13760]
12487 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12488 in the right place. Discard and retry query if response is
12489 larger than input buffer size.
12490
41bf21a1
JM
124912012-03-28 Joseph Myers <joseph@codesourcery.com>
12492
d6270972
JM
12493 [BZ #369]
12494 [BZ #2678]
12495 [BZ #3866]
12496 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12497 x for large integer exponent.
12498 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12499 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12500 sign of result as needed afterwards.
12501 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12502 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12503 result for underflowing pow the same as for overflow.
12504 (__kernel_standard_l): Handle powl overflow and underflow here
12505 rather than calling __kernel_standard.
12506 * math/libm-test.inc (pow_test): Add more tests.
12507
414fca03 12508 [BZ #3868]
41bf21a1
JM
12509 [BZ #13879]
12510 [BZ #13910]
12511 [BZ #13911]
12512 [BZ #13912]
12513 [BZ #13913]
12514 [BZ #13915]
12515 [BZ #13916]
12516 [BZ #13917]
12517 [BZ #13918]
12518 [BZ #13919]
12519 [BZ #13920]
12520 [BZ #13921]
12521 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12522 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12523 (__kernel_standard_l): New function.
12524 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12525 __kernel_standard.
12526 * math/w_acosl.c (__acosl): Likewise.
12527 * math/w_asinl.c (__asinl): Likewise.
12528 * math/w_atan2l.c (__atan2l): Likewise.
12529 * math/w_atanhl.c (__atanhl): Likewise.
12530 * math/w_coshl.c (__coshl): Likewise.
12531 * math/w_exp10l.c (__exp10l): Likewise.
12532 * math/w_exp2l.c (__exp2l): Likewise.
12533 * math/w_fmodl.c (__fmodl): Likewise.
12534 * math/w_hypotl.c (__hypotl): Likewise.
12535 * math/w_j0l.c (__j0l, __y0l): Likewise.
12536 * math/w_j1l.c (__j1l, __y1l): Likewise.
12537 * math/w_jnl.c (__jnl, __ynl): Likewise.
12538 * math/w_lgammal.c (__lgammal): Likewise.
12539 * math/w_log10l.c (__log10l): Likewise.
12540 * math/w_log2l.c (__log2l): Likewise.
12541 * math/w_logl.c (__logl): Likewise.
12542 * math/w_powl.c (__powl): Likewise.
12543 * math/w_remainderl.c (__remainderl): Likewise.
12544 * math/w_scalbl.c (sysv_scalbl): Likewise.
12545 * math/w_sinhl.c (__sinhl): Likewise.
12546 * math/w_sqrtl.c (__sqrtl): Likewise.
12547 * math/w_tgammal.c (__tgammal): Likewise.
12548 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12549 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12550 * math/libm-test.inc (acos_test): Add more tests.
12551 (acosh_test): Likewise.
12552 (asin_test): Likewise.
12553 (atanh_test): Likewise.
12554 (exp_test): Likewise.
12555 (exp10_test): Likewise.
12556 (exp2_test): Likewise.
12557 (expm1_test): Likewise.
12558 (lgamma_test): Likewise.
12559 (log_test): Likewise.
12560 (log10_test): Likewise.
12561 (log1p_test): Likewise.
12562 (log2_test): Likewise.
12563 (pow_test): Do not allow some spurious overflow exceptions.
12564 (sqrt_test): Add more tests.
12565 (tgamma_test): Likewise.
12566 (y0_test): Likewise.
12567 (y1_test): Likewise.
12568 (yn_test): Likewise.
12569
dd62fda6
AB
125702012-03-27 Anton Blanchard <anton@samba.org>
12571
12572 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12573 MAP_HUGETLB.
12574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12575 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12577
1e3cdfda
AJ
125782012-03-27 David S. Miller <davem@davemloft.net>
12579
b855ab85
DM
12580 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12581
1e3cdfda
AJ
12582 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12583 have-as-vis3 check.
12584
125852012-03-27 Andreas Jaeger <aj@suse.de>
12586
12587 * sysdeps/x86_64/elf/configure.in: Moved to ...
12588 * sysdeps/x86_64/configure.in: ... here.
12589 * sysdeps/x86_64/elf/start.S: Moved to ...
12590 * sysdeps/x86_64/start.S: ... here.
12591 * sysdeps/x86_64/elf/configure: Delete.
12592
12593 * sysdeps/x86_64/configure.in: Merge contents from
12594 sysdeps/i386/configure.in (without i686 check).
12595
12596 * sysdeps/i386/elf/Versions: Merge into ...
12597 * sysdeps/i386/Versions: ... this.
12598 * sysdeps/i386/elf/Versions: Delete file.
12599 * sysdeps/i386/elf/start.S: Moved to ...
12600 * sysdeps/i386/start.S: ...here.
12601 * sysdeps/i386/elf/configure.in: Merge into...
12602 * sysdeps/i386/configure.in: ...here.
12603 * sysdeps/i386/elf/configure.in: Delete file.
12604 * sysdeps/i386/elf/configure: Delete file.
12605
12606 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12607 * debug/backtracesyms.c: ... here.
12608 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12609 * debug/backtracesymsfd.c: ... here.
12610 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12611 * sysdeps/generic/ifunc-sel.h: ... here.
12612
12613 * sysdeps/unix/i386/start.c: Delete file.
12614 * sysdeps/unix/sparc/start.c: Delete file.
12615 * sysdeps/unix/start.c: Delete file.
12616
12617 * sysdeps/sh/elf/configure.in: Moved to ...
12618 * sysdeps/sh/configure.in: ... here.
12619 * sysdeps/sh/elf/start.S: Moved to ...
12620 * sysdeps/sh/start.S: ... here.
12621 * sysdeps/sh/elf/configure: Delete file.
12622
12623 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12624 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12625 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12626 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12627 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12628 * sysdeps/powerpc/powerpc64/start.S: here.
12629 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12630 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12631 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12632 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12633 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12634
12635 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12636 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12637 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12638 * sysdeps/powerpc/powerpc32/start.S: ... here.
12639 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12640 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12641 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12642
12643 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12644 * sysdeps/powerpc/ifunc-sel.h: ... here.
12645 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12646 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12647
12648 * sysdeps/sparc/elf/configure.in: Moved to ...
12649 * sysdeps/sparc/configure.in: ... here.
12650 * sysdeps/sparc/elf/configure: Delete file.
12651 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12652 * sysdeps/sparc/sparc32/start.S: ... here.
12653 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12654 * sysdeps/sparc/sparc64/start.S: ... here.
12655 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12656 * sysdeps/sparc/sparc32/Makefile: ... this.
12657 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12658 * sysdeps/sparc/sparc64/Makefile: ... this.
12659
12660 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12661 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12662 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12663 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12664 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12665 * sysdeps/s390/s390-32/setjmp.S: ... here.
12666 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12667 * sysdeps/s390/s390-32/configure.in: ... here.
12668 * sysdeps/s390/s390-32/elf/configure: Delete file.
12669 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12670 * sysdeps/s390/s390-32/start.S: ... here.
12671
12672 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12673 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12674 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12675 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12676 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12677 * sysdeps/s390/s390-64/setjmp.S: ... here.
12678 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12679 * sysdeps/s390/s390-64/configure.in: ... here
12680 * sysdeps/s390/s390-64/elf/configure: Delete file.
12681 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12682 * sysdeps/s390/s390-64/start.S: ... here.
12683 * sysdeps/s390/s390-64/elf/configure: Delete.
12684
12685 * configure.in: Remove support for elf directories in sysdeps.
12686
12687 * configure: Regenerated.
12688 * sysdeps/i386/configure: Regenerated.
12689 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12690 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12691 * sysdeps/s390/s390-32/configure: Regenerated.
12692 * sysdeps/s390/s390-64/configure: Regenerated.
12693 * sysdeps/sh/configure: Regenerated.
12694 * sysdeps/sparc/configure: Regenerated.
12695 * sysdeps/x86_64/configure: Regenerated.
12696
a3f61311
AS
126972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12698
c876e002
AS
12699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12700
a3f61311
AS
12701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12702 denormal result into account.
12703
ac4c54f0
RM
127042012-03-25 Roland McGrath <roland@hack.frob.com>
12705
12706 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12707 Reported by Allan McRae <allan@archlinux.org>.
12708
6a9b9c02
JL
127092012-03-23 Jeff Law <law@redhat.com>
12710
12711 * nss/getnssent.c (__nss_getent): Fix typo.
12712
4c42a0c1
DM
127132012-03-23 David S. Miller <davem@davemloft.net>
12714
12715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12716
1532c7ac
L
127172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12718
12719 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12720 to pad to uint64_t for each field.
12721 (dl_tls_index): Replace unsigned long with uint64_t.
12722
3ff42526
PP
127232012-03-23 Daniel Jacobowitz <dmj@google.com>
12724 Paul Pluzhnikov <ppluzhnikov@google.com>
12725
12726 [BZ #6528]
12727 * grp/Makefile (otherlibs): Don't set it.
12728 * inet/Makefile (otherlibs): Likewise.
12729 * login/Makefile (otherlibs): Likewise.
12730 * nscd/Makefile (otherlibs): Likewise.
12731 * posix/Makefile (otherlibs): Likewise.
12732 * pwd/Makefile (otherlibs): Likewise.
12733 * rt/Makefile (otherlibs): Likewise.
12734 * sunrpc/Makefile (otherlibs): Likewise.
12735 * nss/Makefile (otherlibs): Likewise.
12736 Add libnss_files to routines and static-only-routines.
12737 ($(objpfx)getent): Remove rule.
12738 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12739 static-only-routines.
12740
7c69cd14
JM
127412012-03-22 Joseph Myers <joseph@codesourcery.com>
12742
12743 [BZ #13892]
12744 * math/s_cexp.c: Include <float.h>.
12745 (__cexp): Handle exp result overflowing not necessarily
12746 overflowing both real and imaginary parts of result.
12747 * math/s_cexpf.c: Likewise.
12748 * math/s_cexpl.c: Likewise.
12749 * math/libm-test.inc (cexp_test): Add more tests.
12750 * sysdeps/i386/fpu/libm-test-ulps: Update.
12751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12752
81b035fe
L
127532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 * include/link.h (ELFW): New macro.
12756 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12757 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12758
1da7940c
L
127592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12760
12761 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12762 with uint64_t.
12763
b749dbb9
L
127642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12765
12766 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12767 declaration.
12768 (struct La_x32_retval): Likewise.
12769
2ff87f3f
L
127702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12771
12772 * sysdeps/x86_64/preconfigure.in: New file.
12773 * sysdeps/x86_64/preconfigure: New generated file.
12774
c0df8e69
JM
127752012-03-22 Joseph Myers <joseph@codesourcery.com>
12776
48e44791
JM
12777 [BZ #13824]
12778 * math/e_exp2l.c: Include <float.h>.
12779 (__ieee754_exp2l): Handle overflow and underflow cases
12780 separately. Only pass fractional part of argument to
12781 __ieee754_expl.
12782 * math/libm-test.inc (exp2_test): Add more tests.
12783
c0df8e69
JM
12784 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12785 negating x to take absolute value.
12786 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12787 Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12790 Likewise.
12791 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12792 computing low part if x was negated.
12793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12794
c8e43ba7
L
127952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12796
12797 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12798 la_x32_gnu_pltexit.
12799 (pltexit): Cast int_retval to ptrdiff_t.
12800 * elf/tst-auditmod3b.c: Likewise.
12801 * elf/tst-auditmod4b.c: Likewise.
12802 * elf/tst-auditmod5b.c: Likewise.
12803 * elf/tst-auditmod6b.c: Likewise.
12804 * elf/tst-auditmod6c.c: Likewise.
12805 * elf/tst-auditmod7b.c: Likewise.
12806
12807 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12808 and x32_gnu_pltexit.
12809
12810 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12811 __ELF_NATIVE_CLASS.
12812 (La_x32_regs): New macro.
12813 (La_x32_retval): Likewise.
12814 (la_x32_gnu_pltenter): New function prototype.
12815 (la_x32_gnu_pltexit): Likewise.
12816
7998fa78
AS
128172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12818
dcb33988
AS
12819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12820 exponent.
12821
233fc563
AS
12822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12823
7998fa78
AS
12824 * configure.in (libc_cv_cc_nofma): Check for option to disable
12825 generation of FMA instructions.
12826 * configure: Regenerate.
12827 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12828 * sysdeps/ieee754/dbl-64/Makefile: New file.
12829 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12830 Remove brandred-fma4.
12831 (CFLAGS-brandred-fma4.c): Remove.
12832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12834 define.
12835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12836 define.
12837
8e95c99a
L
128382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12841 LLONG_MAX != LONG_MAX.
12842 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12843 (_fitoa_word): Likewise.
12844 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12845 LLONG_MAX != LONG_MAX.
12846 * stdio-common/_itowa.h: Include <_itoa.h>.
12847 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12848 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12849 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12850 only if not defined.
12851 (_ITOA_WORD_TYPE): Likewise.
12852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12853 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12854
6f4db457
DM
128552012-03-21 David S. Miller <davem@davemloft.net>
12856
12857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12858
7785fe5a
L
128592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12860
12861 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12862 of x86_64 when setting libc_cv_slibdir, libdir and
12863 libc_cv_localedir.
12864 * sysdeps/unix/sysv/linux/configure: Regenerated.
12865
4535cd55
JM
128662012-03-21 Joseph Myers <joseph@codesourcery.com>
12867
12868 * manual/lang.texi (Old Varargs): Remove section.
12869 (How Variadic): Update menu.
12870 (va_start): Do not mention varargs.h.
12871
17228132
TS
128722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12873 Joseph Myers <joseph@codesourcery.com>
12874
12875 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12876 link test.
12877 * configure: Regenerated.
12878
8149f976
TS
128792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12880
05f3d1f6
UD
12881 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12882 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12883 conformtest.pl
8149f976 12884
1a4ac776
JM
128852012-03-21 Joseph Myers <joseph@codesourcery.com>
12886
be22ce65
JM
12887 * NOTES: Remove.
12888 * Makefile (files-for-dist): Remove NOTES.
12889 (NOTES): Remove rule.
12890 * README: Don't refer to NOTES.
12891 * manual/creature.texi: Don't include macros.texi.
12892 * manual/intro.texi (creature.texi): Remove comment referring to
12893 NOTES.
12894
40b601fb
JM
12895 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12896 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12897 * configure: Regenerated.
12898 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12899 LIBC_TRY_CC_OPTION.
12900 (libc_cv_as_i686): Likewise.
12901 (libc_cv_cc_avx): Likewise.
12902 (libc_cv_cc_sse2avx): Likewise.
12903 (libc_cv_cc_fma4): Likewise.
12904 (libc_cv_cc_novzeroupper): Likewise.
12905 * sysdeps/i386/configure: Regenerated.
12906
1a4ac776
JM
12907 [BZ #13883]
12908 * sysdeps/i386/fpu/s_cexp.S: Remove.
12909 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12910 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12911 * math/libm-test.inc (cexp_test): Add more tests.
12912 * sysdeps/i386/fpu/libm-test-ulps: Update.
12913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12914
a458e7fe
AM
129152012-03-21 Allan McRae <allan@archlinux.org>
12916
12917 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12918
0cb7efc5
JM
129192012-03-21 Joseph Myers <joseph@codesourcery.com>
12920
12921 [BZ #13871]
12922 * math/w_exp2.c: Do not include <float.h>.
12923 (o_threshold, u_threshold): Remove.
12924 (__exp2): Calculate result before checking finiteness and calling
12925 __kernel_standard.
12926 * math/w_exp2f.c: Likewise.
12927 * math/w_exp2l.c: Likewise.
12928 * math/libm-test.inc (exp2_test): Require overflow exception for
12929 1e6 input.
2460d3aa
JM
12930
12931 [BZ #3866]
12932 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12933 range of signed 64-bit integers before using fistpll. Remove
12934 checks for whether integers fit in mantissa bits.
12935 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12936 the range of signed 32-bit integers before using fistpl. Remove
12937 checks for whether integers fit in mantissa bits.
12938 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12939 (__ieee754_powl): Test for y outside the range of signed 64-bit
12940 integers before using fistpll. Reduce 64-bit values to 63-bit
12941 ones as needed.
12942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12943 divide-by-zero is raised for zero to large negative powers.
12944 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12945 (__ieee754_powl): Test for y outside the range of signed 64-bit
12946 integers before using fistpll. Reduce 64-bit values to 63-bit
12947 ones as needed.
12948 * math/libm-test.inc (pow_test): Add more tests.
12949
eb96ffb0
L
129502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12951
12952 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12953 <stdio-common/_itoa.h>.
12954 * debug/segfault.c: Likewise.
12955 * elf/dl-cache.c: Likewise.
12956 * elf/dl-minimal.c: Likewise.
12957 * elf/dl-misc.c: Likewise.
12958 * elf/dl-sysdep.c: Likewise.
12959 * elf/dl-version.c: Likewise.
12960 * elf/rtld.c: Likewise.
12961 * hurd/hurdsock.c: Likewise.
12962 * hurd/lookup-retry.c: Likewise.
12963 * malloc/malloc.c: Likewise.
12964 * malloc/mtrace.c: Likewise.
12965 * nscd/nscd_getgr_r.c: Likewise.
12966 * nscd/nscd_getpw_r.c: Likewise.
12967 * nscd/nscd_getserv_r.c: Likewise.
12968 * posix/getopt_init.c: Likewise.
12969 * posix/wordexp.c: Likewise.
12970 * stdio-common/_itoa.c: Likewise.
12971 * stdio-common/printf_fphex.c: Likewise.
12972 * stdio-common/vfprintf.c: Likewise.
12973 * string/_strerror.c: Likewise.
12974 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12975 * sysdeps/i386/i686/hp-timing.h: Likewise.
12976 * sysdeps/mach/_strerror.c: Likewise.
12977 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12978 * sysdeps/mach/hurd/sethostid.c: Likewise.
12979 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12980 * sysdeps/mach/xpg-strerror.c: Likewise.
12981 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12982 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12983 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12984 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12985 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12986 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12987 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12988 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12989 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12990 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12991 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12992 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12993 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12994 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12995 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12996 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12997 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12998 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12999 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13000 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13001 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13002
13003 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13004
13005 * stdio-common/_itoa.h: Moved to ...
13006 * sysdeps/generic/_itoa.h: Here.
13007
13008 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13009
13010 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13011 instead of "_itoa.h" and "_itowa.h".
13012 * stdio-common/vfprintf.: Likewise.
13013
d1af992d
L
130142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13015
13016 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13017 <bits/wordsize.h>.
13018 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13019 (__signbit): Likwise.
13020 (llrintf): Likwise.
13021 (llrint): Likwise.
13022
114883e0
L
130232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13026 __WORDSIZE != 64.
13027
c135cc1b
JM
130282012-03-20 Joseph Myers <joseph@codesourcery.com>
13029
13030 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13031 OVERFLOW_EXCEPTION_OK.
13032 * math/libm-test.inc ("Philosophy"): Update comment about
13033 exception testing.
13034 (OVERFLOW_EXCEPTION): Define.
13035 (OVERFLOW_EXCEPTION_OK): Likewise.
13036 (INVALID_EXCEPTION_OK): Renumber.
13037 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13038 (IGNORE_ZERO_INF_SIGN): Likewise.
13039 (test_exceptions): Handle FE_OVERFLOW.
13040 (exp10_test): Expect overflow exceptions.
13041 (exp2_test): Likewise.
13042 (expm1_test): Likewise.
13043 (nextafter_test): Likewise.
13044 (pow_test): Likewise.
13045 (scalbn_test): Likewise.
13046 (scalbln_test): Likewise.
13047
95443d88
L
130482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * sysdeps/x86_64/bits/atomic.h
13051 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13052 64bit integer.
13053 (atomic_exchange_acq): Likewise.
13054 (__arch_exchange_and_add_body): Likewise.
13055 (__arch_add_body): Likewise.
13056 (atomic_add_negative): Likewise.
13057 (atomic_add_zero): Likewise.
13058
490df6c4
L
130592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13060
c2722551 13061 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13062 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13063
5e52b189
L
130642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13065
13066 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13067 Check __x86_64__ instead of __WORDSIZE.
13068
a9879d4c
L
130692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13070
13071 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13072
5df98260
DM
130732012-03-19 David S. Miller <davem@davemloft.net>
13074
e1497744
DM
13075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13076
5df98260
DM
13077 * sysdeps/sparc/fpu/fenv_private.h: New file.
13078 * sysdeps/sparc/fpu/math_private.h: Use it.
13079 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13080 Remove.
13081 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13082 (libc_feholdexcept_setroundl): Remove.
13083 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13084 Remove.
13085 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13086 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13087
b4c35121
L
130882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13089
13090 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13091 int64_t instead of long int.
13092 (INSERT_WORDS64): Likwise.
13093
56965fd7
L
130942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13097 _Unwind_GetCFA return to _Unwind_Ptr first.
13098
83d1aec8
JM
130992012-03-19 Joseph Myers <joseph@codesourcery.com>
13100
1897ad44
JM
13101 [BZ #13629]
13102 * math/s_clog.c: Include <float.h>.
13103 (__clog): Scale large or subnormal inputs.
13104 * math/s_clogf.c: Likewise.
13105 * math/s_clogl.c: Likewise.
13106 * math/s_clog10.c: Include <float.h>.
13107 (M_LOG10_2): Define.
13108 (__clog10): Scale large or subnormal inputs.
13109 * math/s_clog10f.c: Likewise.
13110 * math/s_clog10l.c: Likewise.
13111 * math/libm-test.inc (clog_test): Add more tests.
13112 (clog10_test): Likewise.
13113 * sysdeps/i386/fpu/libm-test-ulps: Update.
13114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13115
7726d6a9
JM
13116 [BZ #11451]
13117 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13118 x and y.
13119 * math/libm-test.inc (atan2_test): Add another test.
13120
83d1aec8
JM
13121 * Makerules (common-objdir-compile): Remove.
13122 * sysdeps/unix/Makefile (config-generated): Do not add
13123 $(unix-generated) to variable.
13124 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13125 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13126 Remove rule.
13127 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13128 Likewise.
13129 [generic bits/local_lim.h] (before-compile): Do not append to
13130 variable.
13131 [generic bits/local_lim.h] (common-generated): Likewise.
13132 [generic sys/param.h] (before-compile): Do not append to variable.
13133 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13134 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13135 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13136 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13137 include.
13138 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13139 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13140 [generic sys/param.h] ($(addprefix
13141 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13142 [generic sys/param.h] (common-generated): Do not append to
13143 variable.
13144 [generic sys/param.h] (sysdep_headers): Likewise.
13145 [generic bits/errno.h] (before-compile): Do not append to
13146 variable.
13147 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13148 rule.
13149 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13150 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13151 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13152 [generic bits/errno.h] (common-generated): Do not append to
13153 variable.
13154 [generic bits/ioctls.h] (before-compile): Do not append to
13155 variable.
13156 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13157 rule.
13158 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13159 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13160 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13161 rule.
13162 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13163 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13164 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13165 [generic bits/ioctls.h] (common-generated): Do not append to
13166 variable.
13167 [generic sys/syscall.h] (syscall.h): Remove variable.
13168 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13169 rule.
13170 [generic sys/syscall.h] (before-compile): Do not append to
13171 variable.
13172 [generic sys/syscall.h] (common-generated): Likewise.
13173 * sysdeps/unix/errnos-tmpl.c: Remove file.
13174 * sysdeps/unix/errnos.awk: Likewise.
13175 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13176 * sysdeps/unix/ioctls.awk: Likewise.
13177 * sysdeps/unix/mk-local_lim.c: Likewise.
13178 * sysdeps/unix/snarf-ioctls: Likewise.
13179
4851a949
RH
131802012-03-19 Richard Henderson <rth@twiddle.net>
13181
bd37f2ee
RH
13182 * sysdeps/i386/fpu/fenv_private.h: New file.
13183 * sysdeps/i386/fpu/math_private.h: Use it.
13184 (math_opt_barrier, math_force_eval): Remove.
13185 (libc_feholdexcept_setround_53bit): Remove.
13186 (libc_feupdateenv_53bit): Remove.
13187 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13188 (math_opt_barrier, math_force_eval): Remove.
13189 (libc_feholdexcept): Remove.
13190 (libc_feholdexcept_setround): Remove.
13191 (libc_fetestexcept, libc_fesetenv): Remove.
13192 (libc_feupdateenv_test): Remove.
13193 (libc_feupdateenv, libc_feholdsetround): Remove.
13194 (libc_feresetround): Remove.
13195
d0adc922
RH
13196 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13197 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13198
0fe0f1f8
RH
13199 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13200 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13201 (libc_feupdateenv_testl): New.
13202 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13203 (libc_feupdateenv_testf): New.
13204 (libc_feupdateenv): Use libc_feupdateenv_test.
13205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13207
eb92c487
RH
13208 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13209 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13210 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13211 (libc_feresetround_noex): New.
13212 (libc_feresetround_noexf): New.
13213 (libc_feresetround_noexl): New.
13214 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13215 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13216 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13217 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13218 SET_RESTORE_ROUND.
13219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13221 (__cos): Likewise.
13222 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13224 SET_RESTORE_ROUND_NOEX.
13225 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13226 SET_RESTORE_ROUND_NOEXF.
13227 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13228 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13229 (libc_feholdsetroundf): New.
13230 (libc_feresetround, libc_feresetroundf): New.
13231
7d2e8012
RH
13232 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13233 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13234 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13235
b4dabbb4
RH
13236 * sysdeps/generic/math_private.h: Include <fenv.h>.
13237 (default_libc_feholdexcept): New.
13238 (default_libc_feholdexcept_setround): New.
13239 (default_libc_fesetenv, default_libc_feupdateenv): New.
13240 (libc_feholdexcept): Only define if undefined.
13241 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13243 (libc_feholdexcept_setroundl): Likewise.
13244 (libc_feholdexcept_setround_53bit): Likewise.
13245 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13248 (libc_feupdateenv_53bit): Likewise.
13249 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13250 (libc_feholdexcept): Convert from macro to inline function.
13251 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13252 (libc_fesetenv, libc_feupdateenv): Likewise.
13253
4851a949
RH
13254 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13255 not previously defined.
13256 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13257 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13258 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13259 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13260 * sysdeps/ieee754/flt-32/math_private.h: New file.
13261 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13262 math_private.h below SET_FLOAT_WORD.
13263 (__isnan, __isinf_ns, __finite): Remove.
13264 (__isnanf, __isinf_nsf, __finitef): Remove.
13265
e79d442e
AS
132662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13267
13268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13269
90b80344
DM
132702012-03-17 David S. Miller <davem@davemloft.net>
13271
13272 [BZ #6471]
13273 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13274 for 2.16.
13275
edc21804
DM
132762012-03-16 David S. Miller <davem@davemloft.net>
13277
77e927af
DM
13278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13279 warnings.
13280
374976dd
DM
13281 [BZ #6471]
13282 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13283 properly.
13284 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13285 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13286 sysdep_routines when subdir is sysvipc.
13287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13288 __getshmlba helper.
13289
edc21804
DM
13290 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13291
473c3ef3
L
132922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13293
13294 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13295 [__LP64__].
13296
eb0f39b6
L
132972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13298
13299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13300 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13301 (__lround): Renamed to ...
13302 (__llround): This. Replace long int with long long int.
13303 Define lround functions as aliases of llround functions.
13304 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13305
6b6cd74b
L
133062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13307
13308 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13309 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13310 adresses to uintptr_t. Replace "long int" and "unsigned long
13311 int" with "greg_t" on va_arg.
13312
f1a77b01
L
133132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13314
13315 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13316 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13317
13318 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13319 Move e_machine check before EI_CLASS check. Handle x32
13320 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13321 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13322 SKIP_EM_IA_64 and include
13323 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13324
13325 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13326 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13327 (add_system_dir): New macro.
13328
13329 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13330 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13331
11b90b9f
JM
133322012-03-16 Joseph Myers <joseph@codesourcery.com>
13333
c36e1d23
JM
13334 [BZ #2551]
13335 [BZ #2552]
13336 [BZ #2553]
13337 [BZ #2554]
13338 [BZ #2562]
13339 [BZ #2563]
13340 [BZ #2565]
13341 [BZ #2566]
13342 [BZ #2576]
13343 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13344 (y0): Likewise.
13345 * math/w_j0f.c (j0f): Likewise.
13346 (y0f): Likewise.
13347 * math/w_j0l.c (__j0l): Likewise.
13348 (__y0l): Likewise.
13349 * math/w_j1.c (j1): Likewise.
13350 (y1): Likewise.
13351 * math/w_j1f.c (j1f): Likewise.
13352 (y1f): Likewise.
13353 * math/w_j1l.c (__j1l): Likewise.
13354 (__y1l): Likewise.
13355 * math/w_jn.c (jn): Likewise.
13356 (yn): Likewise.
13357 * math/w_jnf.c (jnf): Likewise.
13358 (ynf): Likewise.
13359 * math/w_jnl.c (__jnl): Likewise.
13360 (__ynl): Likewise.
13361 * math/libm-test.inc (j0_test): Add more tests.
13362 (j1_test): Likewise.
13363 (jn_test): Likewise. Add trailing semicolon to existing test.
13364 (y0_test): Likewise.
13365 (y1_test): Likewise.
13366 * sysdeps/i386/fpu/libm-test-ulps: Update.
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368
11b90b9f
JM
13369 [BZ #13851]
13370 [BZ #13854]
13371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13372 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13373 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13374 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13375 (__tanl): Set errno for infinite argument.
13376 * sysdeps/i386/fpu/mptan.c: Remove.
13377 * sysdeps/i386/fpu/s_tan.S: Likewise.
13378 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13379 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13380 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13381 * math/libm-test.inc (tan_test): Add more tests and enable more
13382 tests for double and long double.
13383 * sysdeps/i386/fpu/libm-test-ulps: Update.
13384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13385
6a1bd2a1
JK
133862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13387
13388 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13389 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13390
10a803e0
RM
133912012-03-16 Roland McGrath <roland@hack.frob.com>
13392
13393 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13394 * configure.in: Use it for both main tree and add-ons.
13395 * configure: Regenerated.
13396
f196c7f7
L
133972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13400
8848d99d
JM
134012012-03-16 Joseph Myers <joseph@codesourcery.com>
13402
96cbe7f4
JM
13403 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13404 in comment.
13405
8848d99d
JM
13406 [BZ #13851]
13407 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13408 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13412 infinite argument.
13413 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13414 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13415 != 0 for prec == 2.
13416 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13417 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13418 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13419 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13420 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13421 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13422 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13423 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13424 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13425 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13426 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13427 * math/libm-test.inc (cos_test): Add more tests and enable more
13428 tests for long double.
13429 (sin_test): Likewise.
13430 (sincos_test): Likewise.
13431 * sysdeps/i386/fpu/libm-test-ulps: Update.
13432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13433
dd7f4703
DM
134342012-03-16 David S. Miller <davem@davemloft.net>
13435
13436 * sysdeps/sparc/fpu/math_private.h: New file.
13437
006f1daa
DM
134382012-03-15 David S. Miller <davem@davemloft.net>
13439
c0c83bc8
DM
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13441 file.
e6a62e18 13442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13444 file.
e6a62e18
DM
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13451 sysdep routines.
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13453
88cb87d9
DM
13454 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13455 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13456
006f1daa 13457 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13459 sparc-ifunc.h
006f1daa 13460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13462 Likewise.
13463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13464 Likewise.
006f1daa
DM
13465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13469 Likewise.
006f1daa
DM
13470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13475 Likewise.
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13477 Likewise.
006f1daa
DM
13478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13497 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13502
11e0098e
AS
135032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13504
13505 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13506 scaling.
13507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13508
e85b09d0
AJ
135092012-03-15 Andreas Jaeger <aj@suse.de>
13510
13511 [BZ #13852]
13512 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13513 ieee754/flt-32 implementation for sin, cos and sincos.
13514 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13515 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13516 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13517 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13518 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13519 ieee754/flt-32 implementation for tan.
13520
13521 * math/libm-test.inc (cos_test): Enable some large input tests for
13522 float as well
13523 (sin_test): Likewise.
13524 (sincos_test): Likewise.
13525 (tan_test): Add tests for large input.
13526
13527 * sysdeps/i386/fpu/libm-test-ulps: Update.
13528
81c64153
AJ
135292012-03-15 Andreas Jaeger <aj@suse.de>
13530
13531 [BZ #13658]
13532 * math/libm-test.inc (cos_test): Add more test cases.
13533 (sin_test): Likewise.
13534 (sincos_test): Likewise.
13535
7bbfa5c6
AJ
135362012-03-15 Andreas Jaeger <aj@suse.de>
13537
13538 [BZ #13837]
13539 * math/libm-test.inc (cos_test): Add a test case for large input
13540 value.
13541 (sin_test): Likewise.
13542 (sincos_test): Likewise.
13543
135442012-03-15 Andreas Jaeger <aj@suse.de>,
13545 Joseph Myers <joseph@codesourcery.com>
13546
13547 [BZ #13658]
0671f479 13548 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13549 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13550 * sysdeps/i386/fpu/branred.c: Likewise.
13551 * sysdeps/i386/fpu/dosincos.c: Likewise.
13552 * sysdeps/i386/fpu/mpa.c: Likewise.
13553 * sysdeps/i386/fpu/s_cos.S: Likewise.
13554 * sysdeps/i386/fpu/s_sin.S: Likewise.
13555 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13556 * sysdeps/i386/fpu/sincos32.c: Likewise.
13557
13558 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13559 Define.
13560 (libc_feupdateenv_53bit): Define.
13561 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13562 Define.
13563 (libc_feupdateenv_53bit): Define.
13564
13565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13566 53 bit (without extend i386 double precision).
13567
13568 * math/libm-test.inc (sincos_test): Add tests for large input.
13569 (sin): Likewise.
13570 (cos): Likewise.
13571
13572 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13573
9cad04ea
AS
135742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13575
13576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13577
f7062b9a
DM
135782012-03-15 David S. Miller <davem@davemloft.net>
13579
13580 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13581 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13582 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13583 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13596 file.
f7062b9a 13597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13599 file.
f7062b9a 13600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13602 file.
f7062b9a 13603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13605 file.
f7062b9a
DM
13606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13608 fmin/fmax sysdep routines.
13609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13610
7bd951ff
DM
136112012-03-14 David S. Miller <davem@davemloft.net>
13612
559398ab
DM
13613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13639 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13642 routines.
13643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13644 file.
559398ab 13645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13647 file.
559398ab 13648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13650 file.
559398ab 13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13653 file.
559398ab 13654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13656 file.
559398ab 13657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13659 file.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13661 file.
13662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13663 file.
13664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13665 file.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13667 New file.
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13669 file.
13670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13671 file.
559398ab 13672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13674 file.
559398ab 13675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13677 file.
559398ab 13678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13680 file.
559398ab 13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13683 VIS3 routines.
559398ab
DM
13684
13685 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13686 New file.
13687
5a1c1e32
DM
13688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13689
eae47a36
DM
13690 * sysdeps/sparc/configure.in: New file.
13691 * sysdeps/sparc/configure: Generate.
13692 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13693 * configure: Regenerate.
13694 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13695 * config.make.in (have-as-vis3): New.
13696 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13697 available use -Av9d instead of -Av9a.
13698 * sysdeps/sparc/sparc64/Makefile: Likewise.
13699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13701 New file.
13702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13703 file.
13704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13705 New file.
13706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13707 file.
eae47a36
DM
13708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13713
c0c83bc8
DM
13714 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13715 fzeros/fnegs to load 0x80000000 into a float register instead of
13716 using the stack.
7bd951ff
DM
13717 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13718
bd951ccb
JM
137192012-03-14 Joseph Myers <joseph@codesourcery.com>
13720
13721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13722 bits/syscall.h.
13723 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13724 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13725 ($(inst_includedir)/bits/syscall.h): Remove rule.
13726 ($(objpfx)bits/syscall.d): Include instead of
13727 $(objpfx)syscall-list.d.
13728 (generated): Change syscall-list.h and syscall-list.d to
13729 bits/syscall.h and bits/syscall.d.
13730
bb4e6db2
RM
137312012-03-14 Roland McGrath <roland@hack.frob.com>
13732
13733 [BZ #13846]
13734 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13735
aa4a2ae1
JM
137362012-03-14 Joseph Myers <joseph@codesourcery.com>
13737
e456826d
JM
13738 [BZ #13841]
13739 * math/s_csqrt.c: Include <float.h>.
13740 (__csqrt): Scale large or subnormal inputs.
13741 * math/s_csqrtf.c: Likewise.
13742 * math/s_csqrtl.c: Likewise.
13743 * math/libm-test.inc (csqrt_test): Add more tests.
13744 * sysdeps/i386/fpu/libm-test-ulps: Update.
13745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746
aa4a2ae1
JM
13747 [BZ #13840]
13748 * math/libm-test.inc (hypot_test): Add more tests.
13749
7c10fd35
DM
137502012-03-13 David S. Miller <davem@davemloft.net>
13751
13752 [BZ #13840]
13753 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13754 double-precision for the calculation instead of scaling.
13755
f453b98b
JM
137562012-03-13 Joseph Myers <joseph@codesourcery.com>
13757
13758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13759 manipulate bits before adding and subtracting TWO52[sx].
13760 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13761 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13762 Likewise.
13763 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13764
09a3453f
DM
137652012-03-13 David S. Miller <davem@davemloft.net>
13766
8e59da90
DM
13767 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13768 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13770 rtld-global-offsets.h
13771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13772
2a8ab7f2
DM
13773 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13774 large parameters.
13775
10f62770
DM
13776 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13777
5f0bdb18
DM
13778 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13779 'err' in the ifdef scope in which it is actually used.
13780
09a3453f
DM
13781 * nss/nss_db/db-init.c: Include string.h
13782
b4b2eb5e
DM
137832012-03-12 David S. Miller <davem@davemloft.net>
13784
98bb2f1c
DM
13785 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13786 masking out of the most significant byte of random value used.
13787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13788 Fix coding style in previous change.
13789
b4b2eb5e
DM
13790 * sysdeps/unix/sysv/linux/kernel-features.h
13791 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13792 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13793 expression.
13794 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13795 later.
13796
6e226b09
DM
137972012-03-11 David S. Miller <davem@davemloft.net>
13798
a1bcbd40
DM
13799 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13800 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13802 for 'resultvar' otherwise things get truncated on 64-bit.
13803
cb9d6174
DM
13804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13805 Fix masking out of the most significant byte of random value used.
13806
6e226b09
DM
13807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13808
058c132d
AS
138092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13810
13811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13812
2d2cd515
DM
138132012-03-09 David S. Miller <davem@davemloft.net>
13814
13815 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13816 variables with appropriate CPP guards.
13817 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13818 frame pointer, not the stack pointer. Correct layout comments. Fix test
13819 on resulting framesize and the management of the outregs buffer for pltexit.
13820 Preserve floating point return values across _dl_call_pltexit call.
13821 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13822 framesize and the management of the outregs buffer for pltexit.
13823 Preserve floating point return values across _dl_call_pltexit
13824 call.
13825 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13826 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13827 (print_exit): Fix format string for return register value.
13828
9a07f9d0
JM
138292012-03-10 Joseph Myers <joseph@codesourcery.com>
13830
13831 * sunrpc/Makefile (others): Add rpcgen.
13832 ($(objpfx)rpcgen): Remove special build rule and dependency on
13833 libc.
13834 * sunrpc/rpcgen.c: New file.
13835
547b5e30
PE
138362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13837
c524201a
PE
13838 [BZ #13673]
13839 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13840 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13841 * sysdeps/i386/crti.S: Likewise.
13842 * sysdeps/i386/crtn.S: Likewise.
13843 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13844 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13847 * sysdeps/sh/crti.S: Likewise.
13848 * sysdeps/sh/crtn.S: Likewise.
13849 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13850
7b6235f2
PE
13851 [BZ #13673]
13852 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13853 with URL.
13854 * locale/programs/locfile-kw.gperf: Likewise.
13855 * locale/programs/charmap-kw.h: Regenerated.
13856 * locale/programs/locfile-kw.h: Likewise.
13857
547b5e30
PE
13858 [BZ #13673]
13859 * intl/plural.y: Replace FSF snail mail address with URL.
13860 * intl/plural.c: Regenerated.
13861
5f0a5dae
RH
138622012-03-09 Richard Henderson <rth@twiddle.net>
13863
13864 * include/math_private.h: Remove file.
13865 * math/math_private.h: Move file ...
13866 * sysdeps/generic/math_private.h: ... here.
13867
b8c03620
RH
13868 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13869 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13870 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13871
4e234f5d 13872 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13873 and <math_private.h>.
13874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13962 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13963 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13964 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13965 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13967 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13968 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13969 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13970 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13971 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13973 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13974 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13975 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13976 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13977 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13978 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13979 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13980 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13981 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13986 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13988 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13990 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13991 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13992 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13995 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13997 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13998 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13999 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14001 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14002 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14003 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14006 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14007 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14008 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14012 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14016 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14017 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14019 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14020 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14021 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14022 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14023 * sysdeps/ieee754/k_standard.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14111 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14122 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14128 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14144 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14146 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14150 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14151 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14152 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14156 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14162 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14166 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14167 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14179 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14184 * sysdeps/ieee754/s_lib_version.c: Likewise.
14185 * sysdeps/ieee754/s_matherr.c: Likewise.
14186 * sysdeps/ieee754/s_signgam.c: Likewise.
14187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14189 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14190 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14191 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14192 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14193 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14194 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14195 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14196 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14197 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14198 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14199 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14200 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14201 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14202 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14204 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14205 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14208
1991fa03
JM
142092012-03-09 Joseph Myers <joseph@codesourcery.com>
14210
14211 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14212 * sunrpc/rpc_main.c: Likewise.
14213 * sunrpc/rpc_svcout.c: Likewise.
14214
60d6f5a6
DM
142152012-03-09 David S. Miller <davem@davemloft.net>
14216
14217 * include/math_private.h: New file.
14218
4962050e
JM
142192012-03-09 Joseph Myers <joseph@codesourcery.com>
14220
02a6f887
JM
14221 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14222 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14223 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14224 from <bits/socket_type.h>.
14225 (enum __socket_type): Don't define here.
14226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14228 bits/socket_type.h.
14229
c6e013c1
JM
14230 [BZ #13566]
14231 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14232 checking __USE_GNU.
14233
4962050e
JM
14234 * Makerules ($(inst_includedir)/%.h): New rule.
14235 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14236 (install-others): Remove variable setting.
14237 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14238
38842f45
RH
142392012-03-08 Richard Henderson <rth@twiddle.net>
14240
67bb6da6
RH
14241 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14242 from macro to inline function; merge with the
14243 !__LIBC_INTERNAL_MATH_INLINES version.
14244 (__ieee754_sqrtf): Likewise.
14245
15194b4b
RH
14246 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14247 to inline function.
14248 (__rintf, __floor, __floorf): Likewise.
14249
64e21ede
RH
14250 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14251 macro to inline function.
14252 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14253
38842f45
RH
14254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14255 not <math/math_private.h>.
14256
c64bf5fe
DM
142572012-03-08 David S. Miller <davem@davemloft.net>
14258
14259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14260 copyright year.
14261 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14262
82d86f28
TS
142632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14264
14265 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14266 normalization.
14267 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14268 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14269
aea5d727
UD
142702012-03-08 Ulrich Drepper <drepper@gmail.com>
14271
14272 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14273 be defined individually, they must be defined as a block. Define
14274 S for printing a string instead of hidint the different by using a
14275 macro for adding the 'l'.
14276 * stdio-common/tst-fphex-wide.c: Adjust.
14277
70bca0a3
MP
142782012-03-07 Marek Polacek <polacek@redhat.com>
14279
14280 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14281
65b81130
MP
142822012-03-08 Marek Polacek <polacek@redhat.com>
14283
14284 [BZ #13806]
14285 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14286 * stdio-common/tst-fphex.c: Define a few macros to make the
14287 test reusable. Use them.
14288 * stdio-common/tst-fphex-wide.c: New file.
14289
07037eeb
JM
142902012-03-08 Joseph Myers <joseph@codesourcery.com>
14291
a7a93d50
JM
14292 [BZ #6911]
14293 * manual/macros.texi (gnusystems): New macro.
14294 (nongnusystems): Likewise.
14295 (gnulinuxhurdsystems): Likewise.
14296 (gnuhurdsystems): Likewise..
14297 (gnulinuxsystems): Likewise.
14298 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14299 variants of the GNU system, not "GNU system".
14300 * manual/conf.texi: Likewise.
14301 * manual/errno.texi: Likewise. Update example of errno macro
14302 expansion.
14303 * manual/filesys.texi: Likewise.
14304 (getumask): Document as specific to GNU/Hurd.
14305 * manual/install.texi: Likewise. Reword some references to
14306 GNU/Linux.
14307 * manual/intro.texi: Likewise.
14308 * manual/io.texi: Likewise.
14309 (File Name Portability): Detail which constraints are inapplicable
14310 to all GNU systems and which are only inapplicable to GNU/Hurd.
14311 * manual/job.texi: Likewise.
14312 * manual/llio.texi: Likewise.
14313 (O_NOCTTY): Document as present on GNU/Linux.
14314 * manual/maint.texi: Likewise.
14315 * manual/memory.texi: Likewise.
14316 * manual/pattern.texi: Likewise.
14317 * manual/pipe.texi: Likewise.
14318 * manual/process.texi: Likewise.
14319 * manual/resource.texi: Likewise.
14320 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14321 child on GNU/Hurd.
14322 * manual/setjmp.texi: Likewise.
14323 * manual/signal.texi: Likewise.
14324 * manual/startup.texi: Likewise.
14325 * manual/stdio.texi: Likewise.
14326 * manual/terminal.texi: Likewise.
14327 (ONLCR): Document as POSIX.
14328 (OXTABS): Document availability on GNU/Linux as XTABS.
14329 (ONOEOT): Document availability separately from other bits.
14330 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14331 * manual/time.texi: Likewise.
14332 * manual/users.texi: Likewise.
14333 * INSTALL: Regenerated.
14334 * sysdeps/gnu/errlist.c: Regenerated.
14335
07037eeb
JM
14336 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14337 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14338 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14339 puts.
14340 * configure: Regenerated.
14341
d1d3431a
JM
143422012-03-07 Joseph Myers <joseph@codesourcery.com>
14343
af6a1e37
JM
14344 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14345 default includes instead of AC_HEADER_CHECK.
14346 * sysdeps/i386/configure: Regenerated.
14347
d1d3431a
JM
14348 [BZ #10716]
14349 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14350 * math/s_cacoshf.c (__cacoshf): Likewise.
14351 * math/s_cacoshl.c (__cacoshl): Likewise.
14352 * math/s_casinh.c (__casinh): Set signs of result from argument.
14353 * math/s_casinhf.c (__casinhf): Likewise.
14354 * math/s_casinhl.c (__casinhl): Likewise.
14355 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14356 (casinh_test): Add more tests.
14357 * sysdeps/i386/fpu/libm-test-ulps: Update.
14358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359
482ff4da
UD
143602012-03-07 Ulrich Drepper <drepper@gmail.com>
14361
872fda05
UD
14362 * po/zh_TW.po: Update from translation team.
14363
a4300c7a
UD
14364 * login/Makefile (distribute): Remove variable.
14365 * catgets/Makefile: Likewise.
14366 * mach/Makefile: Likewise.
14367 * malloc/Makefile: Likewise.
14368 * misc/Makefile: Likewise.
14369 * iconv/Makefile: Likewise.
14370 * nscd/Makefile: Likewise.
14371 * hurd/Makefile: Likewise.
14372 * manual/Makefile: Likewise.
14373 * locale/Makefile: Likewise.
14374 * intl/Makefile: Likewise.
14375 * conform/Makefile: Likewise.
14376 * nss/Makefile: Likewise.
14377 * time/Makefile: Likewise.
14378 * soft-fp/Makefile: Likewise.
14379 * dirent/Makefile: Likewise.
14380 * gmon/Makefile: Likewise.
14381 * po/Makefile: Likewise.
14382 * rt/Makefile: Likewise.
14383 * socket/Makefile: Likewise.
14384 * math/Makefile: Likewise.
14385 * signal/Makefile: Likewise.
14386 * debug/Makefile: Likewise.
14387 * elf/Makefile: Likewise.
14388 * timezone/Makefile: Likewise.
14389 * stdlib/Makefile: Likewise.
14390 * iconvdata/Makefile: Likewise.
14391 * sunrpc/Makefile: Likewise.
14392 * io/Makefile: Likewise.
14393 * argp/Makefile: Likewise.
14394 * inet/Makefile: Likewise.
14395 * hesiod/Makefile: Likewise.
14396 * grp/Makefile: Likewise.
14397 * csu/Makefile: Likewise.
14398 * wctype/Makefile: Likewise.
14399 * crypt/Makefile: Likewise.
14400 * libio/Makefile: Likewise.
14401 * string/Makefile: Likewise.
14402 * nis/Makefile: Likewise.
14403 * resolv/Makefile: Likewise.
14404 * stdio-common/Makefile: Likewise.
14405 * wcsmbs/Makefile: Likewise.
14406 * dlfcn/Makefile: Likewise.
14407 * posix/Makefile: Likewise.
14408
3b7c4e74 14409 [BZ #6959]
482ff4da
UD
14410 * timezone/Makefile: Don't install timezone files, just the programs
14411 and scripts.
14412
f72ed77d
UD
144132012-03-06 Ulrich Drepper <drepper@gmail.com>
14414
a000466f
UD
14415 * nss/databases.def: Add missing gshadow entry.
14416
f72ed77d
UD
14417 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14418
a53b7a4e
MP
144192012-03-06 Marek Polacek <polacek@redhat.com>
14420
14421 [BZ #13726]
14422 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14423 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14424 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14425 * stdio-common/tst-long-dbl-fphex.c: New file.
14426
e9258400
DM
144272012-03-06 David S. Miller <davem@davemloft.net>
14428
14429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14430 (set_obp_int): New function.
14431 (get_obp_int): New function.
14432 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14434 Avoid unused variable warnings on 'val' and use builtin_expect.
14435 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14436 __builtin_expect.
e9258400
DM
14437 (INLINE_CLONE_SYSCALL): Likewise.
14438
3bd2c723
DM
144392012-03-05 David S. Miller <davem@davemloft.net>
14440
14441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14442
bbb78d03
AS
144432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14444
884c5db4
AS
14445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14446
bbb78d03
AS
14447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14448 only for |x| >= 40.
14449 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14450
1c9f702a 144512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14452
14453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14454 Replace gettimeofday with __vdso_gettimeofday.
14455
7be16f82
RM
14456 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14457 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14458 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14459
14460 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14461 time with __vdso_time.
14462
ed58a00f
JM
144632012-03-05 Joseph Myers <joseph@codesourcery.com>
14464
14465 * manual/lang.texi (size_t): Note types to which size_t may be
14466 equivalent with the GNU C Library, but do not describe when
14467 differences between them are significant.
14468
30ee4ced
AJ
144692012-03-05 Andreas Jaeger <aj@suse.de>
14470
14471 * sysdeps/i386/fpu/libm-test-ulps: Update.
14472
b7cd39e8
JM
144732012-03-05 Joseph Myers <joseph@codesourcery.com>
14474
14475 [BZ #3976]
14476 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14477 (__ieee754_pow): Save and restore rounding mode and use
14478 round-to-nearest for main computations.
14479 * math/libm-test.inc (pow_test_tonearest): New function.
14480 (pow_test_towardzero): Likewise.
14481 (pow_test_downward): Likewise.
14482 (pow_test_upward): Likewise.
14483 (main): Call the new functions.
14484 * sysdeps/i386/fpu/libm-test-ulps: Update.
14485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14486
14487 [BZ #3976]
14488 * math/libm-test.inc (cosh_test_tonearest): New function.
14489 (cosh_test_towardzero): Likewise.
14490 (cosh_test_downward): Likewise.
14491 (cosh_test_upward): Likewise.
14492 (sinh_test_tonearest): Likewise.
14493 (sinh_test_towardzero): Likewise.
14494 (sinh_test_downward): Likewise.
14495 (sinh_test_upward): Likewise.
14496 (main): Call the new functions.
14497 * sysdeps/i386/fpu/libm-test-ulps: Update.
14498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14499
6c6a98c9
TV
145002012-03-05 Tom de Vries <tom@codesourcery.com>
14501
14502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14503 default stack guard is set in last bytes.
14504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14505
21bb2d2e 145062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14507
21bb2d2e 14508 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14509
21bb2d2e
AJ
14510 [BZ #13656]
14511 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14512 possibly allocate from heap instead of stack.
14513 * stdio-common/bug-vfprintf-nargs.c: New file.
14514 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14515
c6922934
AS
145162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14517
14518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14519
bc957d53
MP
145202012-03-03 Marek Polacek <polacek@redhat.com>
14521
14522 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14523 * math/math_private.h: Likewise.
14524 * stdlib/tst-strtod.c: Likewise.
14525 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14526 * sysdeps/x86_64/bits/atomic.h: Likewise.
14527
6358490d
DM
145282012-03-02 David S. Miller <davem@davemloft.net>
14529
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14534 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14535 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14537 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14538
01ae168d
RM
145392012-03-02 Roland McGrath <roland@hack.frob.com>
14540
d9a17c07
RM
14541 [BZ #13792]
14542 * manual/examples/README: New file, says the example source files
14543 can be used under GPL>=2.
14544 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14545 line containing just "*/".
14546 * manual/examples/add.c: Add copyright header (GPL>=2).
14547 * manual/examples/argp-ex1.c: Likewise.
14548 * manual/examples/argp-ex2.c: Likewise.
14549 * manual/examples/argp-ex3.c: Likewise.
14550 * manual/examples/argp-ex4.c: Likewise.
14551 * manual/examples/atexit.c: Likewise.
14552 * manual/examples/db.c: Likewise.
14553 * manual/examples/dir.c: Likewise.
14554 * manual/examples/dir2.c: Likewise.
14555 * manual/examples/execinfo.c: Likewise.
14556 * manual/examples/filecli.c: Likewise.
14557 * manual/examples/filesrv.c: Likewise.
14558 * manual/examples/fmtmsgexpl.c: Likewise.
14559 * manual/examples/genpass.c: Likewise.
14560 * manual/examples/inetcli.c: Likewise.
14561 * manual/examples/inetsrv.c: Likewise.
14562 * manual/examples/isockad.c: Likewise.
14563 * manual/examples/longopt.c: Likewise.
14564 * manual/examples/memopen.c: Likewise.
14565 * manual/examples/memstrm.c: Likewise.
14566 * manual/examples/mkfsock.c: Likewise.
14567 * manual/examples/mkisock.c: Likewise.
14568 * manual/examples/mygetpass.c: Likewise.
14569 * manual/examples/pipe.c: Likewise.
14570 * manual/examples/popen.c: Likewise.
14571 * manual/examples/rprintf.c: Likewise.
14572 * manual/examples/search.c: Likewise.
14573 * manual/examples/select.c: Likewise.
14574 * manual/examples/setjmp.c: Likewise.
14575 * manual/examples/sigh1.c: Likewise.
14576 * manual/examples/sigusr.c: Likewise.
14577 * manual/examples/stpcpy.c: Likewise.
14578 * manual/examples/strdupa.c: Likewise.
14579 * manual/examples/strftim.c: Likewise.
14580 * manual/examples/strncat.c: Likewise.
14581 * manual/examples/subopt.c: Likewise.
14582 * manual/examples/swapcontext.c: Likewise.
14583 * manual/examples/termios.c: Likewise.
14584 * manual/examples/testopt.c: Likewise.
14585 * manual/examples/testpass.c: Likewise.
14586 * manual/examples/timeval_subtract.c: Likewise.
14587
01ae168d
RM
14588 [BZ #13792]
14589 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14590 function to ...
14591 * manual/timeval_subtract.c.texi: ... here, new file.
14592
49efa33d
DM
145932012-03-02 David S. Miller <davem@davemloft.net>
14594
14595 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14596
28afd92d
JM
145972012-03-02 Joseph Myers <joseph@codesourcery.com>
14598
804360ed
JM
14599 [BZ #3976]
14600 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14601 (__sin): Save and restore rounding mode and use round-to-nearest
14602 for all computations.
14603 (__cos): Save and restore rounding mode and use round-to-nearest
14604 for all computations.
14605 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14606 <fenv.h>.
14607 (tan): Save and restore rounding mode and use round-to-nearest for
14608 all computations.
14609 * math/libm-test.inc (cos_test_tonearest): New function.
14610 (cos_test_towardzero): Likewise.
14611 (cos_test_downward): Likewise.
14612 (cos_test_upward): Likewise.
14613 (sin_test_tonearest): Likewise.
14614 (sin_test_towardzero): Likewise.
14615 (sin_test_downward): Likewise.
14616 (sin_test_upward): Likewise.
14617 (tan_test_tonearest): Likewise.
14618 (tan_test_towardzero): Likewise.
14619 (tan_test_downward): Likewise.
14620 (tan_test_upward): Likewise.
14621 (main): Call the new functions.
14622 * sysdeps/i386/fpu/libm-test-ulps: Update.
14623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14624
a6d06d7b
JM
14625 [BZ #10135]
14626 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14627 small n, then large n, before computing and testing k+n.
14628 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14630 Likewise.
14631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14632 Likewise.
14633 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14634 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14641 * math/libm-test.inc (scalbn_test): Add more tests.
14642 (scalbln_test): Likewise.
14643
07e12bb3
JM
14644 * manual/filesys.texi (mode_t): Describe constraints on size and
14645 signedness, not exact equivalence to a particular type.
14646 (ino_t): Likewise.
14647 (ino64_t): Likewise.
14648 (dev_t): Likewise.
14649 (nlink_t): Likewise.
14650 (blkcnt_t): Likewise.
14651 (blkcnt64_t): Likewise.
14652 * manual/llio.texi (off_t): Likewise.
14653
28afd92d
JM
14654 [BZ #3976]
14655 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14656 (__ieee754_exp): Save and restore rounding mode and use
14657 round-to-nearest for all computations.
14658 * math/libm-test.inc (exp_test_tonearest): New function.
14659 (exp_test_towardzero): Likewise.
14660 (exp_test_downward): Likewise.
14661 (exp_test_upward): Likewise.
14662 (main): Call the new functions.
14663 * sysdeps/i386/fpu/libm-test-ulps: Update.
14664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665
b1eeb65d
CD
146662012-03-01 Chris Demetriou <cgd@google.com>
14667
14668 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14669 have predictable order.
14670
53362a4b
DM
146712012-03-01 David S. Miller <davem@davemloft.net>
14672
3c969083
DM
14673 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14674
759707de
DM
14675 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14676 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14677 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14678 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14679
dfdb8ff2
DM
14680 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14681 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14682 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14684 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14685 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14686 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14687 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14688 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14689
ead89f96
DM
14690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14691
7f66bd07
DM
14692 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14693 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14695
53362a4b
DM
14696 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14697 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14698 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14699 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14700 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14704 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14705 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14706 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14712 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14713 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14714 * sysdeps/sparc/elf/configure: Regenerated.
14715
7b1902cb
JM
147162012-03-01 Joseph Myers <joseph@codesourcery.com>
14717
bec039bc
JM
14718 * configure.in (AS, LD): Require binutils 2.20 or later.
14719 * configure: Regenerated.
14720 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14721 as required minimum version.
14722 * INSTALL: Regenerated.
14723
7b1902cb
JM
14724 [BZ #2541]
14725 [BZ #4108]
14726 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14727 before squaring exponent.
14728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14729 bottom long double and 27 bits of top long double before squaring
14730 exponent.
14731 * math/libm-test.inc (erfc_test): Add more tests.
14732 * sysdeps/i386/fpu/libm-test-ulps: Update.
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14735
f775c276
KT
147362012-03-01 Kai Tietz <ktietz@redhat.com>
14737
14738 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14739 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14740 containing bit-fields.
14741 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14742 * soft-fp/single.h (_FP_UNION_S): Likewise.
14743 * soft-fp/double.h (_FP_UNION_D): Likewise.
14744
5b8a4d4a
JM
147452012-02-29 Joseph Myers <joseph@codesourcery.com>
14746
0bab47b6
JM
14747 [BZ #13786]
14748 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14749 not include ../strcmp.S.
14750 [USE_AS_STRNCASECMP_L]: Likewise.
14751 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14752 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14753 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14754 (__strncasecmp_l_ia32): Define as alias to
14755 __strncasecmp_l_nonascii.
14756
0fcad3e2
JM
14757 [BZ #5794]
14758 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14759 * sysdeps/i386/fpu/libm-test-ulps: Update.
14760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14761
5b8a4d4a
JM
14762 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
8fdceb2e
JL
147652012-02-29 Jeff Law <law@redhat.com>
14766
14767 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14768 out of bounds read.
14769
1f393a11
MP
147702012-02-29 Marek Polacek <polacek@redhat.com>
14771
14772 [BZ #13706]
14773 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14774 * elf/Makefile: Add rules to run tst-unused-dep.out.
14775
8847f037
DM
147762012-02-28 David S. Miller <davem@davemloft.net>
14777
14778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14782 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14783 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14784
169d7f11
JM
147852012-02-29 Joseph Myers <joseph@codesourcery.com>
14786
14787 * math/libm-test.inc (llround_test): Move one test from
14788 lround_test. Use TEST_f_L in moved test.
14789 (lround_test): Move misplaced test to llround_test. Add testcase
14790 from bug 2561.
14791
39adf059
UD
147922012-02-28 Ulrich Drepper <drepper@gmail.com>
14793
14794 * sysdeps/x86_64/fpu/e_expf.S: New file.
14795 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14796
71b5d1c5
SB
147972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14798
14799 [BZ #13637]
14800 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14801 of remain_len that may cause incomplete multi-byte character and
14802 false match.
14803 * posix/bug-regex33.c: New file.
14804 * posix/Makefile (tests): Add bug-regex33.
14805
1f77f049
JM
148062012-02-28 Joseph Myers <joseph@codesourcery.com>
14807
14808 * manual/macros.texi: New file.
14809 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14810 * manual/libc.texinfo: Include macros.texi.
14811 * manual/creatute.texi: Likewise.
14812 * manual/install.texi: Likewise.
14813 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14814 @glibcadj{} in references to the GNU C Library.
14815 * manual/charset.texi: Likewise.
14816 * manual/conf.texi: Likewise.
14817 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14818 when not using those macros.
14819 * manual/creature.texi: Likewise.
14820 * manual/crypt.texi: Likewise.
14821 * manual/errno.texi: Likewise.
14822 * manual/filesys.texi: Likewise.
14823 * manual/header.texi: Likewise.
14824 * manual/install.texi: Likewise.
14825 * manual/intro.texi: Likewise.
14826 * manual/io.texi: Likewise.
14827 * manual/job.texi: Likewise.
14828 * manual/lang.texi: Likewise.
14829 * manual/libc.texiinfo: Likewise.
14830 * manual/llio.texi: Likewise.
14831 * manual/locale.texi: Likewise.
14832 * manual/maint.texi: Likewise.
14833 * manual/math.texi: Likewise.
14834 * manual/memory.texi: Likewise.
14835 * manual/message.texi: Likewise.
14836 * manual/nss.texi: Likewise.
14837 * manual/pattern.texi: Likewise.
14838 * manual/process.texi: Likewise.
14839 * manual/resource.texi: Likewise.
14840 * manual/search.texi: Likewise.
14841 * manual/setjmp.texi: Likewise.
14842 * manual/signal.texi: Likewise.
14843 * manual/socket.texi: Likewise.
14844 * manual/startup.texi: Likewise.
14845 * manual/stdio.texi: Likewise.
14846 * manual/string.texi: Likewise.
14847 * manual/sysinfo.texi: Likewise.
14848 * manual/syslog.texi: Likewise.
14849 * manual/terminal.texi: Likewise.
14850 * manual/time.texi: Likewise.
14851 * manual/users.texi: Likewise.
14852 * INSTALL: Regenerated.
14853 * NOTES: Regenerated.
d40c5d54 14854 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14855
450bf206
AS
148562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14857
14858 * include/dirent.h: Include <dirstream.h> before
14859 <dirent/dirent.h>.
14860
741a235b
DM
148612012-02-28 David S. Miller <davem@davemloft.net>
14862
14863 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14864 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14865 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14866 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14867
d6b5aa58
DM
148682012-02-27 David S. Miller <davem@davemloft.net>
14869
1aff59a3
DM
14870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14872 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14873 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14874
d6b5aa58
DM
14875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14876 frame pointer instead of stack pointer relative arg slot.
14877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14880
433f48bf
CD
148812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14882
14883 [BZ #3992]
14884 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14885
d674b76d
DM
148862012-02-27 David S. Miller <davem@davemloft.net>
14887
14888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14894 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14895 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14896
0e7727f7
JM
148972012-02-27 Joseph Myers <joseph@codesourcery.com>
14898
14899 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14900 later. Allow versions 5-9.
43be4ca2 14901 * configure: Regenerated.
0e7727f7
JM
14902 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14903 required minimum version and 4.6 as recommended version. Do not
14904 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14905 * INSTALL: Regenerated.
0e7727f7 14906
a78bc654
DM
149072012-02-27 David S. Miller <davem@davemloft.net>
14908
428d5830
DM
14909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14913 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14914 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14915 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14916 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14917
a78bc654
DM
14918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14919 manipulate bits before adding and subtracting TWO112[sx].
14920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14921
4579f81c
RM
149222012-02-27 Roland McGrath <roland@hack.frob.com>
14923
36c8acb4
RM
14924 [BZ #13775]
14925 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14926 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14927 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14928 being in POSIX, because they are in 1003.1-2008.
14929
84ad622b
RM
14930 * rt/tst-aio.c: Include <fcntl.h>.
14931 * rt/tst-aio7.c: Likewise.
14932 * rt/tst-aio64.c: Likewise.
14933
4579f81c
RM
14934 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14935
abd923db
JM
149362012-02-27 Joseph Myers <joseph@codesourcery.com>
14937
14938 * manual/install.texi (--with-headers): Describe headers as
14939 interface headers, not private headers.
14940 (Specific advice for GNU/Linux systems): Describe use of headers
14941 from "make headers_install", not private headers from older
14942 kernels.
43be4ca2 14943 * INSTALL: Regenerated.
abd923db
JM
14944 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14945 Change to 2.6.19.
14946 * sysdeps/unix/sysv/linux/configure: Regenerated.
14947
6664049b
JM
14948 * manual/llio.texi (fclean): Remove documentation.
14949
bb8b6697
JM
14950 * manual/Makefile (libc-texi-generated): New variable. Include
14951 version.texi.
14952 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14953 $(libc-texi-generated), not duplicated list of files.
14954 (version.texi, stamp-version): New rules.
14955 (realclean): Remove $(libc-texi-generated), not individual files
14956 from that list. Do not remove dir-add.texinfo.
14957 * manual/libc.texinfo: Comment out uses of edition numbers and
14958 references to printed manual. Remove last-updated dates.
14959 (EDITION): Comment out.
14960 (ISBN): Likewise.
14961 (VERSION, UPDATED): Remove.
14962 (version.texi): Include.
14963
12e5c3b9
AS
149642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14965
14966 * sysdeps/posix/spawni.c: Include <signal.h>.
14967 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14968 * sysdeps/pthread/aio_fsync.c: Likewise.
14969
4efeffc1 149702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14971
ba63ba08
UD
14972 * conform/Makefile (tests): Run only when not cross-compiling and
14973 when fast-check is not defined.
14974
d94a4670
UD
14975 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14976 * conform/data/limits.h-data: Fixes for POSIX2008.
14977 * conform/run-conformtest.sh: Run all tests.
14978 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14979 headers.
14980 * include/bits/dlfcn.h: Likewise.
14981 * include/langinfo.h: Likewise.
14982 * include/monetary.h: Likewise.
14983 * include/sys/poll.h: Likewise.
14984
14985 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14986 for __USE_GNU.
14987 * posix/spawn.h: Define __need_sigset_t.
14988 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14989 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14990 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14991 to get sigevent_t only.
14992 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14993 only for __USE_GNU.
14994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14996 process_vm_writev only for __USE_GNU.
14997 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14998
14999 * conform/Makefile: For now ignore errors from run-conformtest.
15000 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15001 POSIX to avoid namespace pollution. Don't prepend headers.
15002 * conform/data/aio.h-data: Fixes for POSIX testing.
15003 * conform/data/fcntl.h-data: Likewise.
15004 * conform/data/glob.h-data: Likewise.
15005 * conform/data/grp.h-data: Likewise.
15006 * conform/data/pthread.h-data: Likewise.
15007 * conform/data/pwd.h-data: Likewise.
15008 * conform/data/signal.h-data: Likewise.
15009 * conform/data/spawn.h-data: Likewise.
15010 * conform/data/stdio.h-data: Likewise.
15011 * conform/data/stdlib.h-data: Likewise.
15012 * conform/data/stropts.h-data: Likewise.
15013 * conform/data/sys/mman.h-data: Likewise.
15014 * conform/data/sys/stat.h-data: Likewise.
15015 * conform/data/sys/types.h-data: Likewise.
15016 * conform/data/sys/wait.h-data: Likewise.
15017 * conform/data/time.h-data: Likewise.
15018 * conform/data/unistd.h-data: Likewise.
15019 * conform/data/utime.h-data: Likewise.
15020
15021 * io/sys/stat.h: fchmod was always in POSIX.
15022 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15023 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15024 * rt/aio.h: Define __need_timespec before including <time.h>.
15025 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15026 struct. Add forward declaration of pthread_attr_t and use it in
15027 sigevent.
15028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15030 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15031 always remove CLK_TCK definition.
15032
c20105c3
AS
150332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15034
15035 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15036
7a270350
UD
150372012-02-25 Ulrich Drepper <drepper@gmail.com>
15038
31341567
UD
15039 * conform/run-conformtest.sh: New file.
15040 * conform/Makefile: Run run-conformtest for tests.
15041 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15042 support.
15043
15044 * conform/data/uchar.h-data: New file.
15045 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15046 * conform/data/arpa/inet.h-data: Likewise.
15047 * conform/data/assert.h-data: Likewise.
15048 * conform/data/complex.h-data: Likewise.
15049 * conform/data/cpio.h-data: Likewise.
15050 * conform/data/ctype.h-data: Likewise.
15051 * conform/data/dirent.h-data: Likewise.
15052 * conform/data/dlfcn.h-data: Likewise.
15053 * conform/data/errno.h-data: Likewise.
15054 * conform/data/fcntl.h-data: Likewise.
15055 * conform/data/float.h-data: Likewise.
15056 * conform/data/fmtmsg.h-data: Likewise.
15057 * conform/data/fnmatch.h-data: Likewise.
15058 * conform/data/ftw.h-data: Likewise.
15059 * conform/data/glob.h-data: Likewise.
15060 * conform/data/grp.h-data: Likewise.
15061 * conform/data/iconv.h-data: Likewise.
15062 * conform/data/inttypes.h-data: Likewise.
15063 * conform/data/langinfo.h-data: Likewise.
15064 * conform/data/libgen.h-data: Likewise.
15065 * conform/data/limits.h-data: Likewise.
15066 * conform/data/locale.h-data: Likewise.
15067 * conform/data/math.h-data: Likewise.
15068 * conform/data/monetary.h-data: Likewise.
15069 * conform/data/mqueue.h-data: Likewise.
15070 * conform/data/ndbm.h-data: Likewise.
15071 * conform/data/net/if.h-data: Likewise.
15072 * conform/data/netdb.h-data: Likewise.
15073 * conform/data/netinet/in.h-data: Likewise.
15074 * conform/data/nl_types.h-data: Likewise.
15075 * conform/data/poll.h-data: Likewise.
15076 * conform/data/pthread.h-data: Likewise.
15077 * conform/data/pwd.h-data: Likewise.
15078 * conform/data/regex.h-data: Likewise.
15079 * conform/data/sched.h-data: Likewise.
15080 * conform/data/search.h-data: Likewise.
15081 * conform/data/semaphore.h-data: Likewise.
15082 * conform/data/setjmp.h-data: Likewise.
15083 * conform/data/signal.h-data: Likewise.
15084 * conform/data/spawn.h-data: Likewise.
15085 * conform/data/stdarg.h-data: Likewise.
15086 * conform/data/stdio.h-data: Likewise.
15087 * conform/data/stdlib.h-data: Likewise.
15088 * conform/data/string.h-data: Likewise.
15089 * conform/data/strings.h-data: Likewise.
15090 * conform/data/stropts.h-data: Likewise.
15091 * conform/data/sys/ipc.h-data: Likewise.
15092 * conform/data/sys/mman.h-data: Likewise.
15093 * conform/data/sys/msg.h-data: Likewise.
15094 * conform/data/sys/resource.h-data: Likewise.
15095 * conform/data/sys/select.h-data: Likewise.
15096 * conform/data/sys/sem.h-data: Likewise.
15097 * conform/data/sys/shm.h-data: Likewise.
15098 * conform/data/sys/socket.h-data: Likewise.
15099 * conform/data/sys/stat.h-data: Likewise.
15100 * conform/data/sys/statvfs.h-data: Likewise.
15101 * conform/data/sys/time.h-data: Likewise.
15102 * conform/data/sys/timeb.h-data: Likewise.
15103 * conform/data/sys/times.h-data: Likewise.
15104 * conform/data/sys/types.h-data: Likewise.
15105 * conform/data/sys/uio.h-data: Likewise.
15106 * conform/data/sys/un.h-data: Likewise.
15107 * conform/data/sys/utsname.h-data: Likewise.
15108 * conform/data/sys/wait.h-data: Likewise.
15109 * conform/data/syslog.h-data: Likewise.
15110 * conform/data/tar.h-data: Likewise.
15111 * conform/data/termios.h-data: Likewise.
15112 * conform/data/utime.h-data: Likewise.
15113 * conform/data/utmpx.h-data: Likewise.
15114 * conform/data/varargs.h-data: Likewise.
15115 * conform/data/wchar.h-data: Likewise.
15116 * conform/data/wctype.h-data: Likewise.
15117 * conform/data/wordexp.h-data: Likewise.
15118
15119 * include/stropts.h: New file.
15120 * include/uchar.h: New file.
15121 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15122 * include/assert.h: Likewise.
15123 * include/ctype.h: Likewise.
15124 * include/dirent.h: Likewise.
15125 * include/dlfcn.h: Likewise.
15126 * include/fcntl.h: Likewise.
15127 * include/fnmatch.h: Likewise.
15128 * include/glob.h: Likewise.
15129 * include/grp.h: Likewise.
15130 * include/libio.h: Likewise.
15131 * include/locale.h: Likewise.
15132 * include/math.h: Likewise.
15133 * include/net/if.h: Likewise.
15134 * include/netdb.h: Likewise.
15135 * include/netinet/in.h: Likewise.
15136 * include/pthread.h: Likewise.
15137 * include/pwd.h: Likewise.
15138 * include/regex.h: Likewise.
15139 * include/sched.h: Likewise.
15140 * include/search.h: Likewise.
15141 * include/setjmp.h: Likewise.
15142 * include/signal.h: Likewise.
15143 * include/stdio.h: Likewise.
15144 * include/stdlib.h: Likewise.
15145 * include/string.h: Likewise.
15146 * include/sys/cdefs.h: Likewise.
15147 * include/sys/mman.h: Likewise.
15148 * include/sys/msg.h: Likewise.
15149 * include/sys/resource.h: Likewise.
15150 * include/sys/select.h: Likewise.
15151 * include/sys/socket.h: Likewise.
15152 * include/sys/stat.h: Likewise.
15153 * include/sys/statvfs.h: Likewise.
15154 * include/sys/time.h: Likewise.
15155 * include/sys/times.h: Likewise.
15156 * include/sys/uio.h: Likewise.
15157 * include/sys/utsname.h: Likewise.
15158 * include/sys/wait.h: Likewise.
15159 * include/termios.h: Likewise.
15160 * include/time.h: Likewise.
15161 * include/ulimit.h: Likewise.
15162 * include/unistd.h: Likewise.
15163 * include/utime.h: Likewise.
15164 * include/wchar.h: Likewise.
15165 * include/wctype.h: Likewise.
15166 * include/wordexp.h: Likewise.
15167
15168 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15169
7a270350
UD
15170 * time/time.h: TIME_UTC must be a macro.
15171 Make timespec_get available for ISO C11 only as well.
15172
7724defc
UD
151732012-02-24 Ulrich Drepper <drepper@gmail.com>
15174
15175 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15176 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15177
6b1d1d46
JM
151782012-02-24 Joseph Myers <joseph@codesourcery.com>
15179
15180 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15181
0f8bbd69
JM
151822012-02-24 Joseph Myers <joseph@codesourcery.com>
15183
15184 * manual/texinfo.tex: Update to version 2012-01-19.16.
15185
66ab80bc
JM
151862012-02-24 Joseph Myers <joseph@codesourcery.com>
15187
15188 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15189
74981cc5
RM
151902012-02-24 Roland McGrath <roland@hack.frob.com>
15191
ee968201
RM
15192 [BZ #13738]
15193 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15194 * manual/fdl-1.3.texi: New file.
15195 * manual/fdl-1.1.texi: File removed.
15196
74981cc5
RM
15197 [BZ #13738]
15198 * manual/libc.texinfo (FDL_VERSION): New @set.
15199 Use it for mention of FDL in cover text.
15200 (Documentation License): Use it in @include file name.
15201
7bb764bc
JM
152022012-02-22 Joseph Myers <joseph@codesourcery.com>
15203 Roland McGrath <roland@hack.frob.com>
15204
15205 [BZ #5461]
15206 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15207 not LONG_LONG_MAX and LONG_LONG_MIN.
15208 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15209 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15210 name.
15211 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15212
6cbeae47
JM
152132012-02-22 Joseph Myers <joseph@codesourcery.com>
15214
15215 [BZ #2547]
15216 [BZ #11365]
15217 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15218 manipulate bits before adding and subtracting TWO23[sx].
15219 * math/libm-test.inc (nearbyint_test): Add more tests.
15220
fe45ce09
JM
152212012-02-22 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #2548]
15224 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15225 bits before adding and subtracting TWO23[sx].
15226 * math/libm-test.inc (rint_test): Add more tests.
15227 (rint_test_tonearest): Likewise.
15228 (rint_test_towardzero): Likewise.
15229 (rint_test_downward): Likewise.
15230 (rint_test_upward: Likewise.
15231
ff3b3d82
JM
152322012-02-22 Joseph Myers <joseph@codesourcery.com>
15233
15234 [BZ #10110]
15235 * include/stdc-predef.h: New file. Extracted from features.h.
15236 * include/features.h: Include stdc-predef.h.
15237 * Makefile (headers): Add stdc-predef.h.
15238 * CONFORMANCE (Compiler limitations): Update.
15239
ef0aab35
JM
152402012-02-22 Joseph Myers <joseph@codesourcery.com>
15241
15242 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15243
58639409
DM
152442012-02-21 David S. Miller <davem@davemloft.net>
15245
15246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15248
c0e70b25
DM
152492012-02-20 David S. Miller <davem@davemloft.net>
15250
15251 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15252 using a normal save/restore sequence, rather than allocating a
15253 dummy stack frame just to store a frame pointer and restore.
15254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15255
fb06851d
JM
152562012-02-21 Joseph Myers <joseph@codesourcery.com>
15257
15258 * manual/install.texi: Fix stray word in line-wrapped comment.
15259
7a8b71c3
DM
152602012-02-20 David S. Miller <davem@davemloft.net>
15261
d510c123
DM
15262 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15263 both binutils and gcc support GOTDATA.
15264
0722d7c2
DM
15265 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15266 "rd %pc" in the PIC register setup sequences.
15267
3d2b3019
DM
15268 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15269 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15270 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15271 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15272 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15277 (SYSCALL_ERROR_HANDLER): Likewise.
15278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15279 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15281 (SYSCALL_ERROR_HANDLER): Likewise.
15282
c80098a9
DM
15283 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15284 (HAVE_GCC_GOTDATA): New.
15285 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15286 relocation support in both binutils and gcc.
15287 * sysdeps/sparc/elf/configure: Regenerate.
15288
3a2545a0
DM
15289 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15290 * sysdeps/sparc/sparc32/elf/configure: Delete.
15291 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15292 * sysdeps/sparc/sparc64/elf/configure: Delete.
15293 * sysdeps/sparc/elf/configure.in: New file.
15294 * sysdeps/sparc/elf/configure: Generate.
15295
7a8b71c3
DM
15296 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15297 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15299 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15300 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15301
f1e86fca
JM
153022012-02-21 Joseph Myers <joseph@codesourcery.com>
15303
15304 * manual/install.texi: Do not mention specific glibc version
15305 numbers.
15306 * manual/libc.texinfo (VERSION, UPDATED): Update.
15307 (@copying): Use @copyright{} and range of years.
15308
0e7dfaef
JM
153092012-02-21 Joseph Myers <joseph@codesourcery.com>
15310
15311 [BZ #13695]
15312 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15313 [crti.S not in sysdirs] (generated): Do not append.
15314 [crti.S not in sysdirs] (omit-deps): Likewise.
15315 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15316 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15317 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15318 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15319 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15320 Likewise.
15321 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15322 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15323 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15324 * csu/defs.awk: Remove file.
15325 * sysdeps/generic/initfini.c: Likewise.
15326 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15327 variable.
15328 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15329 Likewise.
15330
599af3ca
JM
153312012-02-20 Joseph Myers <joseph@codesourcery.com>
15332
15333 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15334 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15335 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15339 <bits/epoll.h>.
15340 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15341 (__EPOLL_PACKED): Define to empty if not defined by
15342 <bits/epoll.h>.
15343 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15345 bits/epoll.h.
15346
0e499750
JM
153472012-02-20 Joseph Myers <joseph@codesourcery.com>
15348
15349 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15350 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15351 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15352 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15353 <bits/timerfd.h>.
15354 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15356 bits/timerfd.h.
15357
5ad91f6e
JM
153582012-02-20 Joseph Myers <joseph@codesourcery.com>
15359
15360 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15361 in C locale.
15362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15366
06b99b02
AJ
153672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15368
15369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15370 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15371
7638c0fd
AS
153722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15373
15374 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15375 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15376 defined.
15377 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15378 Likewise.
15379 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15380 entry for 2.16.
15381
92221550
AJ
153822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15383
15384 * math/w_acos.c: Use non-signaling floating-point comparisons.
15385 * math/w_acosf.c: Likewise.
15386 * math/w_acosh.c: Likewise.
15387 * math/w_acoshf.c: Likewise.
15388 * math/w_acoshl.c: Likewise.
15389 * math/w_acosl.c: Likewise.
15390 * math/w_asin.c: Likewise.
15391 * math/w_asinf.c: Likewise.
15392 * math/w_asinl.c: Likewise.
15393 * math/w_atanh.c: Likewise.
15394 * math/w_atanhf.c: Likewise.
15395 * math/w_atanhl.c: Likewise.
15396 * math/w_exp2.c: Likewise.
15397 * math/w_exp2f.c: Likewise.
15398 * math/w_exp2l.c: Likewise.
15399 * math/w_j0.c: Likewise.
15400 * math/w_j0f.c: Likewise.
15401 * math/w_j0l.c: Likewise.
15402 * math/w_j1.c: Likewise.
15403 * math/w_j1f.c: Likewise.
15404 * math/w_j1l.c: Likewise.
15405 * math/w_jn.c: Likewise.
15406 * math/w_jnf.c: Likewise.
15407 * math/w_log.c: Likewise.
15408 * math/w_log10.c: Likewise.
15409 * math/w_log10f.c: Likewise.
15410 * math/w_log10l.c: Likewise.
15411 * math/w_log2.c: Likewise.
15412 * math/w_log2f.c: Likewise.
15413 * math/w_log2l.c: Likewise.
15414 * math/w_logf.c: Likewise.
15415 * math/w_logl.c: Likewise.
15416 * math/w_sqrt.c: Likewise.
15417 * math/w_sqrtf.c: Likewise.
15418 * math/w_sqrtl.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15420 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15422 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15424
ebaf36eb
JM
154252012-02-19 Joseph Myers <joseph@codesourcery.com>
15426
15427 [BZ #9739]
15428 * manual/string.texi (strnlen): Use correct parameter name in
15429 equivalent expression.
15430
71c254a6
JM
154312012-02-19 Joseph Myers <joseph@codesourcery.com>
15432
15433 [BZ #11174]
15434 * manual/users.texi (seteuid): Consistently use neweuid for
15435 argument name.
15436
16d2c631
JM
154372012-02-19 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #13704]
15440 * manual/nss.texi (Services in the NSS configuration): Correct
15441 list of services in example configuration file.
15442
cd837b09
NB
154432012-02-19 Nick Bowler <nbowler@draconx.ca>
15444
15445 [BZ #11322]
15446 * manual/arith.texi: Remove statements about negative zero
15447 behaving identically to zero.
15448
02c4bbad
JM
154492012-02-18 Joseph Myers <joseph@codesourcery.com>
15450
15451 [BZ #5993]
15452 * manual/install.texi: Do not document upgrading from libc5.
15453
366842e7
JM
154542012-02-18 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #4596]
15457 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15458
dd54084d
DM
154592012-02-18 David S. Miller <davem@davemloft.net>
15460
15461 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15462 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15463 %o7 across the call.
15464 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15465 instead.
15466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15467 SETUP_PIC_REG_LEAF.
15468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15469 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15470 * sysdeps/sparc/crtn.S: Likewise.
15471
2bcc53a3
UD
154722012-02-17 Ulrich Drepper <drepper@gmail.com>
15473
15474 * aout/Makefile: Remove.
15475
09c093b5
RK
154762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15477
15478 [BZ #13058]
15479 * manual/examples/argp-ex1.c (main): Format definition in GNU
15480 style.
15481 * manual/examples/argp-ex2.c (main): Likewise.
15482 * manual/examples/argp-ex3.c (main): Likewise.
15483 * manual/examples/argp-ex4.c (main): Likewise.
15484 * manual/examples/longopt.c (main): Use new-style prototype
15485 definition.
15486 * manual/examples/strncat.c (main): Specify return type and use
15487 (void) for arguments.
15488 * manual/examples/subopt.c (main): Use char **argv argument.
15489
2ee633a2
JM
154902012-02-17 Joseph Myers <joseph@codesourcery.com>
15491
15492 [BZ #5077]
15493 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15494 rounding modes.
15495
0520adde
FB
154962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15497
15498 [BZ #6907]
15499 * manual/string.texi (strchr): Change when strchrnul is
15500 recommended.
15501
3f4081cd
DGM
155022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15503
15504 [BZ #174]
15505 * manual/locale.texi (setlocale): Document LOCPATH.
15506
d1b10e78
JM
155072012-02-17 Joseph Myers <joseph@codesourcery.com>
15508
15509 [BZ #10210]
15510 * manual/process.texi (execle): Move @dots{} before last argument.
15511
79c6869c
PB
155122012-02-17 Paul Bolle <pebolle@tiscali.nl>
15513
15514 [BZ #12047]
15515 * manual/charset.texi (Generic Charset Conversion): Fix typo
15516 (LC_TYPE -> LC_CTYPE).
15517
cc6e48bc
NB
155182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15519
15520 [BZ #5805]
15521 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15522 (scalbnf): Likewise.
15523 (scalbnl): Likewise.
15524 (scalbln): Likewise.
15525 (scalblnf): Likewise.
15526 (scalblnl): Likewise.
15527 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15528 (vwarnx): Likewise.
15529 (verr): Likewise.
15530 (verrx): Likewise.
15531 * manual/filesys.texi (telldir): Use braces around return type.
15532 * manual/llio.texi (mmap): Add space after comma.
15533 (mmap64): Likewise.
15534 * manual/math.texi (jn): Use @var{} on parameter names.
15535 (jnf): Likewise.
15536 (jnl): Likewise.
15537 (yn): Likewise.
15538 (ynf): Likewise.
15539 (ynl): Likewise.
15540 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15541 line.
15542 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15543 "...".
15544 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15545 (sched_get_priority_max): Likewise.
15546 * manual/signal.texi (sigvec): Add space after comma.
15547 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15548 names.
15549 (if_indextoname): Likewise.
15550 (if_freenameindex): Likewise.
15551 (sendto): Use ',' instead of '.' in prototype.
15552 * manual/startup.texi (syscall): Use @dots{} instead of literal
15553 "...".
15554 * manual/stdio.texi (__fpending): Separate initial words of
15555 paragraph from @deftypefun line.
15556 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15557 "...".
15558 (vsyslog): Use @var{} on parameter names.
15559 * manual/terminal.texi (stty): Use @var{} on parameter names.
15560 * manual/users.texi (getutmp): Use @var{} on parameter names.
15561 (getutmpx): Likewise.
15562
5b23062f
JM
155632012-02-17 Joseph Myers <joseph@codesourcery.com>
15564
15565 [BZ #6884]
15566 * manual/stdio.texi (fopen): Fix typos in description of
15567 ",ccs=STRING".
15568
8dee4833
AJ
155692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15570
15571 [BZ #4026]
15572 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15573 get clock_id definition.
15574
9078ce93
TS
155752012-02-17 Thomas Schwinge <thomas@schwinge.name>
15576
15577 [BZ #4822]
15578 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15579 (madvise): Cast every argument to void on its own.
15580
3835c55f
JM
155812012-02-17 Joseph Myers <joseph@codesourcery.com>
15582
15583 [BZ #9902]
15584 * manual/startup.texi (Exit Status): Fix typo.
15585
35c47e37
JM
155862012-02-17 Joseph Myers <joseph@codesourcery.com>
15587
15588 [BZ #10140]
15589 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15590 * manual/examples/argp-ex2.c: Likewise.
15591 * manual/examples/argp-ex3.c: Likewise.
15592
e3b69ca7
RH
155932012-02-16 Richard Henderson <rth@redhat.com>
15594
15595 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15596 * sysdeps/s390/s390-32/initfini.c: Remove.
15597 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15598 * sysdeps/s390/s390-64/initfini.c: Remove.
15599
df83af67
KK
156002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15601
15602 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15603 compiler output for sysdeps/generic/initfini.c.
15604 * sysdeps/sh/elf/initfini.c: Remove file.
15605
f63f3380
DM
156062012-02-16 David S. Miller <davem@davemloft.net>
15607
fb59b3a4
DM
15608 [BZ #11494]
15609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15610
f63f3380
DM
15611 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15612 * sysdeps/sparc/crti.S: New file.
15613 * sysdeps/sparc/crtn.S: New file.
15614 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15615 * sysdeps/sparc/sparc64/Makefile: Likewise.
15616
df6a4a4a
MF
156172012-02-15 Mike Frysinger <vapier@gentoo.org>
15618
6dd8f3dc 15619 [BZ #3335]
df6a4a4a
MF
15620 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15621
1cac7236
RM
156222012-02-15 Roland McGrath <roland@hack.frob.com>
15623
d2c736f8
RM
15624 [BZ #4822]
15625 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15626
1cac7236
RM
15627 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15628 (write, read, close): Likewise.
15629 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15630
8e475601
JM
156312012-02-15 Joseph Myers <joseph@codesourcery.com>
15632
15633 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15634 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15636 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15637 <bits/signalfd.h>.
15638 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15640 bits/signalfd.h.
15641
ed656b40
MP
156422012-02-14 Marek Polacek <polacek@redhat.com>
15643
15644 * sysdeps/x86_64/crti.S: New file.
15645 * sysdeps/x86_64/crtn.S: New file.
15646 * sysdeps/x86_64/elf/initfini.c: Remove file.
15647
2a979d3a
JM
156482012-02-13 Joseph Myers <joseph@codesourcery.com>
15649
15650 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15651 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15652 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15653 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15654 <bits/inotify.h>.
15655 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15657 bits/inotify.h.
15658
2a418ac3
JM
156592012-02-13 Joseph Myers <joseph@codesourcery.com>
15660
15661 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15662 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15663 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15664 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15665 <bits/eventfd.h>.
15666 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15668 bits/eventfd.h.
15669
fb779be7
TS
156702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15671
e19e83c5
RM
15672 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15673 __feraiseexcept instead of feraiseexcept.
7c35ffed 15674
fb779be7
TS
15675 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15676 nanosleep invocations.
15677 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15678 strings, and add error checking for a nanosleep invocations.
15679
59ba27a6
PE
156802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15681
15682 Replace FSF snail mail address with URLs, as per GNU coding standards.
15683 Most of the snail mail addresses were wrong anyway, and omitting
15684 them makes the source code easier to maintain. Almost all of the
15685 changes are to license notices and to locale LC_IDENTIFICATION
15686 addresses, except for this one:
15687 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15688 not its snail mail address.
15689
57b957eb
RH
156902012-02-09 Richard Henderson <rth@twiddle.net>
15691
af850b1c
RH
15692 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15693 of kernel-features.h.
15694
57b957eb
RH
15695 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15696
6b73181a
MP
156972012-02-08 Marek Polacek <polacek@redhat.com>
15698
15699 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15700 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15701 * sysdeps/gnu/_G_config.h: Likewise.
15702 * sysdeps/generic/_G_config.h: Likewise.
15703
26ecc33a
AS
157042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15705
6c6dbc63
AS
15706 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15707 tests.
15708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709
e216c012
AS
15710 * sysdeps/powerpc/powerpc32/crti.S: New file.
15711 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15712 * sysdeps/powerpc/powerpc64/crti.S: New file.
15713 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15714
26ecc33a
AS
15715 * Makeconfig (have-initfini): Don't set.
15716 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15717 * configure.in (nopic_initfini): Don't substitute.
15718 * config.h.in (HAVE_INITFINI): Don't #undef.
15719 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15720 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15721
3add8e13
JM
157222012-02-08 Joseph Myers <joseph@codesourcery.com>
15723
15724 Support crti.S and crtn.S provided directly by architectures.
15725 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15726 [crti.S in sysdirs] (omit-deps): Likewise.
15727 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15728 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15729 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15730 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15731 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15732 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15733 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15734 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15735 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15736 compiler output for sysdeps/generic/initfini.c.
15737 * sysdeps/i386/elf/Makefile: Remove file.
15738 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15739
a22f12b4
MP
157402012-02-07 Marek Polacek <polacek@redhat.com>
15741
15742 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15743 * sysdeps/gnu/_G_config.h: Likewise.
15744 * sysdeps/mach/hurd/_G_config.h: Likewise.
15745
148cf100
MP
157462012-02-07 Marek Polacek <polacek@redhat.com>
15747
15748 * math/Makefile (tests): Add tst-CMPLX2.
15749 * math/tst-CMPLX2.c: New file.
15750
cfdc0dd7
AS
157512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15752
84ba42c4
AS
15753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15754
cfdc0dd7
AS
15755 * math/libm-test.inc (jn_test): Add missing L suffix.
15756
622c86f4
MP
157572012-02-06 Marek Polacek <polacek@redhat.com>
15758
15759 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15760 * sysdeps/i386/fpu/e_powf.S: Likewise.
15761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15762 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15764 * sysdeps/i386/fpu/e_pow.S: Likewise.
15765 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15767 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15768 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15769 * sysdeps/i386/fpu/e_log2.S: Likewise.
15770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15772 * sysdeps/i386/fpu/e_powl.S: Likewise.
15773 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15775 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15776 * sysdeps/i386/fpu/e_logl.S: Likewise.
15777 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15778 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15779 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15780 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15781 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15782 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15783 * sysdeps/i386/fpu/e_log.S: Likewise.
15784 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15786 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15787 * sysdeps/i386/fpu/e_logf.S: Likewise.
15788 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15789 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15790 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15791 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15792 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15793 * sysdeps/i386/fpu/e_log10.S: Likewise.
15794 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15795 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15796 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15797 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15798 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15799 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15800 * sysdeps/i386/asm-syntax.h: Likewise.
15801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15803 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15804 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15805 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15807 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15808 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15809 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15810 * sysdeps/powerpc/sysdep.h: Likewise.
15811 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15812 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15813
d4a54ac6
JM
158142012-02-06 Joseph Myers <joseph@codesourcery.com>
15815
15816 [BZ #411]
15817 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15818
314054ea
JM
158192012-02-06 Joseph Myers <joseph@codesourcery.com>
15820
15821 * sysdeps/i386/sysdep.h: Include <features.h>.
15822 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15823 version.
15824
d8e0ca50
JM
158252012-02-05 Joseph Myers <joseph@codesourcery.com>
15826
15827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15828 Define.
15829 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15830 LOAD_PIC_REG_STR.
15831
b1da7dd9
JM
158322012-02-03 Joseph Myers <joseph@codesourcery.com>
15833
15834 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15835 (SETUP_PIC_REG): Use GET_PC_THUNK.
15836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15837 macro.
15838
9a1d9254
JM
158392012-02-03 Joseph Myers <joseph@codesourcery.com>
15840
15841 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15842 for non-PIC compilation.
15843 (SETUP_PIC_REG): Add .p2align directive.
15844 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15845 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15846 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15847 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15849 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15858 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15859 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15860 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15861 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15862 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15863 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15866 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15867 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15868 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15870 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15872 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15873 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15875 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15876 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15877 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15878 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15879 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15880 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15881 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15882 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15883 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15884 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15885
65dc3b75
JM
158862012-02-03 Joseph Myers <joseph@codesourcery.com>
15887
15888 * math/tst-CMPLX.c: Include <stdio.h>.
15889
d55bf177
JM
158902012-01-31 Joseph Myers <joseph@codesourcery.com>
15891
15892 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15893 float.
15894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15895 * sysdeps/sparc/bits/mathdef.h: Likewise.
15896
69db4f8f
MP
158972012-01-31 Marek Polacek <polacek@redhat.com>
15898
15899 * libio/libio.h: Don't define _PARAMS.
15900 * locale/programs/config.h: Don't define PARAMS.
15901 * stdlib/strtol_l.c: Likewise.
15902 (__strtol_l): Remove PARAMS from the prototype.
15903
41b81892
UD
159042012-01-31 Ulrich Drepper <drepper@gmail.com>
15905
3b49edc0
UD
15906 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15907 names. Just use the correct names. Remove unnecessary wrapper
15908 functions.
15909 * malloc/arena.c: Likewise.
15910 * malloc/hooks.c: Likewise.
15911
41b81892
UD
15912 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15913 ARENA_TEST says not to. Simplify test for creation of a new arena.
15914 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15915
27a25b6e
UD
159162012-01-30 Ulrich Drepper <drepper@gmail.com>
15917
15918 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15919 into tail calls.
15920 (update_get_addr): New function.
15921 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15922 GET_ADDR_MODULE parameter.
15923
c8a89e7d
JM
159242012-01-30 Joseph Myers <joseph@codesourcery.com>
15925
15926 * crypt/cert.c: Remove __STDC__ conditionals.
15927 * crypt/crypt-entry.c: Likewise.
15928 * crypt/crypt_util.c: Likewise.
15929 * libio/filedoalloc.c: Likewise.
15930 * libio/fileops.c: Likewise.
15931 * libio/genops.c: Likewise.
15932 * libio/iofclose.c: Likewise.
15933 * libio/iofdopen.c: Likewise.
15934 * libio/iofopen.c: Likewise.
15935 * libio/iofopen64.c: Likewise.
15936 * libio/iogetdelim.c: Likewise.
15937 * libio/iopopen.c: Likewise.
15938 * libio/obprintf.c: Likewise.
15939 * libio/oldfileops.c: Likewise.
15940 * libio/oldiofclose.c: Likewise.
15941 * libio/oldiofdopen.c: Likewise.
15942 * libio/oldiofopen.c: Likewise.
15943 * libio/oldiopopen.c: Likewise.
15944 * libio/wfiledoalloc.c: Likewise.
15945 * libio/wgenops.c: Likewise.
15946 * locale/programs/xmalloc.c: Likewise.
15947 * misc/syslog.c: Likewise.
15948 * stdio-common/xbug.c: Likewise.
15949 * string/memchr.c: Likewise.
15950 * string/memcmp.c: Likewise.
15951 * string/memrchr.c: Likewise.
15952 * string/rawmemchr.c: Likewise.
15953 * sysdeps/posix/getcwd.c: Likewise.
15954 * time/strftime_l.c: Likewise.
15955
3b100462
JM
159562012-01-30 Joseph Myers <joseph@codesourcery.com>
15957
15958 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15959 * config.make.in (config-cflags-sse2avx): Define.
15960 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15961 Fix typo.
15962
607998af
CM
159632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15964
15965 * scripts/config.guess: Update from upstream config git repository.
15966 * scripts/config.sub: Likewise.
15967
3601428f
CM
159682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15969
3ac8b282
CM
15970 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15971 (EM_NUM): Update.
15972 (R_TILEPRO_*, R_TILEGX_*): New macros.
15973
e034841e
CM
15974 * scripts/firstversions.awk: Fix bug in version range handling.
15975
540d7568
CM
15976 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15977
3601428f
CM
15978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15979
463de862
CM
15980 * include/sys/epoll.h: New file.
15981 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15982 libc_hidden_def.
15983
73139a76
UD
159842012-01-28 Ulrich Drepper <drepper@gmail.com>
15985
96bc5b45
UD
15986 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15987 Avoid unnecessary __WORDSIZE == 64 test.
15988 (fmaxf): Use VEX format if possible.
15989 (fmax): Likewise.
15990 (fminf): Likewise.
15991 (fmin): Likewise.
15992
56f6f6a2
UD
15993 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15994 * math/math_private.h: Remove libc_fegetround* and
15995 libc_fesetround*.
15996 * sysdeps/i386/configure.in: Check for -msse2avx.
15997 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15998 also if SSE2AVX is defined.
15999 Remove libc_fegetround* and libc_fesetround*.
16000 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16001 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16003 of HAS_YMM_USABLE.
16004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16005 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16009
73139a76
UD
16010 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16011
d73f93a4
AZ
160122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16013
16014 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16015 size is not set.
16016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16017
6ee65ed6
UD
160182012-01-27 Ulrich Drepper <drepper@gmail.com>
16019
16020 [BZ #13618]
16021 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16022 relocation.
16023 * Makeconfig (libm): Define.
16024 * elf/Makefile: Add rules to build and run tst-relsort1.
16025 * elf/tst-relsort1.c: New file.
16026 * elf/tst-relsort1mod1.c: New file.
16027 * elf/tst-relsort1mod2.c: New file.
16028
8db21882
JM
160292012-01-27 Joseph Myers <joseph@codesourcery.com>
16030
16031 * math/s_ldexp.c: Remove __STDC__ conditionals.
16032 * math/s_ldexpf.c: Likewise.
16033 * math/s_ldexpl.c: Likewise.
16034 * math/s_nextafter.c: Likewise.
16035 * math/s_nexttowardf.c: Likewise.
16036 * math/s_significand.c: Likewise.
16037 * math/s_significandf.c: Likewise.
16038 * math/s_significandl.c: Likewise.
16039 * math/w_jnl.c: Likewise.
16040 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16041 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16042 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16043 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16044 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16067 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16068 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16069 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16070 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16071 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16072 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16073 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16074 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16075 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16076 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16077 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16078 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16079 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16080 * sysdeps/ieee754/k_standard.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16142 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16147 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16155 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16160 * sysdeps/ieee754/s_matherr.c: Likewise.
16161 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16162 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16165
965a54a4
JM
161662012-01-26 Joseph Myers <joseph@codesourcery.com>
16167
16168 * crypt/md5.h: Remove __STDC__ conditionals.
16169 * libio/libioP.h: Likewise.
16170 * locale/programs/config.h: Likewise.
16171 * sysdeps/generic/sysdep.h: Likewise.
16172 * sysdeps/i386/asm-syntax.h: Likewise.
16173 * sysdeps/s390/asm-syntax.h: Likewise.
16174 * sysdeps/unix/sysdep.h: Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16177
7071ad79
JM
161782012-01-26 Joseph Myers <joseph@codesourcery.com>
16179
16180 * libio/libio.h: Remove __STDC__ conditionals.
16181 * malloc/obstack.h: Likewise.
16182 * math/complex.h: Likewise.
16183 * math/math.h: Likewise.
16184 * sysdeps/generic/_G_config.h: Likewise.
16185 * sysdeps/gnu/_G_config.h: Likewise.
16186 * sysdeps/mach/hurd/_G_config.h: Likewise.
16187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16188 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16189 * sysdeps/sparc/bits/mathdef.h: Likewise.
16190
afc5ed09
UD
161912012-01-26 Ulrich Drepper <drepper@gmail.com>
16192
16193 [BZ #13583]
16194 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16195 Clean up HAS_* macros.
afc5ed09 16196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16197 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16198 possible.
16199 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16200 HAS_AVX.
16201 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16202 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16203 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16204 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16206
bdb6de1d
JM
162072012-01-25 Joseph Myers <joseph@codesourcery.com>
16208
16209 * elf/tst-unique3.cc (gets): Remove declaration.
16210 * elf/tst-unique3lib.cc (gets): Likewise.
16211 * elf/tst-unique3lib2.cc (gets): Likewise.
16212 * elf/tst-unique4.cc (gets): Likewise.
16213
b15549e6
UD
162142012-01-24 Ulrich Drepper <drepper@gmail.com>
16215
16216 * include/stdio.h: Add C++ protection. Add gets declarations and
16217 definitions.
16218 * debug/tst-chk1.c: Don't declare gets here.
16219 * stdio-common/tst-gets.c: Likewise.
16220
a037381f
JM
162212012-01-24 Joseph Myers <joseph@codesourcery.com>
16222
16223 * posix/glob: Remove directory.
16224
f1d4aa75
JM
162252012-01-24 Joseph Myers <joseph@codesourcery.com>
16226
16227 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16228
81c0c964
PT
162292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16230
16231 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16232 of the non-standard EPFNOSUPPORT.
16233
0ea698ae
ST
162342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16235
16236 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16237 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16238 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16239
d220b117
UD
162402012-01-21 Ulrich Drepper <drepper@gmail.com>
16241
16242 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16243
3e1aa84e
UD
162442012-01-20 Ulrich Drepper <drepper@gmail.com>
16245
16246 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16247 transient errors.
16248 * nscd/grpcache.c (cache_addgr): Likewise.
16249 * nscd/hstcache.c (cache_addhst): Likewise.
16250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16251 * nscd/pwdcache.c (cache_addpw): Likewise.
16252 * nscd/servicescache.c (cache_addserv): Likewise.
16253
400aa020
UD
162542012-01-16 Ulrich Drepper <drepper@gmail.com>
16255
d77e7869
UD
16256 * malloc/malloc.c: Various cleanups.
16257 * malloc/hooks.c: Likewise.
16258
400aa020
UD
16259 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16260 * stdlib/bug-fmtmsg1.c: New file.
16261
16262 * stdlib/fmtmsg.c (init): Add missing unlock.
16263 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16264
e0a309cf
MP
162652012-01-12 Marek Polacek <polacek@redhat.com>
16266
16267 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16268 and _GNU_SOURCE.
16269
929d11c7
WS
162702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16271
16272 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16273 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16274 macro to ensure uniqueness of label name.
16275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16277
41d0e869
UD
162782012-01-11 Ulrich Drepper <drepper@gmail.com>
16279
0cc5ed3b
UD
16280 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16281
41d0e869
UD
16282 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16283 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16286
a47a831a
UD
162872012-01-10 Ulrich Drepper <drepper@gmail.com>
16288
daa891c0
UD
16289 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16290
16291 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16294
e58ef0f2
UD
16295 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16296
a47a831a 16297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16301
16302 * math/bits/math-finite.h: Add ldexp support.
16303
a0bfc9c7
MP
163042012-01-10 Marek Polacek <polacek@redhat.com>
16305
16306 * locale/programs/localedef.h (show_archive_content): Add noreturn
16307 attribute.
16308
d6e97a1d
UD
163092012-01-09 Ulrich Drepper <drepper@gmail.com>
16310
16311 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16312
d5835c26
UD
163132012-01-08 Ulrich Drepper <drepper@gmail.com>
16314
e5f484c6
UD
16315 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16316
d5835c26
UD
16317 * io/Makefile (headers): Add bits/poll2.h.
16318
d1f741e9
WS
163192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16320
16321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16322 typo #include statement.
16323
ec09c1c4
UD
163242012-01-08 Ulrich Drepper <drepper@gmail.com>
16325
16326 * include/sys/cdefs.h: Define __attribute_alloc_size.
16327 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16328 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16329 * elf/pldd.c: Likewise.
16330 * iconv/iconv_charmap.c: Likewise.
16331 * iconv/iconvconfig.c: Likewise.
16332 * iconv/strtab.c: Likewise.
16333 * locale/programs/locale.c: Likewise.
16334 * locale/programs/localedef.h: Likewise.
16335 * locale/programs/simple-hash.c: Likewise.
16336 * nscd/nscd.h: Likewise.
16337 * nss/makedb.c: Likewise.
16338 * sysdeps/generic/ldconfig.h: Likewise.
16339 * locale/programs/localedef.c: Remove xmalloc prototype.
16340 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16341
20b38e03
PP
163422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16343
16344 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16345 appropriate.
16346
a0da5fe1
UD
163472012-01-08 Ulrich Drepper <drepper@gmail.com>
16348
1d5a644a 16349 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16350 * math/tst-CMPLX.c: New file.
1d5a644a 16351
8784a6db
UD
16352 * math/complex.h (CMPLXL): Fix typo.
16353
d9a216c0
UD
16354 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16355 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16356 GLIBC_2.16.
16357 * debug/tst-chk1.c: Add poll and ppoll tests.
16358 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16359 * include/sys/poll.h: Add hidden proto for ppoll.
16360 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16361 * sysdeps/mach/hurd/ppoll.c: Likewise.
16362 * io/ppoll.c: Likewise.
16363 * debug/poll_chk.c: New file.
16364 * debug/ppoll_chk.c: New file.
16365 * include/bits/poll2.h: New file.
16366 * io/bits/poll2.h: New file.
16367
ac097f5c
UD
16368 [BZ #1350]
16369 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16370
2119dcfa
UD
16371 * configure.in: static is always set to yes. Remove.
16372 * config.make.in: Don't set build-static.
16373 * Makeconfig: Remove use of build-static.
16374 * dlfcn/Makefile: Likewise.
16375 * elf/Makefile: Likewise.
16376 * math/Makefile: Likewise.
16377 * misc/Makefile: Likewise.
16378 * nptl/Makefile: Likewise.
16379 * sysdeps/mach/hurd/Makefile: Likewise.
16380
121766a9
UD
16381 * configure.in: PWD_P is not used anymore.
16382 * config.make.in: Remove PWD_P entry.
16383
51a1d39c 16384 * configure.in: Remove last remnants of RANLIB.
8720d066 16385 No need to check for signed size_t anymore.
215f4bdc
UD
16386 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16387 and IA-64.
3857022a 16388 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16389 * aclocal.m4: Likewise.
16390
d3ed7225
UD
16391 * wcsmbs/mbrtoc16.c: Implement using towc function.
16392 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16393 * wcsmbs/wcsmbsload.c: Likewise.
16394 * iconv/gconv_simple.c: Likewise.
16395 * iconv/gconv_int.h: Likewise.
16396 * iconv/gconv_builtin.h: Likewise.
16397 * iconv/iconv_prog.c: Remove CHAR16 handling.
16398
16399 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16400
16401 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16402
a0da5fe1
UD
16403 * configure.in: Remove --with-elf and --enable-bounded options.
16404 Dont set base_machine for ia64. More non-ELF conditions removed.
16405 Remove testing and setting of leading underscore information.
16406 * config.make.in (build-bounded): Set to no.
16407 * config.h.in: Remove NO_UNDERSCORES entry.
16408 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16409 them.
16410 * csu/start.c: Remove !NO_UNDERSCORE code.
16411 * locale/localeinfo.h: Likewise.
16412 * sysdeps/generic/machine-gmon.h: Likewise.
16413 * sysdeps/generic/sysdep.h: Likewise.
16414 * sysdeps/i386/sysdep.h: Likewise.
16415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16416 * sysdeps/mach/sysdep.h: Likewise.
16417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16419 * sysdeps/sh/sysdep.h: Likewise.
16420 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16421 * sysdeps/unix/i386/sysdep.S: Likewise.
16422 * sysdeps/unix/sparc/start.c: Likewise.
16423 * sysdeps/unix/sparc/sysdep.S: Likewise.
16424 * sysdeps/unix/sparc/sysdep.h: Likewise.
16425 * sysdeps/unix/start.c: Likewise.
16426 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16427 * sysdeps/x86_64/sysdep.h: Likewise.
16428
df78418a
UD
164292012-01-07 Ulrich Drepper <drepper@gmail.com>
16430
a784e502
UD
16431 [BZ #13553]
16432 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16433 for non-gcc.
16434 * argp/argp-fmtstream.h: Use const instead __const.
16435 * argp/argp.h: Likewise.
16436 * assert/assert.h: Likewise.
16437 * bits/fenv.h: Likewise.
16438 * bits/sched.h: Likewise.
16439 * bits/sigset.h: Likewise.
16440 * bits/sigthread.h: Likewise.
16441 * catgets/nl_types.h: Likewise.
16442 * conform/data/pthread.h-data: Likewise.
16443 * crypt/crypt-private.h: Likewise.
16444 * crypt/crypt.h: Likewise.
16445 * crypt/crypt_util.c: Likewise.
16446 * ctype/ctype.h: Likewise.
16447 * debug/execinfo.h: Likewise.
16448 * debug/mbsnrtowcs_chk.c: Likewise.
16449 * debug/mbsrtowcs_chk.c: Likewise.
16450 * debug/wcsnrtombs_chk.c: Likewise.
16451 * debug/wcsrtombs_chk.c: Likewise.
16452 * debug/wcstombs_chk.c: Likewise.
16453 * dirent/dirent.h: Likewise.
16454 * dlfcn/dlfcn.h: Likewise.
16455 * elf/neededtest4.c: Likewise.
16456 * grp/grp.h: Likewise.
16457 * gshadow/gshadow.h: Likewise.
16458 * iconv/gconv.h: Likewise.
16459 * iconv/gconv_int.h: Likewise.
16460 * iconv/gconv_simple.c: Likewise.
16461 * iconv/iconv.h: Likewise.
16462 * iconv/loop.c: Likewise.
16463 * iconv/skeleton.c: Likewise.
16464 * include/aio.h: Likewise.
16465 * include/aliases.h: Likewise.
16466 * include/argz.h: Likewise.
16467 * include/arpa/inet.h: Likewise.
16468 * include/assert.h: Likewise.
16469 * include/dirent.h: Likewise.
16470 * include/dlfcn.h: Likewise.
16471 * include/execinfo.h: Likewise.
16472 * include/fcntl.h: Likewise.
16473 * include/fenv.h: Likewise.
16474 * include/glob.h: Likewise.
16475 * include/grp.h: Likewise.
16476 * include/libintl.h: Likewise.
16477 * include/mntent.h: Likewise.
16478 * include/netdb.h: Likewise.
16479 * include/pwd.h: Likewise.
16480 * include/rpc/netdb.h: Likewise.
16481 * include/sched.h: Likewise.
16482 * include/search.h: Likewise.
16483 * include/shadow.h: Likewise.
16484 * include/signal.h: Likewise.
16485 * include/stdio.h: Likewise.
16486 * include/stdlib.h: Likewise.
16487 * include/string.h: Likewise.
16488 * include/sys/socket.h: Likewise.
16489 * include/sys/stat.h: Likewise.
16490 * include/sys/statfs.h: Likewise.
16491 * include/sys/statvfs.h: Likewise.
16492 * include/sys/syslog.h: Likewise.
16493 * include/sys/time.h: Likewise.
16494 * include/sys/uio.h: Likewise.
16495 * include/time.h: Likewise.
16496 * include/unistd.h: Likewise.
16497 * include/utmp.h: Likewise.
16498 * include/wchar.h: Likewise.
16499 * include/wctype.h: Likewise.
16500 * inet/aliases.h: Likewise.
16501 * inet/arpa/inet.h: Likewise.
16502 * inet/netinet/ether.h: Likewise.
16503 * inet/netinet/in.h: Likewise.
16504 * intl/libintl.h: Likewise.
16505 * io/bits/fcntl2.h: Likewise.
16506 * io/fcntl.h: Likewise.
16507 * io/ftw.h: Likewise.
16508 * io/sys/poll.h: Likewise.
16509 * io/sys/stat.h: Likewise.
16510 * io/sys/statfs.h: Likewise.
16511 * io/sys/statvfs.h: Likewise.
16512 * io/utime.h: Likewise.
16513 * libio/bits/stdio.h: Likewise.
16514 * libio/bits/stdio2.h: Likewise.
16515 * libio/libio.h: Likewise.
16516 * libio/libioP.h: Likewise.
16517 * libio/stdio.h: Likewise.
16518 * locale/lc-ctype.c: Likewise.
16519 * locale/locale.h: Likewise.
16520 * login/utmp.h: Likewise.
16521 * malloc/arena.c: Likewise.
16522 * malloc/malloc.c: Likewise.
16523 * malloc/malloc.h: Likewise.
16524 * malloc/mcheck.c: Likewise.
16525 * malloc/mtrace.c: Likewise.
16526 * math/bits/mathcalls.h: Likewise.
16527 * math/fenv.h: Likewise.
16528 * math/math_private.h: Likewise.
16529 * misc/bits/error.h: Likewise.
16530 * misc/bits/syslog.h: Likewise.
16531 * misc/err.h: Likewise.
16532 * misc/error.h: Likewise.
16533 * misc/fstab.h: Likewise.
16534 * misc/mntent.h: Likewise.
16535 * misc/regexp.h: Likewise.
16536 * misc/search.h: Likewise.
16537 * misc/sgtty.h: Likewise.
16538 * misc/sys/mman.h: Likewise.
16539 * misc/sys/syslog.h: Likewise.
16540 * misc/sys/uio.h: Likewise.
16541 * misc/sys/xattr.h: Likewise.
16542 * misc/ttyent.h: Likewise.
16543 * nis/rpcsvc/ypclnt.h: Likewise.
16544 * nss/nss.h: Likewise.
16545 * posix/bits/unistd.h: Likewise.
16546 * posix/fnmatch.h: Likewise.
16547 * posix/glob.h: Likewise.
16548 * posix/sched.h: Likewise.
16549 * posix/spawn.h: Likewise.
16550 * posix/sys/wait.h: Likewise.
16551 * posix/unistd.h: Likewise.
16552 * posix/wordexp.h: Likewise.
16553 * pwd/pwd.h: Likewise.
16554 * resolv/netdb.h: Likewise.
16555 * resource/sys/resource.h: Likewise.
16556 * rt/aio.h: Likewise.
16557 * rt/bits/mqueue2.h: Likewise.
16558 * rt/mqueue.h: Likewise.
16559 * shadow/shadow.h: Likewise.
16560 * signal/signal.h: Likewise.
16561 * socket/send.c: Likewise.
16562 * socket/sendto.c: Likewise.
16563 * socket/sys/socket.h: Likewise.
16564 * stdio-common/printf.h: Likewise.
16565 * stdlib/bits/stdlib.h: Likewise.
16566 * stdlib/fmtmsg.h: Likewise.
16567 * stdlib/monetary.h: Likewise.
16568 * stdlib/stdlib.h: Likewise.
16569 * stdlib/ucontext.h: Likewise.
16570 * streams/stropts.h: Likewise.
16571 * string/argz.h: Likewise.
16572 * string/bits/string2.h: Likewise.
16573 * string/string.h: Likewise.
16574 * string/strings.h: Likewise.
16575 * sunrpc/rpc/auth.h: Likewise.
16576 * sunrpc/rpc/auth_des.h: Likewise.
16577 * sunrpc/rpc/clnt.h: Likewise.
16578 * sunrpc/rpc/netdb.h: Likewise.
16579 * sunrpc/rpc/pmap_clnt.h: Likewise.
16580 * sunrpc/rpc/xdr.h: Likewise.
16581 * sysdeps/generic/inttypes.h: Likewise.
16582 * sysdeps/generic/net/if.h: Likewise.
16583 * sysdeps/generic/sys/swap.h: Likewise.
16584 * sysdeps/gnu/net/if.h: Likewise.
16585 * sysdeps/gnu/utmpx.h: Likewise.
16586 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16587 * sysdeps/i386/i486/bits/string.h: Likewise.
16588 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16589 * sysdeps/s390/bits/string.h: Likewise.
16590 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16591 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16592 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16593 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16594 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16595 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16596 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16597 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16598 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16599 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16600 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16601 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16602 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16603 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16604 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16605 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16606 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16612 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16613 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16614 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16615 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16616 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16618 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16619 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16620 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16621 * sysvipc/sys/ipc.h: Likewise.
16622 * sysvipc/sys/msg.h: Likewise.
16623 * sysvipc/sys/sem.h: Likewise.
16624 * sysvipc/sys/shm.h: Likewise.
16625 * termios/termios.h: Likewise.
16626 * time/sys/time.h: Likewise.
16627 * time/time.h: Likewise.
16628 * wcsmbs/bits/wchar2.h: Likewise.
16629 * wcsmbs/uchar.h: Likewise.
16630 * wcsmbs/wchar.h: Likewise.
16631 * wctype/wctype.h: Likewise.
16632
0269750c
UD
16633 [BZ #13551]
16634 * Makeconfig: Remove all but ELF support including AIX support.
16635 * Makerules: Likewise.
16636 * config.h.in: Likewise.
16637 * config.make.in: Likewise.
16638 * configure: Likewise.
16639 * configure.in: Likewise.
16640 * csu/Makefile: Likewise.
16641 * csu/version.c: Likewise.
16642 * debug/Makefile: Likewise.
16643 * dlfcn/Makefile: Likewise.
16644 * elf/Makefile: Likewise.
16645 * extra-lib.mk: Likewise.
16646 * iconv/Makefile: Likewise.
16647 * include/libc-symbols.h: Likewise.
16648 * include/shlib-compat.h: Likewise.
16649 * resolv/Makefile: Likewise.
16650 * resolv/res_libc.c: Likewise.
16651 * rt/Makefile: Likewise.
16652 * sysdeps/i386/asm-syntax.h: Likewise.
16653 * sysdeps/i386/sysdep.h: Likewise.
16654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16655 * sysdeps/mach/sysdep.h: Likewise.
16656 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16657 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16658 * sysdeps/s390/asm-syntax.h: Likewise.
16659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16661 * sysdeps/sh/sysdep.h: Likewise.
16662 * sysdeps/unix/sparc/sysdep.h: Likewise.
16663 * sysdeps/wordsize-32/divdi3.c: Likewise.
16664 * sysdeps/x86_64/sysdep.h: Likewise.
16665
00bbd29b
UD
16666 * argp/Versions: Remove _argp_unlock_xxx.
16667
16668 [BZ #13559]
16669 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16670 * abilist/libBrokenLocale.abilist: Likewise.
16671 * abilist/libanl.abilist: Likewise.
16672 * abilist/libc.abilist: Likewise.
16673 * abilist/libcrypt.abilist: Likewise.
16674 * abilist/libdl.abilist: Likewise.
16675 * abilist/libm.abilist: Likewise.
16676 * abilist/libnsl.abilist: Likewise.
16677 * abilist/libpthread.abilist: Likewise.
16678 * abilist/libresolv.abilist: Likewise.
16679 * abilist/librt.abilist: Likewise.
16680 * abilist/libthread_db.abilist: Likewise.
16681 * abilist/libutil.abilist: Likewise.
16682 * abilist/libnss_db.abilist: New file.
16683
16684 * scripts/abilist.awk: Add support for indirect functions.
16685
a2693a0e
UD
16686 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16687
3f05895f
UD
16688 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16689
ecb6fb48
UD
16690 * shlib-versions: Remove entries for ports architectures.
16691
664f8cb9
UD
16692 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16693 files in ports.
16694 * elf/stackguard-macros.h: Remove support for IA-64.
16695 * elf/tst-auditmod1.c: Likewise.
16696 * sysdeps/generic/ldsodefs.h: Likewise.
16697
7ae81d88
UD
16698 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16699 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16700 configure files.
16701
bdeba135
UD
16702 [BZ #13552]
16703 * configure.in: Remove --enable-omitfp support.
16704 * FAQ.in: Adjust.
16705 * config.make.in: Likewise.
16706 * Makeconfig: Likewise.
16707 * manual/install.texi: Likewise.
16708
d75a0a62
UD
16709 In case anyone cares, the IA-64 architecture could move to ports.
16710 * sysdeps/ia64/*: Removed.
16711 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16712 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16713
dcc9756b
UD
16714 [BZ #13555]
16715 * configure.in: Remove entries for unsupported architectures.
16716
d3761ebc 16717 [BZ #13533]
9954432e
UD
16718 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16719 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16720 routines.
16721 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16722 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16723 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16724 fall back to using wcrtomb.
16725 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16726 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16727 renaming.
16728 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16729 * wcsmbs/tst-c16c32-1.c: New file.
16730
16731 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16732 local variable.
16733
c3a87236
UD
16734 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16735
28926a1b
UD
16736 * elf/tst-unique3.cc: Add explicit declaration of gets.
16737 * elf/tst-unique3lib.cc: Likewise.
16738 * elf/tst-unique3lib2.cc: Likewise.
16739 * elf/tst-unique4.cc: Likewise.
16740
df78418a
UD
16741 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16742
8ecd6b2a
JM
167432012-01-06 Joseph Myers <joseph@codesourcery.com>
16744
16745 [BZ #13566]
16746 * assert/assert.h (static_assert): Don't define for C++.
16747 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16748 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16749
9f115170
UD
167502012-01-03 Ulrich Drepper <drepper@gmail.com>
16751
5e0d0300
UD
16752 * iconv/loop.c (single loop): Fix assertion in storing of
16753 remaining bytes.
16754
9f115170
UD
16755 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16756
81fb02b0
UD
167572012-01-01 Ulrich Drepper <drepper@gmail.com>
16758
16759 * posix/getconf.c: Update copyright year.
16760 * nss/getent.c: Likewise.
a316c1f6 16761 * nss/makedb.c: Likewise.
81fb02b0
UD
16762 * iconv/iconvconfig.c: Likewise.
16763 * iconv/iconv_prog.c: Likewise.
16764 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16765 * elf/pldd.c: Likewise.
16766 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16767 * catgets/gencat.c: Likewise.
16768 * csu/version.c: Likewise.
16769 * elf/ldd.bash.in: Likewise.
16770 * elf/sprof.c (print_version): Likewise.
16771 * locale/programs/locale.c: Likewise.
16772 * locale/programs/localedef.c: Likewise.
a316c1f6 16773 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16774 * nscd/nscd.c (print_version): Likewise.
16775 * debug/xtrace.sh: Likewise.
16776 * malloc/memusage.sh: Likewise.
16777 * malloc/mtrace.pl: Likewise.
16778 * debug/catchsegv.sh: Likewise.
16779
2ba92745
JJ
167802011-12-30 Jakub Jelinek <jakub@redhat.com>
16781
16782 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16783 pure attribute.
16784
dadebdae
UD
167852011-12-24 Ulrich Drepper <drepper@gmail.com>
16786
d3761ebc 16787 [BZ #13533]
db6af3eb
UD
16788 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16789 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16790 transformations.
16791 * iconv/gconv_int.h: Likewise.
16792 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16793 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16794 from libc for GLIBC_2.16.
16795 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16796 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16797 * wcsmbs/uchar.h: Really define mbstate_t.
16798 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16799 * wcsmbs/c16rtomb.c: New file.
16800 * wcsmbs/mbrtoc16.c: New file.
16801 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16802 for C/POSIX locale.
16803 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16804 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16805
dadebdae
UD
16806 * wcsmbs/wchar.h: Add missing __restrict.
16807
67371b56
UD
168082011-12-23 Ulrich Drepper <drepper@gmail.com>
16809
74033a25
UD
16810 [BZ #13532]
16811 * time/Makefile (routines): Add timespec_get.
16812 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16813 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16814 timespec for ISO C11.
16815 * time/timespec_get.c: New file.
16816 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16817 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16818
380d7e87
UD
16819 [BZ #13531]
16820 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16821 * stdlib/stdlib.h: Declare aligned_alloc.
16822 * Versions.def: Add GLIBC_2.16 for libc.
16823 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16824
4e9e7a35
UD
16825 [BZ 13527]
16826 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16827 ISO C11.
16828
380d7e87 16829 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16830 code.
16831
03a71829
UD
16832 [BZ #13528]
16833 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16834
839e283e
UD
16835 [BZ #13529]
16836 * assert/assert.h (static_assert): Define.
16837
ce5294e2 16838 * version.h: Update for 2.16 development version.
90fa7312 16839
8d44e150 16840 [BZ #13526]
d7809905
UD
16841 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16842 _ISOC11_SOURCE.
16843
c0da14cd
UD
16844 * version.h (RELEASE): Bump for 2.15 release.
16845 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16846
530a3249
MP
16847 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16848 Patch by Marek Polacek <mpolacek@redhat.com>.
16849
67371b56
UD
16850 * bits/byteswap.h: Protect long long constants with __extension__.
16851 * sysdeps/i386/bits/byteswap.h: Likewise.
16852 * sysdeps/ia64/bits/byteswap.h: Likewise.
16853 * sysdeps/s390/bits/byteswap.h: Likewise.
16854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16855
15db4de1
LD
168562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16857
16858 [BZ #13540]
bbe315ea
LD
16859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16860 destination buffer.
15db4de1
LD
16861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16862
2b2596b1
MP
168632011-12-23 Marek Polacek <polacek@redhat.com>
16864
16865 * elf/dl-addr.c (determine_info): Add inline keyword.
16866 * elf/tst-auditmod4b.c (check_avx): Likewise.
16867 * elf/tst-auditmod6b.c (check_avx): Likewise.
16868 * elf/tst-auditmod6c.c (check_avx): Likewise.
16869 * elf/tst-auditmod7b.c (check_avx): Likewise.
16870
70c6c246
UD
168712011-12-23 Ulrich Drepper <drepper@gmail.com>
16872
16873 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16874 !__SSE_MATH__.
16875
c044cf14
LD
168762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16877
15db4de1 16878 [BZ #13540]
c044cf14
LD
16879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16880 processing for last bytes.
16881
6b13d9d9
BH
168822011-08-06 Bruno Haible <bruno@clisp.org>
16883
d455f537
BH
16884 [BZ #13061]
16885 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16886 U+0385, not to U+1FEE.
16887
6b13d9d9
BH
16888 [BZ #13062]
16889 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16890 entry for U+00A5 U+0301.
16891
db910efd
UD
168922011-12-22 Ulrich Drepper <drepper@gmail.com>
16893
27deeafc
UD
16894 [BZ #13166]
16895 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16896 buffer for the output is too small.
16897
aed9d171
UD
16898 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16899 optimization.
16900
db910efd
UD
16901 [BZ #13185]
16902 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16903 SSE flags if possible.
16904
2bd779ae
LD
169052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16906
e7f9dac3 16907 [BZ #13540]
2bd779ae
LD
16908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16909 processing for last bytes.
16910
154bfc16
JM
169112011-12-22 Joseph Myers <joseph@codesourcery.com>
16912
16913 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16914 (syscall-list-default-options, syscall-list-default-condition)
16915 (syscall-list-includes): Define.
16916 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16917 list of ABIs and options and #if conditions for each ABI. Do not
16918 handle common syscalls between ABIs specially.
16919 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16920 Remove.
16921 (syscall-list-variants, syscall-list-32bit-options)
16922 (syscall-list-32bit-condition, syscall-list-64bit-options)
16923 (syscall-list-64bit-condition): Define.
16924 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16925 (syscall-list-variants, syscall-list-32bit-options)
16926 (syscall-list-32bit-condition, syscall-list-64bit-options)
16927 (syscall-list-64bit-condition): Define.
16928 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16929 Remove.
16930 (syscall-list-variants, syscall-list-32bit-options)
16931 (syscall-list-32bit-condition, syscall-list-64bit-options)
16932 (syscall-list-64bit-condition): Define.
16933 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16934 Remove.
16935 (syscall-list-variants, syscall-list-32bit-options)
16936 (syscall-list-32bit-condition, syscall-list-64bit-options)
16937 (syscall-list-64bit-condition): Define.
16938
21eaf3a5
UD
169392011-12-22 Ulrich Drepper <drepper@gmail.com>
16940
16c6f992
UD
16941 * locale/iso-639.def: Add brx entry.
16942
41043168
UD
16943 [BZ #13328]
16944 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16945 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16946
21eaf3a5
UD
16947 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16948 __feraiseexcept_renamed.
16949
e3a851a2
UD
169502011-12-21 Ulrich Drepper <drepper@gmail.com>
16951
4920765e
UD
16952 [BZ #13538]
16953 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16954 EPOLLET with unsigned values.
16955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16957
e3a851a2
UD
16958 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16959 to large cancellation.
16960 * math/s_cacoshf.c: Likewise.
16961 * math/s_cacoshl.c: Likewise.
16962
b27e24b8
RK
169632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16964
16965 [BZ #13305]
aebefeee 16966 [BZ #12786]
b27e24b8
RK
16967 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16968 * math/s_cacoshf.c: Likewise.
16969 * math/s_cacoshl.c: Likewise.
16970
ee190f67
UD
169712011-12-21 Ulrich Drepper <drepper@gmail.com>
16972
16973 [BZ #13439]
16974 * iconv/gconv.h: Define __GCONV_SWAP.
16975 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16976 * iconvdata/utf-16.c: Likewise.
16977 * iconvdata/utf-32.c: Likewise.
16978
707f25df
AS
169792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16980
16981 [BZ #13524]
16982 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16983 numerator after shifting it by one limb.
16984
d2daaa1e
RÁE
169852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16986
16987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16988 under [__USE_EXTERN_INLINES].
16989
a4647e72
UD
169902011-12-17 Ulrich Drepper <drepper@gmail.com>
16991
16992 [BZ #13446]
16993 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16994
f0b264f1
AZ
169952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16996
16997 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16998 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16999 optimized code.
17000 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17002 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17003 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17004 for strncasecmp/strncasecmp_l compilation.
17005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17006 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17007
8ef4f244
MP
170082011-12-08 Marek Polacek <mpolacek@redhat.com>
17009
17010 [BZ #13484]
17011 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17012 of __asm__.
17013
97ac2654
UD
170142011-12-17 Ulrich Drepper <drepper@gmail.com>
17015
17016 [BZ #13506]
17017 * time/tzfile.c (__tzfile_read): Check values from file header.
17018
91d2a845
WS
170192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17020
17021 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17022 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17023 * powerpc/powerpc32/dl-start.S: Likewise.
17024 * powerpc/powerpc32/elf/start.S: Likewise.
17025 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17026 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17027 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17028 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17029 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17030 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17031 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17032 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17033 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17034 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17035 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17036 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17037 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17038 * powerpc/powerpc32/memset.S: Likewise.
17039 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17040 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17041 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17042 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17043 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17044 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17045 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17046 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17047 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17048 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17049 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17050 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17051 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17052
a1267ba1
AZ
170532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17054
17055 * math/libm-test.inc: Added more nearbyint tests.
17056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17060
ad8ac1bd
RL
170612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17062
17063 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17064 FD_CLOEXEC.
17065
1d3e4b61
UD
170662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17067
17068 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17069 Add wcscpy-ssse3 wcscpy-c.
17070 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17071 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17072 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17073 * sysdeps/x86_64/wcschr.S: New file.
17074 * sysdeps/x86_64/wcsrchr.S: New file.
17075 * string/test-strcmp.c: Remove checking of wcscmp function for
17076 wrong alignments.
17077 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17078 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17079 wcsrchr-sse2 wcsrchr-c.
17080 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17081 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17082 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17083 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17084 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17085 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17086 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17087 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17088 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17089 * wcsmbc/wcschr.c (WCSCHR): New macro.
17090
5b330a2d
UD
170912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17092
17093 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17094 * wcsmbs/test-wcsrchr.c: New file.
17095 * string/test-strrchr.c: Add wcsrchr support.
17096 (WIDE): New macro.
17097 * wcsmbs/test-wcscpy.c: New file.
17098 * string/test-strcpy.c: Add wcscpy support.
17099 (WIDE): New macro.
26428b7c 17100
f039c043
UD
171012011-12-10 Ulrich Drepper <drepper@gmail.com>
17102
17103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17104 the inner loop.
17105
850fb039
AS
171062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17107
17108 [BZ #13472]
17109 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17110
4efbd5cb
UD
171112011-12-04 Ulrich Drepper <drepper@gmail.com>
17112
52ff5dd0 17113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17114 Minor optimizations.
52ff5dd0 17115
4efbd5cb
UD
17116 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17117 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17118 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17119
8a426e12
UD
171202011-12-03 Ulrich Drepper <drepper@gmail.com>
17121
aff2453d
UD
17122 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17123 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17124 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17125 for gcc to avoid warnings.
17126 * inet/Makefile (tests): Add tst-checks.
17127 * inet/tst-checks.c: New file.
17128
17129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17130 warning.
17131
17132 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17133 __wmemcmp_sse2.
17134
17135 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17136 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17137
8a426e12
UD
17138 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17139
9bea3473
UD
171402011-12-02 Ulrich Drepper <drepper@gmail.com>
17141
3a965496
UD
17142 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17143 problem.
17144
9bea3473
UD
17145 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17146
f101631b
UD
171472011-11-29 Joseph Myers <joseph@codesourcery.com>
17148
17149 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17150 conditional on GCC version.
17151 (__arch_compare_and_exchange_val_8_acq)
17152 (__arch_compare_and_exchange_val_16_acq)
17153 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17154 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17155 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17156
a98275aa
UD
171572011-12-02 Joseph Myers <joseph@codesourcery.com>
17158
17159 * sysdeps/sh/backtrace.c: New file.
17160
d4cc29a2
AS
171612011-12-02 Andreas Schwab <schwab@redhat.com>
17162
17163 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17164 parenthesis.
17165
6257af2d
AS
171662011-12-01 Andreas Schwab <schwab@redhat.com>
17167
17168 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17169 falling back to utime.
17170
b5f44c1a
AS
171712011-11-30 Andreas Schwab <schwab@redhat.com>
17172
17173 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17174 expectations for float.
17175
f3a6cc0a
AS
171762011-11-29 Andreas Schwab <schwab@redhat.com>
17177
17178 * locale/weight.h (findidx): Add parameter len.
17179 * locale/weightwc.h (findidx): Likewise.
17180 * posix/fnmatch_loop.c (FCT): Adjust caller.
17181 * posix/regcomp.c (build_equiv_class): Likewise.
17182 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17183 * posix/regexec.c (check_node_accept_bytes): Likewise.
17184 * string/strcoll_l.c (STRCOLL): Likewise.
17185 * string/strxfrm_l.c (STRXFRM): Likewise.
17186
9d65ea3a
UD
171872011-11-17 Ulrich Drepper <drepper@gmail.com>
17188
17189 * Makefile.in: Remove CVSOPT handling.
17190 * configure.in: Remove use of AC_REVISION.
17191 * iconvdata/Makefile (distribute): No need to filter out CVS.
17192 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17193 handling.
17194
5583a086
AS
171952011-11-16 Andreas Schwab <schwab@redhat.com>
17196
17197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17198 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17199 [USE_AS_STRNCASECMP_L]: Likewise.
17200 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17201 NO_TLS_DIRECT_SEG_REFS.
17202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17203 Fix argument offsets for non-PIC.
17204 [USE_AS_STRNCASECMP_L]: Likewise.
17205 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17206 NO_TLS_DIRECT_SEG_REFS.
17207
d62a8200
UD
172082011-11-15 Ulrich Drepper <drepper@gmail.com>
17209
9d65ea3a 17210 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17211 O_CLOEXEC.
17212 * locale/loadlocale.c (_nl_load_locale): Likewise.
17213
09f93bd3
AS
172142011-11-15 Andreas Schwab <schwab@redhat.com>
17215
446514f9
AS
17216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17217 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17218 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17219 (SYSCALL_GETTIME): Set errno on error.
17220
09f93bd3
AS
17221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17222 count references to noai6ai_cached.
17223
312be3f9
UD
172242011-11-15 Ulrich Drepper <drepper@gmail.com>
17225
17226 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17227
17228 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17229 FD_CLOEXEC for /proc/self/maps.
17230
17231 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17232 FD_CLOEXEC for /proc/meminfo.
17233
17234 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17235 gai.conf.
17236
17237 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17238 FD_CLOEXEC for given file.
17239
17240 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17241
17242 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17243 FD_CLOEXEC for /etc/hosts.
17244 (_gethtent): Likewise.
17245
17246 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17247
17248 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17249 cancellation and set FD_CLOEXEC for /etc/netgroup.
17250
17251 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17252 reading /etc/publickey.
17253
17254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17255 allow cancellation when reading /etc/group.
17256
17257 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17258 cancellation.
17259 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17260
17261 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17262 when using data file.
17263
17264 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17265
17266 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17267 (write_nis_obj): Use "c" and "e" in fopen.
17268
17269 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17270
17271 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17272
17273 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17274
17275 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17276
17277 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17278 locale.alias.
17279
17280 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17281
17282 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17283
17284 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17285
17286 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17287 file parsing and set FD_CLOEXEC.
17288
82af0fa8
UD
172892011-11-14 Ulrich Drepper <drepper@gmail.com>
17290
17291 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17292
a5fb313c
AS
172932011-11-14 Andreas Schwab <schwab@redhat.com>
17294
17295 * malloc/arena.c (arena_get2): Don't call reused_arena when
17296 _int_new_arena failed.
17297
6abf3465
UD
172982011-11-14 Ulrich Drepper <drepper@gmail.com>
17299
17300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17301 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17303 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17306 to compile strcasecmp and strncasecmp.
17307 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17308 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17309
17310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17311
76e3966e
UD
173122011-11-13 Ulrich Drepper <drepper@gmail.com>
17313
17314 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17315 locale-defines.sym to gen-as-const-headers.
17316 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17317 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17319 to compile strcasecmp and strncasecmp.
17320 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17321 strcasecmp_l and strncasecmp_l.
17322 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17323 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17324 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17325 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17326 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17328 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17329 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17330 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17331 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17332 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17333
ab26144e
UD
173342011-11-12 Ulrich Drepper <drepper@gmail.com>
17335
7edb22ef
UD
17336 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17337 result of SYSDEP_GETTIME_CPU to retval.
17338 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17339 parameter list to macro. Remove trailing semicolon. Adjust users.
17340
9694fc44
UD
17341 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17342 variable.
17343
8ad89ef8
UD
17344 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17345 mantissa words.
17346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17347
0c822ef9
UD
17348 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17349 from unused variable.
17350
874e0564
UD
17351 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17352 DWARF definitions.
17353 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17354 for assembling.
17355
3a2edc79
UD
17356 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17357 over namespaces.
17358
f3c2577f
UD
17359 * sunrpc/rpc_prot.c (rejected): Fix case value.
17360
294ce126
UD
17361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17362 unsigned long long int to avoid warnings in shift.
17363
5e2b63c6
UD
17364 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17365 of use of trans.
17366 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17367 variable tmp.
17368
e7f4b08e
UD
17369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17370 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17371 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17372
ab26144e
UD
17373 * nis/nis_table.c (nis_list): Use variable of correct type for
17374 result of __follow_path call.
17375
8a6d5255
AZ
173762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17377
17378 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17379 of math functions ceil, trunc, floor, round, and sqrt, when
17380 avaliable on the platform.
17381 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17382 name clash.
17383 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17384 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17385 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17386
aaddc98c
MP
173872011-10-30 Marek Polacek <mpolacek@redhat.com>
17388
17389 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17391
95b7042b
RM
173922011-11-11 Roland McGrath <roland@hack.frob.com>
17393
17394 * include/unistd.h: Fix __readlink return type.
17395 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17396
57769839
UD
173972011-11-11 Ulrich Drepper <drepper@gmail.com>
17398
17399 * stdlib/ucontext.h: Undo last change for makecontext.
17400
edc5984d
AS
174012011-11-11 Andreas Schwab <schwab@redhat.com>
17402
98591e58
AS
17403 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17404
edc5984d
AS
17405 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17406 * setjmp/setjmp.h: Mark functions as non-leaf.
17407 * setjmp/bits/setjmp2.h: Likewise.
17408 * stdlib/ucontext.h: Likewise.
17409
77cdc054
AS
174102011-11-10 Andreas Schwab <schwab@redhat.com>
17411
17412 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17413 (reused_arena): Don't check arena limit.
17414 (arena_get2): Atomically check arena limit.
17415
fe72eebd
UD
174162011-11-08 Ulrich Drepper <drepper@gmail.com>
17417
5f078c32
UD
17418 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17419 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17420
fe72eebd
UD
17421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17422 instructions.
17423
ae1bc2fa
AS
174242011-11-07 Andreas Schwab <schwab@redhat.com>
17425
7583a88d
AS
17426 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17427 handler when locking.
17428
ae1bc2fa
AS
17429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17430 Fix size of allocated buffer.
17431
10fb0bfa
AS
174322011-11-04 Andreas Schwab <schwab@redhat.com>
17433
998832a4
AS
17434 [BZ #10103]
17435 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17436 declarations for long double functions.
17437 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17438
10fb0bfa
AS
17439 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17440
3d7ba52b
AS
174412011-11-03 Andreas Schwab <schwab@redhat.com>
17442
a9ae54a1
AS
17443 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17444 installed.
17445
3d7ba52b
AS
17446 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17447 is disabled.
17448
bc8db248
ST
174492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17450
17451 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17452
45b96dd6
AS
174532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17454
647776f6
AS
17455 * include/alloca.h (stackinfo_alloca_round): Define.
17456 (extend_alloca): Use it.
17457 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17458 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17459 here.
17460
d91a8b93
AS
17461 * scripts/check-local-headers.sh: Ignore libaudit.h.
17462
45b96dd6
AS
17463 * nscd/Makefile (extra-objs): Make recursively expanded.
17464
432d41ce
UD
174652011-11-01 Ulrich Drepper <drepper@gmail.com>
17466
34372fc6
UD
17467 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17469
fadb59f8
UD
17470 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17471 * posix/tst-rfc3484-2.c: Likewise.
17472 * posix/tst-rfc3484-3.c: Likewise.
17473
78239589
UD
17474 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17475 process_vm_writev.
17476 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17477 process_vm_writev.
17478 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17479 process_vm_writev from libc using GLIBC_2.15 version.
17480
432d41ce
UD
17481 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17482
02f9c6cf
PP
174832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17484
17485 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17486 stack usage.
17487
3a2c0242
UD
174882011-10-31 Ulrich Drepper <drepper@gmail.com>
17489
f4ec4833
UD
17490 [BZ #13367]
17491 * nss/getent.c (initgroups_keys): Show error message in case no group
17492 names are given.
17493
3a2c0242
UD
17494 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17495 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17496 __bump_nl_timestamp.
17497 * nscd/connections (nscd_init): When host database is served open
17498 netlink socket and request notification about configuration changes.
17499 (main_loop_poll): Track netlink file descriptor and bump timestamp
17500 in case data becomes available.
17501 (main_loop_epoll): Likewise.
17502 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17503 (database_pers_head): Add extra_data fileds.
17504 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17506 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17507 Adjust caller.
17508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17509 in6ai data, call __free_in6ai.
17510 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17511 Add -DHAVE_NETLINK.
17512 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17513 interface information. Reuse previous data if netlink timestamp
17514 is not changed.
17515 (__bump_nl_timestamp): New function.
17516 (__free_in6ai): New function.
17517
636064eb
UD
175182011-10-30 Ulrich Drepper <drepper@gmail.com>
17519
17520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17521 close_not_cancel_no_status here.
17522 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17523
9beb2334
UD
175242011-10-29 Ulrich Drepper <drepper@gmail.com>
17525
6ef76f3b
UD
17526 [BZ #13276]
17527 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17528 return value.
17529
0ffc4f3e 17530 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17531 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17532 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17533
cb95113e
UD
175342011-07-03 Andreas Jaeger <aj@suse.de>
17535
17536 [BZ #10709]
17537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17538 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17539 * math/libm-test.inc (sin_test): Add test case.
17540
a1b560ff
UD
175412011-10-29 Ulrich Drepper <drepper@gmail.com>
17542
c9aaface
UD
17543 [BZ #13337]
17544 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17546
d272e7f1
UD
17547 * elf/chroot_canon.c (chroot_canon): Cleanups.
17548
1bc33071
UD
17549 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17550
1760874d
TJ
17551 [BZ #13335]
17552 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17553 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17554
51d91b18
UD
17555 * string/test-strchr.c: Make usable for strchrnul testing.
17556 * string/test-strchrnul.c: New file.
17557 * string/Makefile (strop-tests): Add strchrnul.
17558
a1b560ff 17559 * po/it.po: Update from translation team.
b611fb81 17560 * po/es.po: Likewise.
a1b560ff 17561
a5b81e1f
UD
175622011-10-28 Ulrich Drepper <drepper@gmail.com>
17563
fd52bc6d
UD
17564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17565 the three constants needed as parameters. Drop the others.
17566 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17567 __m128i_strloadu_tolower.
52e4b9eb
UD
17568 Create and initialize variable zero and use it in all the places
17569 where _mm_setzero_si128 was used.
fd52bc6d 17570
a5b81e1f
UD
17571 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17572 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17573 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17574 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17575 anymore.
17576 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17577 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17578 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17579 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17581 __mpranred, __mptan.
17582 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17583 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17584 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17585 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17586 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17587 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17589 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17590 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17591
b4343346
AS
175922011-10-28 Andreas Schwab <schwab@redhat.com>
17593
0c92d8a8
AS
17594 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17595 redefine if SHARED.
17596 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17597
b4343346
AS
17598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17599 wide char related routines to wcsmbs subdir.
17600
3871f58f
AS
176012011-10-27 Andreas Schwab <schwab@redhat.com>
17602
17603 [BZ #13344]
17604 * misc/sys/cdefs.h (__THROWNL): Define.
17605 * posix/unistd.h: Use __THREADNL instead of __THREAD
17606 for memory synchronization functions.
17607
94d44d9f
RM
176082011-10-26 Roland McGrath <roland@hack.frob.com>
17609
21b64b15 17610 [BZ #13349]
94d44d9f
RM
17611 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17612 doesn't exist.
17613 * manual/stdio.texi (Obstack Streams): Node removed.
17614
f6ce9294
AS
176152011-10-26 Andreas Schwab <schwab@redhat.com>
17616
80479147
AS
17617 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17620
f6ce9294
AS
17621 * math/math_private.h (math_force_eval): Allow non-addressable
17622 arguments.
17623 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17624
618280a1
UD
176252011-10-25 Ulrich Drepper <drepper@gmail.com>
17626
e0016b11
UD
17627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17628 file is not needed.
17629
17630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17637 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17638 Add AVX variants.
17639 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17640 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17641 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17642 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17643 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17644 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17645 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17647 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17648 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17649 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17650 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17651 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17652 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17653 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17654 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17655 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17657 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17658
17659 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17660 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17661
618280a1
UD
17662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17663 place. Use VEX encoding when compiling for AVX.
17664
37822576
AS
176652011-10-25 Andreas Schwab <schwab@redhat.com>
17666
1f1e1947
AS
17667 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17668 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17669
37822576
AS
17670 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17671
31ea014d
UD
176722011-10-25 Ulrich Drepper <drepper@gmail.com>
17673
d7826aa1 17674 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17675 useless if() expression.
d7826aa1
UD
17676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17680 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17686 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17691 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17695
31ea014d
UD
17696 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17697
16437fec
AS
176982011-10-25 Andreas Schwab <schwab@redhat.com>
17699
17700 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17701 condition.
17702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17703
31d3cc00
UD
177042011-10-25 Ulrich Drepper <drepper@gmail.com>
17705
17706 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17707 .text section. Avoid duplicate constants.
17708 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17718 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17720 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17731 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17732 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17733 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17734 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17735 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17738 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17739 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17741 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17742 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17743 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17744 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17746 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17747 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17748 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17750 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17751 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17752 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17753
58985aa9
UD
177542011-10-24 Ulrich Drepper <drepper@gmail.com>
17755
202c9deb
UD
17756 * sysdeps/x86_64/dla.h: Move to ...
17757 * sysdeps/x86_64/fpu/dla.h: ...here.
17758 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17759 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17760
af968f62
UD
17761 * config.make.in: Add have-mfma4 entry.
17762 * configure.in: Substitute libc_cv_cc_fma4.
17763 * math/Makefile (dbl-only-routines): Add sincostab.
17764 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17765 Use __sincostab not sincos.
17766 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17767 name is a macro.
17768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17772 using __copysign.
17773 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17774 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17775 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17776 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17777 and __inv.
17778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17779 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17780 __copysign.
17781 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17782 define aliases when function name is a macro.
17783 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17784 sysdeps/ieee754/dbl-64/sincos.tbl.
17785 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17786 fma4-enabled routines.
17787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17788 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17789 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17790 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17792 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17794 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17796 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17797 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17798 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17799 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17800 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17802 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17803 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17804 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17805 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17806 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17807 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17808 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17814 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17815 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17816 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17817
58985aa9
UD
17818 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17819 rename.
17820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17828
a201fbcf
AS
178292011-10-24 Andreas Schwab <schwab@redhat.com>
17830
17831 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17832
fc2ee42a
LD
178332011-10-23 Ulrich Drepper <drepper@gmail.com>
17834
bb3129bd
UD
17835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17836
0275fff8
UD
17837 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17838 prediction.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17840
2fa2ae85
UD
17841 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17842 Remove unused variable magic_bits.
17843 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17844
fc2ee42a
LD
17845 * string/strnlen.c: Define and use STRNLEN macro.
17846 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17847 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17849 * wcsmbs/wcslen.c: Define and use WCSLEN.
17850 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17851 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17852 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17853 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17854 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17855 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17856 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17857
ce7dd29f
LD
178582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17859
17860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17861 strnlen-sse2-no-bsf.
17862 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17864 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17865 Add strnlen support.
17866 (USE_AS_STRNLEN): New macro.
17867 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17869 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17870 * sysdeps/x86_64/wcslen.S: New file.
17871
979c70a3
MZ
178722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17873
17874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17875 XMM-moves are used for copying on small sizes.
17876
2d09f82f
LD
178772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17878
17879 * wcsmbs/Makefile (strop-tests): Add wcschr.
17880 * wcsmbs/test-wcschr.c: New file.
17881 * string/test-strchr.c: Update.
17882 Add wcschr support.
17883 (WIDE): New macro.
17884
619fccca
LD
178852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17886
2d09f82f 17887 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17888 * wcsmbs/test-wcslen.c: New file.
17889 * string/test-strlen.c: Update.
17890 Add wcslen support.
17891 (WIDE): New macro.
17892
09f699ea
UD
178932011-10-23 Ulrich Drepper <drepper@gmail.com>
17894
17895 * po/it.po: Update from translation team.
17896
95584d3b
LD
178972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17898
17899 * sysdeps/x86_64/wcscmp.S: Update.
17900 Fix wrong comparison semantics.
17901 wcscmp shall use signed comparison not unsigned.
17902 Don't use substraction to avoid overflow bug.
17903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17904 * wcsmbc/wcscmp.c: Likewise.
17905 * string/test-strcmp.c: Likewise.
17906 Add new tests to check cases with negative values.
17907
c8b3296b
UD
179082011-10-23 Ulrich Drepper <drepper@gmail.com>
17909
17910 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17911 * sysdeps/x86_64/dla.h: ...here. New file.
17912 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17921
246ad57a
AS
179222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17923
17924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17925 __ynl_finite aliases.
17926
a1a87169
UD
179272011-10-22 Ulrich Drepper <drepper@gmail.com>
17928
0d355eb7
UD
17929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17930
a1a87169
UD
17931 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17932 define DLA_FMA.
17933 [DLA_FMA] (EMULV): Use DLA_FMA.
17934 [DLA_FMA] (MUL12): Use EMULV.
17935 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17936 that are not needed.
17937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17944
ee2aafe0
AS
179452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17946
17947 * math/s_nan.c: Undef __nan.
17948 * math/s_nanf.c: Undef __nanf.
17949 * math/s_nanl.c: Undef __nanl.
17950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17951 "math_private.h".
17952
bc62c2fb
UD
179532011-10-22 Ulrich Drepper <drepper@gmail.com>
17954
77425c63
UD
17955 * math/s_catan.c: Add branch predictions.
17956 * math/s_catanf.c: Likewise.
17957 * math/s_catanh.c: Likewise.
17958 * math/s_catanhf.c: Likewise.
17959 * math/s_catanhl.c: Likewise.
17960 * math/s_catanl.c: Likewise.
17961 * math/s_cexp.c: Likewise.
17962 * math/s_cexpf.c: Likewise.
17963 * math/s_cexpl.c: Likewise.
17964 * math/s_clog.c: Likewise.
17965 * math/s_clog10.c: Likewise.
17966 * math/s_clog10f.c: Likewise.
17967 * math/s_clog10l.c: Likewise.
17968 * math/s_clogf.c: Likewise.
17969 * math/s_clogl.c: Likewise.
17970 * math/s_csqrt.c: Likewise.
17971 * math/s_csqrtf.c: Likewise.
17972 * math/s_csqrtl.c: Likewise.
17973 * math/s_ctanf.c: Likewise.
17974 * math/s_ctanh.c: Likewise.
17975 * math/s_ctanhf.c: Likewise.
17976 * math/s_ctanhl.c: Likewise.
17977 * math/s_ctanl.c: Likewise.
17978
bc62c2fb
UD
17979 * math/math_private.h: Define __nan, __nanf, __nanl.
17980 * math/s_cacosh.c: Include <math_private.h>.
17981 * math/s_cacoshl.c: Likewise.
17982 * math/s_casinh.c: Likewise.
17983 * math/s_casinhf.c: Likewise.
17984 * math/s_casinhl.c: Likewise.
17985 * math/s_ccos.c: Rely entire on ccosh.
17986 * math/s_ccosf.c: Rely entire on ccoshf.
17987 * math/s_ccosl.c: Rely entirely on ccoshl.
17988 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17989 Remove tests for FE_INVALID.
17990 * math/s_ccoshf.c: Likewise.
17991 * math/s_ccoshl.c: Likewise.
17992 * math/s_csin.c: Likewise.
17993 * math/s_csinf.c: Likewise.
17994 * math/s_csinh.c Likewise.
17995 * math/s_csinhf.c: Likewise.
17996 * math/s_csinhl.c: Likewise.
17997 * math/s_csinl.c: Likewise.
17998 * math/s_ctan.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18000 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18001 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18002
8ec250a4
UD
180032011-10-21 Ulrich Drepper <drepper@gmail.com>
18004
c196fed8
UD
18005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18006 compilation problems.
18007
8ec250a4
UD
18008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18009 __builtin_expect.
18010
8d4f46c6
UD
180112011-10-20 Ulrich Drepper <drepper@gmail.com>
18012
ed72b654
UD
18013 * sysdeps/i386/configure.in: Test for -mfma4 option.
18014 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18015 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18016 COMMON_CPUID_INDEX_80000001.
18017 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18018 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18019 use it if FMA3 is not supported.
18020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18021
8d4f46c6
UD
18022 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18023 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18024
d45c60c2
AS
180252011-10-20 Andreas Schwab <schwab@redhat.com>
18026
18027 [BZ #12892]
18028 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18029 it would create a cycle with a link time dependency.
18030
d9a4d2ab
UD
180312011-10-19 Ulrich Drepper <drepper@gmail.com>
18032
855d1560
UD
18033 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18034 instruction.
18035 * string/Makefile (strop-tests): Add rawmemchr.
18036 * string/test-rawmemchr.c: New file.
18037
d9a4d2ab
UD
18038 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18040 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18041 when compiling str{,n}casecmp and when AVX is available. Hook up
18042 new optimized code in initializers.
18043
8f3b1ffe
AS
180442011-10-19 Andreas Schwab <schwab@redhat.com>
18045
18046 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18047 __feraiseexcept instead of feraiseexcept.
18048
d38f1dba
UD
180492011-10-18 Ulrich Drepper <drepper@gmail.com>
18050
d9a8d0ab
UD
18051 * math/math_private.h: Define defaults for libc_fetestexcept and
18052 libc_feupdateenv.
18053 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18054 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18055 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18056 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18059 libc_fetestexcept and libc_feupdateenv.
18060
4855e3dd
UD
18061 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18062 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18063 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18064 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18065 libc_feholdexcept_setround.
18066
581d30e3
UD
18067 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18068 Add s_nearbyint-c and s_nearbyintf-c.
18069 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18070 nearbyintf inlines.
18071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18075
d38f1dba
UD
18076 * math/math_private.h: Define defaults for libc_fegetround,
18077 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18078 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18079 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18081 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18082 standard functions.
18083 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18084 Remove comments and hacks for old compiler versions.
18085 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18086 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18087 libc_feholdexceptl.
18088
caa6c9d8
AS
180892011-10-18 Andreas Schwab <schwab@redhat.com>
18090
18091 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18092 (__feraiseexcept_renamed): Add __NTH.
18093 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18094 namespace violations.
18095
97c066e6
UD
180962011-10-17 Ulrich Drepper <drepper@gmail.com>
18097
99ce7b04
UD
18098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18099
1004d182
UD
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18101
228a984d
UD
18102 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18103 recently added interfaces.
18104 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18105
c8553a6a
UD
18106 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18107 about macro parameter expansion.
18108
ed22dcf6
UD
18109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18110 __NO_MATH_INLINES is defined. Cleanups.
18111
18112 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18113 and __floorf is target has SSE4.1.
18114 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18115 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18118
b171c137
UD
18119 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18120 name.
18121 (floorf): Likewise.
18122
97c066e6
UD
18123 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18124
629f62ef
AS
181252011-10-17 Andreas Schwab <schwab@redhat.com>
18126
49a43d80
AS
18127 * misc/sys/cdefs.h: Fix last change.
18128
629f62ef
AS
18129 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18130 database lookup.
18131
e453f6cd
UD
181322011-10-16 Ulrich Drepper <drepper@gmail.com>
18133
aa78043a
UD
18134 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18135
ad0f5cad
UD
18136 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18145 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18146 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18147 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18148 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18149 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18150 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18151 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18152 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18153 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18154 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18155 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18156 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18157 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18158
18159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18160 ceil, ceilf, floor, floorf.
18161
18162 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18163 Perform IRELATIVE relocations last.
18164
e453f6cd
UD
18165 * elf/do-rel.h: Add another parameter nrelative, replacing the
18166 local variable with the same name. Change name of the function
18167 to end in Rel or Rela (uppercase).
18168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18169 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18170 elf_dynamic_do_##reloc function.
18171
fd5bdc09
UD
181722011-10-15 Ulrich Drepper <drepper@gmail.com>
18173
79b195b5
UD
18174 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18175 is sufficient, at least on modern CPUs.
18176
d4a28569
UD
18177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18178
b61099b5
UD
18179 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18181
bcf01e6d
UD
18182 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18183 __expl_finite.
18184 * math/bits/math-finite.h: Add entries for exp.
18185 * math/e_expl.c: Add __*_finite alias.
18186 * sysdeps/i386/fpu/e_exp.S: Likewise.
18187 * sysdeps/i386/fpu/e_expf.S: Likewise.
18188 * sysdeps/i386/fpu/e_expl.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18194 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18196
ba1a0d59
UD
18197 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18198 is sufficient, at least on modern CPUs.
18199
fd5bdc09
UD
18200 * ctype/ctype-info.c (__ctype_init): Define.
18201 * include/ctype.h (__ctype_init): Declare.
18202 (__ctype_b_loc): The variable is always initialized.
18203 (__ctype_toupper_loc): Likewise.
18204 (__ctype_tolower_loc): Likewise.
18205 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18206 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18207
7872cfb0
AS
182082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18209
b468825a
AS
18210 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18211
7872cfb0
AS
18212 * configure.in: Also look in $cxxmachine/include for C++ system
18213 headers.
18214
be13f7bf
LD
182152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18216
18217 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18218 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18219 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18220 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18222 (USE_AS_WMEMCMP): New macro.
18223 Fixing indents.
18224 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18225 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18226 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18227 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18229 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18230 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18232 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18233 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18235 (USE_AS_WMEMCMP): New macro.
18236 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18237 * sysdeps/string/test-memcmp.c: Update.
18238 Fix simple_wmemcmp.
18239 Add new tests.
18240 * wcsmbs/wmemcmp.c: Update.
18241 (WMEMCMP): New macro.
18242 Fix overflow bug.
18243
556a2007
AJ
182442011-10-12 Andreas Jaeger <aj@suse.de>
18245
18246 [BZ #13268]
18247 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18248
538faaa7
UD
182492011-10-15 Ulrich Drepper <drepper@gmail.com>
18250
ab6737ff
UD
18251 * libio/iofwide.c (do_length): Avoid warning.
18252
538faaa7
UD
18253 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18254
396a21b1
UD
182552011-10-14 Ulrich Drepper <drepper@gmail.com>
18256
cdf2901f
UD
18257 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18258
38ad40ce
UD
18259 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18260 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18261 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18262 * sysdeps/i386/i686/fpu/e_log.S: New file.
18263 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18264 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18265
396a21b1
UD
18266 * ctype/ctype.h: Add support for inlined isXXX functions when
18267 compiling C++ code.
18268
6b1f68c9
AS
182692011-10-14 Andreas Schwab <schwab@redhat.com>
18270
349290c0
AS
18271 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18272
6b1f68c9
AS
18273 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18274
f2282d42
RM
182752011-10-13 Roland McGrath <roland@hack.frob.com>
18276
18277 [BZ #13291]
18278 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18279
5298ffa8
AS
182802011-10-13 Andreas Schwab <schwab@redhat.com>
18281
714fad23
AS
18282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18283 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18284 feraiseexcept.
18285
81dcc7fb
AS
18286 * sysdeps/x86_64/memrchr.S: Check for zero size.
18287
5298ffa8
AS
18288 * string/stratcliff.c: Add memrchr tests.
18289
951fbcec
LD
182902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18291
18292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18293 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18294 rawmemchr-sse2 rawmemchr-sse2-bsf.
18295 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18296 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18297 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18298 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18299 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18300 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18301 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18302 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18303 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18304 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18305 * string/memrchr.c (MEMRCHR): New macro.
18306
0ac5ae23
UD
183072011-10-12 Ulrich Drepper <drepper@gmail.com>
18308
18309 Add integration with gcc's -ffinite-math-only and optimize wrapper
18310 functions in libm.
18311 * Versions.def: Define GLIBC_2.15 version for libm.
18312 * math/Makefile (headers): Add bits/math-finite.h.
18313 * math/bits/math-finite.h: New file.
18314 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18315 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18316 * math/e_acoshl.c: Add __*_finite alias.
18317 * math/e_acosl.c: Likewise.
18318 * math/e_asinl.c: Likewise.
18319 * math/e_atan2l.c: Likewise.
18320 * math/e_atanhl.c: Likewise.
18321 * math/e_coshl.c: Likewise.
18322 * math/e_exp10.c: Likewise.
18323 * math/e_exp10f.c: Likewise.
18324 * math/e_exp10l.c: Likewise.
18325 * math/e_exp2l.c: Likewise.
18326 * math/e_fmodl.c: Likewise.
18327 * math/e_gammal_r.c: Likewise.
18328 * math/e_hypotl.c: Likewise.
18329 * math/e_j0l.c: Likewise.
18330 * math/e_j1l.c: Likewise.
18331 * math/e_jnl.c: Likewise.
18332 * math/e_lgammal_r.c: Likewise.
18333 * math/e_log10l.c: Likewise.
18334 * math/e_log2l.c: Likewise.
18335 * math/e_logl.c: Likewise.
18336 * math/e_powl.c: Likewise.
18337 * math/e_sinhl.c: Likewise.
18338 * math/e_sqrtl.c: Likewise.
18339 * math/e_scalb.c: Completely rewritten and optimized.
18340 * math/e_scalbf.c: Likewise.
18341 * math/e_scalbl.c: Likewise.
18342 * math/w_acos.c: Likewise.
18343 * math/w_acosf.c: Likewise.
18344 * math/w_acosl.c: Likewise.
18345 * math/w_acosh.c: Likewise.
18346 * math/w_acoshf.c: Likewise.
18347 * math/w_acoshl.c: Likewise.
18348 * math/w_asin.c: Likewise.
18349 * math/w_asinf.c: Likewise.
18350 * math/w_asinl.c: Likewise.
18351 * math/w_atan2.c: Likewise.
18352 * math/w_atan2f.c: Likewise.
18353 * math/w_atan2l.c: Likewise.
18354 * math/w_atanh.c: Likewise.
18355 * math/w_atanhf.c: Likewise.
18356 * math/w_atanhl.c: Likewise.
18357 * math/w_exp10.c: Likewise.
18358 * math/w_exp10f.c: Likewise.
18359 * math/w_exp10l.c: Likewise.
18360 * math/w_fmod.c: Likewise.
18361 * math/w_fmodf.c: Likewise.
18362 * math/w_fmodl.c: Likewise.
18363 * math/w_j0.c: Likewise.
18364 * math/w_j0f.c: Likewise.
18365 * math/w_j0l.c: Likewise.
18366 * math/w_j1.c: Likewise.
18367 * math/w_j1f.c: Likewise.
18368 * math/w_j1l.c: Likewise.
18369 * math/w_jn.c: Likewise.
18370 * math/w_jnf.c: Likewise.
18371 * math/w_log.c: Likewise.
18372 * math/w_logf.c: Likewise.
18373 * math/w_logl.c: Likewise.
18374 * math/w_log10.c: Likewise.
18375 * math/w_log10f.c: Likewise.
18376 * math/w_log10l.c: Likewise.
18377 * math/w_log2.c: Likewise.
18378 * math/w_log2f.c: Likewise.
18379 * math/w_log2l.c: Likewise.
18380 * math/w_pow.c: Likewise.
18381 * math/w_powf.c: Likewise.
18382 * math/w_powl.c: Likewise.
18383 * math/w_remainder.c: Likewise.
18384 * math/w_remainderf.c: Likewise.
18385 * math/w_remainderl.c: Likewise.
18386 * math/w_scalb.c: Likewise.
18387 * math/w_scalbf.c: Likewise.
18388 * math/w_scalbl.c: Likewise.
18389 * math/w_sqrt.c: Likewise.
18390 * math/w_sqrtf.c: Likewise.
18391 * math/w_sqrtl.c: Likewise.
18392 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18393 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18394 used.
18395 * math/math_private.h: Declare __kernel_standard_f.
18396 * math/w_cosh.c: Remove cruft and optimize a bit.
18397 * math/w_coshf.c: Likewise.
18398 * math/w_coshl.c: Likewise.
18399 * math/w_exp2.c: Likewise.
18400 * math/w_exp2f.c: Likewise.
18401 * math/w_exp2l.c: Likewise.
18402 * math/w_hypot.c: Likewise.
18403 * math/w_hypotf.c: Likewise.
18404 * math/w_hypotl.c: Likewise.
18405 * math/w_lgamma.c: Likewise.
18406 * math/w_lgamma_r.c: Likewise.
18407 * math/w_lgammaf.c: Likewise.
18408 * math/w_lgammaf_r.c: Likewise.
18409 * math/w_lgammal.c: Likewise.
18410 * math/w_lgammal_r.c: Likewise.
18411 * math/w_sinh.c: Likewise.
18412 * math/w_sinhf.c: Likewise.
18413 * math/w_sinhl.c: Likewise.
18414 * math/w_tgamma.c: Likewise.
18415 * math/w_tgammaf.c: Likewise.
18416 * math/w_tgammal.c: Likewise.
18417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18419 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18420 Minor optimizations. Pretty printing. Remove cruft.
18421 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18425 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18426 * sysdeps/i386/fpu/e_asin.S: Likewise.
18427 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18428 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18429 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18430 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18432 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18434 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18435 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18436 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18437 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18438 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18439 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18440 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18441 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18442 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18443 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18444 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18445 * sysdeps/i386/fpu/e_log.S: Likewise.
18446 * sysdeps/i386/fpu/e_log10.S: Likewise.
18447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18448 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18449 * sysdeps/i386/fpu/e_log2.S: Likewise.
18450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18452 * sysdeps/i386/fpu/e_logf.S: Likewise.
18453 * sysdeps/i386/fpu/e_logl.S: Likewise.
18454 * sysdeps/i386/fpu/e_pow.S: Likewise.
18455 * sysdeps/i386/fpu/e_powf.S: Likewise.
18456 * sysdeps/i386/fpu/e_powl.S: Likewise.
18457 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18458 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18459 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18461 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18463 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18464 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18465 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18470 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18472 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18473 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18486 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18487 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18488 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18489 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18490 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18491 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18492 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18493 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18494 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18495 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18497 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18498 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18499 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18500 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18501 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18502 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18503 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18504 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18505 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18506 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18508 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18509 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18511 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18512 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18513 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18514 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18516 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18517 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18518 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18521 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18522 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18523 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18524 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18525 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18531 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18532 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18536 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18544 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18545 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18546 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18547 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18548 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18551 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18554 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18562 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18563 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18564 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18565 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18566 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18567 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18568 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18569 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18570 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18572 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18574 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18576 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18577 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18578 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18579 (__isnanf): Likewise.
18580 (__isinf_ns): Likewise.
18581 (__isinf_nsf): Likewise.
18582 (__finite): Likewise.
18583 (__finitef): Likewise.
18584 (__ieee754_sqrt): Define as macro.
18585 (__ieee754_sqrtf): Define as macro.
18586 (__ieee754_sqrtl): Define as macro.
18587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18588 inlined copy.
18589 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18590 __FINITE_MATH_ONLY__ consistent.
18591 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18592
12cc2fcd
AS
185932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18594
a843a204
AS
18595 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18596 of rawmemchr.
18597
12cc2fcd
AS
18598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18599
c853acd5
UD
186002011-10-09 Ulrich Drepper <drepper@gmail.com>
18601
18602 * po/ja.po: Update from translation team.
18603
c658d255
RM
186042011-10-08 Roland McGrath <roland@hack.frob.com>
18605
110946e4
RM
18606 * locale/programs/locarchive.c (prepare_address_space): New function.
18607 (create_archive, enlarge_archive, open_archive): Use it.
18608
50604220
RM
18609 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18610 inside [SHARED], where it is used.
18611
c658d255
RM
18612 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18613
18614 * nss/getent.c (netgroup_keys): Remove unused variable.
18615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18616
6a621eb7
UD
186172011-10-08 Ulrich Drepper <drepper@gmail.com>
18618
7edb55ce
UD
18619 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18624 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18625 * math/Makefile (libm-calls): Add s_isinf_ns.
18626 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18627 * math/multc3.c: Likewise.
18628 * math/s_casin.c: Likewise.
18629 * math/s_casinf.c: Likewise.
18630 * math/s_casinl.c: Likewise.
18631 * math/s_ccos.c: Likewise.
18632 * math/s_ccosf.c: Likewise.
18633 * math/s_ccosl.c: Likewise.
18634 * math/s_ctan.c: Likewise.
18635 * math/s_ctanf.c: Likewise.
18636 * math/s_ctanh.c: Likewise.
18637 * math/s_ctanhf.c: Likewise.
18638 * math/s_ctanhl.c: Likewise.
18639 * math/s_ctanl.c: Likewise.
18640 * math/w_fmod.c: Likewise.
18641 * math/w_fmodf.c: Likewise.
18642 * math/w_fmodl.c: Likewise.
18643 * math/w_remainder.c: Likewise.
18644 * math/w_remainderf.c: Likewise.
18645 * math/w_remainderl.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18647 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18650 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18651 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18652 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18653 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18654
187da0ae
UD
18655 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18656 of the number.
18657 * stdio-common/printf_fphex.c: Likewise.
18658 * stdio-common/printf_size.c: Likewise.
18659
9277c064
UD
18660 * math/e_exp10.c: Include math_private.h using <...> not "...".
18661 * math/e_exp10f.c: Likewise.
18662 * math/e_exp10l.c: Likewise.
18663 * math/e_exp2l.c: Likewise.
18664 * math/e_j0l.c: Likewise.
18665 * math/e_j1l.c: Likewise.
18666 * math/e_jnl.c: Likewise.
18667 * math/e_lgammal_r.c: Likewise.
18668 * math/e_rem_pio2l.c: Likewise.
18669 * math/e_scalb.c: Likewise.
18670 * math/e_scalbf.c: Likewise.
18671 * math/e_scalbl.c: Likewise.
18672 * math/k_cosl.c: Likewise.
18673 * math/k_sinl.c: Likewise.
18674 * math/k_tanl.c: Likewise.
18675 * math/s_cacoshf.c: Likewise.
18676 * math/s_catan.c: Likewise.
18677 * math/s_catanf.c: Likewise.
18678 * math/s_catanh.c: Likewise.
18679 * math/s_catanhf.c: Likewise.
18680 * math/s_catanhl.c: Likewise.
18681 * math/s_catanl.c: Likewise.
18682 * math/s_ccosh.c: Likewise.
18683 * math/s_ccoshf.c: Likewise.
18684 * math/s_ccoshl.c: Likewise.
18685 * math/s_cexp.c: Likewise.
18686 * math/s_cexpf.c: Likewise.
18687 * math/s_cexpl.c: Likewise.
18688 * math/s_clog.c: Likewise.
18689 * math/s_clog10.c: Likewise.
18690 * math/s_clog10f.c: Likewise.
18691 * math/s_clog10l.c: Likewise.
18692 * math/s_clogf.c: Likewise.
18693 * math/s_clogl.c: Likewise.
18694 * math/s_csin.c: Likewise.
18695 * math/s_csinf.c: Likewise.
18696 * math/s_csinh.c: Likewise.
18697 * math/s_csinhf.c: Likewise.
18698 * math/s_csinhl.c: Likewise.
18699 * math/s_csinl.c: Likewise.
18700 * math/s_csqrt.c: Likewise.
18701 * math/s_csqrtf.c: Likewise.
18702 * math/s_csqrtl.c: Likewise.
18703 * math/s_ctan.c: Likewise.
18704 * math/s_ctanf.c: Likewise.
18705 * math/s_ctanh.c: Likewise.
18706 * math/s_ctanhf.c: Likewise.
18707 * math/s_ctanhl.c: Likewise.
18708 * math/s_ctanl.c: Likewise.
18709 * math/s_ldexp.c: Likewise.
18710 * math/s_ldexpf.c: Likewise.
18711 * math/s_ldexpl.c: Likewise.
18712 * math/s_significand.c: Likewise.
18713 * math/s_significandf.c: Likewise.
18714 * math/s_significandl.c: Likewise.
18715 * math/w_acos.c: Likewise.
18716 * math/w_acosf.c: Likewise.
18717 * math/w_acosh.c: Likewise.
18718 * math/w_acoshf.c: Likewise.
18719 * math/w_acoshl.c: Likewise.
18720 * math/w_acosl.c: Likewise.
18721 * math/w_asin.c: Likewise.
18722 * math/w_asinf.c: Likewise.
18723 * math/w_asinl.c: Likewise.
18724 * math/w_atan2.c: Likewise.
18725 * math/w_atan2f.c: Likewise.
18726 * math/w_atan2l.c: Likewise.
18727 * math/w_atanh.c: Likewise.
18728 * math/w_atanhf.c: Likewise.
18729 * math/w_atanhl.c: Likewise.
18730 * math/w_cosh.c: Likewise.
18731 * math/w_coshf.c: Likewise.
18732 * math/w_coshl.c: Likewise.
18733 * math/w_dremf.c: Likewise.
18734 * math/w_exp10.c: Likewise.
18735 * math/w_exp10f.c: Likewise.
18736 * math/w_exp10l.c: Likewise.
18737 * math/w_exp2.c: Likewise.
18738 * math/w_exp2f.c: Likewise.
18739 * math/w_fmod.c: Likewise.
18740 * math/w_fmodf.c: Likewise.
18741 * math/w_fmodl.c: Likewise.
18742 * math/w_hypot.c: Likewise.
18743 * math/w_hypotf.c: Likewise.
18744 * math/w_hypotl.c: Likewise.
18745 * math/w_j0.c: Likewise.
18746 * math/w_j0f.c: Likewise.
18747 * math/w_j0l.c: Likewise.
18748 * math/w_j1.c: Likewise.
18749 * math/w_j1f.c: Likewise.
18750 * math/w_j1l.c: Likewise.
18751 * math/w_jn.c: Likewise.
18752 * math/w_jnf.c: Likewise.
18753 * math/w_jnl.c: Likewise.
18754 * math/w_lgamma.c: Likewise.
18755 * math/w_lgamma_r.c: Likewise.
18756 * math/w_lgammaf.c: Likewise.
18757 * math/w_lgammaf_r.c: Likewise.
18758 * math/w_lgammal.c: Likewise.
18759 * math/w_lgammal_r.c: Likewise.
18760 * math/w_log.c: Likewise.
18761 * math/w_log10.c: Likewise.
18762 * math/w_log10f.c: Likewise.
18763 * math/w_log10l.c: Likewise.
18764 * math/w_log2.c: Likewise.
18765 * math/w_log2f.c: Likewise.
18766 * math/w_log2l.c: Likewise.
18767 * math/w_logf.c: Likewise.
18768 * math/w_logl.c: Likewise.
18769 * math/w_pow.c: Likewise.
18770 * math/w_powf.c: Likewise.
18771 * math/w_powl.c: Likewise.
18772 * math/w_remainder.c: Likewise.
18773 * math/w_remainderf.c: Likewise.
18774 * math/w_remainderl.c: Likewise.
18775 * math/w_scalb.c: Likewise.
18776 * math/w_scalbf.c: Likewise.
18777 * math/w_scalbl.c: Likewise.
18778 * math/w_sinh.c: Likewise.
18779 * math/w_sinhf.c: Likewise.
18780 * math/w_sinhl.c: Likewise.
18781 * math/w_sqrt.c: Likewise.
18782 * math/w_sqrtf.c: Likewise.
18783 * math/w_sqrtl.c: Likewise.
18784 * math/w_tgamma.c: Likewise.
18785 * math/w_tgammaf.c: Likewise.
18786 * math/w_tgammal.c: Likewise.
18787
6a621eb7
UD
18788 * po/ja.po: Update from translation team.
18789
bf582445
AJ
187902011-09-29 Andreas Jaeger <aj@suse.de>
18791
f9efbf3a
AJ
18792 [BZ #13179]
18793 * sunrpc/netname.c (netname2host): Fix logic.
18794
bf582445
AJ
18795 [BZ #6779]
18796 [BZ #6783]
18797 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18798 correctly.
18799 * math/w_remainder.c (__remainder): Likewise.
18800 * math/w_remainderf.c (__remainderf): Likewise.
18801 * math/libm-test.inc (remainder_test): Add test cases.
18802
48693bea
AK
188032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18804
18805 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18806 sdiv_qrnnd.
18807
42622229
LD
188082011-10-07 Ulrich Drepper <drepper@gmail.com>
18809
18810 * string/test-memcmp.c: Avoid unncessary #defines.
18811 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18812
093ecf92
LD
188132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18814
18815 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18816 Use new sse2 version for core i3 - i7 as it's faster
18817 than sse42 version.
18818 (bit_Prefer_PMINUB_for_stringop): New.
18819 * sysdeps/x86_64/rawmemchr.S: Update.
18820 Replace with faster SSE2 version.
18821 * sysdeps/x86_64/memrchr.S: New file.
18822 * sysdeps/x86_64/memchr.S: Update.
18823 Replace with faster SSE2 version.
18824
fde56e5c
MP
188252011-09-12 Marek Polacek <mpolacek@redhat.com>
18826
18827 * elf/dl-load.c (lose): Add cast to avoid warning.
18828
21fd49a9
UD
188292011-10-07 Ulrich Drepper <drepper@gmail.com>
18830
5a06e643
UD
18831 * po/ca.po: Update from translation team.
18832
684ae515
UD
18833 * inet/getnetgrent_r.c: Hook up nscd.
18834 * nscd/Makefile (routines): Add nscd_netgroup.
18835 (nscd-modules): Add netgroupcache.
18836 (CFLAGS-netgroupcache.c): Define.
18837 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18838 (cache_search): Add const to second parameter.
18839 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18840 INNETGR.
18841 (dbs): Add netgrdb entry.
18842 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18843 (verify_persistent_db): Handle netgrdb.
18844 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18845 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18846 GETFDNETGR.
18847 (netgroup_response_header): Define.
18848 (innetgroup_response_header): Define.
18849 (datahead): Add netgroup_response_header and innetgroup_response_header
18850 elements.
18851 * nscd/nscd.conf: Add entries for netgroup cache.
18852 * nscd/nscd.h (dbtype): Add netgrdb.
18853 (_PATH_NSCD_NETGROUP_DB): Define.
18854 (netgroup_iov_disabled): Declare.
18855 (xmalloc, xcalloc, xrealloc): Move declarations here.
18856 (cache_search): Adjust prototype.
18857 Add netgroup-related prototypes.
18858 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18859 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18860 (__nscd_innetgr): Declare.
18861 * nscd/selinux.c (perms): Use access_vector_t as element type and
18862 add netgroup-related initializers.
18863 * nscd/netgroupcache.c: New file.
18864 * nscd/nscd_netgroup.c: New file.
18865 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18866 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18867 For four parameters use innetgr.
18868 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18869 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18870 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18871 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18872
21fd49a9
UD
18873 * nscd/connections.c (register_traced_file): Don't register file
18874 for disabled databases.
18875
054c0457
UD
188762011-10-06 Ulrich Drepper <drepper@gmail.com>
18877
32b63198
UD
18878 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18879
054c0457
UD
18880 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18881 from tree and freeing node.
18882
64031225
JO
188832011-09-25 Jiri Olsa <jolsa@redhat.com>
18884
18885 * nss/nsswitch.c (__nss_database_lookup): Handle
18886 nss_parse_service_list out of memory case.
18887
0490345c
JO
188882011-09-15 Jiri Olsa <jolsa@redhat.com>
18889
18890 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18891 out of memory case.
18892
3a62d00d
AS
188932011-10-04 Andreas Schwab <schwab@redhat.com>
18894
18895 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18896 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18897 pass it down.
18898 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18899 elf_machine_rela, elf_machine_lazy_rel.
18900 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18901 (ELF_DYNAMIC_DO_REL): Likewise.
18902 (ELF_DYNAMIC_DO_RELA): Likewise.
18903 (ELF_DYNAMIC_RELOCATE): Likewise.
18904 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18905 to ELF_DYNAMIC_DO_REL.
18906 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18907 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18908 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18909 elf_machine_rela.
18910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18911 skip_ifunc, don't call ifunc function if non-zero.
18912 (elf_machine_rela): Likewise.
18913 (elf_machine_lazy_rel): Likewise.
18914 (elf_machine_lazy_rela): Likewise.
18915 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18916 (elf_machine_lazy_rel): Likewise.
18917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18918 Likewise.
18919 (elf_machine_lazy_rel): Likewise.
18920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18921 Likewise.
18922 (elf_machine_lazy_rel): Likewise.
18923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18924 (elf_machine_lazy_rel): Likewise.
18925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18926 (elf_machine_lazy_rel): Likewise.
18927 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18928 (elf_machine_lazy_rel): Likewise.
18929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18930 (elf_machine_lazy_rel): Likewise.
18931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18932 (elf_machine_lazy_rel): Likewise.
18933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18934 (elf_machine_lazy_rel): Likewise.
18935
68577918
UD
189362011-09-28 Ulrich Drepper <drepper@gmail.com>
18937
18938 * nss/nss_files/files-init.c (_nss_files_init): Use static
18939 initialization for all the *_traced_file variables.
18940
68822d74
AS
189412011-09-28 Andreas Schwab <schwab@redhat.com>
18942
18943 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18944
2056100b
RM
189452011-09-27 Roland McGrath <roland@hack.frob.com>
18946
18947 [BZ #13226]
18948 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18949
32c76b63
AS
189502011-09-27 Andreas Schwab <schwab@redhat.com>
18951
18952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18953 Reread the line before reparsing it.
18954
bf972c9d
AS
189552011-09-26 Andreas Schwab <schwab@redhat.com>
18956
18957 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18958
e057a1b5
JM
189592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18960 Maxim Kuvyrkov <maxim@codesourcery.com>
18961 Joseph Myers <joseph@codesourcery.com>
18962
18963 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18964 if needed for __stack_chk_guard.
18965
bc7e1c36
RM
189662011-09-19 Roland McGrath <roland@hack.frob.com>
18967
ecb1482f
RM
18968 * sysdeps/posix/spawni.c (script_execute): Always define it.
18969 It will be optimized away if unused.
18970 (maybe_script_execute): New function.
18971 (__spawni): Call it.
18972
bc7e1c36
RM
18973 * Makerules: Don't include tls.make.
18974 (config-tls): Always set to thread.
18975 * tls.make.c: File removed.
18976
1c3b002b
MF
189772011-09-19 Mike Frysinger <vapier@gentoo.org>
18978
18979 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18980 * config.make.in (CPPFLAGS-config): New substituted variable.
18981
2840865d
UD
189822011-09-15 Ulrich Drepper <drepper@gmail.com>
18983
88738eb6
UD
18984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18985
cbf645a6 18986 [BZ #13192]
2840865d
UD
18987 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18988 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18989
b402e91a
RM
189902011-09-15 Roland McGrath <roland@hack.frob.com>
18991
18992 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18993 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18995 (CALL_FAIL): Likewise.
18996 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18997 (CALL_FAIL): Macro removed.
18998 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18999
4c1a1f71
UD
190002011-09-15 Ulrich Drepper <drepper@gmail.com>
19001
19002 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19003 for __FINITE_MATH_ONLY__ == 1.
19004
edc121be
AS
190052011-09-15 Andreas Schwab <schwab@redhat.com>
19006
19007 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19008 __ieee754_sqrt instead of sqrt.
19009 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19010 __ieee754_sqrtf instead of sqrtf.
19011 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19012 __floorf instead of floorf.
19013 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19014 __floorf, __truncf instead of floorf, truncf.
19015
cd205654
UD
190162011-09-14 Ulrich Drepper <drepper@gmail.com>
19017
ee4d0315
UD
19018 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19019
cd205654
UD
19020 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19021 __extern_always_inline.
19022 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19023 32-bit.
19024
48b67d71
AS
190252011-09-14 Andreas Schwab <schwab@redhat.com>
19026
19027 * elf/rtld.c (dl_main): Also relocate in dependency order when
19028 doing symbol dependency testing.
19029
1ae12c75
AS
190302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19031
19032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19033 Always define `refsym'.
19034
995a80df
AS
190352011-09-13 Andreas Schwab <schwab@redhat.com>
19036
e529793b
AS
19037 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19038 (__FD_ELT): Renamed from __FDELT.
19039 * misc/bits/select2.h (__FD_ELT): Likewise.
19040 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19041 __FD_MASK instead of __FDELT, __FDMASK.
19042 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19043 Likewise.
19044 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19045 Likewise.
19046
52d4fef8
AS
19047 * elf/Makefile (gen-ldd): Fix pattern.
19048
995a80df
AS
19049 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19050 (init_tls): Likewise.
19051
8682f8b0
UD
190522011-09-12 Ulrich Drepper <drepper@gmail.com>
19053
19054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19055
de82006d
AS
190562011-09-12 Andreas Schwab <schwab@redhat.com>
19057
a7c8e6a1
AS
19058 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19059 `struct cmsghdr *' instead of `void *'.
19060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19061 Likewise.
19062
0f31fe77
AS
190632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19064
19065 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19066 if non-absolute.
19067 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19068 ldd_rewrite_script.
0f31fe77 19069
32b4c839
UD
190702011-09-11 Ulrich Drepper <drepper@gmail.com>
19071
83cd1420
UD
19072 * configure.in: Remove --with-tls option.
19073 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19074 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19075 out in case it is missing.
19076 * sysdeps/ia64/elf/configure.in: Likewise.
19077 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19078 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19079 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19080 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19081 * sysdeps/sh/elf/configure.in: Likewise.
19082 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19083 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19084 * sysdeps/x86_64/elf/configure.in: Likewise.
19085 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19086 * sysdeps/mach/hurd/tls.h: Likewise.
19087
633f745d
UD
19088 [BZ #13067]
19089 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19090
f318beb8
UD
19091 [BZ #13090]
19092 * configure.in: Fix use of AC_INIT.
19093
32b4c839
UD
19094 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19095
3ce1f295
UD
190962011-09-10 Ulrich Drepper <drepper@gmail.com>
19097
bb016596
UD
19098 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19099 __set_errno.
8e58439c
UD
19100 * malloc/hooks.c: Likewise.
19101
aebae053 19102 [BZ #11929]
02d46fc4
UD
19103 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19104 variables statically.
19105 (narenas): Initialize.
19106 (list_lock): Initialize.
bb016596
UD
19107 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19108 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19109 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19110 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19111 Add initializers to main_arena and mp_.
19112 (malloc_state): Remove pagesize member. Change all users to use
19113 GLRO(dl_pagesize).
19114
19115 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19116 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19117 is always initialized.
19118
22a89187
UD
19119 * malloc/malloc.c: Removed unused configurations and dead code.
19120 * malloc/arena.c: Likewise.
19121 * malloc/hooks.c: Likewise.
02d46fc4 19122 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19123
d063d164
UD
19124 * include/tls.h: Removed. USE___THREAD must always be defined.
19125 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19126 * elf/dl-libc.c: Likewise.
19127 * elf/dl-tsd.c: Likewise.
19128 * include/errno.h: Likewise.
19129 * include/netdb.h: Likewise.
19130 * include/resolv.h: Likewise.
19131 * inet/herrno-loc.c: Likewise.
19132 * inet/herrno.c: Likewise.
19133 * malloc/arena.c: Likewise.
19134 * malloc/hooks.c: Likewise.
19135 * malloc/malloc.c: Likewise.
19136 * resolv/res-state.c: Likewise.
19137 * resolv/res_libc.c: Likewise.
19138 * sysdeps/i386/dl-machine.h: Likewise.
19139 * sysdeps/ia64/dl-machine.h: Likewise.
19140 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19141 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19142 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19143 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19144 * sysdeps/sh/dl-machine.h: Likewise.
19145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19147 * sysdeps/unix/i386/sysdep.S: Likewise.
19148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19149 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19154 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19159 * sysdeps/x86_64/dl-machine.h: Likewise.
19160 * tls.make.c: Likewise.
19161
3ce1f295
UD
19162 * configure.in: Remove --with-__thread option. Make tests for
19163 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19164 tls_model attribute fail if no support is available. Remove
19165 USE_IN_LIBIO.
19166 * Makeconfig: Adjust for dropped configure option. All features are
19167 now mandatory.
19168 * Makerules: Likewise.
19169 * Versions.def: Likewise.
19170 * argp/argp-fmtstream.c: Likewise.
19171 * argp/argp-fmtstream.h: Likewise.
19172 * argp/argp-help.c: Likewise.
19173 * assert/assert.c: Likewise.
19174 * config.h.in: Likewise.
19175 * config.make.in: Likewise.
19176 * configure: Likewise.
19177 * configure.in: Likewise.
19178 * csu/Versions: Likewise.
19179 * csu/init.c: Likewise.
19180 * elf/tst-audit2.c: Likewise.
19181 * elf/tst-tls10.c: Likewise.
19182 * elf/tst-tls10.h: Likewise.
19183 * elf/tst-tls11.c: Likewise.
19184 * elf/tst-tls12.c: Likewise.
19185 * elf/tst-tls14.c: Likewise.
19186 * elf/tst-tlsmod11.c: Likewise.
19187 * elf/tst-tlsmod12.c: Likewise.
19188 * elf/tst-tlsmod13.c: Likewise.
19189 * elf/tst-tlsmod13a.c: Likewise.
19190 * elf/tst-tlsmod14a.c: Likewise.
19191 * elf/tst-tlsmod15b.c: Likewise.
19192 * elf/tst-tlsmod16a.c: Likewise.
19193 * elf/tst-tlsmod16b.c: Likewise.
19194 * elf/tst-tlsmod7.c: Likewise.
19195 * elf/tst-tlsmod8.c: Likewise.
19196 * elf/tst-tlsmod9.c: Likewise.
19197 * gmon/gmon.c: Likewise.
19198 * grp/fgetgrent_r.c: Likewise.
19199 * grp/putgrent.c: Likewise.
19200 * hurd/fopenport.c: Likewise.
19201 * include/libc-symbols.h: Likewise.
19202 * include/tls.h: Likewise.
19203 * intl/gettextP.h: Likewise.
19204 * intl/loadinfo.h: Likewise.
19205 * locale/global-locale.c: Likewise.
19206 * locale/localeinfo.h: Likewise.
19207 * mach/devstream.c: Likewise.
19208 * malloc/arena.c: Likewise.
19209 * malloc/set-freeres.c: Likewise.
19210 * misc/err.c: Likewise.
19211 * misc/getttyent.c: Likewise.
19212 * misc/mntent_r.c: Likewise.
19213 * posix/getopt.c: Likewise.
19214 * posix/wordexp.c: Likewise.
19215 * pwd/fgetpwent_r.c: Likewise.
19216 * resolv/Versions: Likewise.
19217 * resolv/res_hconf.c: Likewise.
19218 * shadow/fgetspent_r.c: Likewise.
19219 * shadow/putspent.c: Likewise.
19220 * stdio-common/printf_fphex.c: Likewise.
19221 * stdio-common/tmpfile.c: Likewise.
19222 * stdlib/abort.c: Likewise.
19223 * stdlib/fmtmsg.c: Likewise.
19224 * sunrpc/auth_unix.c: Likewise.
19225 * sunrpc/clnt_perr.c: Likewise.
19226 * sunrpc/clnt_tcp.c: Likewise.
19227 * sunrpc/clnt_udp.c: Likewise.
19228 * sunrpc/clnt_unix.c: Likewise.
19229 * sunrpc/openchild.c: Likewise.
19230 * sunrpc/svc_simple.c: Likewise.
19231 * sunrpc/svc_tcp.c: Likewise.
19232 * sunrpc/svc_udp.c: Likewise.
19233 * sunrpc/svc_unix.c: Likewise.
19234 * sunrpc/xdr.c: Likewise.
19235 * sunrpc/xdr_array.c: Likewise.
19236 * sunrpc/xdr_rec.c: Likewise.
19237 * sunrpc/xdr_ref.c: Likewise.
19238 * sunrpc/xdr_stdio.c: Likewise.
19239
1248c1c4
PB
192402011-09-09 Ulrich Drepper <drepper@gmail.com>
19241
19242 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19243
192442011-07-03 Andreas Jaeger <aj@suse.de>
19245
19246 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19248 regenerate with gen-libm-tests.pl.
19249
192502010-05-12 Petr Baudis <pasky@suse.cz>
19251
19252 [BZ #11589]
19253 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19254 around j0() zero points by switching to j1().
19255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19259
f22e1074
UD
192602011-09-09 Ulrich Drepper <drepper@gmail.com>
19261
f19009c1
UD
19262 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19263 instead of 0.
19264 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19265 instead of 0. .
19266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19267 Patch in part by Pavel Roskin <proski@gnu.org>.
19268
3f8cc204
UD
19269 [BZ #13138]
19270 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19271 realloc.
19272 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19273 Free memory block if necessary.
19274
f22e1074
UD
19275 [BZ #12847]
19276 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19277 be NULL. Don't lock in this case.
19278
0a2349f9
RM
192792011-09-09 Roland McGrath <roland@hack.frob.com>
19280
19281 * elf/elf.h (ELFOSABI_GNU): New macro.
19282 (ELFOSABI_LINUX): Define to that.
19283
f3cdd467
DZ
192842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19285
19286 * string/strncat.c (strncat): Undef the symbol in case it has been
19287 defined in bits/string.h.
19288
74718d13
UD
192892011-09-09 Ulrich Drepper <drepper@gmail.com>
19290
633e9e0f
UD
19291 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19292
0a2349f9 19293 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19294 link map.
19295
f9924780
AJ
192962011-08-17 Andreas Jaeger <aj@suse.de>
19297
19298 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19299
7f5517aa
PP
193002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19301 Ian Lance Taylor <iant@google.com>
19302
19303 * math/libm-test.inc (lround_test): New testcase.
19304 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19305
762011fe
UD
193062011-09-08 Ulrich Drepper <drepper@gmail.com>
19307
92963737
UD
19308 * Makefile: Remove support for automatic cvs check-ins.
19309 * Makerules: Likewise.
19310 * config.make.in: Likewise.
19311 * configure.in: Likewise.
19312 * intl/Makefile: Likewise.
19313 * locale/Makefile: Likewise.
19314 * po/Makefile: Likewise.
19315 * posix/Makefile: Likewise.
19316 * sysdeps/gnu/Makefile: Likewise.
19317 * sysdeps/mach/hurd/Makefile: Likewise.
19318 * sysdeps/sparc/sparc32/Makefile: Likewise.
19319
b0727fd8
JS
19320 [BZ #13118]
19321 * posix/Makefile (bug-regex32-ENV): Define.
19322 Patch by John Stanley <jpsinthemix@verizon.net>.
19323
a0f33f99
UD
19324 * misc/Makefile (headers): Add bits/select2.h.
19325 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19326 * misc/bits/select2.h: New file.
19327 * include/bits/select2.h: New file.
19328 * debug/Makefile (routines): Add fdelt_chk.
19329 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19330 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19331 FD_ISSET.
19332 * debug/fdelt_chk.c: New file.
19333
762011fe
UD
19334 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19335 * wcsmbs/test-wmemcmp.c: Likewise.
19336 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19337 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19338
193392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
19341 * string/Makefile (strop-tests): Add memcmp.
19342 * string/test-wmemcmp.c: New file.
19343 * string/test-memcmp.c: Add wmemcmp support.
19344
7f513ec8
RM
193452011-09-08 Roland McGrath <roland@hack.frob.com>
19346
0442afb4
RM
19347 [BZ #13153]
19348 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19349 2011-07-19 change.
19350
7f513ec8
RM
19351 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19352 garbage value in a __mach_port_mod_refs call in the cases of the
19353 task-self and thread-self ports.
19354
a12b2239
ST
193552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19356
19357 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19358
610f9ab4
AS
193592011-09-08 Andreas Schwab <schwab@redhat.com>
19360
7f513ec8 19361 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19362
48882a1a
LD
193632011-09-07 Ulrich Drepper <drepper@gmail.com>
19364
b49865be
UD
19365 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19366
fdc86bc9
UD
19367 * elf/dl-libc.c (dlerror_run): Pass back error code from
19368 dl_catch_error.
19369
c966526a
UD
19370 [BZ #13123]
19371 * elf/dl-load.c (lose): Free l_origin if it is valid.
19372
48882a1a
LD
19373 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19374 names.
19375 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19379 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19380 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19381
77a2a8b4
AZ
193822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19383
19384 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19385 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19387 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19388 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19389 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19390 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19391 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19392 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19393 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19394
24f579d8
AM
193952011-08-15 Alan Modra <amodra@gmail.com>
19396
19397 [BZ #13092]
19398 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19399 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19400 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19401 ppc_mcount to static-only-routines.
19402 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19403 __mcount_internal.
19404 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19405 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19406
3d4837df
UD
194072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19408
19409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19410 for finite and infinity parameters.
19411
22700377
WS
194122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19413
19414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19415 and add nop instructions for throughput optimization.
19416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19417
5025581e
WS
194182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19419
19420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19421 aligned copy for power7 with vector-scalar instructions.
19422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19423
08a300c9
L
194242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19427 AVX check.
19428
59178ef9
AS
194292011-09-07 Andreas Schwab <schwab@redhat.com>
19430
19431 [BZ #13144]
19432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19433 last change.
19434
e38ba7ab
UD
194352011-09-07 Ulrich Drepper <drepper@gmail.com>
19436
19437 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19438 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19439 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19440 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19441 clock_gettime.
19442
d53a73ac
UD
194432011-09-06 Ulrich Drepper <drepper@gmail.com>
19444
fc8bffcc
UD
19445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19446 Forgot to demangle the pointer.
19447
ceaa0c5d
UD
19448 * sysdeps/i386/sysdep.h: Define atom_text_section.
19449 * sysdeps/x86_64/sysdep.h: Likewise.
19450 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19451 section with atom_text_section.
19452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19456 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19457
a77d3c17
UD
19458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19459 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19460 already be defined. Change to take two parameters and don't assign
19461 result to variable. Adjust all users.
19462 Define INTERNAL_GETTIME if not already defined.
19463 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19464 call.
19465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19466 HAVE_CLOCK_GETTIME_VSYSCALL.
19467 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19468
d53a73ac
UD
19469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19470 gettimeofday vsyscall, just use time.
19471
a8f84144
AS
194722011-09-06 Andreas Schwab <schwab@redhat.com>
19473
19474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19475 <errno.h>.
19476
ef606249
UD
194772011-09-06 Ulrich Drepper <drepper@gmail.com>
19478
19479 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19480 syscall on x86-64.
19481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19482 syscall.
19483 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19485 syscall if possible.
19486
6585cb60
UD
194872011-09-05 Ulrich Drepper <drepper@gmail.com>
19488
19489 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19490 e_ident. Don't pass to find_mapsXX.
19491 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19492
a5f524e4
LD
194932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19494
19495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19496 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19497 * sysdeps/x86_64/multiarch/strchr.S: Update.
19498 Check bit_slow_BSF bit.
19499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19500 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19501 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19502
554881ef
UD
195032011-09-05 Ulrich Drepper <drepper@gmail.com>
19504
d96de963
UD
19505 [BZ #13134]
19506 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19507 before glibc 2.15.
19508 (tryshell): Define.
19509 (__spawni): Change last parameter to be flag. Test
19510 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19511 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19512 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19513 * posix/spawni.c: Likewise.
19514 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19515 * posix/spawnp.c: Likewise. Change normal version to use
19516 SPAWN_XFLAGS_USE_PATH.
19517 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19518 SPAWN_XFLAGS_TRY_SHELL.
19519
d48e5868
UD
19520 [BZ #13150]
19521 * posix/glob.h: Remove gcc 1.x support.
19522
554881ef
UD
19523 [BZ #13068]
19524 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19525
693fb948
LD
195262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19527
19528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19529 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19530 strrchr-sse2-bsf
19531 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19532 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19533 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19537
1b48c537
UD
195382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19539
49d42c37
UD
19540 * sysdeps/x86_64/wcscmp.S: New file.
19541
1b48c537
UD
19542 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19543 wcscmp-c wcscmp-sse2
19544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19545 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19546 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19547 * wcsmbs/wcscmp.c: Allow renaming.
19548
15c95c5d
DM
195492011-09-05 David S. Miller <davem@davemloft.net>
19550
19551 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19552 stack slot, rather than the struct return pointer slot.
19553 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19554 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19556 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19557
2f0ad8f3
UD
195582011-09-05 Ulrich Drepper <drepper@gmail.com>
19559
d88ae418
UD
19560 * po/ja.po: Update from translation team.
19561
2f0ad8f3
UD
19562 [BZ #13144]
19563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19564 kernel in 64-bit binaries.
19565
5f4318d1
DM
195662011-09-01 David S. Miller <davem@davemloft.net>
19567
19568 * elf/elf.h (HWCAP_SPARC_*): Move to..
19569 * sysdeps/sparc/sysdep.h: this new file and add new values.
19570 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19571 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19572 _DL_HWCAP_COUNT to 24.
19573 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19574 entries.
19575 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19576 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19577 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19579 instead of magic constants.
19580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19581
3ba57516
DM
195822011-08-31 David S. Miller <davem@davemloft.net>
19583
19584 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19586 Reimplement to do errno handling inline.
19587 (SYSCALL_ERROR_HANDLER): New macro.
19588 (__SYSCALL_STRING): Do not do errno handling in asm.
19589 (__CLONE_SYSCALL_STRING): Delete.
19590 (__INTERNAL_SYSCALL_STRING): Delete.
19591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19592 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19593 (PSEUDO): Reimplement to do errno handling inline.
19594 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19595 (SYSCALL_ERROR_HANDLER): New macro.
19596 (__SYSCALL_STRING): Do not do errno handling in asm.
19597 (__CLONE_SYSCALL_STRING): Delete.
19598 (__INTERNAL_SYSCALL_STRING): Delete.
19599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19600 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19601 i386.
19602 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19603 (inline_syscall*): Add 'err' argument.
19604 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19605 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19606 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19607 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19608
19609 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19610 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19611
2bc17433
AS
196122011-08-30 Andreas Schwab <schwab@redhat.com>
19613
19614 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19615
fbeb5f4d
JO
196162011-08-29 Jiri Olsa <jolsa@redhat.com>
19617
19618 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19619 directive.
19620
ad69cc26
DM
196212011-08-24 David S. Miller <davem@davemloft.net>
19622
19623 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19624
39dd69df
AS
196252011-08-24 Andreas Schwab <schwab@redhat.com>
19626
19627 * elf/Makefile: Add rules to build and run unload8 test.
19628 * elf/unload8.c: New file.
19629 * elf/unload8mod1.c: New file.
19630 * elf/unload8mod1x.c: New file.
19631 * elf/unload8mod2.c: New file.
19632 * elf/unload8mod3.c: New file.
19633
19634 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19635 it wasn't used.
19636
2c0b250a
DM
196372011-08-23 David S. Miller <davem@davemloft.net>
19638
19639 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19640 subtract stack bias.
19641 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19642 %sp not %fp in calculations.
19643 (_JMPBUF_UNWINDS_ADJ): Likewise.
19644
22044b48
DM
19645 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19646 (aio_suspend): Call it to force an exception region around the
19647 AIO_MISC_WAIT() invocation.
19648
2cae4995
AS
196492011-08-23 Andreas Schwab <schwab@redhat.com>
19650
19651 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19652 backslash.
19653
873a772e
AJ
196542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19655
19656 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19657 protection macro.
19658 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19659 and <dl-machine.h>.
19660 (Elf64_FuncDesc): Remove.
19661
25ad0df1
DM
196622011-08-22 David S. Miller <davem@davemloft.net>
19663
19664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19665 sigaltstack check, add missing cfi directives.
19666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19667 missing cfi directives, and sigaltstack handling.
19668
e888bcbe
AS
196692011-08-16 Andreas Schwab <schwab@redhat.com>
19670
19671 [BZ #11724]
19672 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19673 object is seen twice.
19674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19675
19676 * elf/Makefile (distribute): Add tst-initorder2.c.
19677 (tests): Add tst-initorder2.
19678 (modules-names): Add tst-initorder2a tst-initorder2b
19679 tst-initorder2c tst-initorder2d. Add rules to build them.
19680 ($(objpfx)tst-initorder2.out): New rule.
19681 * elf/tst-initorder2.c: New file.
19682 * elf/tst-initorder2.exp: New file.
19683
87162f46
AS
196842011-08-22 Andreas Schwab <schwab@redhat.com>
19685
70538b7f
AS
19686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19687
f55ffe58
AS
19688 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19689 dependencies back to end of function.
19690
87162f46
AS
19691 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19692 $(elfobjdir)/ld.so.
19693
91b392a4
UD
196942011-08-21 Ulrich Drepper <drepper@gmail.com>
19695
19696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19697 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19699 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19700 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19701 of __vdso_gettimeofday.
19702 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19703 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19704 attribute_hidden.
19705 (_libc_vdso_platform_setup): Remove initialization of
19706 __vdso_gettimeofday and __vdso_time.
19707
5c43483f
UD
197082011-08-20 Ulrich Drepper <drepper@gmail.com>
19709
775a77e7
UD
19710 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19711 and fgetc_unlocked.
19712 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19713 getc_unlocked.
89f447ed 19714
49c74ba9
UD
19715 * elf/dl-open.c (add_to_global): Report additions to the global scope
19716 for LD_DEBUG=scopes.
19717 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19718 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19719
5c43483f
UD
19720 [BZ #13114]
19721 * stdio-common/Makefile (tests): Add bug24.
19722 * stdio-common/bug24.c: New file.
19723
a101b025
AJ
197242011-08-19 Andreas Jaeger <aj@suse.de>
19725
19726 [BZ #13114]
19727 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19728 non-existant file when using close-on-exec mode.
19729
c88f1766
UD
197302011-08-20 Ulrich Drepper <drepper@gmail.com>
19731
0276a718
UD
19732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19733 the very first instruction.
19734
c88f1766
UD
19735 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19736 the CFI state in the end.
19737 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19738 inclusion of dl-trampoline.h.
19739 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19740
51ccffa0
AS
197412011-08-19 Andreas Schwab <schwab@redhat.com>
19742
94d7165f
AS
19743 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19744 expectations for long double.
19745
51ccffa0
AS
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19747 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19748
fd708658 197492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19750
19751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19752 artificual limit depends upon the system page size.
19753
44f0a71e
UD
197542011-08-17 Ulrich Drepper <drepper@gmail.com>
19755
19756 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19757 * resolv/Makefile: Define CFLAGS-libresolv.
19758
8de79a24
AS
197592011-08-17 Andreas Schwab <schwab@redhat.com>
19760
19761 * nss/makedb.c (compute_tables): Make variables used in nested
19762 function static.
19763
27724598
UD
197642011-08-17 Ulrich Drepper <drepper@gmail.com>
19765
c5305d88
UD
19766 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19767 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19768 if buffer was too small.
19769
27724598
UD
19770 * elf/pldd.c (main): Attach to all threads in the process.
19771 Rewrite /proc handling to use *at functions.
19772
076fe015
UD
197732011-08-16 Ulrich Drepper <drepper@gmail.com>
19774
174baab3
UD
19775 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19776 specifies first scope to show.
19777 (dl_open_worker): Update callers. Move printing scope of new
19778 object to before the relocation.
44f0a71e 19779 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19780 * sysdeps/generic/ldsodefs.h: Update declaration.
19781
076fe015
UD
19782 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19783 string for the scope number.
19784
a60df2c3
UD
197852011-08-14 Ulrich Drepper <drepper@gmail.com>
19786
19787 * nscd/servicescache.c (cache_addserv): Make sure written is always
19788 initialized.
19789
5e4287d1
RM
197902011-08-14 Roland McGrath <roland@hack.frob.com>
19791
85ae0589
RM
19792 * sysdeps/i386/i486/bits/atomic.h
19793 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19794 statement expression, so as to suppress "set but not used" warning.
19795 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19796
69f63097
RM
19797 * string/strncat.c (STRNCAT): Use prototype definition.
19798
675456ef
RM
19799 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19800 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19801 -Iprograms here.
19802 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19803 (localedef-modules): Add localedef.
19804 (locale-modules): Add locale.
19805
5e4287d1
RM
19806 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19807 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19808 to avoid a warning.
19809
9c96ff23
DM
198102011-08-14 David S. Miller <davem@davemloft.net>
19811
19812 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19813 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19814
f9ddf089
UD
198152011-08-13 Ulrich Drepper <drepper@gmail.com>
19816
44f0a71e 19817 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19818 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19819 * elf/rtld.c (dl_main): Set l_name of vDSO.
19820 Call _dl_show_scope when DL_DEBUG_SCOPES.
19821 (process_dl_debug): Recognize scopes flag and also set it for all.
19822 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19823 Declare _dl_show_scope.
19824
1dc27704
UD
19825 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19826 (do_dlopen): Pass caller_dlopen to dl_open.
19827 (__libc_dlopen_mode): Initialize caller_dlopen.
19828
f9ddf089
UD
19829 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19830 of libc. Make tolower call locale-independent. Optimize a bit by
19831 using isdigit instead of isalnum.
19832 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19833
9ac533d3
UD
198342011-08-12 Ulrich Drepper <drepper@gmail.com>
19835
19836 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19837 was a dependency or dynamically loaded.
19838
89edf2e9
UD
198392011-08-11 Ulrich Drepper <drepper@gmail.com>
19840
8e999d29
UD
19841 * intl/l10nflist.c: Allow architecture-specific pop function.
19842 * sysdeps/x86_64/l10nflist.c: New file.
19843
89edf2e9
UD
19844 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19845 classification.
19846
14d96785
AS
198472011-08-10 Andreas Schwab <schwab@redhat.com>
19848
19849 * include/dirent.h: Add libc_hidden_proto for scandirat and
19850 scandirat64. Don't declare __scandirat64.
19851 * dirent/scandirat.c: Add libc_hidden_def.
19852 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19853 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19854
6761ac04
DM
198552011-08-10 David S. Miller <davem@davemloft.net>
19856
19857 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19858 enum.
19859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19862
c55fbd1e
UD
198632011-08-09 Ulrich Drepper <drepper@gmail.com>
19864
19865 * Versions.def [libc]: Add GLIBC_2.15.
19866 * dirent/Makefile (routines): Add scandirat and scandirat64.
19867 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19868 GLIBC_2.15.
19869 * dirent/dirent.h: Declare scandirat and scandirat64.
19870 * dirent/scandirat.c: New file.
19871 * dirent/scandirat64.c: New file.
19872 * sysdeps/wordsize-64/scandirat.c: New file.
19873 * sysdeps/wordsize-64/scandirat64.c: New file.
19874 * dirent/opendir.c: Define opendirat.
19875 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19876 using scandirat.
19877 * dirent/scandir64.c: Adjust for scandir.c change.
19878 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19879 __scandirat64, and __scandir_cancel_handler.
19880 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19881 additional parameter and use openat instead of open (outside of ld.so).
19882 Add new __opendir as wrapper around __opendirat.
19883 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19884 here without requiring old scandirat implementation.
19885
879165f2
UD
198862011-08-08 Ulrich Drepper <drepper@gmail.com>
19887
19888 * dirent/scandir.c (cancel_handler): Renamed to
19889 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19890 defined. Adjust users.
19891 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19893
cb7e923b
UD
198942011-08-04 Ulrich Drepper <drepper@gmail.com>
19895
16292edd
UD
19896 * string/test-string.h (IMPL): Use __STRING to expand name and then
19897 stringify it.
19898
cb7e923b
UD
19899 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19900 of cleanups.
19901
cff82933
LD
199022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19903
19904 * string/Makefile: Update.
19905 (strop-tests): Append strncat.
19906 * string/test-wcscmp.c: New file.
19907 New comprehensive test for wcscmp.
19908 * string/test-strcmp.c: Update.
19909 (WIDE): New define.
19910
9be9bfcc
AS
199112011-07-22 Andreas Schwab <schwab@redhat.com>
19912
19913 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19914 line.
19915
2e96f1c7
AS
199162011-07-26 Andreas Schwab <schwab@redhat.com>
19917
19918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19919 encoding to ACE if AI_IDN.
19920
85188888
JJ
199212011-08-01 Jakub Jelinek <jakub@redhat.com>
19922
19923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19924 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19925
5fa16e9b
LD
199262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19927
19928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19929 Fix overflow bug in strncat.
19930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19931
19932 * string/test-strncat.c: Update.
19933 Add new tests for checking overflow bugs.
19934
199352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19936
19937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19938 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19939 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19940 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19942 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19943 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19944 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19945 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19946
19947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19948 (USE_AS_STRCAT): Define.
19949 Add strcat and strncat support.
19950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19951
8c1a459f
AS
199522011-07-25 Andreas Schwab <schwab@redhat.com>
19953
19954 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19955 __n bigger than INT_MAX+1.
19956 (__strncmp_g): Likewise.
19957
bba33c28
UD
199582011-07-23 Ulrich Drepper <drepper@gmail.com>
19959
798be72d
UD
19960 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19961 * libio/stido.h: Likewise.
19962
8accd4dc
UD
19963 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19964 (AF_NFC): Define.
19965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19966 (AF_NFC): Define.
19967
cbff0d96
UD
19968 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19971 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19973
9191c04a
UD
19974 [BZ #13021]
19975 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19976 installed.
19977
bba33c28
UD
19978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19979 typo.
19980 (_dl_x86_64_save_sse): Likewise.
19981
90f139dd
UD
199822011-07-22 Ulrich Drepper <drepper@gmail.com>
19983
1aae088a
UD
19984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19985 OSXSAVE.
19986 (_dl_x86_64_save_sse): Likewise.
19987
8e2045f5
UD
19988 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19989
90f139dd
UD
19990 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19991
1d002f25
AS
199922011-07-21 Andreas Schwab <schwab@redhat.com>
19993
19994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19995 change.
19996 (_dl_x86_64_save_sse): Use correct AVX check.
19997
21137f89
UD
199982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19999
20000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20001 bug in strncpy/strncat.
20002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20003
a65c0b7a
UD
200042011-07-21 Ulrich Drepper <drepper@gmail.com>
20005
20006 * string/tester.c (test_strcat): Add tests for different alignments
20007 of source and destination.
20008 (test_strncat): Likewise.
20009
6986b98a
UD
200102011-07-20 Ulrich Drepper <drepper@gmail.com>
20011
90bb2039
UD
20012 [BZ #12852]
20013 * posix/glob.c (glob): Check passed in values before using them in
20014 expressions to avoid some overflows.
20015 (glob_in_dir): Likewise.
20016
5644ef54
UD
20017 [BZ #13007]
20018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20019 check for AVX enablement so that we don't crash with old kernels and
20020 new hardware.
20021 * elf/tst-audit4.c: Add same checks here.
20022 * elf/tst-audit6.c: Likewise.
20023
20024 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20025
bfc9dc9b
AS
200262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20027
20028 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20029
702e64bb
UD
200302011-07-20 Ulrich Drepper <drepper@gmail.com>
20031
20032 * po/cs.po: Update from translation team.
20033 * po/bg.po: Likewise.
20034
295e904f
MP
200352011-07-12 Marek Polacek <mpolacek@redhat.com>
20036
20037 * misc/sys/cdefs.h: Add support for const attribute.
20038 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20039 to gnu_dev_{major,minor,makedev} functions.
20040
3ff94596
MP
200412011-07-20 Marek Polacek <mpolacek@redhat.com>
20042
20043 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20044
28b59fca
AS
200452011-07-20 Andreas Schwab <schwab@redhat.com>
20046
20047 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20048 strlen results.
20049
19df733e
AK
200502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20051
20052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20053 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20054 register in order to avoid conflicts with the soft frame pointer
20055 being held in r11 when necessary.
20056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20057 (INTERNAL_VSYSCALL_NCS): Likewise.
20058
c8835729
MP
200592011-07-14 Marek Polacek <mpolacek@redhat.com>
20060
20061 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20062 * elf/dl-fini.c (_dl_fini): Adjust caller.
20063 * elf/dl-close.c (_dl_close_worker): Likewise.
20064 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20065
b902330c
MP
200662011-07-15 Marek Polacek <mpolacek@redhat.com>
20067
8991e135
MP
20068 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20069 "aux_cache->nlibs < 0".
20070
b902330c
MP
20071 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20072 in the reload-count case.
20073
99710781
LD
200742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20075
20076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20077 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20078 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20079 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20080 * sysdeps/x86_64/multiarch/strcat.S: New file.
20081 * sysdeps/x86_64/multiarch/strncat.S: New file.
20082 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20084 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20085 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20087 (USE_AS_STRCAT): Define.
20088 Add strcat and strncat support.
20089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20092 * string/strncat.c: Update.
20093 (USE_AS_STRNCAT): Define.
20094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20095 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20096 and i7.
20097 * sysdeps/x86_64/multiarch/init-arch.h
20098 (bit_Prefer_PMINUB_for_stringop): New.
20099 (index_Prefer_PMINUB_for_stringop): Likewise.
20100 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20101 bit_Prefer_PMINUB_for_stringop.
20102
7dc6bd90
UD
201032011-07-19 Ulrich Drepper <drepper@gmail.com>
20104
20105 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20106 buffer64.
20107 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20108 of casting of buffer.
20109 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20110 buffer32 and buffer64.
20111 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20112 writes instead of casting of buffer.
20113 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20114 buffer32.
20115 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20116 casting of buffer.
20117
e0e72284
AS
201182011-07-19 Andreas Schwab <schwab@redhat.com>
20119
20120 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20121
feb1eb0b
UD
201222011-07-19 Ulrich Drepper <drepper@gmail.com>
20123
20124 * nscd/nscd.c (termination_handler): Don't do anything for a database
20125 if it has not yet been initialized.
20126
298711ff
UD
201272011-07-18 Ulrich Drepper <drepper@gmail.com>
20128
20129 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20130
201312011-07-15 Marek Polacek <mpolacek@redhat.com>
20132
20133 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20134
f9d68389
UD
201352011-07-18 Ulrich Drepper <drepper@gmail.com>
20136
20137 * po/nl.po: Update from translation team.
20138 * po/sv.po: Likewise.
20139
db290cf5
RM
201402011-07-16 Roland McGrath <roland@hack.frob.com>
20141
20142 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20143 now disallowed by GCC.
5c550700 20144
fd5e21c7
RM
20145 * configure.in (use-default-link): Default to yes if a test -shared
20146 link meets our qualifications.
20147 * configure: Regenerated.
20148
5c550700
RM
20149 * config.make.in (output-format): New variable.
20150 * configure.in: Check for ld --print-output-format support.
20151 * configure: Regenerated.
20152 * Makerules ($(common-objpfx)format.lds)
20153 [$(output-format) != unknown]: Just use $(output-format),
20154 instead of the linker-script munging.
20155
9fa2c032
RM
201562011-07-14 Roland McGrath <roland@hack.frob.com>
20157
a6928d51
RM
20158 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20159 of $(common-objpfx)shlib.lds.
20160 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20161
661607b3
RM
20162 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20163 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20164
9fa2c032
RM
20165 * configure.in (-z relro check): Adjust test code to add a large
20166 writable data section after it.
20167 * configure: Regenerated.
20168
defe9061
RM
201692011-07-11 Roland McGrath <roland@hack.frob.com>
20170
20171 * configure.in (-z relro check): Fix test code to make the variable
20172 truly const.
20173 * configure: Regenerated.
20174
319b9ad4
UD
201752011-07-11 Ulrich Drepper <drepper@gmail.com>
20176
20177 * nscd/nscd.h (struct traced_file): Define.
20178 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20179 elements. Add traced_files.
20180 (inotify_fd): Declare.
20181 (register_traced_file): Declare.
20182 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20183 (inotify_fd): Export.
20184 (resolv_conf_descr): Remove.
20185 (nscd_init): Move inotify descriptor creation to main.
20186 Don't register files for notification here.
20187 (register_traced_file): New function.
20188 (invalidate_cache): Don't use reset_res to determine whether to call
20189 res_init, go through the list of registered files.
20190 (main_loop_poll): The inotify descriptors are now stored in the
20191 structures for the traced files.
20192 (main_loop_epoll): Likewise
20193 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20194 to __nss_disable_nscd.
20195 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20196 for a database anymore. Check the records for all the registered
20197 files instead.
20198 * nss/Makefile (libnss_files-routines): Add files-init.
20199 (libnss_db-routines): Add db-init.
20200 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20201 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20202 * nss/nss_db/db-init.c: New file.
20203 * nss/nss_files/files-init.c: New file.
20204 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20205 __nss_lookup_function.
20206 (__nss_lookup_function): Call nss_load_library.
20207 (nss_load_all_libraries): New function.
20208 (__nss_disable_nscd): Take parameter with callback function for files
20209 to register. Set is_nscd. Load all the DSOs for the NSS modules
20210 used for the cached services.
20211 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20213 options for features to all the files in nscd.
20214
20215 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20216
23bee3e8
RM
202172011-07-10 Roland McGrath <roland@hack.frob.com>
20218
20219 * csu/elf-init.c (__libc_csu_init): Comment typo.
20220
46a5b7f0
UD
202212011-07-09 Ulrich Drepper <drepper@gmail.com>
20222
20223 * po/pl.po: Update from translation team.
20224 * po/ja.po: Likewise.
20225 * po/ru.po: Likewise.
20226 * po/ko.po: Likewise.
20227 * po/fr.po: Likewise.
20228
d30cf5bb
RM
202292011-07-09 Roland McGrath <roland@hack.frob.com>
20230
113ddea4
RM
20231 * configure.in (.ctors/.dtors header and trailer check):
20232 Use an empirical test on a built program.
20233 * configure: Regenerated.
20234
574920b4
RM
20235 * configure.in (-z relro check): Use an empirical test on a built DSO.
20236 Detect, but do not require, on ia64.
20237 * configure: Regenerated.
20238
d30cf5bb
RM
20239 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20240 Update tests that use readelf to use $READELF instead.
20241 * configure: Regenerated.
20242
8538fdb3
UD
202432011-07-08 Ulrich Drepper <drepper@gmail.com>
20244
20245 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20246 if the result is not used.
20247
04d08991
AJ
202482011-07-05 Andreas Jaeger <aj@suse.de>
20249
20250 [BZ#9696]
20251 * stdlib/tst-strtod.c: Add testcase.
20252
de283087
AD
202532011-07-07 Ulrich Drepper <drepper@gmail.com>
20254
4e5f31c8 20255 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20256 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20257 The latter has a higher limit. Take additional parameter to pass to
20258 the new function.
20259 (__pathconf): Pass file to __statfs_link_max.
20260 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20261 __statfs_link_max.
20262 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20263 __statfs_link_max.
20264
de283087
AD
20265 [BZ #12868]
20266 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20268 Handle Lustre.
20269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20270 (__statfs_filesize_max): Likewise.
20271 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20272
c75fa153
AJ
202732011-07-05 Andreas Jaeger <aj@suse.de>
20274
20275 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20276
1a544854
UD
202772011-07-06 Marek Polacek <mpolacek@redhat.com>
20278
20279 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20280 `status' variable.
20281 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20282 Likewise.
20283
6f0eec67
UD
202842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20285
20286 * Makefile (strop-tests): Add strncat.
20287 * string/test-strncat.c: New file.
20288
aae30307
UD
202892011-06-30 Marek Polacek <mpolacek@redhat.com>
20290
20291 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20292
c0cfb5eb
UD
202932011-06-21 Andreas Jaeger <aj@suse.de>
20294
20295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20296 Copy rule from iconvdata/Makefile.
20297
01636b21
UD
202982011-07-06 Ulrich Drepper <drepper@gmail.com>
20299
20300 [BZ #12922]
20301 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20302 but no long options are defined, just return 'W'.
20303
9895c8bc
UD
203042011-06-22 Marek Polacek <mpolacek@redhat.com>
20305
20306 [BZ #9696]
20307 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20308
5d4cf042
UD
203092011-07-06 Ulrich Drepper <drepper@gmail.com>
20310
20311 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20312 netgroups to read.
960e5535 20313 (innetgr): Likewise.
5d4cf042 20314
751eb97e
RM
203152011-07-05 Roland McGrath <roland@hack.frob.com>
20316
20317 * config.make.in (install_root): Default to $(DESTDIR).
20318
f15f1e45
UD
203192011-07-05 Ulrich Drepper <drepper@gmail.com>
20320
20321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20322
4e34ac6a
RM
203232011-07-02 Roland McGrath <roland@hack.frob.com>
20324
5e9b6af4
RM
20325 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20326
84f9ea0f
RM
20327 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20328 containing directory rather than embedding absolute directory names.
20329
ea5ee9f7
RM
20330 * scripts/check-local-headers.sh: Rewritten using awk.
20331 Match by word, not by line. Print error messages for matches.
20332 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20333
1b74661a
RM
20334 * Makerules [shlib-lds-flags empty]:
20335 ($(common-objpfx)libc_pic.opts): New target.
20336 ($(common-objpfx)libc_pic.os.clean): New target.
20337 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20338
20339 * config.make.in (OBJCOPY): New variable.
20340 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20341 * configure: Regenerated.
20342
f781ef40
RM
20343 * config.make.in (use-default-link): New variable.
20344 * configure.in (use_default_link): Grok --with-default-link to set it.
20345 * configure: Regenerated.
20346 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20347 (shlib-lds, shlib-lds-flags): Define to empty.
20348
2d4fa81e
RM
20349 * Makerules (shlib-lds): New variable.
20350 (shlib-lds-flags): New variable.
20351 (build-shlib, build-moduile, build-module-asneeded): Use it.
20352 ($(common-objpfx)libc.so): Use $(shlib-lds).
20353 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20354 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20355
31fffa6b
RM
20356 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20357 DT_FLAGS/DT_FLAGS_1 with zero flags.
20358
4e34ac6a
RM
20359 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20360 linker script munging.
20361
fcfc776b
UD
203622011-07-02 Ulrich Drepper <drepper@gmail.com>
20363
20364 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20365 as 128-bit value.
20366 * crypt/sha512.c (sha512_process_block): Perform total addition using
20367 128-bit if possible.
20368 (__sha512_finish_ctx): Likewise.
20369 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20370 as 64-bit value.
20371 * crypt/sha256.c (SWAP64): Define.
20372 (sha256_process_block): Perform total addition using 64-bit if
20373 possible.
20374 (__sha256_finish_ctx): Likewise.
20375
99231d9a
UD
203762011-07-01 Ulrich Drepper <drepper@gmail.com>
20377
20378 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20380 * nscd/hstcache.c (cache_addhst): Likewise.
20381 * nscd/grpcache.c (cache_addgr): Likewise.
20382 * nscd/aicache.c (addhstaiX): Likewise
20383 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20384
445b4a53
TK
203852011-07-01 Thorsten Kukuk <kukuk@suse.de>
20386
20387 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20389 * nscd/hstcache.c (cache_addhst): Likewise.
20390 * nscd/grpcache.c (cache_addgr): Likewise.
20391 * nscd/aicache.c (addhstaiX): Likewise
20392
6d4d8e8e
AS
203932011-07-01 Andreas Schwab <schwab@redhat.com>
20394
20395 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20396 domain only when needed.
20397
89f654c5
AS
203982011-06-30 Andreas Schwab <schwab@redhat.com>
20399
20400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20401 is always restored.
20402
cf3b23ff
UD
204032011-06-29 Ulrich Drepper <drepper@gmail.com>
20404
20405 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20406 are re-adding the entry.
20407 * nscd/servicescache.c (cache_addserv): Likewise.
20408
751626f9
AJ
204092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20410
20411 * sysdeps/generic/dl-irel.h: fix protection against multiple
20412 inclusions.
20413 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20414
9113ea1f
UD
204152011-06-28 Ulrich Drepper <drepper@gmail.com>
20416
5c0b8d90
UD
20417 [BZ #12935]
20418 * malloc/memusage.sh: Fix quoting in message.
20419 * debug/xtrace.sh: Likewise.
20420
9113ea1f
UD
20421 * configure.in: Remove support for --experimental-malloc option, make
20422 it the default.
20423 * config.make.in: Likewise.
20424 * malloc/Makefile: Likewise.
20425
a4172181
AS
204262011-06-27 Andreas Schwab <schwab@redhat.com>
20427
20428 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20429 two-byte characters.
20430
78a7eee7
RM
204312011-06-27 Roland McGrath <roland@hack.frob.com>
20432
62bede13
RM
20433 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20434 AC_CACHE_CHECK invocation.
20435 * configure: Regenerated.
20436
78a7eee7
RM
20437 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20438
5ce33a62
UD
204392011-06-27 Ulrich Drepper <drepper@gmail.com>
20440
034807a9
UD
20441 [BZ #12350]
20442 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20443 bit from old_res_options.
20444
4902da17
UD
20445 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20446
5ce33a62
UD
20447 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20448 value type for setfct.
20449
c2344f56
L
204502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20451
20452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20453 __gettimeofday instead of gettimeofday.
20454
68468076
UD
204552011-06-26 Ulrich Drepper <drepper@gmail.com>
20456
20457 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20458
acb0d739
L
204592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20460
20461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20462
20463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20464 info.
20465
8912479f
L
204662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20467
20468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20469 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20470 strcpy-sse2-unaligned strncpy-sse2-unaligned
20471 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20472 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20473 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20474 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20475 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20477 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20478 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20479 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20480 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20481 (STRCPY): Support SSE2 and SSSE3 versions.
20482
d5495a11
UD
204832011-06-24 Ulrich Drepper <drepper@gmail.com>
20484
20485 [BZ #12874]
20486 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20487 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20488 kernels which artificially limit size of requests.
20489
0b1cbaae
L
204902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20491
20492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20493 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20494 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20495 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20496 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20497 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20498 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20499 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20502 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20503 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20504 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20505 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20506 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20508 Enable unaligned load optimization for Intel Core i3, i5 and i7
20509 processors.
20510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20511 Define.
20512 (index_Fast_Unaligned_Load): Define.
20513 (HAS_FAST_UNALIGNED_LOAD): Define.
20514
07f494a0
MP
205152011-06-23 Marek Polacek <mpolacek@redhat.com>
20516
20517 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20518
fa3fc0fe
UD
205192011-06-22 Ulrich Drepper <drepper@gmail.com>
20520
20521 [BZ #12907]
20522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20523 until it is clear that the information is realy needed.
20524 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20525
e12df166
AS
205262011-06-22 Andreas Schwab <schwab@redhat.com>
20527
20528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20529
852eb34d
UD
205302011-06-22 Ulrich Drepper <drepper@gmail.com>
20531
84e2a551
UD
20532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20533 /sys/devices/system/cpu/online if it is usable.
20534
852eb34d
UD
20535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20536 reading the information from the /proc filesystem to once a second.
20537
6e502e19
UD
205382011-06-21 Andreas Jaeger <aj@suse.de>
20539
20540 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20541 NULL after inclusion of kernel headers.
20542
75d39ff2
UD
205432011-06-21 Ulrich Drepper <drepper@gmail.com>
20544
51f9aa6a
UD
20545 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20546 calls to internal_setent.
20547
c0244a9d
UD
20548 [BZ #12885]
20549 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20550 addresses using gethostbyname4_r ignore IPv4 addresses.
20551
c5e3c2ae
UD
20552 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20553 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20554
75d39ff2
UD
20555 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20556
42675c6f
DM
205572011-06-20 David S. Miller <davem@davemloft.net>
20558
20559 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20560 inclusions.
20561 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20562
20563 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20564 (elf_irel): Use it.
20565 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20566 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20567 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20568 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20569 * sysdeps/x86_64/dl-irel.h: Likewise.
20570
20571 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20572 * elf/dl-sym.c: Likewise.
20573
57912a71
UD
205742011-06-15 Ulrich Drepper <drepper@gmail.com>
20575
20576 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20577 need to dereference resplen2.
20578
ee22793d
AS
205792011-06-14 Andreas Schwab <schwab@redhat.com>
20580
20581 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20582
a9e836b0
UD
205832011-06-15 Ulrich Drepper <drepper@gmail.com>
20584
77fb9117
UD
20585 * Makeconfig: Define vardbdir and inst_vardbdir.
20586 * nss/Makefile: Add rules to install db-Makefile.
20587
40c1b22c
UD
20588 * nss/nss_db/db-XXX.c: Cleanup.
20589
9f2da732
UD
20590 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20591 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20592 GLIBC_PRIVATE.
20593 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20594 * nss/makedb.c: Implement -g option to specify that value strings
20595 are generated and should not be added to table iterated over for
20596 get*ent calls.
20597 * nss/nss_db/db-initgroups.c: New file.
20598
82e9a1f7
UD
20599 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20600 interface.
20601
c41af17e
UD
20602 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20603 (internal_getgrouplist): Adjust to name change.
20604 Update use_initgroups_entry if this is not the first call.
20605 * nss/databases.def: Add initgroups entry.
20606
a9e836b0
UD
20607 * nss/makedb.c (compute_tables): Check result of multiple hash table
20608 sizes to minimize maximum chain length.
20609
2666d441
UD
206102011-06-14 Ulrich Drepper <drepper@gmail.com>
20611
20612 * Versions.def: Add entry for libnss_db.
20613 * shlib-versions: Likewise.
20614 * nss/Makefile: Add rules to build libnss_db.
20615 * nss/Versions: Add libnss_db information. Organize libnss_files
20616 entries better.
20617 * nss/db-Makefile: Add gshadow support. Change rules for the new
20618 makedb progra. Some minor improvements to generate smaller files.
20619 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20620 here from...
20621 * nss/makedb.c: ...here.
20622 Improve database format to be smaller and require less memory at
20623 runtime.
20624 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20625 db anymore.
20626 * nss/nss_db/db-netgrp.c: Likewise.
20627 * nss/nss_db/db-open.c: Likewise.
20628 * nss/nss_files/flies-XXX.x: Adjust comments.
20629 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20630 * nss/nss_files/files-grp.c: Likewise.
20631 * nss/nss_files/files-hosts.c: Likewise.
20632 * nss/nss_files/files-network.c: Likewise.
20633 * nss/nss_files/files-proto.c: Likewise.
20634 * nss/nss_files/files-pwd.c: Likewise.
20635 * nss/nss_files/files-rpc.c: Likewise.
20636 * nss/nss_files/files-service.c: Likewise.
20637 * nss/nss_files/files-sgrp.c: Likewise.
20638 * nss/nss_files/files-spwd.c: Likewise.
20639 * nss/nss_db/db-alias.c: Removed.
20640 * nss/nss_db/dummy-db.h: Removed.
20641
9ee76b5a
UD
206422011-06-02 Ulrich Drepper <drepper@gmail.com>
20643
20644 * nss/makedb.c: Rewritten to not use database library.
20645 * nss/Makefile: Update to build new makedb program.
20646
c71ca1f8
AJ
206472011-06-14 Andreas Jaeger <aj@suse.de>
20648
20649 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20650 memset declaration.
20651
3154bfb8
UD
206522011-06-10 Andreas Schwab <schwab@redhat.com>
20653
20654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20655 tmpbuf.
20656
b350afab
RM
206572011-06-10 Roland McGrath <roland@hack.frob.com>
20658
decd4e50
RM
20659 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20660 * elf/Makefile ($(objpfx)ld.so): Likewise.
20661
5615eaf2
RM
20662 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20663 Don't list ld.so twice in dependencies.
20664
20665 * posix/bug-regex31.c: Include <stdlib.h>.
20666
20667 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20668
20669 * nis/nss_compat/compat-spwd.c
20670 (getspent_next_nss_netgr): Remove unused variable.
20671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20672
20673 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20674 nonmembers" output to use the right array.
20675
20676 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20677
20678 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20679
20680 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20681 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20682 * catgets/gencat.c (read_input_file): Likewise.
20683 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20684
20685 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20686 variable definition inside #if's controlling its use.
20687
20688 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20689
20690 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20691
20692 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20693
20694 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20695 unreachable code.
20696
20697 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20698
b68e08db
RM
20699 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20700 * configure: Regenerated.
20701
b350afab
RM
20702 * Makerules: Revert last change.
20703 * elf/Makefile: Likewise.
20704
28368601
RM
207052011-06-09 Roland McGrath <roland@hack.frob.com>
20706
20707 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20708 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20709 (reloc-link): Likewise.
20710
11988f8f
UD
207112011-06-09 Ulrich Drepper <drepper@gmail.com>
20712
20713 * elf/Makefile: Add rules to build pldd.
20714 * elf/pldd.c: New file.
20715 * elf/pldd-xx.c: New file.
20716
e80fab37
UD
207172011-06-07 Ulrich Drepper <drepper@gmail.com>
20718
20719 * version.h: Update for 2.15 development version.
20720
9b849836
DM
207212011-06-07 David S. Miller <davem@davemloft.net>
20722
20723 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20724 ifuncs.
20725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20726 elf_machine_lazy_rel): Likewise.
20727 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20729 elf_machine_lazy_rel): Likewise.
20730 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20731 dl_hwcap via passed in argument.
20732 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20733 Likewise.
20734
5a31b283
AK
207352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20736
20737 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20738
069e52f8
RM
207392011-06-06 Roland McGrath <roland@hack.frob.com>
20740
20741 [BZ #12849]
20742 * manual/fdl-1.1.texi: New file, verbatim from:
20743 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20744 * manual/lgpl-2.1.texi: New file, verbatim from:
20745 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20746 * manual/Makefile (licenses): New variable, list those new file names.
20747 (texis): Use it.
20748 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20749
20750 * manual/fdl.texi: File removed.
20751 * manual/lesser.texi: File removed.
20752 * manual/libc.texinfo (Copying, Documentation License):
20753 Use new @include file names, put @appendix directive before @include.
20754
f16846a5
JJ
207552011-06-04 Jakub Jelinek <jakub@redhat.com>
20756
20757 [BZ #12841]
20758 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20759 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20760 (mq_open): Add __NTH.
20761
3d29045b
L
207622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20765 Assume Intel Core i3/i5/i7 processor if AVX is available.
20766
8c297311
UD
207672011-05-31 Ulrich Drepper <drepper@gmail.com>
20768
20769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20770 typo.
20771
c8fc0c91
UD
207722011-05-31 Andreas Schwab <schwab@redhat.com>
20773
20774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20775 memory. Use alloca_account. Fix memory leak when retrying.
20776
5b27a807
UD
207772011-05-31 Ulrich Drepper <drepper@gmail.com>
20778
356f8bc6
UD
20779 * version.h (RELEASE): Bump for 2.14 release.
20780 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20781
5b27a807
UD
20782 * config.make.in (RANLIB): Remove entry.
20783
01f16ab0
UD
207842011-05-30 Ulrich Drepper <drepper@gmail.com>
20785
41fce8bd
UD
20786 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20787 (libc.pot): Work around missing support for .ksh extension in xgettext.
20788
4769ae77
UD
20789 [BZ #12684]
20790 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20791 if both request failed.
20792 (send_dg): In case of server errors clear resplen or *resplen2.
20793
6b1e7d19
UD
20794 [BZ #12454]
20795 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20796 when there are multiple maps.
20797 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20798 (_dl_fini): Remove test here.
20799
01f16ab0
UD
20800 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20801
b1ebd700
UD
208022011-05-29 Ulrich Drepper <drepper@gmail.com>
20803
7ae22829
UD
20804 [BZ #12350]
20805 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20806 bit from old_res_options.
20807 (gaih_inet): Likewise.
20808
553149f6 20809 [BZ #11099]
18a84741 20810 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20811 as signed.
20812
652ffab1
UD
20813 * resolv/res_init.c (res_setoptions): Make the code more compact.
20814
16985fd0
UD
20815 [BZ #11558]
20816 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20817 set RES_USEVC.
20818
0464f746
UD
20819 [BZ #11634]
20820 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20821
7d17596c
UD
20822 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20823
cf6bbbd7
UD
20824 [BZ #11781]
20825 * malloc/malloc.h: Declare malloc hook variables as volatile.
20826
13f1ab36
UD
20827 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20828 in last patch.
20829
b1ebd700
UD
20830 [BZ #11799]
20831 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20832 raise in the comment.
80e2212d
UD
20833 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20835 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20836
ce67228d
UD
208372011-05-28 Ulrich Drepper <drepper@gmail.com>
20838
8887a920
UD
20839 [BZ #12811]
20840 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20841 grow the buffers more if it already has to be sufficient.
20842 (build_wcs_upper_buffer): Likewise.
20843 * posix/regexec.c (check_matching): Likewise.
20844 (clean_state_log_if_needed): Likewise.
20845 (extend_buffers): Don't enlarge buffers beyond size of the input
20846 buffer.
20847 Patches mostly by Emil Wojak <emil@wojak.eu>.
20848 * posix/bug-regex32.c: New file.
20849 * posix/Makefile (tests): Add bug-regex32.
20850
4f031072
UD
20851 * locale/findlocale.c (_nl_find_locale): Return right away if
20852 _nl_explode_name failed.
20853 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20854
d0478f0c
UD
20855 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20856
de81b246
UD
20857 * debug/xtrace.sh: Unify messages.
20858 * malloc/memusage.sh: Likewise.
20859
c738465a
UD
20860 [BZ #12813]
20861 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20862 time symbol from vDSO. Substitute with vsyscall if not available.
20863 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20864 __vdso_time.
20865
f1f929d7
UD
20866 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20867 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20868 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20869 Add sendmmsg and internal_sendmmsg.
20870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20871 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20873
ce67228d
UD
20874 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20875 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20877
e57420c6
UD
208782011-05-27 Ulrich Drepper <drepper@gmail.com>
20879
a8509ca5
UD
20880 [BZ #12813]
20881 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20882 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20883 available.
20884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20885 __vdso_getcpu.
20886
e57420c6
UD
20887 [BZ #12814]
20888 * iconvdata/Makefile (tests): Add bug-iconv9.
20889 * iconvdata/bug-iconv9.c: New file.
20890
4d07db15
AS
208912011-05-27 Andreas Schwab <schwab@redhat.com>
20892
20893 [BZ #12814]
20894 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20895
ea486f69
JJ
208962011-05-25 Jakub Jelinek <jakub@redhat.com>
20897
20898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20899 (struct user_regs_struct): Change intcs field back to cs.
20900
6f038433
UD
209012011-05-25 Ulrich Drepper <drepper@gmail.com>
20902
20903 * po/ja.po: Update from translation team.
20904
67f86a25
UD
209052011-05-23 Ulrich Drepper <drepper@gmail.com>
20906
20907 [BZ #12795]
20908 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20910
def7fbd6
AS
209112011-05-20 Andreas Schwab <schwab@redhat.com>
20912
20913 * stdlib/longlong.h: Update from GCC.
20914
f50ef8f1
AS
209152011-05-23 Andreas Schwab <schwab@redhat.com>
20916
20917 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20918 parameter name.
20919 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20920 Add parameter name.
20921 (__sysconf): Pass it down.
20922
de7ce8f1
UD
209232011-05-22 Ulrich Drepper <drepper@gmail.com>
20924
f2962a71
UD
20925 [BZ #12671]
20926 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20927 some situations.
20928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20929 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20930 add in in __libc_use_alloca calls. Adjust callers.
20931 (glob): Use malloc in some situations.
20932
de7ce8f1
UD
20933 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20934 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20935 pltexit.
20936
aec84f53
UD
209372011-05-21 Ulrich Drepper <drepper@gmail.com>
20938
05bb4a68
UD
20939 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20940 and CLOCK_BOOTTIME_ALARM.
20941
7ea72f99
UD
20942 [BZ #12782]
20943 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20944 is returned.
20945
7e4afad5
UD
20946 * string/_strerror.c (__strerror_r): Print negative errors as signed
20947 numbers.
20948
8e211fec
UD
20949 [BZ #12777]
20950 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20951 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20952 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20953
f7d82dc9
UD
20954 * configure.in: Fix typo in redirection and correct removal of test
20955 files in two cases.
20956
cc9e536d
UD
20957 [BZ #12788]
20958 * locale/setlocale.c (new_composite_name): Fix test to check for
20959 identical name of all categories.
20960
aec84f53
UD
20961 [BZ #12792]
20962 * libio/filedoalloc.c (local_isatty): New function.
20963 (_IO_file_doallocate): Use local_isatty.
20964 * stdio-common/perror.c (perror): In case a new stream is used
20965 forward the stream error.
20966 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20967 error flag.
20968
78e64fdc
RT
209692011-05-20 Ulrich Drepper <drepper@gmail.com>
20970
34a9094f
UD
20971 [BZ #11869]
20972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20973 alloca.
20974 * include/alloca.h (extend_alloca_account): Define.
20975
78e64fdc
RT
20976 [BZ #11857]
20977 * posix/regex.h: Fix comments with documentation of user-accessible
20978 fields after compilation and describe correct free'ing of pattern
20979 after re_compile_pattern.
20980 Patch by Reuben Thomas <rrt@sc3d.org>.
20981
457bddfc
RA
209822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20983
20984 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20985 and -mno-altivec to prevent the compiler from using Altivec and/or
20986 VSX instructions when the corresponding registers are not available.
20987
a4527b51
AS
209882011-05-19 Andreas Schwab <schwab@redhat.com>
20989
20990 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20991
ed690b2f
UD
209922011-05-19 Ulrich Drepper <drepper@gmail.com>
20993
20994 * libio/freopen.c (freopen): Use __dup2, not dup2.
20995 * libio/freopen64.c (freopen64): Likewise.
20996
8db73634
L
209972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20998
20999 [BZ #12775]
21000 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21001 * math/Makefile (tests): Add test-powl.
21002 (CFLAGS-test-powl.c): Define.
21003 * math/test-powl.c: New file.
21004
0a197a9d
L
210052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21006
21007 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21008
ee30c380
UD
210092011-05-17 Ulrich Drepper <drepper@gmail.com>
21010
21011 [BZ #11837]
21012 * iconvdata/gb18030.c: Update to GB18020-2005.
21013
6ce75379
UD
210142011-05-16 Ulrich Drepper <drepper@gmail.com>
21015
a4b89fd8
AR
21016 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21017 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21018 Patch by Aharon Robbins <arnold@skeeve.com>.
21019
ea389b12
UD
21020 [BZ #11892]
21021 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21022 on the stack.
21023
68a3f91f
UD
21024 [BZ #11895]
21025 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21026 through underflows.
21027
15cc7dd1
UD
21028 [BZ #12766]
21029 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21030 point to strings before performing equality test for error_one_per_line
21031 mode.
21032
f3799213
UD
21033 [BZ #11697]
21034 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21035
d79a9c94
UD
21036 [BZ #11820]
21037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21038 (struct user_fpregs_struct): Avoid __uint*_t types.
21039
56e5eb46
UD
21040 [BZ #6420]
21041 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21042 symbol info. Use it instead of calling _dl_addr locally.
21043 (lock_and_info): New function.
21044 (tr_freehook): Call lock_and_info and pass symbol info as additional
21045 parameter to tr_where.
21046 (tr_mallochook): Likewise.
21047 (tr_reallochook): Likewise.
21048 (tr_memalignhook): Likewise.
21049
6ce75379
UD
21050 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21051 used and couldn't be at all thread-safe.
21052
f8a3b5bf
UD
210532011-05-15 Ulrich Drepper <drepper@gmail.com>
21054
94b7cc37
UD
21055 * libio/freopen.c (freopen): Don't close old file descriptor
21056 before the new one is opened. Instead dup the new file descriptor
21057 to the old one after the new stream is created.
21058 * libio/freopen64.c (freopen64): Likewise.
21059 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21060 * libio/fileops.c (_IO_new_file_close_it): Handle new
21061 _IO_FLAGS2_NOCLOSE flag.
21062 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21063 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21064 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21065 _IO_FLAGS2_NOCLOSE flag.
21066 * include/unistd.h: Add hidden_proto for dup3.
21067 Define __have_dup3.
21068 * io/dup3.c: Define hidden symbol.
21069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21070
bd25564e
UD
21071 [BZ #7101]
21072 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21073 when an incomplete long option is used.
21074 * posix/tst-getopt_long1.c: New file.
21075 * posix/Makefile (tests): Add tst-getopt_long1.
21076
c84cfef4
UD
21077 [BZ #10138]
21078 * scripts/config.guess: Update from autoconf-2.68.
21079 * scripts/config.sub: Likewise.
21080
3b85df27
UD
21081 [BZ #10157]
21082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21083 tests into ...
21084 (has_cpuclock): ...this. New function.
21085 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21086 macro here based on has_cpuclock code.
21087
15a856b1
UD
21088 [BZ #10149]
21089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21090 First byte (not low byte) is now always NUL.
21091 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21092
05f399e6
UD
21093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21094 Use non-cancelable interfaces.
21095
10a52685 21096 [BZ #9809]
94ecc67d
UD
21097 * locale/iso-639.def: Add entry for Sorani.
21098
f8a3b5bf
UD
21099 [BZ #11901]
21100 * include/stdlib.h: Move include protection to the right place.
21101 Define abort_msg_s. Declare __abort_msg with it.
21102 * stdlib/abort.c (__abort_msg): Adjust type.
21103 * assert/assert.c (__assert_fail_base): New function. Majority
21104 of code from __assert_fail. Allocate memory for __abort_msg with
21105 mmap.
21106 (__assert_fail): Now call __assert_fail_base.
21107 * assert/assert-perr.c: Remove bulk of implementation. Use
21108 __assert_fail_base.
21109 * include/assert.hL Declare __assert_fail_base.
21110 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21111 mmap.
21112 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21113
1af4e298
UD
211142011-05-14 Ulrich Drepper <drepper@gmail.com>
21115
f8a3b5bf 21116 [BZ #11952]
d26dfc60
MG
21117 [BZ #12453]
21118 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21119 until all modules are registered in the DTV.
21120 * elf/Makefile: Add rules to build and run tst-tls19.
21121 * elf/tst-tls19.c: New file.
21122 * elf/tst-tls19mod1.c: New file.
21123 * elf/tst-tls19mod2.c: New file.
21124 * elf/tst-tls19mod3.c: New file.
21125 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21126
2fc54d6f
UD
21127 [BZ #12083]
21128 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21129 correctly.
21130
98d76b46
UD
21131 [BZ #12601]
21132 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21133 two-byte sequence errors.
21134 * iconvdata/Makefile (tests): Add bug-iconv8.
21135 * iconvdata/bug-iconv8.c: New file.
21136
da3c19ef
UD
21137 [BZ #12626]
21138 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21139 buf2 definition.
21140
ca408c15
UD
21141 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21142
d6f67f7d
UD
21143 [BZ #12432]
21144 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21145 (dummy_getcfa): New function.
21146 (init): Get _Unwind_GetCFA address, use dummy if not found.
21147 (backtrace_helper): In recursion check, also check whether CFA changes.
21148 (__backtrace): Completely initialize arg.
21149
1af4e298 21150 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21151 storing incomplete byte sequence in state object. Avoid testing for
21152 guaranteed too small input if we know there is enough data available.
1af4e298 21153
da62f81b
AS
211542011-05-11 Andreas Schwab <schwab@redhat.com>
21155
21156 * Makeconfig (+link-pie): Indent.
21157 * Rules (binaries-pie): Define if $(have-fpie) and
21158 $(build-shared).
21159 (binaries-shared): Also filter out $(binaries-pie).
21160 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21161 * nscd/Makefile (others-pie): Add nscd.
21162 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21163 ($(objpfx)nscd): Remove command override.
21164 * login/Makefile (others-pie): Add pt_chown.
21165 ($(objpfx)pt_chown): Remove command override.
21166 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21167 remove command overrides.
21168
fcabc0f8
UD
211692011-05-13 Ulrich Drepper <drepper@gmail.com>
21170
20030ae6
UD
21171 * libio/tst_putwc.c: Fix error messages.
21172
fcabc0f8
UD
21173 [BZ #12724]
21174 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21175 currently writing and seek to current position when not.
21176 * libio/Makefile (tests): Add bug-fclose1.
21177 * libio/bug-fclose1.c: New file.
21178
320a5dc0
PB
211792011-05-12 Ulrich Drepper <drepper@gmail.com>
21180
21181 [BZ #12511]
21182 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21183 don't set DF_1_NODELETE here.
21184 (do_lookup_x): When entering new entry test for copy relocation
21185 and if necessary set DF_1_NODELETE flag.
21186 * elf/tst-unique4.cc: New file.
21187 * elf/tst-unique4.h: New file.
21188 * elf/tst-unique4lib.cc: New file.
21189 * elf/Makefile: Add rules to build and run tst-unique4.
21190 Patch by Piotr Bury <pbury@goahead.com>.
21191
22836f52
UD
211922011-05-11 Ulrich Drepper <drepper@gmail.com>
21193
f574184a
UD
21194 [BZ #12052]
21195 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21196
e1fb097f
UD
21197 [BZ #12625]
21198 * misc/mntent_r.c (addmntent): Flush the stream after the output
21199
22836f52
UD
21200 [BZ #12393]
21201 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21202 (is_trusted_path_normalize): Skip initial colon. Append slash
21203 to empty buffer. Duplicate is_trusted_path code but allow
21204 constructed patch to be prefix.
21205 (is_dst): Allow $ORIGIN followed by /.
21206 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21207 Correct testing of result of is_trusted_path_normalize
21208 (decompose_rpath): Fix warning.
21209
7b3b0b2a
UD
212102011-05-10 Ulrich Drepper <drepper@gmail.com>
21211
21212 [BZ #11257]
21213 * grp/initgroups.c (internal_getgrouplist): When we found the service
21214 list through the initgroups entry in nsswitch.conf do not always
21215 continue on a successful lookup. Don't always use the
eac80ce2 21216 __nss_group_database value if it is set.
7b3b0b2a
UD
21217 * nss/nsswitch.conf (initgroups): Change action for successful db
21218 lookup to continue for compatibility.
21219
2a81eaa5
UD
212202011-05-09 Ulrich Drepper <drepper@gmail.com>
21221
be97a69e
UD
21222 [BZ #11532]
21223 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21224 and CP774 modules.
21225 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21226 and CP774 modules.
21227 * iconvdata/tst-tables.sh: Likewise.
21228 * iconvdata/cp770.c: New file.
21229 * iconvdata/cp771.c: New file.
21230 * iconvdata/cp772.c: New file.
21231 * iconvdata/cp773.c: New file.
21232 * iconvdata/cp774.c: New file.
21233 * iconvdata/testdata/CP770: New file.
21234 * iconvdata/testdata/CP770..UTF8: New file.
21235 * iconvdata/testdata/CP771: New file.
21236 * iconvdata/testdata/CP771..UTF8: New file.
21237 * iconvdata/testdata/CP772: New file.
21238 * iconvdata/testdata/CP772..UTF8: New file.
21239 * iconvdata/testdata/CP773: New file.
21240 * iconvdata/testdata/CP773..UTF8: New file.
21241 * iconvdata/testdata/CP774: New file.
21242 * iconvdata/testdata/CP774..UTF8: New file.
21243
21244 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21245 END CHARMAP line.
21246 * iconvdata/gen-8bit-gap.sh: Likewise.
21247 * iconvdata/gen-8bit.sh: Likewise.
21248
c1e9e399
UD
21249 * locale/iso-639.def: Add ary entry.
21250
24c55fb3 21251 [BZ #11258]
96b4b1b0
UD
21252 * locale/C-translit.h.in: Add U20A1 transliteration.
21253
bdc2f971
KB
21254 [BZ #12178]
21255 * locale/iso-639.def: Add wae entry.
21256 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21257
2952b117
UD
21258 [BZ #12545]
21259 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21260 for n.
21261
2a81eaa5
UD
21262 [BZ #12711]
21263 * locale/C-translit.h.in: Add entry for U20B9.
21264 Patch by pravin.d.s@gmail.com.
21265
28377d1b
UD
212662011-05-08 Ulrich Drepper <drepper@gmail.com>
21267
7fb90fb8
UD
21268 [BZ #12713]
21269 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21270 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21271 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21272 in rtld. Use *stat64.
7fb90fb8 21273 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21274 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21275 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21276 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21277 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21278 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21279 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21280 __fstatat64 macros.
7fb90fb8
UD
21281 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21282 * dirent/rewinddir.c: Add libc_hidden_def.
21283 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21284 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21285
28377d1b
UD
21286 * include/dirent.h (__alloc_dir): Add flags parameter.
21287 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21288 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21289 __alloc_dir.
21290 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21291 from fdopendir if O_CLOEXEC is already set.
21292
66bdbaa4
AM
212932011-03-15 Alan Modra <amodra@gmail.com>
21294
21295 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21296 l_tls_firstbyte_offset non-zero. Save padding offset in
21297 l_tls_firstbyte_offset for later use.
21298 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21299 freeing static tls block.
21300
95721191
JN
213012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21302
21303 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21304 where #ifdef was intended. The intent is to prevent ARG_MAX from
21305 being defined by the kernel headers.
21306
f87dfb1f
UD
213072011-05-07 Ulrich Drepper <drepper@gmail.com>
21308
21309 [BZ #12734]
21310 * resolv/resolv.h: Define RES_NOTLDQUERY.
21311 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21312 no-tld-query and set RES_NOTLDQUERY.
21313 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21314 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21315 modern BIND to search name as TLD unless forbidden.
21316
47c3cd7a
UD
213172011-05-07 Petr Baudis <pasky@suse.cz>
21318 Ulrich Drepper <drepper@gmail.com>
21319
21320 [BZ #12393]
21321 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21322 (is_trusted_path): ...to here.
c1e9ea35 21323 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21324 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21325 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21326
8a35c912
PP
213272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21328
21329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21330 __BEGIN/__END_DECLS.
21331
acd41f47
UD
213322011-05-06 Ulrich Drepper <drepper@gmail.com>
21333
21334 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21335 NSS_STATUS_NOTFOUND if no record was found.
21336
597df647
AS
213372011-05-05 Andreas Schwab <schwab@redhat.com>
21338
21339 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21340 (headers-not-in-tirpc): Remove rpc/netdb.h
21341 * resolv/netdb.h: Revert last change.
21342
b9af1301
PP
213432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21344
21345 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21346 circular dependency between libgcc.a and libc.a.
21347
4e34d5f5
AS
213482011-05-05 Andreas Schwab <schwab@redhat.com>
21349
21350 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21351 * nis/Makefile: Don't install rpcsvc/*.
21352 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21353 instead of <rpc/types.h>.
21354 (MAXHOSTNAMELEN): Define.
21355
00ee369c
AS
213562011-05-03 Andreas Schwab <schwab@redhat.com>
21357
21358 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21359
0b592a30
MB
213602011-04-28 Maciej Babinski <mbabinski@google.com>
21361
21362 [BZ #12714]
21363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21364 gethostbyname4_r when IPv6 results are possible.
21365
6e04cbbe
UD
213662011-05-02 Ulrich Drepper <drepper@gmail.com>
21367
21368 [BZ #12723]
21369 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21370 _PC_PIPE_BUF handling.
21371
e4ecafe0
BH
213722011-04-30 Bruno Haible <bruno@clisp.org>
21373
21374 [BZ #12717]
21375 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21376 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21377 to 'int'.
21378 * inet/getnameinfo.c (getnameinfo): Likewise.
21379
125ee683
UD
213802011-04-29 Ulrich Drepper <drepper@gmail.com>
21381
21382 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21383 to groups setting in database lookup.
21384 * nss/nsswitch.conf: Add initgroups entry.
21385
b722481a
EB
213862011-04-22 Ulrich Drepper <drepper@gmail.com>
21387
21388 [BZ #12685]
21389 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21390 mode string.
21391 Patch by Eric Blake <eblake@redhat.com>.
21392
4df46dbd
L
213932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * sunrpc/Makefile (need-export-routines): Add svc_run.
21396 (routines): Remove svc_run.
21397 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21398 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21399 * sunrpc/svc_run.c (svc_run): Likewise.
21400 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21401
e84142d2
UD
214022011-04-21 Ulrich Drepper <drepper@gmail.com>
21403
21404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21405 problem in reallocation in last patch.
21406
877175d8
UD
214072011-04-20 Ulrich Drepper <drepper@gmail.com>
21408
21409 * sunrpc/Makefile: Move inclusion of Rules.
21410
ab8eed78
UD
214112011-04-19 Ulrich Drepper <drepper@gmail.com>
21412
21413 * nss/nss_files/files-initgroups.c: New file.
21414 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21415 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21416 _nss_files_initgroups_dyn.
21417
e3d8f584
RS
214182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21419
21420 * elf/elf.h (R_ARM_IRELATIVE): Define.
21421
af190f45
UD
214222011-04-19 Ulrich Drepper <drepper@gmail.com>
21423
21424 * po/ru.po: Update from translation team.
21425
53cf59ef
UD
214262011-04-17 Ulrich Drepper <drepper@gmail.com>
21427
21428 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21429 dependencies.
21430
4c559bcd
MF
214312011-02-06 Mike Frysinger <vapier@gentoo.org>
21432
21433 [BZ #12653]
21434 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21435 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21439
4420675c
AS
214402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21441
21442 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21443 differing bytes.
21444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21446 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21447
75ea32ab
UD
214482011-04-17 Ulrich Drepper <drepper@gmail.com>
21449
21450 [BZ #12420]
21451 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21452 storing it.
21453 * stdlib/bug-getcontext.c: New file.
21454 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21455
27390476
AK
214562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21457
21458 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21459 instructions into .machine "z9-109".
21460 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21461 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21462
10442705
AK
214632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21464
21465 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21466 between environment variables and auxiliary vector.
21467
7b57bfe5
UD
214682011-04-16 Ulrich Drepper <drepper@gmail.com>
21469
21470 * Makefile: Add rules to build linkobj/libc.so.
21471 * include/libc-symbols.h: Define libc_hidden_nolink.
21472 * include/rpc/auth.h: Mark functions which are to be hidden.
21473 * include/rpc/auth_des.h: Likewise.
21474 * include/rpc/auth_unix.h: Likewise.
21475 * include/rpc/clnt.h: Likewise.
21476 * include/rpc/des_crypt.h: Likewise.
21477 * include/rpc/key_prot.h: Likewise.
21478 * include/rpc/pmap_clnt.h: Likewise.
21479 * include/rpc/pmap_prot.h: Likewise.
21480 * include/rpc/pmap_rmt.h: Likewise.
21481 * include/rpc/rpc_msg.h: Likewise.
21482 * include/rpc/svc.h: Likewise.
21483 * include/rpc/svc_auth.h: Likewise.
21484 * include/rpc/xdr.h: Likewise.
21485 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21486 * nss/Makefile: Likewise.
21487 * sunrpc/Makefile: Don't install headers. Build library with normal
21488 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21489 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21490 for the compat linking library. Remove use of INTDEF/INTUSE.
21491 * sunrpc/auth_none.c: Likewise.
21492 * sunrpc/auth_unix.c: Likewise.
21493 * sunrpc/authdes_prot.c: Likewise.
21494 * sunrpc/authuxprot.c: Likewise.
21495 * sunrpc/clnt_gen.c: Likewise.
21496 * sunrpc/clnt_perr.c: Likewise.
21497 * sunrpc/clnt_raw.c: Likewise.
21498 * sunrpc/clnt_simp.c: Likewise.
21499 * sunrpc/clnt_tcp.c: Likewise.
21500 * sunrpc/clnt_udp.c: Likewise.
21501 * sunrpc/clnt_unix.c: Likewise.
21502 * sunrpc/des_crypt.c: Likewise.
21503 * sunrpc/des_soft.c: Likewise.
21504 * sunrpc/get_myaddr.c: Likewise.
21505 * sunrpc/key_call.c: Likewise.
21506 * sunrpc/key_prot.c: Likewise.
21507 * sunrpc/netname.c: Likewise.
21508 * sunrpc/pm_getmaps.c: Likewise.
21509 * sunrpc/pm_getport.c: Likewise.
21510 * sunrpc/pmap_clnt.c: Likewise.
21511 * sunrpc/pmap_prot.c: Likewise.
21512 * sunrpc/pmap_prot2.c: Likewise.
21513 * sunrpc/pmap_rmt.c: Likewise.
21514 * sunrpc/publickey.c: Likewise.
21515 * sunrpc/rpc_cmsg.c: Likewise.
21516 * sunrpc/rpc_common.c: Likewise.
21517 * sunrpc/rpc_dtable.c: Likewise.
21518 * sunrpc/rpc_prot.c: Likewise.
21519 * sunrpc/rpc_thread.c: Likewise.
21520 * sunrpc/rtime.c: Likewise.
21521 * sunrpc/svc.c: Likewise.
21522 * sunrpc/svc_auth.c: Likewise.
21523 * sunrpc/svc_authux.c: Likewise.
21524 * sunrpc/svc_raw.c: Likewise.
21525 * sunrpc/svc_run.c: Likewise.
21526 * sunrpc/svc_simple.c: Likewise.
21527 * sunrpc/svc_tcp.c: Likewise.
21528 * sunrpc/svc_udp.c: Likewise.
21529 * sunrpc/svc_unix.c: Likewise.
21530 * sunrpc/svcauth_des.c: Likewise.
21531 * sunrpc/xcrypt.c: Likewise.
21532 * sunrpc/xdr.c: Likewise.
21533 * sunrpc/xdr_array.c: Likewise.
21534 * sunrpc/xdr_float.c: Likewise.
21535 * sunrpc/xdr_intXX_t.c: Likewise.
21536 * sunrpc/xdr_mem.c: Likewise.
21537 * sunrpc/xdr_rec.c: Likewise.
21538 * sunrpc/xdr_ref.c: Likewise.
21539 * sunrpc/xdr_sizeof.c: Likewise.
21540 * sunrpc/xdr_stdio.c: Likewise.
21541
e6c61494
UD
215422011-04-10 Ulrich Drepper <drepper@gmail.com>
21543
21544 [BZ #12650]
21545 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21546 * sysdeps/ia64/dl-tls.h: Likewise.
21547 * sysdeps/powerpc/dl-tls.h: Likewise.
21548 * sysdeps/s390/dl-tls.h: Likewise.
21549 * sysdeps/sh/dl-tls.h: Likewise.
21550 * sysdeps/sparc/dl-tls.h: Likewise.
21551 * sysdeps/x86_64/dl-tls.h: Likewise.
21552 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21553
34fe483e
AS
215542011-03-14 Andreas Schwab <schwab@redhat.com>
21555
21556 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21557 rpath element also skip the following colon.
21558 (expand_dynamic_string_token): Add is_path parameter and pass
21559 down to DL_DST_REQUIRED and _dl_dst_substitute.
21560 (decompose_rpath): Call expand_dynamic_string_token with
21561 non-zero is_path. Ignore empty rpaths.
21562 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21563 with zero is_path.
21564
f12a32e6
AS
215652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21566
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21568 Make cancelable.
21569
38a7d692
UD
215702011-04-09 Ulrich Drepper <drepper@gmail.com>
21571
21572 [BZ #12655]
21573 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21574 Patch by Filipe David Manana <fdmanana@apache.org>.
21575
e451d22b
AS
215762011-04-07 Andreas Schwab <schwab@redhat.com>
21577
21578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21579 Maintain aligned stack.
21580 (CHECK_RSP): Remove unused macro.
21581
dedc7c7b
UD
215822011-04-03 Ulrich Drepper <drepper@gmail.com>
21583
21584 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21585 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21586
94521213
UD
215872011-04-02 Ulrich Drepper <drepper@gmail.com>
21588
21589 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21590
8cb700c0 21591 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21592
0354e355
L
215932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 [BZ #12518]
21596 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21597 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21598 * sysdeps/x86_64/memmove.c: New file.
21599 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21600 (memcpy): Renamed to ...
21601 (__new_memcpy): This.
21602 (memcpy): Provide GLIBC_2_14 memcpy.
21603 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21604 (memcpy): Provide GLIBC_2_2_5 memcpy.
21605
8593482f
UD
216062011-04-01 Ulrich Drepper <drepper@gmail.com>
21607
21608 [BZ #12631]
21609 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21610
81a5726b
AS
216112011-03-30 Andreas Schwab <schwab@redhat.com>
21612
21613 * misc/syncfs.c: New file.
21614 * misc/Makefile (routines): Add syncfs.
21615 * posix/unistd.h: Declare syncfs.
21616 * sysdeps/unix/syscalls.list: Add syncfs.
21617
00e5419f
AS
216182011-04-01 Andreas Schwab <schwab@redhat.com>
21619
21620 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21621 open_by_handle_at.
21622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21627 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21629
748876bf
UD
216302011-04-01 Ulrich Drepper <drepper@gmail.com>
21631
658e451d
UD
21632 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21633 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21639
748876bf
UD
21640 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21641 sync_file_range.c with -fexceptions.
21642 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21643 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21644 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21645 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21646 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21647 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21649 sync_file_range as cancellation point
21650 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21651 now a wrapper around __call_sync_file_range with cancellation handling.
21652 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21653 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21654 function name to __call_sync_file_range.
21655 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21656 Add call_sync_file_range.
748876bf 21657
6e63d5e1
AS
216582011-04-01 Andreas Schwab <schwab@redhat.com>
21659
21660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21661 bits/timex.h.
6e63d5e1 21662
46998f74
UD
216632011-04-01 Ulrich Drepper <drepper@gmail.com>
21664
4c1423ed
UD
21665 * iconv/iconv.h: Fix typo in comment.
21666 * io/fcntl.h: Likewise.
21667 * libio/stdio.h: Likewise.
21668 * posix/spawn.h: Likewise.
21669 * posix/unistd.h: Likewise.
21670 * stdlib/stdlib.h: Likewise.
21671 * time/time.h: Likewise.
21672 * wcsmbs/wchar.h: Likewise.
21673
158648c0
UD
21674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21675 open_by_handle): Add.
21676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21677 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21678 Augment a few comments.
21679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21684 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21685 open_by_handle.
21686
46998f74
UD
21687 * io/fcntl.h (AT_EMPTY_PATH): Define.
21688
83fe108b
UD
216892011-03-30 Ulrich Drepper <drepper@gmail.com>
21690
21691 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21692 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21693 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21694 to...
21695 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21696 * Versions.def: Add GLIBC_2.14.
21697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21698 Export.
83fe108b 21699
bb242059
UD
217002011-03-22 Ulrich Drepper <drepper@gmail.com>
21701
21702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21703 round counter.
21704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21705
c97a1282
L
217062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21707
21708 [BZ #12597]
21709 * string/test-strncmp.c (do_page_test): New function.
21710 (check2): Likewise.
21711 (test_main): Call check2.
21712 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21713
2a115601
UD
217142011-03-20 Ulrich Drepper <drepper@gmail.com>
21715
21716 [BZ #12587]
21717 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21718 Handle cache information in CPU leaf 4.
21719 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21720
8126d904
UD
217212011-03-18 Ulrich Drepper <drepper@gmail.com>
21722
042c49c6 21723 [BZ #12583]
8126d904
UD
21724 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21725 character representation.
21726 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21727
ccfe366e
RA
217282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21729
21730 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21731 END(__isnan) to END(__isnanf) to match function entry point/label
21732 EALIGN(__isnanf,...).
21733
c6e13027
JJ
217342011-03-10 Jakub Jelinek <jakub@redhat.com>
21735
21736 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21737
33f85a3f
UD
217382011-03-10 Ulrich Drepper <drepper@gmail.com>
21739
028478fa
UD
21740 [BZ #12510]
21741 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21742 copy from the symbol referenced in the relocation to initialize the
21743 used variable.
21744 Patch by Piotr Bury <pbury@goahead.com>.
21745 * elf/Makefile: Add rules to build and tst-unique3.
21746 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21747 * elf/tst-unique3.cc: New file.
21748 * elf/tst-unique3.h: New file.
21749 * elf/tst-unique3lib.cc: New file.
21750 * elf/tst-unique3lib2.cc: New file.
21751
33f85a3f
UD
21752 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21753
03592fc7
MF
217542011-03-10 Mike Frysinger <vapier@gentoo.org>
21755
21756 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21757 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21758 to _start.
03592fc7 21759
6a5ee102
UD
217602011-03-06 Ulrich Drepper <drepper@gmail.com>
21761
21762 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21763 to-be-loaded object along a path to loader is ld.so.
21764
7e4ba49c
HJ
217652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21766 Ulrich Drepper <drepper@gmail.com>
21767
21768 * sysdeps/x86_64/memset.S: After aligning destination, code
21769 branches to different locations depending on the value of
21770 misalignment, when multiarch is enabled. Fix this.
21771
217722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21773
21774 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21775 Set _x86_64_preferred_memory_instruction for AMD processsors.
21776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21777 Set bit_Prefer_SSE_for_memop for AMD processors.
21778
13a804de
UD
217792011-03-04 Ulrich Drepper <drepper@gmail.com>
21780
21781 * libio/fmemopen.c (fmemopen): Optimize a bit.
21782
9d25c392
AS
217832011-03-03 Andreas Schwab <schwab@redhat.com>
21784
21785 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21786
a5543c6a
RM
217872011-03-03 Roland McGrath <roland@redhat.com>
21788
21789 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21790
012d35f7
DM
217912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21792
7e4ba49c 21793 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21794 __bzero_ultra1 instead of __memset_ultra1.
21795
4bff6e01
AS
217962011-02-23 Andreas Schwab <schwab@redhat.com>
21797 Ulrich Drepper <drepper@gmail.com>
21798
21799 [BZ #12509]
21800 * include/link.h (struct link_map): Add l_orig_initfini.
21801 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21802 returning unsuccessfully.
21803 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21804 close of a file loaded at startup, restore the original l_initfini
21805 list.
21806 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21807 list, store the pointer.
21808 * elf/Makefile ($(objpfx)noload-mem): New rule.
21809 (noload-ENV): Define.
21810 (tests): Add $(objpfx)noload-mem.
21811 * elf/noload.c: Include <memcheck.h>.
21812 (main): Call mtrace. Close all opened handles.
21813
f2092faf
AS
218142011-02-17 Andreas Schwab <schwab@redhat.com>
21815
21816 [BZ #12454]
21817 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21818 dependencies are missing.
21819
6c8a2e88
ST
218202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21821
f2092faf 21822 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21823 Hurd needs munmap.
21824 * sysdeps/mach/hurd/ifreq.h: New file.
21825
84a42118
PB
218262011-01-27 Petr Baudis <pasky@suse.cz>
21827 Ulrich Drepper <drepper@gmail.com>
21828
071f805e 21829 [BZ 12445]#
84a42118
PB
21830 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21831 to extend_alloca().
21832 * stdio-common/bug23.c: New file.
21833 * stdio-common/Makefile (tests): Add bug23.
21834
e23fe25b
AS
218352010-09-28 Andreas Schwab <schwab@redhat.com>
21836 Ulrich Drepper <drepper@gmail.com>
21837
21838 [BZ #12489]
21839 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21840 before performing relro protection. At old place add assertion
21841 to make sure nothing changed.
21842
d3f02e10
NS
218432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21844 Glauber de Oliveira Costa <glommer@gmail.com>
21845
21846 * elf/elf.h: Add new ARM TLS relocs.
21847
d55fd7a5
RA
218482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21849
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21851 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21852 cast from r3.
21853 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21854 'tests' variable.
21855 * sysdeps/wordsize-64/tst-writev.c: New file.
21856
2206397e
RA
218572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21858
21859 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21860 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21861 insns in _dl_start to prevent a TOC reference before relocs are
21862 resolved.
21863
e9433893
UD
218642011-02-15 Ulrich Drepper <drepper@gmail.com>
21865
21866 [BZ #12469]
21867 * Makeconfig: Remove RANLIB definition.
21868 * Makerules: Don't use RANLIB.
21869 * aclocal.m4: Remove ranlib test.
21870 * configure.in: No need to check for ranlib.
21871 * elf/rtld-Rules: Don't use RANLIB.
21872
f75286c6
ST
218732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21874
8e31c82d
ST
21875 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21876 protection macro.
21877 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21878 inclusion protection macro.
21879
f75286c6
ST
21880 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21881 SIGRTMIN and SIGRTMAX and print information in that case only when
21882 SIGRTMIN is defined.
21883
c1d0e639
JJ
218842011-02-11 Jakub Jelinek <jakub@redhat.com>
21885
21886 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21887 arginfo fn returning -1.
21888
21889 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21890 and thousands string is zero terminated.
21891
edf9294e
AS
218922011-02-03 Andreas Schwab <schwab@redhat.com>
21893
21894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21895 sysdeps/unix/sysv/linux/bits/socket.h.
21896
2b7e92df
ST
218972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21898
edf9294e
AS
21899 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21900 (__CPU_COUNT): Remove old macros.
21901 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21902 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21903 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21904 (__sched_cpualloc, __sched_cpufree): Add declarations.
21905
a4c7ea7b
UD
219062011-02-05 Ulrich Drepper <drepper@gmail.com>
21907
21908 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21909 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21910 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21911 (readdhstai): Return value of addhstaiX call.
21912 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21913 (addgrbyX): Return value returned by cache_addgr.
21914 (readdgrbyname): Return value returned by addgrbyX.
21915 (readdgrbygid): Likewise.
21916 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21917 (addpwbyX): Return value returned by cache_addpw.
21918 (readdpwbyname): Return value returned by addhstbyX.
21919 (readdpwbyuid): Likewise.
21920 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21921 (addservbyX): Return value returned by cache_addserv.
21922 (readdservbyname): Return value returned by addservbyX:
21923 (readdservbyport): Likewise.
21924 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21925 (addhstbyX): Return value returned by cache_addhst.
21926 (readdhstbyname): Return value returned by addhstbyX.
21927 (readdhstbyaddr): Likewise.
21928 (readdhstbynamev6): Likewise.
21929 (readdhstbyaddrv6): Likewise.
21930 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21931 (readdinitgroups): Return value returned by addinitgroupsX.
21932 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21933 (prune_cache): Keep track of timeout value of re-added entries.
21934 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21935 * nscd/nscd.h: Adjust prototypes of readd* functions.
21936
a0bf67cc
RM
219372011-02-04 Roland McGrath <roland@redhat.com>
21938
21939 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21940 (nis_stats): Likewise.
21941 * nis/nis_modify.c (nis_modify): Likewise.
21942 * nis/nis_remove.c (nis_remove): Likewise.
21943 * nis/nis_add.c (nis_add): Likewise.
21944
21945 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21946
21947 * posix/fnmatch_loop.c: Add some consts.
21948
21949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21950
435b95eb
L
219512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21952
21953 [BZ #12460]
21954 * config.make.in (config-cflags-novzeroupper): Define.
21955 * configure.in: Substitute libc_cv_cc_novzeroupper.
21956 * elf/Makefile (AVX-CFLAGS): Define.
21957 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21958 (CFLAGS-tst-auditmod4a.c): Likewise.
21959 (CFLAGS-tst-auditmod4b.c): Likewise.
21960 (CFLAGS-tst-auditmod6b.c): Likewise.
21961 (CFLAGS-tst-auditmod6c.c): Likewise.
21962 (CFLAGS-tst-auditmod7b.c): Likewise.
21963 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21964
8517b15e
UD
219652011-02-02 Ulrich Drepper <drepper@gmail.com>
21966
21967 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21968 function to the callback.
21969 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21970
10a656fe
AS
219712011-02-02 Andreas Schwab <schwab@redhat.com>
21972
21973 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21974 of errno.
21975
968dad0a
UD
219762011-01-19 Ulrich Drepper <drepper@gmail.com>
21977
9f94d2ea 21978 [BZ #11724]
968dad0a
UD
21979 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21980 of constructors.
21981 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21982 of destructors.
21983 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21984
21985 [BZ #11724]
21986 * elf/Makefile: Add rules to build and run new test.
21987 * elf/tst-initorder.c: New file.
21988 * elf/tst-initorder.exp: New file.
21989 * elf/tst-initordera1.c: New file.
21990 * elf/tst-initordera2.c: New file.
21991 * elf/tst-initordera3.c: New file.
21992 * elf/tst-initordera4.c: New file.
21993 * elf/tst-initorderb1.c: New file.
21994 * elf/tst-initorderb2.c: New file.
21995 * elf/tst-order-a1.c: New file.
21996 * elf/tst-order-a2.c: New file.
21997 * elf/tst-order-a3.c: New file.
21998 * elf/tst-order-a4.c: New file.
21999 * elf/tst-order-b1.c: New file.
22000 * elf/tst-order-b2.c: New file.
22001 * elf/tst-order-main.c: New file.
22002 New test case by George Gensure <werkt0@gmail.com>.
22003
86e92359
UD
220042010-10-01 Andreas Schwab <schwab@redhat.com>
22005
22006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22007 decoding ACE if AI_CANONIDN.
22008
5d5732b0
UD
220092011-01-18 Ulrich Drepper <drepper@gmail.com>
22010
22011 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22012
a77e8cbc
UD
220132011-01-17 Ulrich Drepper <drepper@gmail.com>
22014
6392473f
UD
22015 * version.h (RELEASE): Bump for 2.13 release.
22016 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22017
620a0529
UD
22018 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22019
18ba70a5
UD
22020 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22021 MADV_NOHUGEPAGE.
32465c3e
UD
22022 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22024 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22026 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22028
c0dafcf1
UD
22029 * posix/getconf.c: Update copyright year.
22030 * catgets/gencat.c: Likewise.
22031 * csu/version.c: Likewise.
22032 * debug/catchsegv.sh: Likewise.
22033 * debug/xtrace.sh: Likewise.
22034 * elf/ldconfig.c: Likewise.
22035 * elf/ldd.bash.in: Likewise.
22036 * elf/sprof.c (print_version): Likewise.
22037 * iconv/iconv_prog.c: Likewise.
22038 * iconv/iconvconfig.c: Likewise.
22039 * locale/programs/locale.c: Likewise.
22040 * locale/programs/localedef.c: Likewise.
22041 * malloc/memusage.sh: Likewise.
22042 * malloc/mtrace.pl: Likewise.
22043 * nscd/nscd.c (print_version): Likewise.
22044 * nss/getent.c: Likewise.
22045
a77e8cbc
UD
22046 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22047 PF_CAIF, and PF_ALG.
22048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22049
77e8bddf
AS
220502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22051
1f20b93a
AS
22052 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22053 (modules-names): Use them.
22054 (ifunc-test-modules, ifunc-pie-tests): Define.
22055 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22056 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22057 (test-extras): Likewise.
22058 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22059 $(compile-command.c).
22060 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22061 (all-built-dso): Define.
22062 (check-textrel.out, check-execstack.out): Depend on it.
22063
77e8bddf
AS
22064 * configure.in: Don't override --enable-multi-arch.
22065
bc425b33
UD
220662011-01-15 Ulrich Drepper <drepper@gmail.com>
22067
22068 [BZ #6812]
22069 * nscd/hstcache.c (tryagain): Define.
22070 (cache_addhst): Return tryagain not notfound for temporary errors.
22071 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22072 failed.
22073
794c3ad3
UD
220742011-01-14 Ulrich Drepper <drepper@gmail.com>
22075
70181fdd
UD
22076 [BZ #10563]
22077 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22078 to make the syscall.
22079 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22080
794c3ad3
UD
22081 [BZ #12378]
22082 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22083 and fall back to matching as normal character if the string ends before
22084 the matching ']' is found. This is what POSIX requires.
22085 * posix/testfnm.c: Adjust test result.
22086 * posix/globtest.sh: Adjust test result. Add new test.
22087 * posix/tst-fnmatch.input: Likewise.
22088 * posix/tst-fnmatch2.c: Add new test.
22089
68dc9497
AS
220902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22091
22092 * elf/Makefile (check-execstack): Revert last change. Depend on
22093 check-execstack.h.
22094 (check-execstack.h): New target.
22095 (generated): Add check-execstack.h.
22096 * elf/check-execstack.c: Include "check-execstack.h".
22097 (main): Revert last change.
22098 (handle_file): Return zero if GNU_STACK is absent and
22099 DEFAULT_STACK_PERMS doesn't include PF_X.
22100
451f001b
UD
221012011-01-13 Ulrich Drepper <drepper@gmail.com>
22102
cfa28e56
UD
22103 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22104 in child fails because the descriptor is already closed.
8cf8ce17
UD
22105 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22106 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22107 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22108
1086d70d
UD
22109 [BZ #12397]
22110 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22111 syscall.
22112
451f001b
UD
22113 [BZ #10484]
22114 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22115 temporary buffer used to handle multi lookups locally.
a85b5cb4 22116 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22117
08769175
UD
221182011-01-12 Ulrich Drepper <drepper@gmail.com>
22119
22120 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22121 loader is ld.so.
22122
5e49c52e
UD
221232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22124
22125 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22126 alignment for SSE2.
22127
60522a5f
UD
221282011-01-12 Ulrich Drepper <drepper@gmail.com>
22129
22130 [BZ #12394]
22131 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22132 characters. When rounding increased number of integer digits recompute
22133 number of groups.
22134 * stdio-common/tst-grouping.c: New file.
22135 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22136
f257bbd7
UD
221372011-01-09 Ulrich Drepper <drepper@gmail.com>
22138
22139 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22140 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22141
22142 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22143 void.
22144 * bits/select.h: Likewise.
22145
fa9c15cb
UD
221462011-01-08 Ulrich Drepper <drepper@gmail.com>
22147
22148 * po/ja.po: Update from translation team.
22149
16c2895f
DM
221502011-01-04 David S. Miller <davem@sunset.davemloft.net>
22151
22152 [BZ #11155]
22153 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22154 implementation just like for lxstat, fxstatat, et al.
22155
2543fef2
JM
221562010-12-27 Jim Meyering <meyering@redhat.com>
22157
22158 [BZ #12348]
22159 * posix/regexec.c (build_trtable): Return failure indication upon
22160 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22161
98727dbe
UD
221622010-12-25 Ulrich Drepper <drepper@gmail.com>
22163
5bd6dc5c
UD
22164 [BZ #12201]
22165 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22166 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22167 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22168 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22169
97983464
UD
22170 [BZ #12207]
22171 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22172
98727dbe
UD
22173 [BZ #12204]
22174 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22175 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22176
4a531bb0
L
221772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22180 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22181 script has SORT_BY_INIT_PRIORITY.
22182 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22183 NO_CTORS_DTORS_SECTIONS is defined.
22184 * elf/soinit.c: Likewise.
22185 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22186 NO_CTORS_DTORS_SECTIONS is defined.
22187 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22188 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22189 * sysdeps/sh/init-first.c: Likewise.
22190 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22191
07eb4b71
UD
221922010-12-24 Ulrich Drepper <drepper@gmail.com>
22193
22194 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22195 always use the slow path.
22196
30950a5f
RA
221972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22198
22199 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22200 similar rule which adds the sysdep directories to the header search in
22201 order to pick up the correct platform stackinfo.h.
22202 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22203 perform test if it is, otherwise return successfully without testing.
22204 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22205 DEFAULT_STACK_PERMS define in stackinfo.h.
22206 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22207 defined in stackinfo.h.
22208 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22209 DEFAULT_STACK_PERMS defined in stackinfo.h.
22210 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22211 * sysdeps/ia64/stackinfo.h: Likewise.
22212 * sysdeps/s390/stackinfo.h: Likewise.
22213 * sysdeps/sh/stackinfo.h: Likewise.
22214 * sysdeps/sparc/stackinfo.h: Likewise.
22215 * sysdeps/x86_64/stackinfo.h: Likewise.
22216 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22217 PF_X for powerpc64. Retain PF_X for powerpc32.
22218
db753e2c
UD
222192010-12-19 Ulrich Drepper <drepper@gmail.com>
22220
14b697f7
UD
22221 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22222 accurately.
db753e2c
UD
22223 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22224 GETDENTS_64BIT_ALIGNED.
22225
28300719
UD
222262010-12-14 Ulrich Drepper <dreper@gmail.com>
22227
14b697f7 22228 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22229
4f197237
AS
222302010-12-10 Andreas Schwab <schwab@redhat.com>
22231
dbb0472f
AS
22232 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22233 _GNU_SOURCE.
22234
4f197237
AS
22235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22236 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22237 Remove __restrict.
22238 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22239 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22240
fb88ac72
UD
222412010-12-09 Ulrich Drepper <drepper@gmail.com>
22242
22243 [BZ #11655]
22244 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22245 are initialized.
22246
42acbb92
JJ
222472010-12-09 Jakub Jelinek <jakub@redhat.com>
22248
22249 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22250
c038d98d
UD
222512010-12-03 Ulrich Drepper <drepper@gmail.com>
22252
22253 * po/it.po: Update from translation team.
22254
3a4a2499
L
222552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22258 unused codes.
22259
1e24cf6e
UD
222602010-11-30 Ulrich Drepper <drepper@gmail.com>
22261
22262 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22263
a7690819
AS
222642010-11-24 Andreas Schwab <schwab@redhat.com>
22265
22266 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22267 specially.
22268 (gaih_getanswer_slice): Likewise.
22269
3bf8d1b1
JJ
222702010-10-20 Jakub Jelinek <jakub@redhat.com>
22271
22272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22273
6db52fbb
PB
222742010-05-31 Petr Baudis <pasky@suse.cz>
22275
22276 [BZ #11149]
22277 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22278 silently even in the chroot mode.
22279
eaca7569
UD
222802010-11-22 Ulrich Drepper <drepper@gmail.com>
22281
22282 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22283 last patch a bit. Pretty printing
22284
3056dcdb
UD
222852010-05-31 Petr Baudis <pasky@suse.cz>
22286
22287 [BZ #10085]
22288 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22289 initialization of skip_initgroups_dyn.
22290
cf7c9078
UD
222912010-11-19 Ulrich Drepper <drepper@gmail.com>
22292
22293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22295
a1fb5e3e
UD
222962010-11-16 Ulrich Drepper <drepper@gmail.com>
22297
22298 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22299
3540d66b
AS
223002010-11-11 Andreas Schwab <schwab@redhat.com>
22301
22302 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22303 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22304 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22305 ($(objpfx)tst-fnmatch-mem): New rule.
22306 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22307 * posix/tst-fnmatch.c (main): Call mtrace.
22308
13b69574
L
223092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22312 Support Intel processor model 6 and model 0x2c.
22313
da93d214
LM
223142010-11-10 Luis Machado <luisgpm@br.ibm.com>
22315
22316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22317 signed comparison.
22318
8ca52c6e
L
223192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 [BZ #12205]
22322 * string/test-strncasecmp.c (check_result): New function.
22323 (do_one_test): Use it.
22324 (check1): New function.
22325 (test_main): Use it.
22326 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22327 Support strcasecmp and strncasecmp.
22328
69da074d
UD
223292010-11-08 Ulrich Drepper <drepper@gmail.com>
22330
22331 [BZ #12194]
22332 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22334
ff02d528
L
223352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22338 IFUNC support.
22339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22340 memset-x86-64.
22341 * sysdeps/x86_64/multiarch/bzero.S: New file.
22342 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22343 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22344 * sysdeps/x86_64/multiarch/memset.S: New file.
22345 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22347 Set bit_Prefer_SSE_for_memop for Intel processors.
22348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22349 Define.
22350 (index_Prefer_SSE_for_memop): Define.
22351 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22352
344d0b54
LM
223532010-11-04 Luis Machado <luisgpm@br.ibm.com>
22354
22355 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22356 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22357
c0dde15b
UD
223582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22359
22360 [BZ #12191]
22361 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22362 (__x86_64_raw_data_cache_size_half): Likewise.
22363 (__x86_64_raw_shared_cache_size): Likewise.
22364 (__x86_64_raw_shared_cache_size_half): Likewise.
22365
22366 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22367 (__x86_64_raw_data_cache_size_half): Likewise.
22368 (__x86_64_raw_shared_cache_size): Likewise.
22369 (__x86_64_raw_shared_cache_size_half): Likewise.
22370 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22371 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22372 and __x86_64_raw_shared_cache_size_half. Round
22373 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22374 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22375 to multiple of 256 bytes.
22376
0e516e0e
MS
223772010-11-03 Ulrich Drepper <drepper@gmail.com>
22378
22379 [BZ #12167]
22380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22381 of inacessible symlinks. Verify result of symlink before returning it.
22382 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22383 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22384
0e012e87
ER
223852010-10-28 Erich Ritz <erichritz@gmail.com>
22386
22387 * math/math.h (isinf): Fix typo in comment.
22388
de0ff7bc
UD
223892010-11-01 Ulrich Drepper <drepper@gmail.com>
22390
22391 * po/da.po: Update from translation team.
22392
fa41c84d
UD
223932010-10-26 Ulrich Drepper <drepper@gmail.com>
22394
22395 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22396 is added to the list.
22397
f0967738
AK
223982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22399 Ulrich Drepper <drepper@gmail.com>
22400
22401 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22402 the global list here. Move code to...
22403 (_dl_add_to_namespace_list): ...here. New function.
22404 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22405 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22406 * elf/dl-load.c (lose): Don't remove the element from the list.
22407 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22408 (_dl_map_object): Likewise.
22409
224102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22411
22412 [BZ #12159]
22413 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22414 into all bytes of SSE register.
22415 Patch by Richard Li <richardpku@gmail.com>.
22416
f0967738 224172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22418
22419 [BZ #12140]
22420 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22421 perturbing.
22422
d0b9e94f
MB
224232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22424
22425 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22426 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22427 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22428 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22430 submachine.
22431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22432
8e9f92e9
AS
224332010-10-22 Andreas Schwab <schwab@redhat.com>
22434
22435 * include/dlfcn.h (__RTLD_SECURE): Define.
22436 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22437 mode & __RTLD_SECURE instead.
22438 (open_path): Rename preloaded parameter to secure.
22439 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22440 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22441 * elf/dl-deps.c (openaux): Likewise.
22442 * elf/rtld.c (struct map_args): Remove is_preloaded.
22443 (map_doit): Don't use it.
22444 (dl_main): Likewise.
22445 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22446 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22447
bc96fbda
AS
224482010-09-09 Andreas Schwab <schwab@redhat.com>
22449
22450 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22451 (sysd-rules-targets): Remove duplicates.
22452 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22453 rtld-%.$o dependency.
22454
22cd1c9b
AS
224552010-10-18 Andreas Schwab <schwab@redhat.com>
22456
22457 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22458 _dl_map_object do it.
22459
18edac48
UD
224602010-10-19 Ulrich Drepper <drepper@gmail.com>
22461
22462 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22463 fast fma builtins, define the macros in the C99 standard.
22464 (FP_FAST_FMAF): Likewise.
22465 (FP_FAST_FMAL): Likewise.
22466 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22467
22468 * bits/mathdef.h: Update copyright year.
22469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22470
d2050124
MM
224712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22472
22473 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22474 builtins, define the macros in the C99 standard.
22475 (FP_FAST_FMAF): Likewise.
22476 (FP_FAST_FMAL): Likewise.
22477 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22478 multiply/add.
22479 (FP_FAST_FMAF): Likewise.
22480
475facd1
JJ
224812010-10-15 Jakub Jelinek <jakub@redhat.com>
22482
22483 [BZ #3268]
22484 * math/libm-test.inc (fma_test): Some new testcases.
22485 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22487 y and infinite z. Do multiplication by C already in long double.
22488 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22490 y and infinite z. Do bitwise or of inexact bit into u.d.
22491 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22492 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22493 * sysdeps/i386/fpu/s_fma.S: Removed.
22494 * sysdeps/i386/fpu/s_fmal.S: Removed.
22495
7c08a05c
JJ
224962010-10-16 Jakub Jelinek <jakub@redhat.com>
22497
22498 [BZ #3268]
22499 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22501 computation is not scheduled after fetestexcept. Fix value
22502 of minimum denormal long double.
22503
f3f7372d
JJ
225042010-10-14 Jakub Jelinek <jakub@redhat.com>
22505
22506 [BZ #3268]
22507 * math/libm-test.inc (fma_test): Add some more tests.
22508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22509 correctly.
22510
14d43591
AS
225112010-10-15 Andreas Schwab <schwab@redhat.com>
22512
22513 * scripts/data/localplt-s390-linux-gnu.data: New file.
22514 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22515
5e908464
JJ
225162010-10-13 Jakub Jelinek <jakub@redhat.com>
22517
22518 [BZ #3268]
22519 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22520 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22521 instead of dbl-64.
22522 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22523 inlines.
22524 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22526 if one of x and y is very large and the other is subnormal.
22527 * sysdeps/s390/fpu/s_fmaf.c: New file.
22528 * sysdeps/s390/fpu/s_fma.c: New file.
22529 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22530 * sysdeps/powerpc/fpu/s_fma.S: New file.
22531 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22532 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22533 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22534
225352010-10-12 Jakub Jelinek <jakub@redhat.com>
22536
22537 [BZ #3268]
22538 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22539 fma tests.
22540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22541 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22542 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22543 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22544 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22545 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22547
b833d51f
UD
225482010-10-12 Ulrich Drepper <drepper@redhat.com>
22549
22550 [BZ #12078]
22551 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22552 * posix/bug-regex31.input: Add test case.
22553
1751705d
UD
225542010-10-11 Ulrich Drepper <drepper@gmail.com>
22555
e9b9cbf5
UD
22556 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22557 * posix/bug-regex31.input: New file.
22558
22559 [BZ #12078]
22560 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22561 (parse_sub_exp): Fix last change, use postorder.
22562
ef06edbe
UD
22563 * posix/bug-regex31.c: New file.
22564 * posix/Makefile: Add rules to build and run bug-regex31.
22565
a129c80d
UD
22566 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22567
22568 [BZ #12078]
22569 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22570
b76b818e
UD
22571 [BZ #12108]
22572 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22573 to have entries in sys_siglist.
22574
1751705d
UD
22575 [BZ #12093]
22576 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22577 be NULL.
22578
9ff8d36f
JJ
225792010-10-07 Jakub Jelinek <jakub@redhat.com>
22580
22581 [BZ #3268]
22582 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22583 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22584 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22585 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22586 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22587 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22588 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22589 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22590 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22591 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22592 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22593 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22594 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22595 * math/ftestexcept.c (fetestexcept): Likewise.
22596 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22597 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22598 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22599 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22600 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22601 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22602 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22603
af325969
UD
226042010-10-11 Ulrich Drepper <drepper@gmail.com>
22605
c579b202 22606 [BZ #12107]
af325969
UD
22607 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22608 newline.
22609
67a67b95
UD
226102010-10-06 Ulrich Drepper <drepper@gmail.com>
22611
22612 * string/bug-strstr1.c: New file.
22613 * string/Makefile: Add rules to build and run bug-strstr1.
22614
5fb308bc
EB
226152010-10-05 Eric Blake <eblake@redhat.com>
22616
22617 [BZ #12092]
22618 * string/str-two-way.h (two_way_long_needle): Always clear memory
22619 when skipping input due to the shift table.
22620
45db99c7
UD
226212010-10-03 Ulrich Drepper <drepper@gmail.com>
22622
3b111893
UD
22623 [BZ #12005]
22624 * malloc/mcheck.c: Handle large requests.
22625
45db99c7
UD
22626 [BZ #12077]
22627 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22628 for strncmp and strncasecmp.
22629 * string/stratcliff.c: Add tests for strcmp and strncmp.
22630 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22631
cf7a1eb8
NI
226322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22633
22634 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22635 __set_fpscr.
22636
6484ba5e
AJ
226372010-09-30 Andreas Jaeger <aj@suse.de>
22638
22639 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22640 (CGROUP_SUPER_MAGIC): Define.
22641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22642 Handle btrfs and cgroup file systems.
22643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22644 Likewise.
22645
91c42559
LM
226462010-09-27 Luis Machado <luisgpm@br.ibm.com>
22647
22648 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22649 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22650
87a97932
AK
226512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22652
22653 [BZ #12067]
22654 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22655 trying to locate the ELF header.
22656
c21cc9bc
AS
226572010-09-27 Andreas Schwab <schwab@redhat.com>
22658
22659 [BZ #11611]
22660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22661 Mask out sign-bit copies when constructing f_fsid.
22662
315970f6
PB
226632010-09-24 Petr Baudis <pasky@suse.cz>
22664
22665 * debug/stack_chk_fail_local.c: Add missing licence exception.
22666 * debug/warning-nop.c: Likewise.
22667
1ac7a2c7
JM
226682010-09-15 Joseph Myers <joseph@codesourcery.com>
22669
22670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22671 implementing getdents64 using getdents syscall, set d_type if
22672 __ASSUME_GETDENTS32_D_TYPE.
22673
56801c50
AS
226742010-09-16 Andreas Schwab <schwab@redhat.com>
22675
22676 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22677 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22678
dda51327
UD
226792010-09-21 Ulrich Drepper <drepper@redhat.com>
22680
22681 [BZ #12037]
22682 * posix/unistd.h: Undo change of feature selection for ftruncate from
22683 2010-01-11.
22684
8ffcee4a
UD
226852010-09-20 Ulrich Drepper <drepper@redhat.com>
22686
a545ecd9 22687 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22688 detection.
22689
e24f0a8b
AS
226902010-09-20 Andreas Schwab <schwab@redhat.com>
22691
22692 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22693 fanotify_mark.
22694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22695
7291c56f
AS
226962010-09-14 Andreas Schwab <schwab@redhat.com>
22697
22698 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22699 variables after CHECK_SP call.
22700 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22701
bc5fb037
AS
227022010-09-13 Andreas Schwab <schwab@redhat.com>
22703 Ulrich Drepper <drepper@redhat.com>
22704
22705 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22706 re-relocationg ld.so.
22707 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22708 _dl_init_paths call.
22709 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22710 here anymore.
22711
e66e7419
UD
227122010-09-14 Ulrich Drepper <drepper@redhat.com>
22713
22714 * resolv/res_init.c (__res_vinit): Count the default server we added.
22715
c044aa75
CLT
227162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22717 Ulrich Drepper <drepper@redhat.com>
22718
22719 [BZ #11968]
22720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22721 (____longjmp_chk): Use %ebx for saving value across system call.
22722 Add unwind info.
22723
32cf4069
AS
227242010-09-06 Andreas Schwab <schwab@redhat.com>
22725
22726 * manual/Makefile: Don't mix pattern rules with normal rules.
22727
817328ee
AS
227282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22729
22730 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22731 operation.
22732 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22733 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22734 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22735 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22737 Likewise.
22738
29fddf61
UD
227392010-09-04 Ulrich Drepper <drepper@redhat.com>
22740
22741 [BZ #11979]
22742 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22743 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22744
0959ffc9
UD
227452010-09-02 Ulrich Drepper <drepper@redhat.com>
22746
22747 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22748 * sysdeps/x86_64/addmul_1.S: Likewise.
22749 * sysdeps/x86_64/lshift.S: Likewise.
22750 * sysdeps/x86_64/mul_1.S: Likewise.
22751 * sysdeps/x86_64/rshift.S: Likewise.
22752 * sysdeps/x86_64/sub_n.S: Likewise.
22753 * sysdeps/x86_64/submul_1.S: Likewise.
22754
ece29840
ST
227552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22756
0959ffc9
UD
22757 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22758 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22759 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22760 * bits/sched.h [__need_schedparam]
ece29840 22761 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22762 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22763 (__defined_schedparam): Define to 1.
ece29840
ST
22764 (__sched_param): New structure, identical to sched_param.
22765 (__need_schedparam): Undefine.
22766
e53a31fe
MF
227672010-08-31 Mike Frysinger <vapier@gentoo.org>
22768
fdc0c10d
MF
22769 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22770 (epoll_create1): Declare.
22771
e53a31fe
MF
22772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22773
a726d796
AS
227742010-08-31 Andreas Schwab <schwab@redhat.com>
22775
22776 [BZ #7066]
22777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22778 shifting retval into place.
22779
2f3e3dc7
UD
227802010-09-01 Ulrich Drepper <drepper@redhat.com>
22781
f2933da9
UD
22782 * nis/rpcsvc/nis.h: Update copyright notice.
22783 * nis/rpcsvc/nis.x: Likewise.
22784 * nis/rpcsvc/nis_callback.h: Likewise.
22785 * nis/rpcsvc/nis_callback.x: Likewise.
22786 * nis/rpcsvc/nis_object.x: Likewise.
22787 * nis/rpcsvc/nis_tags.h: Likewise.
22788 * nis/rpcsvc/yp.h: Likewise.
22789 * nis/rpcsvc/yp.x: Likewise.
22790 * nis/rpcsvc/ypupd.h: Likewise.
22791 * nis/yp_xdr.c: Likewise.
22792 * nis/ypupdate_xdr.c: Likewise.
22793
2f3e3dc7
UD
22794 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22795 mainly the body of pmap_getport. Add parameters to specify timeouts.
22796 (pmap_getport): Use __libc_rpc_getport.
22797 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22798 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22799 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22800
f3dcc2f9
AS
228012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22802
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22804 fanotify_mark.
22805
6d34eb5b
RM
228062010-08-27 Roland McGrath <roland@redhat.com>
22807
22808 * sysdeps/i386/i686/multiarch/Makefile
22809 (CFLAGS-varshift.c): New variable.
22810
9ea3de11
UD
228112010-08-27 Ulrich Drepper <drepper@redhat.com>
22812
c96d23fc
UD
22813 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22814 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22815
9ea3de11
UD
22816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22817
22818 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22819
623aac7f
L
228202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22821
22822 * sysdeps/x86_64/strlen.S: Unroll the loop.
22823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22824 strlen-sse2 strlen-sse2-bsf.
22825 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22826 __strlen_no_bsf if bit_Slow_BSF is set.
22827 (__strlen_sse42): Removed.
22828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22829 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22830
8b2b7715
RM
228312010-08-25 Roland McGrath <roland@redhat.com>
22832
22833 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22834 * sysdeps/x86_64/multiarch/varshift.c: New file.
22835 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22836 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22837 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22838 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22839
e73015f2
L
228402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22841
22842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22843 strlen-sse2 strlen-sse2-bsf.
22844 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22845 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22846 (__strlen_sse2): Removed.
22847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22850 bit_Slow_BSF for Atom.
22851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22852 (index_Slow_BSF): Define.
22853 (HAS_SLOW_BSF): Define.
22854
df24a73e
UD
228552010-08-25 Ulrich Drepper <drepper@redhat.com>
22856
22857 [BZ #10851]
22858 * resolv/res_init.c (__res_vinit): When no server address at all
22859 is given default to loopback.
22860
f2ac4868
RM
228612010-08-24 Roland McGrath <roland@redhat.com>
22862
09055553
RM
22863 * configure.in: Remove config-name.h generation.
22864 * configure: Regenerated.
22865 * config-name.in: File removed.
22866 * scripts/config-uname.sh: New file.
22867 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22868 ($(objdir)config-name.h): New target.
22869
f2ac4868
RM
22870 * sunrpc/rpc_parse.h: Avoid nested comment.
22871
73f27d5e
RH
228722010-08-24 Richard Henderson <rth@redhat.com>
22873 Ulrich Drepper <drepper@redhat.com>
22874 H.J. Lu <hongjiu.lu@intel.com>
22875
22876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22878 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22879 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22880 _mm_alignr_epi8 with _mm_loadu_si128.
22881 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22882 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22883 (__m128i_shift_right): Removed.
22884 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22885 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22886 * sysdeps/x86_64/multiarch/varshift.h: New file.
22887 * sysdeps/x86_64/multiarch/varshift.S: New file.
22888
84b9230c
MF
228892010-08-21 Mike Frysinger <vapier@gentoo.org>
22890
22891 * configure.in: Move assembler checks to before sysdep dir checking.
22892
9bbd0ddc
PB
228932010-08-20 Petr Baudis <pasky@suse.cz>
22894
22895 * LICENSES: Sync the sunrpc license.
22896
9da4bb31
UD
228972010-08-19 Ulrich Drepper <drepper@redhat.com>
22898
a7ab6ec8
UD
22899 * sunrpc/auth_des.c: Update copyright notice once again.
22900 * sunrpc/auth_none.c: Likewise.
22901 * sunrpc/auth_unix.c: Likewise.
22902 * sunrpc/authdes_prot.c: Likewise.
22903 * sunrpc/authuxprot.c: Likewise.
22904 * sunrpc/bindrsvprt.c: Likewise.
22905 * sunrpc/clnt_gen.c: Likewise.
22906 * sunrpc/clnt_perr.c: Likewise.
22907 * sunrpc/clnt_raw.c: Likewise.
22908 * sunrpc/clnt_simp.c: Likewise.
22909 * sunrpc/clnt_tcp.c: Likewise.
22910 * sunrpc/clnt_udp.c: Likewise.
22911 * sunrpc/clnt_unix.c: Likewise.
22912 * sunrpc/des_crypt.c: Likewise.
22913 * sunrpc/des_soft.c: Likewise.
22914 * sunrpc/get_myaddr.c: Likewise.
22915 * sunrpc/getrpcport.c: Likewise.
22916 * sunrpc/key_call.c: Likewise.
22917 * sunrpc/key_prot.c: Likewise.
22918 * sunrpc/openchild.c: Likewise.
22919 * sunrpc/pm_getmaps.c: Likewise.
22920 * sunrpc/pm_getport.c: Likewise.
22921 * sunrpc/pmap_clnt.c: Likewise.
22922 * sunrpc/pmap_prot.c: Likewise.
22923 * sunrpc/pmap_prot2.c: Likewise.
22924 * sunrpc/pmap_rmt.c: Likewise.
22925 * sunrpc/rpc/auth.h: Likewise.
22926 * sunrpc/rpc/auth_unix.h: Likewise.
22927 * sunrpc/rpc/clnt.h: Likewise.
22928 * sunrpc/rpc/des_crypt.h: Likewise.
22929 * sunrpc/rpc/key_prot.h: Likewise.
22930 * sunrpc/rpc/netdb.h: Likewise.
22931 * sunrpc/rpc/pmap_clnt.h: Likewise.
22932 * sunrpc/rpc/pmap_prot.h: Likewise.
22933 * sunrpc/rpc/pmap_rmt.h: Likewise.
22934 * sunrpc/rpc/rpc.h: Likewise.
22935 * sunrpc/rpc/rpc_des.h: Likewise.
22936 * sunrpc/rpc/rpc_msg.h: Likewise.
22937 * sunrpc/rpc/svc.h: Likewise.
22938 * sunrpc/rpc/svc_auth.h: Likewise.
22939 * sunrpc/rpc/types.h: Likewise.
22940 * sunrpc/rpc/xdr.h: Likewise.
22941 * sunrpc/rpc_clntout.c: Likewise.
22942 * sunrpc/rpc_cmsg.c: Likewise.
22943 * sunrpc/rpc_common.c: Likewise.
22944 * sunrpc/rpc_cout.c: Likewise.
22945 * sunrpc/rpc_dtable.c: Likewise.
22946 * sunrpc/rpc_hout.c: Likewise.
22947 * sunrpc/rpc_main.c: Likewise.
22948 * sunrpc/rpc_parse.c: Likewise.
22949 * sunrpc/rpc_parse.h: Likewise.
22950 * sunrpc/rpc_prot.c: Likewise.
22951 * sunrpc/rpc_sample.c: Likewise.
22952 * sunrpc/rpc_scan.c: Likewise.
22953 * sunrpc/rpc_scan.h: Likewise.
22954 * sunrpc/rpc_svcout.c: Likewise.
22955 * sunrpc/rpc_tblout.c: Likewise.
22956 * sunrpc/rpc_util.c: Likewise.
22957 * sunrpc/rpc_util.h: Likewise.
22958 * sunrpc/rpcinfo.c: Likewise.
22959 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22960 * sunrpc/rpcsvc/key_prot.x: Likewise.
22961 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22962 * sunrpc/rpcsvc/mount.x: Likewise.
22963 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22964 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22965 * sunrpc/rpcsvc/rex.x: Likewise.
22966 * sunrpc/rpcsvc/rstat.x: Likewise.
22967 * sunrpc/rpcsvc/rusers.x: Likewise.
22968 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22969 * sunrpc/rpcsvc/spray.x: Likewise.
22970 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22971 * sunrpc/rtime.c: Likewise.
22972 * sunrpc/svc.c: Likewise.
22973 * sunrpc/svc_auth.c: Likewise.
22974 * sunrpc/svc_authux.c: Likewise.
22975 * sunrpc/svc_raw.c: Likewise.
22976 * sunrpc/svc_run.c: Likewise.
22977 * sunrpc/svc_simple.c: Likewise.
22978 * sunrpc/svc_tcp.c: Likewise.
22979 * sunrpc/svc_udp.c: Likewise.
22980 * sunrpc/svc_unix.c: Likewise.
22981 * sunrpc/svcauth_des.c: Likewise.
22982 * sunrpc/xcrypt.c: Likewise.
22983 * sunrpc/xdr.c: Likewise.
22984 * sunrpc/xdr_array.c: Likewise.
22985 * sunrpc/xdr_float.c: Likewise.
22986 * sunrpc/xdr_mem.c: Likewise.
22987 * sunrpc/xdr_rec.c: Likewise.
22988 * sunrpc/xdr_ref.c: Likewise.
22989 * sunrpc/xdr_sizeof.c: Likewise.
22990 * sunrpc/xdr_stdio.c: Likewise.
22991
9da4bb31
UD
22992 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22993 handling.
22994
bdaa77bc
AS
229952010-08-19 Andreas Schwab <schwab@redhat.com>
22996
22997 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22998
fe2f79db
LM
229992010-08-19 Luis Machado <luisgpm@br.ibm.com>
23000
23001 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23002 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23004 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23005 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23006 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23008 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23010 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23011 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23012 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23013 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23014 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23015
b9b42ee0
AB
230162010-07-26 Anton Blanchard <anton@samba.org>
23017
23018 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23019 * malloc/arena.c (heap_trim): Likewise.
23020
1c06ba31
UD
230212010-08-16 Ulrich Drepper <drepper@redhat.com>
23022
23023 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23024 here. Not...
23025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23026 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23027
f8392f40
L
230282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 * sysdeps/i386/elf/Makefile: New file.
23031
3162f12e
AS
230322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23033
23034 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23035 from fanotify_init.
23036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23038
28c90b2c
UD
230392010-08-15 Ulrich Drepper <drepper@redhat.com>
23040
23041 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23042 of strncasecmp_l.
1feccb6c 23043 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23044
ca6bb004
UD
230452010-08-14 Ulrich Drepper <drepper@redhat.com>
23046
e9f82e0d
UD
23047 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23048 strncase_l-nonascii.
23049 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23050 Add strncase_l-ssse3.
23051 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23052 * sysdeps/x86_64/strcmp.S: Likewise.
23053 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23054 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23055 * sysdeps/x86_64/strncase.S: New file.
23056 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23057 * sysdeps/x86_64/strncase_l.S: New file.
23058 * string/Makefile (strop-tests): Add strncasecmp.
23059 * string/test-strncasecmp.c: New file.
23060
23061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23062 warning.
23063
ca6bb004
UD
23064 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23065 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23066
052fa7b3
AS
230672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23068
23069 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23070
962dba78
UD
230712010-08-12 Ulrich Drepper <drepper@redhat.com>
23072
23073 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23075 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23076
bebff237
AM
230772010-05-01 Alan Modra <amodra@gmail.com>
23078
23079 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23080 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23081 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23082 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23083 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23084 tidying. Don't tail-call __sigjmp_save for static lib.
23085 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23086 save location.
23087 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23088 (CALL_MCOUNT): Add eh info, and nop after bl.
23089 (TAIL_CALL_SYSCALL_ERROR): New macro.
23090 (PSEUDO_RET): Use it.
23091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23092 Correct save location of integer regs and cr.
23093 (_dl_profile_resolve): Correct cr save location. Delete nops
23094 after bl when SHARED. Reduce cfi size a little by better
23095 placement of cfi directives.
23096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23097 make a stack frame. Instead use parm save area as a temp.
23098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23099 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23101 Don't make a stack frame for parent, use parm save area.
23102 Increase child stack frame to 112 bytes. Don't save unused reg,
23103 and adjust reg usage. Set up cfi on error recovery and
23104 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23106 (__makecontext): Add dummy nop after jump to exit.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23108 Use correct parm save area and cr save, reduce stack frame.
23109 Correct cfi for possible PSEUDO_RET frame setup.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23111 Branch to local label emitted by PSEUDO_RET rather than
23112 __syscall_error.
23113
02637374
AS
231142010-08-12 Andreas Schwab <schwab@redhat.com>
23115
23116 [BZ #11904]
23117 * locale/programs/locale.c (print_assignment): New function.
23118 (show_locale_vars): Use it.
23119
c3e2f19b
UD
231202010-08-11 Ulrich Drepper <drepper@redhat.com>
23121
3cdaa6ad
UD
23122 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23123 field.
23124 (struct statfs64): Likewise.
23125 (_STATFS_F_FLAGS): Define.
23126 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23128 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23129 (ST_VALID): Define locally.
23130 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23131 __statvfs_getflags, use the provided value.
23132 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23133 __ASSUME_STATFS_F_FLAGS.
23134
754f7da3
UD
23135 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23136
10b3bedc
UD
23137 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23138 Add sys/fanotify.h.
23139 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23140 fanotify_mask for GLIBC_2.13.
23141 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23142 fanotify_init and fanotify_mark.
23143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23144 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23145
c08fb0d7
UD
23146 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23147 Add prlimit.
23148 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23149 prlimit64 for GLIBC_2.13.
23150 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23151 prlimit64.
23152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23153 syscall.
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23156 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23157 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23159 add prlimit alias.
23160 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23161
15bac72b
UD
23162 [BZ #11903]
23163 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23164 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23165
c3e2f19b
UD
23166 * nss/Makefile: Add rules to build and run tst-nss-test1.
23167 * shlib-versions: Add entry for libnss_test1.
23168 * nss/nss_test1.c: New file.
23169 * nss/tst-nss-test1.c: New file.
23170
23171 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23172 (__nss_configure_lookup): Set appropriate entry in
23173 __nss_configure_lookup to true.
23174 * nss/nsswitch.h: Define enum with indeces of databases in
23175 databases and __nss_database_custom arrays. Declare
23176 __nss_database_custom.
23177 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23178 to avoid using nscd when custom rules are installed.
23179 * nss/getXXbyYY_r.c: Likewise.
23180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23181
23182 * nss/nss_files/files-parse.c: Whitespace fixes.
23183
f15ce4d8
UD
231842010-08-09 Ulrich Drepper <drepper@redhat.com>
23185
23186 [BZ #11883]
23187 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23188 * posix/fnmatch_loop.c: Likewise.
23189
d22e4cc9
AK
231902010-07-17 Andi Kleen <ak@linux.intel.com>
23191
23192 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23193 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23194 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23195 * Versions.def [GLIBC_2.13]: Add.
23196
805bc17d
UD
231972010-08-06 Ulrich Drepper <drepper@redhat.com>
23198
23199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23200 Also fail if tpwd after pwuid call is NULL.
23201
5a42321d
ST
232022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23203
23204 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23205 when converting to ms.
23206
fd3ebeda
ST
232072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23208
23209 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23210 EOPNOTSUPP errors with ENOTTY.
23211 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23212 EOPNOTSUPP errors with ENOTTY.
23213
73507d3a
UD
232142010-07-31 Ulrich Drepper <drepper@redhat.com>
23215
23216 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23217 Add strcasecmp_l-ssse3.
23218 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23219 strcasecmp.
23220 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23221 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23223
fe36dd02
UD
232242010-07-30 Ulrich Drepper <drepper@redhat.com>
23225
66f6765a
UD
23226 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23227
42e08a54
UD
23228 * string/Makefile (strop-tests): Add strcasecmp.
23229 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23230 strcasecmp_l-nonascii.
23231 (gen-as-const-headers): Add locale-defines.sym.
23232 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23233 * sysdeps/x86_64/strcasecmp.S: New file.
23234 * sysdeps/x86_64/strcasecmp_l.S: New file.
23235 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23236 * sysdeps/x86_64/locale-defines.sym: New file.
23237 * string/test-strcasecmp.c: New file.
23238
fe36dd02
UD
23239 * string/test-strcasestr.c: Test both ends of the range of characters.
23240 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23241
48cbc0d6
RM
232422010-07-29 Roland McGrath <roland@redhat.com>
23243
76e6d6bc 23244 [BZ #11856]
48cbc0d6
RM
23245 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23246
880113d9
UD
232472010-07-27 Ulrich Drepper <drepper@redhat.com>
23248
23249 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23250 for ld.so.
23251
deb9cabb
AS
232522010-07-27 Andreas Schwab <schwab@redhat.com>
23253
23254 * manual/memory.texi (Malloc Tunable Parameters): Document
23255 M_PERTURB.
23256
1c7570ff
RM
232572010-07-26 Roland McGrath <roland@redhat.com>
23258
23259 [BZ #11840]
23260 * configure.in (-fgnu89-inline check): Set and substitute
23261 gnu89_inline, not libc_cv_gnu89_inline.
23262 * configure: Regenerated.
23263 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23264
24fb0f88
UD
232652010-07-26 Ulrich Drepper <drepper@redhat.com>
23266
23267 * string/test-strnlen.c: New file.
23268 * string/Makefile (strop-tests): Add strnlen.
23269 * string/tester.c (test_strnlen): Add a few more test cases.
23270 * string/tst-strlen.c: Better error reporting.
23271
23272 * sysdeps/x86_64/strnlen.S: New file.
23273
8e96b93a
UD
232742010-07-24 Ulrich Drepper <drepper@redhat.com>
23275
23276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23277 lower-latency instructions.
23278
dbc676d4
UD
232792010-07-23 Ulrich Drepper <drepper@redhat.com>
23280
23281 * string/test-strcasestr.c: New file.
23282 * string/test-strstr.c: New file.
23283 * string/Makefile (strop-tests): Add strstr and strcasestr.
23284 * string/str-two-way.h: Don't undefine MAX.
23285 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23286
f6a31e0e
AS
232872010-07-21 Andreas Schwab <schwab@redhat.com>
23288
23289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23290 strcasestr-nonascii.
23291 (CFLAGS-strcasestr-nonascii.c): Define.
23292 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23294 Remove unused attribute.
23295
5dbc3b6c
RM
232962010-07-20 Roland McGrath <roland@redhat.com>
23297
23298 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23299 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23300 ld.so.cache was broken. With it, there is no way to disable dsocaps
23301 like LD_HWCAP_MASK can disable hwcaps.
23302
23d101d8
EPM
233032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23304
23305 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23306
cc9f2e47
UD
233072010-07-16 Ulrich Drepper <drepper@redhat.com>
23308
23309 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23310 call in strcasestr.
23311 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23312 __strcasestr_sse42_nonascii.
23313 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23314 strcasestr-nonascii.c.
23315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23316
77c1b069
LM
233172010-06-15 Luis Machado <luisgpm@br.ibm.com>
23318
23319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23322 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23323
440566c3
UD
233242010-07-09 Ulrich Drepper <drepper@redhat.com>
23325
23326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23327 fcntl.
23328
5be9d05d
AS
233292010-07-06 Andreas Schwab <schwab@redhat.com>
23330
c30b7ee2 23331 [BZ #11577]
5be9d05d
AS
23332 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23333 dl_signal_cerror.
23334
8a492a67
UD
233352010-07-06 Ulrich Drepper <drepper@redhat.com>
23336
23337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23338 _PC_PIPE_BUF using F_GETPIPE_SZ.
23339
713df3d5
RM
233402010-07-05 Roland McGrath <roland@redhat.com>
23341
23342 * manual/arith.texi (Rounding Functions): Fix rint description
23343 implicit in round description.
23344
702e8f14
UD
233452010-07-02 Ulrich Drepper <drepper@redhat.com>
23346
23347 * elf/Makefile: Fix linking for a few tests to make recent linker
23348 happy.
23349
52ed8be9
AS
233502010-06-30 Andreas Schwab <schwab@redhat.com>
23351
23352 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23353 $(common-objpfx)libc_nonshared.a.
23354
f47c9a11
LM
233552010-06-21 Luis Machado <luisgpm@br.ibm.com>
23356
23357 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23358 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23359 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23360 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23361 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23363 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23364 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23379 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23380 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23381 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23382 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23383 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23384 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23385 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23386 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23387 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23388 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23389 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23390 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23405
6fb8cbcb
L
234062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23409 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23410 * string/memmove.c (memmove): Renamed to ...
23411 (MEMMOVE): ...this. Default to memmove.
23412 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23413 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23414 (END_CHK): Define.
23415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23416 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23417 mempcpy-ssse3-back memmove-ssse3-back.
23418 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23419 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23421 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23422 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23423 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23424 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23425 * sysdeps/x86_64/multiarch/memmove.c: New file.
23426 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23427 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23428 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23429 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23432 Define.
23433 (index_Fast_Copy_Backward): Define.
23434 (HAS_ARCH_FEATURE): Define.
23435 (HAS_FAST_REP_STRING): Define.
23436 (HAS_FAST_COPY_BACKWARD): Define.
23437
4e733bac 234382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23439
23440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23441 Restore proper fallback handling.
23442
63c4ed22
UD
234432010-06-19 Ulrich Drepper <drepper@redhat.com>
23444
ac2b484c
UD
23445 [BZ #11701]
23446 * posix/group_member.c (__group_member): Correct checking loop.
23447
63c4ed22
UD
23448 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23449 OOM in getpwuid_r correctly. Return error number when the caller
23450 should return, otherwise -1.
23451 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23452 call returning > 0 value.
23453 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23454
765ade4b
AS
234552010-06-07 Andreas Schwab <schwab@redhat.com>
23456
23457 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23458 libc_nonshared.a from targets in modules-names.
23459
80da2e09
KS
234602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23461
23462 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23463 requires it.
23464
158db122
LM
234652010-06-10 Luis Machado <luisgpm@br.ibm.com>
23466
23467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23469 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23471
caa78cf8
AS
234722010-06-02 Andreas Schwab <schwab@redhat.com>
23473
23474 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23475
b2ef2c01
UD
234762010-06-14 Ulrich Drepper <drepper@redhat.com>
23477
23478 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23479 and F_GETPIPE_SZ.
23480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23486
fbd643b6
RM
234872010-06-14 Roland McGrath <roland@redhat.com>
23488
23489 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23490
f32f2869
JJ
234912010-06-07 Jakub Jelinek <jakub@redhat.com>
23492
23493 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23494 __REDIRECT followed by __THROW.
23495 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23496 * posix/getopt.h (getopt): Likewise.
23497
2a50c078
EPM
234982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23499
23500 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23501 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23502 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23503 in AT_FLAGS.
23504 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23505 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23506
eb5ad2eb
LM
235072010-05-28 Luis Machado <luisgpm@br.ibm.com>
23508
23509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23510
3c88fe1e
L
235112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23512
23513 [BZ #11640]
23514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23515 Properly check family and model.
23516
d2f73151
TY
235172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23518
23519 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23520
ebd2e13d
LM
235212010-05-24 Luis Machado <luisgpm@br.ibm.com>
23522
23523 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23524
b32b8b45
UD
235252010-05-21 Ulrich Drepper <drepper@redhat.com>
23526
23527 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23528 symbol reference.
23529
9acbe24d
AS
235302010-05-19 Andreas Schwab <schwab@redhat.com>
23531
23532 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23533 symbol reference.
23534
f0ccf6ea
AS
235352010-05-21 Andreas Schwab <schwab@redhat.com>
23536
3d04ff3a
AS
23537 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23538 and internal_recvmmsg.
23539 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23540 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23541 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23542 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23543
f0ccf6ea
AS
23544 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23545 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23546 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23547
5b08ac57
AS
235482010-05-20 Andreas Schwab <schwab@redhat.com>
23549
23550 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23551
4828935d
LM
235522010-05-17 Luis Machado <luisgpm@br.ibm.com>
23553
23554 POWER7 optimizations.
23555 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23556 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23557
373d545e
UD
235582010-05-19 Ulrich Drepper <drepper@redhat.com>
23559
23560 * version.h: Update for 2.13 development version.
23561
21a2b1ae
AS
235622010-05-12 Andrew Stubbs <ams@codesourcery.com>
23563
23564 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23565 exceptions. Return 0.
23566
3f7dcb2b
RM
235672010-05-07 Roland McGrath <roland@redhat.com>
23568
23569 * elf/ldconfig.c (main): Add a const.
23570
5f24d53a 235712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23572
a160f8d8
UD
23573 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23574 (args_options): Add no-idn option.
23575 (ahosts_keys_int): Add idn_flags to ai_flags.
23576 (parse_option): Handle 'i' option to clear idn_flags.
23577
5f24d53a
UD
23578 * malloc/malloc.c (_int_free): Possible race in the most recently
23579 added check. Only act on the data if no current modification
23580 happened.
265bb1ce
UD
23581
23582See ChangeLog.17 for earlier changes.