]> sourceware.org Git - glibc.git/blame - ChangeLog
Move more constants into static variables
[glibc.git] / ChangeLog
CommitLineData
da08f647
SP
12013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4 MPTWO.
5 (__inv): Remove local variable MPTWO to use the global
6 constant.
7 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9 variable MPTWO.
10 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11 MP3HALFS static const.
12
8e051029
DM
132013-01-01 David S. Miller <davem@davemloft.net>
14
15 * po/ca.po: Update from translation team.
16
f4cf5f2d
JM
172013-01-01 Joseph Myers <joseph@codesourcery.com>
18
19 * scripts/update-copyrights: New file.
20 * Makeconfig: Reformat copyright notice.
21 * ctype/ctype.h: Likewise.
22 * debug/swprintf_chk.c: Likewise.
23 * elf/dl-cache.c: Likewise.
24 * elf/dl-debug.c: Likewise.
25 * elf/dl-object.c: Likewise.
26 * grp/initgroups.c: Likewise.
27 * hurd/Makefile: Likewise.
28 * hurd/hurd/signal.h: Likewise.
29 * hurd/hurdfault.c: Likewise.
30 * hurd/hurdioctl.c: Likewise.
31 * hurd/hurdlookup.c: Likewise.
32 * hurd/intr-msg.c: Likewise.
33 * iconv/gconv_open.c: Likewise.
34 * libio/swprintf.c: Likewise.
35 * locale/lc-ctype.c: Likewise.
36 * locale/nl_langinfo.c: Likewise.
37 * mach/Machrules: Likewise.
38 * mach/Makefile: Likewise.
39 * malloc/obstack.h: Likewise.
40 * manual/Makefile: Likewise.
41 * manual/tsort.awk: Likewise.
42 * misc/bits/stab.def: Likewise.
43 * nis/nis_print_group_entry.c: Likewise.
44 * nis/nis_table.c: Likewise.
45 * nis/nss_compat/compat-pwd.c: Likewise.
46 * nis/nss_compat/compat-spwd.c: Likewise.
47 * po/Makefile: Likewise.
48 * posix/fnmatch.c: Likewise.
49 * posix/regex.h: Likewise.
50 * resolv/Makefile: Likewise.
51 * resolv/nss_dns/dns-network.c: Likewise.
52 * resolv/res_hconf.c: Likewise.
53 * scripts/gen-sorted.awk: Likewise.
54 * soft-fp/soft-fp.h: Likewise.
55 * stdio-common/printf.h: Likewise.
56 * stdlib/monetary.h: Likewise.
57 * stdlib/random.c: Likewise.
58 * stdlib/random_r.c: Likewise.
59 * sysdeps/generic/Makefile: Likewise.
60 * sysdeps/gnu/Makefile: Likewise.
61 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
76 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
78 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
85 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
86 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
87 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
88 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
89 * sysdeps/mach/hurd/errnos.awk: Likewise.
90 * sysdeps/mach/hurd/fork.c: Likewise.
91 * sysdeps/mach/hurd/getcwd.c: Likewise.
92 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
93 * sysdeps/mach/hurd/mmap.c: Likewise.
94 * sysdeps/mach/hurd/utimes.c: Likewise.
95 * sysdeps/mach/hurd/xmknod.c: Likewise.
96 * sysdeps/posix/profil.c: Likewise.
97 * sysdeps/posix/readdir_r.c: Likewise.
98 * sysdeps/powerpc/bits/mathdef.h: Likewise.
99 * sysdeps/powerpc/bits/setjmp.h: Likewise.
100 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
101 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
103 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
104 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
105 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
107 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
108 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
109 * sysdeps/pthread/lio_listio.c: Likewise.
110 * sysdeps/sparc/dl-procinfo.h: Likewise.
111 * sysdeps/unix/i386/sysdep.S: Likewise.
112 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
113 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
114 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
115 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
117 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
118 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
119 * sysdeps/unix/sysv/linux/speed.c: Likewise.
120 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
121 * sysdeps/wordsize-32/divdi3.c: Likewise.
122 * time/sys/time.h: Likewise.
123 * wcsmbs/Makefile: Likewise.
124
0549fbba
DM
1252013-01-01 David S. Miller <davem@davemloft.net>
126
a141f1a7
DM
127 * po/fr.po: Update from translation team.
128
0549fbba
DM
129 * catgets/gencat.c: Update copyright year.
130 * csu/version.c: Likewise.
131 * debug/catchsegv.sh: Likewise.
132 * debug/pcprofiledump.c: Likewise.
133 * debug/xtrace.sh: Likewise.
134 * elf/ldconfig.c: Likewise.
135 * elf/ldd.bash.in: Likewise.
136 * elf/pldd.c: Likewise.
137 * elf/sotruss.ksh: Likewise.
138 * elf/sprof.c: Likewise.
139 * iconv/iconv_prog.c: Likewise.
140 * iconv/iconvconfig.c: Likewise.
141 * locale/programs/locale.c: Likewise.
142 * locale/programs/localedef.c: Likewise.
143 * login/programs/pt_chown.c: Likewise.
144 * malloc/memusage.sh: Likewise.
145 * malloc/memusagestat.c: Likewise.
146 * malloc/mtrace.pl: Likewise.
147 * nscd/nscd.c: Likewise.
148 * nss/getent.c: Likewise.
149 * nss/makedb.c: Likewise.
150 * posix/getconf.c: Likewise.
151
18ea052c
SP
1522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
153
154 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
155 numbers.
156
9c89fca6
MF
1572012-12-30 Mike Frysinger <vapier@gentoo.org>
158
159 * math/bits/mathcalls.h (modf): Use __nonnull.
160
085ec079
SP
1612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
162
163 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
164 (split): Use macro CN instead of the bare value.
165 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
166 could be used.
167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
168 instead of the bare value.
169 (power1): Likewise.
170
6d9f97e1
SP
1712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
172
d63f73be
SP
173 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
174 __ATAN_TWOM.
175 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
176
6d9f97e1
SP
177 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
178 their values.
179 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
181 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
182 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
183
4c4febf5
AJ
1842012-12-28 Andreas Jaeger <aj@suse.de>
185
af5843ef
AJ
186 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
187 values are from Linux 3.7.
188
4c4febf5
AJ
189 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
190 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
191
99136f82
SP
1922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
193
2f216c3c 194 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
195 TRUE case.
196
99136f82
SP
197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
198 (norm): Likewise.
199 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
200 variables with preprocessor constants.
201 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
202 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
204
7fffbdff
BH
2052012-12-27 Bruno Haible <bruno@clisp.org>
206
207 [BZ #14317]
208 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
209 only if needed.
210
b76eb5f0
SP
2112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
212
31a7fe5c
SP
213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
214 and use variable directly.
215 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
216
b76eb5f0
SP
217 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
218 MPONE.
219 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
220 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
221 variable MPONE.
222 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
224 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
225 include directive. Remove local variable MPONE.
226 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
227 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
229
2c8bfe7d
DM
2302012-12-25 David S. Miller <davem@davemloft.net>
231
232 * version.h (RELEASE): Set to "development".
233 (VERSION): Set to "2.17.90".
234 * NEWS: Add 2.18 section.
235
147d03b0
DM
2362012-12-21 David S. Miller <davem@davemloft.net>
237
238 * po/hr.po: Update from translation team.
239
a8ebb2b9
AK
2402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
241
242 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
243
95b4f1b6
SE
2442012-12-19 Steve Ellcey <sellcey@mips.com>
245
b2d94007 246 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 247
cedb2a90
MS
2482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
249
250 * manual/contrib.texi (Contributors): Spelling correction.
251
bbf527d6
DM
2522012-12-15 David S. Miller <davem@davemloft.net>
253
254 * po/ru.po: Update from translation team.
255
bc38c906
DM
2562012-12-13 David S. Miller <davem@davemloft.net>
257
85429b1a
DM
258 * NEWS: Mention IFUNC testsuite enhancements.
259
d283e353
DM
260 * po/pl.po: Update from translation team.
261 * po/bg.po: Likewise.
262
bc38c906
DM
263 * manual/contrib.texi (Contributors): Update entries for Hongjiu
264 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
265
a181b0d7
DM
2662012-12-11 David S. Miller <davem@davemloft.net>
267
4641d57e
DM
268 * po/sv.po: Update from translation team.
269
f7bc6495
DM
270 * po/vi.po: Update from translation team.
271
6fc9048f
DM
272 * po/cs.po: Update from translation team.
273
a181b0d7
DM
274 * po/de.po: Update from translation team.
275 * po/eo.po: Likewise.
276 * po/nl.po: Likewise.
277
f70bfe80
SP
2782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
279
3c8b4190
SP
280 [BZ #14246]
281 * manual/argp.texi (Argp Helper Functions): Move node to follow
282 Argp Parsing State.
283
f70bfe80
SP
284 [BZ #14872]
285 * manual/conf.texi (Limits on File System Capacity): Mention if
286 terminating null is included in the max size.
287
188f0adf
AJ
2882012-12-10 Andreas Jaeger <aj@suse.de>
289
290 * po/cs.po: Update from translation team.
291
56e7d3ad
SP
2922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
293
294 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
295 void pointer and cast to uintptr_t.
296 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
297 path.
298 * sysdeps/s390/s390-64/memcpy.S: Likewise.
299 * sysdeps/s390/s390-64/memset.S: Likewise.
300
76f2d2ea 3012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
302
303 [BZ #14833]
304 * menual/message.texi (Message Translation): Fix typos.
305 (Helper programs for gettext): Likewise.
306
67cbf9a2
AS
3072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
308
309 [BZ #14898]
310 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
311 Change to -1.
312
682d0e9a
DM
3132012-12-07 David S. Miller <davem@davemloft.net>
314
315 * po/libc.pot: Update.
316
573cd484
RH
3172012-12-07 Richard Henderson <rth@redhat.com>
318
7e9da188 319 [BZ #10114]
573cd484
RH
320 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
321 normal/normal case to before the switch.
322 (_FP_DIV): Likewise.
323
e933a943
MF
3242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
325 Mike Frysinger <vapier@gentoo.org>
326
327 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
328 check for __NR_fadvise64_64.
329
82123268
CM
3302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
331
332 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
333 0, not just to plain "0" as a statement.
334 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
335 with cw.
336
d9814526
JM
3372012-12-06 Joseph Myers <joseph@codesourcery.com>
338
339 * NEWS: Use sourceware.org in Bugzilla URL.
340
7728c574
SP
3412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
342
f16946dd
SP
343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
344 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
345
5704bbcb
SP
346 * stdio-common/tst-put-error.c (do_test): Add newline to the
347 padded test to ensure flush.
348
17aa0516
JL
3492012-12-05 Jeff Law <law@redhat.com>
350
351 * sunrpc/etc.rpc (fedfs_admin): Add entry.
352
363313b5
JM
3532012-12-05 Joseph Myers <joseph@codesourcery.com>
354
effbd42a
JM
355 * README: Don't refer to ports add-on as distributed separately.
356 Mention AArch64 in list of systems supported in the ports add-on.
357
87600365
JM
358 * LICENSES: Add more non-FSF copyright and license notices.
359
a0d7066a
JM
360 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
361 ((unused)).
362
66ca5a5b
JM
363 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
364
363313b5
JM
365 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
366 10000 as width of padded output.
367
b37984ad
JM
3682012-12-04 Joseph Myers <joseph@codesourcery.com>
369
9003570a
JM
370 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
371
b37984ad
JM
372 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
373 variable LX with __attribute__ ((unused)).
374 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
375 Likewise.
376 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
378 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
379 with __attribute__ ((unused)).
380
c8df52ec
DM
3812012-12-04 David S. Miller <davem@abraco.davemloft.net>
382
383 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
384
b3b099af
JM
3852012-12-04 Joseph Myers <joseph@codesourcery.com>
386
c33aa6e3
JM
387 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
388 (CFLAGS-nldbl-acos.c): New variable.
389 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
390 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
391 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
392 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
393 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
394 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
395 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
396 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
397 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
398 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
399 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
400 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
401 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
402 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
403 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
404 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
405 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
406 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
407 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
408 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
409 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
410 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
411 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
412 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
413 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
414 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
415 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
416 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
417 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
418 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
419 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
420 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
421 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
422 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
423 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
424 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
425 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
426 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
427 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
428 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
429 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
430 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
431 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
432 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
433 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
434 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
435 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
436 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
437 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
438 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
439 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
440 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
441 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
442 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
443 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
444 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
445 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
446 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
447 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
448 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
449 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
450 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
451 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
452 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
453 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
454 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
455 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
456 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
457 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
458 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
459 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
460 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
461 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
462 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
463 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
464 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
465 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
466 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
467 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
468 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
469 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
470 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
471 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
472 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
473 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
474 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
475 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
476 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
477 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
478 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
479 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
480 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
481 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
482 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
483 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
484 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
485 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
486
20f0018d
JM
487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
488 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
489
b3b099af
JM
490 [BZ #14914]
491 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
492 whole low double instead of just low 47 bits when splitting values
493 into two parts.
494
029264d1
AM
4952012-12-03 Allan McRae <allan@archlinux.org>
496
497 * manual/stdio.texi (Predefined Printf Handlers): Remove
498 @hsep and @vsep usage.
499
c9d6789e
MF
5002012-12-03 Mike Frysinger <vapier@gentoo.org>
501
502 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
503 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
504
4b7634a5
JL
5052012-12-03 Jeff Law <law@redhat.com>
506
507 * time/sys/time.h (settimeofday): Do not mark TV argument
508 as __nonnull.
509
eb6cbd24
MF
5102012-12-01 Mike Frysinger <vapier@gentoo.org>
511
512 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
513 when currently writing and seek to current position when not.
514 * libio/Makefile (tests): Remove bug-fclose1.
515 * libio/bug-fclose1.c: Delete.
516
f638872a
JM
5172012-12-01 Joseph Myers <joseph@codesourcery.com>
518
519 * manual/arith.texi (feenableexcept): Fix typo.
520 (fedisableexcept): Likewise.
521
48085d14
RM
5222012-11-30 Roland McGrath <roland@hack.frob.com>
523
524 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
525 second, differently-typed declaration, rather than a cast.
526
1a538b9f
SP
5272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
528
529 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
530 * include/rpc/svc.h: ... here.
531
d07f2ff1 5322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
533
534 [BZ #13013]
535 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
536 depending n and resplen2 to catch cases where answer
537 equals answerp2.
538
c93ec1f0
CD
5392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
540
541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
542 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
543
37db69de
MF
5442012-11-29 Mike Frysinger <vapier@gentoo.org>
545
546 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
547
e10c4e4f
RM
5482012-11-29 Roland McGrath <roland@hack.frob.com>
549
550 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
551
2af1b328
JL
5522012-11-28 Jeff Law <law@redhat.com>
553
554 [BZ #13761]
555 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
556 dataset_temporary. Track alloca usage into alloca_used.
557 If dataset is large allocate and release it via malloc/free.
558
111db5b1
FW
5592012-06-04 Florian Weimer <fweimer@redhat.com>
560
f06cc227 561 [BZ #14197]
111db5b1
FW
562 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
563
dd694abd
DM
5642012-11-28 David S. Miller <davem@davemloft.net>
565
566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
567
9984dd01
JM
5682012-11-28 Joseph Myers <joseph@codesourcery.com>
569
570 [BZ #14803]
571 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
572 of pi/2 rounded to nearest to 64 bits.
573 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
574 nearest to 64 bits.
575 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
576 bits.
577
14bc93a9
JL
5782012-11-28 Jeff Law <law@redhat.com>
579 Martin Osvald <mosvald@redhat.com>
580
581 [BZ #14889]
582 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
583 * sunrpc/svc.c: Include time.h.
584 (__svc_accept_failed): New function.
585 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
586 any reason other than EINTR, call __svc_accept_failed.
587 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
588 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
589
e3c6aa3a
AS
5902012-11-28 Andreas Schwab <schwab@suse.de>
591
592 * scripts/abilist.awk: Also handle indirect functions in .opd
593 section.
594
1bead169
JM
5952012-11-28 Joseph Myers <joseph@codesourcery.com>
596
597 [BZ #13881]
598 * sysdeps/x86/fpu/powl_helper.c: New file.
599 * sysdeps/x86/fpu/Makefile: Likewise.
600 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
601 (p3): New object.
602 (__ieee754_powl): Use __powl_helper for finite arguments except
603 integer exponents below 8.
604 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
605 (p3): New object.
606 (__ieee754_powl): Use __powl_helper for finite arguments except
607 integer exponents below 8.
608 * math/libm-test.inc (pow_test): Add more tests and enable some
609 previously disabled tests.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
612
0817d63d
SP
6132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
614 Carlos O'Donell <carlos_odonell@mentor.com>
615
616 * nss/makedb.c (is_prime): Assert that input is odd and greater
617 than 4. Note that fact in a comment too.
618 (next_prime): Add 4 to input.
619
de2fd463
SP
6202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
621
622 [BZ #11741]
623 * libio/Makefile (tests): Add test case tst-fwrite-error.
624 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
625 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
626 * libio/tst-fwrite-error.c: New test case.
627
c515fb51
L
6282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
629
630 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
631 before casting to void *.
632 * include/libc-internal.h (__pointer_type): New macro.
633 (__integer_if_pointer_type_sub): Likewise.
634 (__integer_if_pointer_type): Likewise.
635 (cast_to_integer): Likewise.
636 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
637 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
638 before casting to atomic64_t.
639 (atomic_exchange_acq): Likewise.
640 (__arch_exchange_and_add_body): Likewise.
641 (__arch_add_body): Likewise.
642 (atomic_add_negative): Likewise.
643 (atomic_add_zero): Likewise.
644
4cf77aa9
JM
6452012-11-26 Joseph Myers <joseph@codesourcery.com>
646
647 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
648 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
649 (add_fdes): Likewise.
650 (linear_search_fdes): Likewise.
651 (binary_search_unencoded_fdes): Likewise.
652
d260b3b4
AS
6532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
654
655 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
656
67060746
AC
6572012-11-24 Adam Conrad <adconrad@0c3.net>
658
659 * configure.in: Autodetect C++ header directories.
660 * configure: Regenerated.
661
800938a1
MF
6622012-11-23 Mike Frysinger <vapier@gentoo.org>
663
664 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
665
4e6e34e6
AS
6662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
667
668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
669
7c7feb47
JM
6702012-11-22 Joseph Myers <joseph@codesourcery.com>
671
7184dcdf
JM
672 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
673 LDBL_MANT_DIG == 106]: Disable some tests.
674 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
675 Likewise.
676 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
677 Likewise.
678
0a42601f
JM
679 [BZ #14871]
680 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
681 input for small inputs. Return +/- pi/2 for large inputs.
682 * math/libm-test.inc (atan_test): Add more tests.
683
79c9b9fe
JM
684 * sysdeps/generic/unwind-dw2-fde-glibc.c
685 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
686 __attribute__ ((unused)).
687
c60d3bf2
JM
688 [BZ #14645]
689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
690 x * y if x and y are nonzero and z is zero.
691
ef1e0867
JM
692 [BZ #14811]
693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
694 nonzero exponents with absolute value below 0x1p-117 to +/-
695 0x1p-117.
696
1468ded3
JM
697 [BZ #14869]
698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
699 up arguments below 2**-450, not just those below 2**-500.
700 * math/libm-test.inc (hypot_test): Add another test.
701
8e27e3cc
JM
702 [BZ #14868]
703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
704 Return a+b for ratio over 2**120, not 2**60.
705 * math/libm-test.inc (hypot_test): Add another test.
706
c9c0279b
JM
707 * math/libm-test.inc (clog_test): Use
708 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
709 (clog10_test): Likewise.
710
7c7feb47
JM
711 [BZ #6778]
712 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
713
fff1530e
AS
7142012-11-22 Andreas Schwab <schwab@suse.de>
715
716 * sysdeps/i386/fpu/libm-test-ulps: Update.
717
94558d30
PT
7182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
719
720 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
721 printf output with newline.
722
7e1be741
L
7232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
724
6bfea974
L
725 [BZ #14865]
726 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
727 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
728 -z nodlopen, -z initfirst and -z execstack support.
729 * configure: Regenerated.
730
7e1be741
L
731 * elf/elf.h (DF_1_NODIRECT): New macro.
732 (DF_1_IGNMULDEF): Likewise.
733 (DF_1_NOKSYMS): Likewise.
734 (DF_1_NOHDR): Likewise.
735 (DF_1_EDITED): Likewise.
736 (DF_1_NORELOC): Likewise.
737 (DF_1_SYMINTPOSE): Likewise.
738 (DF_1_GLOBAUDIT): Likewise.
739 (DF_1_SINGLETON): Likewise.
740 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
741 DT_1_SUPPORTED_MASK bits.
742 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
743
105ce2ce
CD
7442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
745
746 * sysdeps/unix/make-syscalls.sh: Document prefixes.
747
123be9de
TS
7482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
749
d072f3f7
TS
750 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
751 macro.
752
123be9de
TS
753 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
754 (sendmmsg): Move declarations...
755 * socket/sys/socket.h: ... here.
756 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
757 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
758 include it from...
759 * socket/recvmmsg.c: ... this new file.
760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
761 (sendmmsg): Rename to __sendmmsg, create weak alias and make
762 definition of __sendmmsg hidden.
763 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
764 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
765 Move ENOSYS stub into and include it from...
766 * socket/sendmmsg.c: ... this new file.
767 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
768 (sysdep_routines): Move recvmmsg and sendmmsg...
769 * socket/Makefile (routines): ... here.
770 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
771 (GLIBC_PRIVATE): Add __sendmmsg.
772 * include/sys/socket.h (__sendmmsg): Add declarations.
773 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
774 sendmmsg.
775
cf9a5d18
JM
7762012-11-20 Joseph Myers <joseph@codesourcery.com>
777
778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
779 variable I1 with __attribute__ ((unused)).
780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
781
ecd4caf9
JM
7822012-11-19 Joseph Myers <joseph@codesourcery.com>
783
be14d48f
JM
784 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
785 DUMMY variables with __attribute__ ((unused)).
786
ecd4caf9
JM
787 * bits/byteswap.h: Include <bits/types.h>.
788 (__bswap_64): Use __uint64_t instead of unsigned long long int.
789
986cab95
PT
7902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
791
792 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
793 string_t. Do not manually set errno.
794 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
795 length with __strnlen. Make sure to both set errno and return it on
796 failure.
797
6d33cc9d
DM
7982012-11-19 David S. Miller <davem@davemloft.net>
799
800 With help from Joseph Myers.
801 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
802 very large arguments properly.
803 * math/libm-test.inc (atan_test): New tests.
804 (atan2_test): New tests.
805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
807
ee663277
JM
8082012-11-19 Joseph Myers <joseph@codesourcery.com>
809
877f2d8e
JM
810 [BZ #14856]
811 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
812 Define to 3.
813
116fc08a
JM
814 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
815 [POSIX] (EADDRNOTAVAIL): Likewise.
816 [POSIX] (EAFNOSUPPORT): Likewise.
817 [POSIX] (EALREADY): Likewise.
818 [POSIX] (ECONNABORTED): Likewise.
819 [POSIX] (ECONNREFUSED): Likewise.
820 [POSIX] (ECONNRESET): Likewise.
821 [POSIX] (EDESTADDRREQ): Likewise.
822 [POSIX] (EDQUOT): Likewise.
823 [POSIX] (EHOSTUNREACH): Likewise.
824 [POSIX] (EIDRM): Likewise.
825 [POSIX] (EISCONN): Likewise.
826 [POSIX] (ELOOP): Likewise.
827 [POSIX] (EMULTIHOP): Likewise.
828 [POSIX] (ENETDOWN): Likewise.
829 [POSIX] (ENETUNREACH): Likewise.
830 [POSIX] (ENOBUFS): Likewise.
831 [POSIX] (ENODATA): Likewise.
832 [POSIX] (ENOLINK): Likewise.
833 [POSIX] (ENOMSG): Likewise.
834 [POSIX] (ENOPROTOOPT): Likewise.
835 [POSIX] (ENOSR): Likewise.
836 [POSIX] (ENOSTR): Likewise.
837 [POSIX] (ENOTCONN): Likewise.
838 [POSIX] (ENOTSOCK): Likewise.
839 [POSIX] (EOPNOTSUPP): Likewise.
840 [POSIX] (EOVERFLOW): Likewise.
841 [POSIX] (EPROTO): Likewise.
842 [POSIX] (EPROTONOSUPPORT): Likewise.
843 [POSIX] (EPROTOTYPE): Likewise.
844 [POSIX] (ESTALE): Likewise.
845 [POSIX] (ETIME): Likewise.
846 [POSIX] (ETXTBSY): Likewise.
847 [POSIX] (EWOULDBLOCK): Likewise.
848 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
849 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
850 [POSIX] (SEEK_CUR): Likewise.
851 [POSIX] (SEEK_END): Likewise.
852 [POSIX || UNIX98] (mode_t): Do not require.
853 [POSIX] (off_t): Likewise.
854 [POSIX] (pid_t): Likewise.
855 [POSIX] (sys/stat.h): Do not allow header.
856 [POSIX] (unistd.h): Likewise.
857 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
858 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
859 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
860 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
861 require.
862 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
863 sigevent): Specify elements.
864 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
865 entry.
866 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
867 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
868
a483863f
JM
869 * conform/data/cpio.h-data [POSIX]: Disable whole file.
870 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
871 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
872 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
873 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
874 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
875 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
876 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
877 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
878 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
879 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
881 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
882 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
883 Likewise.
884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
885 Likewise.
886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
887 Likewise.
888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
889 Likewise.
890 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
891 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
892 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
894 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
895 Specify lower bound on value.
896 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
897 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
898 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
899 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
900 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
902 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
903 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
904 value.
905 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
906 as optional.
907 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
908 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
909 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
910 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
911 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
912 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
913 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
914 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
915 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
916 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
917 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
918 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
919 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
920 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
921 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
922 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
923 entry.
924 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
925 optional.
926 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
927 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
928 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
929 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
930 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
931 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
932 Likewise.
933 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
935 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
936 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
937 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
938 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
939 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
940 as optional.
941 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
944 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
945 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
946 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
947 specify as optional.
948 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
949 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
950 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
951 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
952 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
953 [XPG3] (NL_LANGMAX): Likewise.
954 [POSIX || XPG3] (NL_MSGMAX): Likewise.
955 [POSIX || XPG3] (NL_NMAX): Likewise.
956 [POSIX || XPG3] (NL_SETMAX): Likewise.
957 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
958 [XPG3] (NZERO): Likewise.
959 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
960 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
961 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
962 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
963 (REG_ERANGE): Expect.
964 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
965 optional-constant.
966 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
967 Use (void) in prototype.
968 [POSIX] (*_t): Allow.
969 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
970 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
971 (WRDE_BADVAL): Expect.
972
5ba924e3
JM
973 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
974 expect.
975 [XPG3 || XPG4] (O_RSYNC): Likewise.
976 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
977 Likewise.
978 [XPG3 || XPG4] (pthread_sigmask): Likewise.
979 [XPG3 || XPG4] (sigqueue): Likewise.
980 [XPG3 || XPG4] (sigtimedwait): Likewise.
981 [XPG3 || XPG4] (sigwaitinfo): Likewise.
982 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
983 [XPG3 || XPG4] (vsnprintf): Likewise.
984 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
985 Likewise.
986 [XPG3 || XPG4] (blksize_t): Likewise.
987 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
988 Likewise.
989 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
990 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
991 [XPG3 || XPG4] (struct itimerspec): Likewise.
992 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
993 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
994 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
995 [XPG3 || XPG4] (clockid_t): Likewise.
996 [XPG3 || XPG4] (timer_t): Likewise.
997 [XPG3 || XPG4] (clock_getres): Likewise.
998 [XPG3 || XPG4] (clock_gettime): Likewise.
999 [XPG3 || XPG4] (clock_settime): Likewise.
1000 [XPG3 || XPG4] (nanosleep): Likewise.
1001 [XPG3 || XPG4] (timer_create): Likewise.
1002 [XPG3 || XPG4] (timer_delete): Likewise.
1003 [XPG3 || XPG4] (timer_gettime): Likewise.
1004 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1005 [XPG3 || XPG4] (timer_settime): Likewise.
1006 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1007 [XPG3 || XPG4] (getlogin_r): Likewise.
1008 [XPG3 || XPG4] (pread): Likewise.
1009 [XPG3 || XPG4] (pthread_atfork): Likewise.
1010 [XPG3 || XPG4] (pwrite): Likewise.
1011
ee663277
JM
1012 [BZ #14835]
1013 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1014 <bits/siginfo.h>.
1015
942caa16
PT
10162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1017
e19af380
PT
1018 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1019 finalizing MALLSTREAM.
1020
942caa16
PT
1021 * sysdeps/mach/hurd/syncfs.c: New file.
1022
cfde9b46
SP
10232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1024
1025 [BZ #14719]
1026 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1027 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1028 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1029 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1030 (_nss_dns_gethostbyname4_r): Likewise.
1031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1032 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1033
f6da27e5
PH
10342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1035
1036 [BZ #13763]
1037 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1038
6665d4a2
SM
10392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1040
1f51ee92
SM
1041 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1042 * elf/cache.c (print_entry): Print ",AArch64" for
1043 FLAG_AARCH64_LIB64
1044
6665d4a2
SM
1045 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1046 * elf/cache.c (print_entry): Print ",hard-float" for
1047 FLAG_ARM_LIBHF.
1048
05b227bd
DM
10492012-11-18 David S. Miller <davem@davemloft.net>
1050
1051 With help from Joseph Myers.
1052 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1053 cutoff to 2**-13.
1054 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1055 cutoff to 2**-25.
1056 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1057 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1058 small.
1059 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1060 * math/libm-test.inc (y0_test): New tests.
1061 (y1_test): New tests.
1062 * sysdeps/i386/fpu/libm-test-ulps: Update.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1065
786b0b67
AS
10662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1067
1068 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1069 64-bit targets.
1070 * configure: Regenerated.
1071
8e18b86d
DM
10722012-11-17 David S. Miller <davem@davemloft.net>
1073
1074 [BZ #14811]
1075 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1076 nonzero exponents with absolute value below 0x1p-128 to +/-
1077 0x1p-128.
1078
531f1ae0
JM
10792012-11-17 Joseph Myers <joseph@codesourcery.com>
1080
12df29e2
JM
1081 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1082
150dc1a0
JM
1083 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1084
531f1ae0
JM
1085 * posix/getconf-speclist.c: New file.
1086 * posix/posix-envs.def: Likewise.
1087 * posix/confstr.c (START_ENV_GROUP): New macro.
1088 (END_ENV_GROUP): Likewise.
1089 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1090 (KNOWN_PRESENT_ENV_STRING): Likewise.
1091 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1092 (UNKNOWN_ENVIRONMENT): Likewise.
1093 (confstr): Include posix-envs.def instead of handling
1094 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1095 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1096 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1097 (END_ENV_GROUP): Likewise.
1098 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1099 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1100 (UNKNOWN_ENVIRONMENT): Likewise.
1101 (__sysconf): Include posix-envs.def instead of handling associated
1102 cases directly here.
1103 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1104 preprocessing getconf-speclist.c rather than running getconf or
1105 generating empty file.
1106
a93f9cbc
PT
11072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1108
1109 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1110
d64d9f87
AL
11112012-11-16 Andrej Lajovic <natrij@gmail.com>
1112
1113 [BZ #14672]
1114 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1115
447885eb
DM
11162012-11-16 David S. Miller <davem@davemloft.net>
1117
1118 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1119 smaller than LDBL_EPSILON/2.0L, just return xm1.
1120
bcbf9830
L
11212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1122
1123 * elf/tst-array1.c (init): Set constructor priority to 1000.
1124 (fini): Set destructor priority to 1000.
1125 * elf/tst-array2dep.c: Likewise.
1126
2b766585
SP
11272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 [BZ #11741]
1130 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1131 (_IO_new_file_xsputn): Also return EOF if none of the input
1132 data was written when overflow failed.
1133 * libio/iopadn.c (_IO_padn): Likewise.
1134 * libio/iowpadn.c (_IO_wpadn): Likewise.
1135 * stdio-common/tst-put-error.c: Add copyright notice.
1136 (do_test): Add case for printing padded string.
1137 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1138 _IO_padn returned error.
1139 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1140 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1141 return EOF.
1142
b1848fde
SP
11432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1144
1145 * libio/libioP.h: Add comment note that the references to C++
1146 bits are now obsolete.
1147
2fd89785
MS
11482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1149
1150 * math/libm-test.inc (check_complex): Use asprintf.
1151
e3ea5409
JM
11522012-11-14 Joseph Myers <joseph@codesourcery.com>
1153
1154 * debug/pcprofiledump.c (print_version): Update copyright year.
1155 * malloc/memusagestat.c (print_version): Likewise.
1156
2e64d265
L
11572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 [BZ #14831]
1160 * elf/Makefile (tests): Add tst-audit8.
1161 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1162 ($(objpfx)tst-audit8.out): New target.
1163 (tst-audit8-ENV): New variable.
1164 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1165 audit if l_reloc_result is NULL.
1166 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1167 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1168 * elf/tst-audit8.c: New file.
1169
c485e4d2
MS
11702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1171
1172 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1173 * misc/Makefile (CFLAGS-select.c): Define.
1174 * posix/Makefile (CFLAGS-pause.c): Define.
1175
3a0d900a
DM
11762012-11-13 David S. Miller <davem@davemloft.net>
1177
1178 * crypt/Makefile: Move test targets after toplevel Rules
1179 inclusion. Grab any necessary sysdep routines when linking.
1180 * crypt/md5.c (md5_process_block): Remove define, we will always
1181 name it __md5_process_block.
1182 (md5_finish_ctx): Update md5_process_block call.
1183 (md5_stream): Likewise.
1184 (md5_process_bytes): Likewise.
1185 (md5_process_block): Rename to __md5_process_block and move to ...
1186 * crypt/md5-block.c: ... here.
1187 * crypt/sha256.c (sha256_process_block): Move to ...
1188 * crypt/sha256-block.c: ... here.
1189 * crypt/sha512.c (sha512_process_block): Move to ...
1190 * crypt/sha512-block.c: ... here.
1191 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1192 path.
1193 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1194 * sysdeps/sparc/sparc64/multiarch/Makefile
1195 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1196 crypt subdir.
1197 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1198 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1199 multiarch changes.
1200 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1201 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1202 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1203 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1204 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1205 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1206 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1207 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1208 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1209 file.
1210 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1212 file.
1213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1214
8ca89318
JM
12152012-11-13 Joseph Myers <joseph@codesourcery.com>
1216
e27d476a
JM
1217 * timezone/tzselect.ksh: Update from tzcode git revision
1218 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1219 * timezone/zdump.c: Likewise.
1220 * timezone/zic.c: Likewise.
1221 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1222 in TZVERSION setting, not $(PKGVERSION).
1223 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1224 REPORT_BUGS_TO settings.
1225
8ca89318
JM
1226 [BZ #14838]
1227 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1228 macro.
1229
47594329
MS
12302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1231
1232 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1233 detection to immediately after _FP_ROUND().
1234 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1235 bits are 0.
1236
640ac3f1
DM
12372012-11-11 David S. Miller <davem@davemloft.net>
1238
1239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1240 inttypes.h
1241 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1242 __close rather than their public counterparts.
1243
3d2577bb
JM
12442012-11-10 Joseph Myers <joseph@codesourcery.com>
1245
1246 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1247 file.
1248 [UNIX98] (sem_timedwait): Do not expect.
1249 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1250 [XPG4 || UNIX98] (sockatmark): Do not expect.
1251 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1252 (clock_getcpuclockid): Do not expect.
1253 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1254 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1255 Do not expect.
1256 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1257 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1258 [UNIX98] (vwscanf): Likewise.
1259 [UNIX98] (vswscanf): Likewise.
1260
fb1ae1ee
JM
12612012-11-09 Joseph Myers <joseph@codesourcery.com>
1262
9ec6f8bd
JM
1263 * timezone/version.h: Remove file.
1264 * timezone/README: Do not refer to version.h.
1265 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1266 $(objpfx)version.h.
1267 ($(objpfx)zdump.o): Likewise.
c3f81911 1268 ($(objpfx)version.h): New target.
9ec6f8bd 1269
0aa8f8a1
JM
1270 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1271 2012i.
1272 * timezone/README: Don't mention modification to tzselect.ksh.
1273 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1274 work on unmodified tzselect.ksh. Substitute version numbers in
1275 tzselect.ksh.
1276
4e87147f
JM
1277 * Makefile (format-me): Remove.
1278 (INSTALL): Adjust indentation. Use commands directly instead of
1279 using $(format-me).
1280
8b748aed
JM
1281 * aclocal.m4 (ACX_PKGVERSION): New macro.
1282 (ACX_BUGURL): Likewise.
1283 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1284 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1285 (REPORT_BUGS_TO): Likewise.
1286 * configure: Regenerated.
1287 * config.h.in (PKGVERSION): New macro.
1288 (REPORT_BUGS_TO): Likewise.
1289 * config.make.in (PKGVERSION): New variable.
1290 (PKGVERSION_TEXI): Likewise.
1291 (REPORT_BUGS_TO): Likewise.
1292 (REPORT_BUGS_TEXI): Likewise.
1293 * Makefile (format-me): Use -I$(common-objpfx)manual.
1294 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1295 ($(common-objpfx)manual/%): New target.
1296 (manual/%): Remove target.
1297 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1298 (print_version): Use PKGVERSION.
1299 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1300 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1301 and REPORT_BUGS_TO.
1302 ($(objpfx)xtrace): Likewise.
1303 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1304 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1305 (print_version): Use PKGVERSION.
1306 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1307 (do_version): Use PKGVERSION.
1308 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1309 REPORT_BUGS_TO.
1310 (common-ldd-rewrite): Likewise.
1311 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1312 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1313 (print_version): Use PKGVERSION.
1314 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1315 * elf/pldd.c (argp_program_bug_address): Remove variable.
1316 (more_help): New function.
1317 (argp): Use more_help.
1318 (print_version): Use PKGVERSION.
1319 * elf/sln.c (main): Use PKGVERSION.
1320 (usage): Use REPORT_BUGS_TO.
1321 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1322 (top level): Use PKGVERSION.
1323 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1324 (print_version): Use PKGVERSION.
1325 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1326 (print_version): Use PKGVERSION.
1327 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1328 (print_version): Use PKGVERSION.
1329 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1330 (print_version): Use PKGVERSION.
1331 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1332 (print_version): Use PKGVERSION.
1333 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1334 (print_version): Use PKGVERSION.
1335 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1336 and BUGURL.
1337 ($(objpfx)memusage): Likewise.
1338 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1339 (do_version): Use PKGVERSION.
1340 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1341 (print_version): Use PKGVERSION.
1342 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1343 ($PKGVERSION): New variable.
1344 ($REPORT_BUGS_TO): Likewise.
1345 (usage): Use $REPORT_BUGS_TO.
1346 (top level): Use $PKGVERSION.
1347 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1348 ($(objpfx)pkgvers.texi): New rule.
1349 ($(objpfx)stamp-pkgvers): Likewise.
1350 * manual/install.texi: Include pkgvers.texi.
1351 (--with-pkgversion): Document new configure option.
1352 (--with-bugurl): Likewise.
1353 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1354 than necessarily for this particular distribution. Use
1355 REPORT_BUGS_TO for where to report bugs.
1356 * INSTALL: Regenerated.
1357 * manual/libc.texinfo: Include pkgvers.texi.
1358 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1359 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1360 (print_version): Use PKGVERSION.
1361 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1362 (print_version): Use PKGVERSION.
1363 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1364 (print_version): Use PKGVERSION.
1365 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1366 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1367 macro.
1368 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1369 (print_version): Use PKGVERSION.
1370 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1371 (print_version): Use PKGVERSION.
1372 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1373 and PKGVERSION.
1374
92e4b6a9
JM
1375 * timezone/checktab.awk: Update from tzcode 2012i.
1376 * timezone/ialloc.c: Likewise.
1377 * timezone/private.h: Likewise.
1378 * timezone/scheck.c: Likewise.
1379 * timezone/tzfile.h: Likewise.
1380 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1381 (TZVERSION): Hardcode tzcode version number.
1382 * timezone/zdump.c: Update from tzcode 2012i.
1383 * timezone/zic.c: Likewise.
1384 * timezone/version.h: New file.
1385 * timezone/README: Describe version.h. Update upstream location.
1386
9bde902c
JM
1387 [BZ #14824]
1388 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1389 (mktemp): Enable declaration.
1390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1394 Likewise.
1395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1396 Likewise.
1397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1398 Likewise.
1399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1400 Likewise.
1401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1402 Likewise.
1403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1404 Likewise.
1405
fb1ae1ee
JM
1406 [BZ #14821]
1407 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1408 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1409 for copies of such integer values.
1410 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1411 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1412
2c1adbcb
AJ
14132012-11-09 Andreas Jaeger <aj@suse.de>
1414
1415 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1416 definitions and declarations that are provided by
1417 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1418
d0f8457e
AK
14192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1420
1421 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1422 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1423 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1424 definition.
1425
57241e26
MS
14262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1427
1428 * elf/elf.h: Update comment before AArch64 relocations.
1429
60e8270d
DM
14302012-11-07 David S. Miller <davem@davemloft.net>
1431
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1433 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1434 (__start_context): Declare.
1435 (__makecontext_ret): Delete.
1436 (__makecontext): Hook up __start_context instead of
1437 __makecontext_ret.
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1439 (sysdep_routines): Add __start_context when in stdlib.
1440
0fbb0fbc
JM
14412012-11-07 Joseph Myers <joseph@codesourcery.com>
1442
1443 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1444 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1445 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1446 hardcoded "nm".
1447 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1448 (READELF): New variable. Use it instead of hardcoded "readelf".
1449
eb48db7e
L
14502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1451
1452 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1453 * sysdeps/x86/Makefile: Here.
1454 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1455 * sysdeps/x86/tst-xmmymm.sh: This.
1456
05bcf62a
JM
14572012-11-07 Joseph Myers <joseph@codesourcery.com>
1458
c4b6cf53
JM
1459 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1460 expectations.
1461 [UNIX98] (pthread_barrier_t): Do not expect.
1462 [UNIX98] (pthread_barrierattr_t): Likewise.
1463 [UNIX98] (pthread_spinlock_t): Likewise.
1464 [UNIX98] (pthread_barrier_destroy): Likewise.
1465 [UNIX98] (pthread_barrier_init): Likewise.
1466 [UNIX98] (pthread_barrier_wait): Likewise.
1467 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1468 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1469 [UNIX98] (pthread_barrierattr_init): Likewise.
1470 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1471 [UNIX98] (pthread_getcpuclockid): Likewise.
1472 [UNIX98] (pthread_mutex_timedlock): Likewise.
1473 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1474 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1475 [UNIX98] (pthread_sigmask): Likewise.
1476 [UNIX98] (pthread_spin_destroy): Likewise.
1477 [UNIX98] (pthread_spin_init): Likewise.
1478 [UNIX98] (pthread_spin_lock): Likewise.
1479 [UNIX98] (pthread_spin_trylock): Likewise.
1480 [UNIX98] (pthread_spin_unlock): Likewise.
1481 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1482 Do not expect.
1483 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1484 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1485 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1486 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1487 [XPG3 || XPG4] (pthread_key_t): Likewise.
1488 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1489 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1490 [XPG3 || XPG4] (pthread_once_t): Likewise.
1491 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1492 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1493 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1494 [XPG3 || XPG4] (pthread_t): Likewise.
1495
cbe6e120
JM
1496 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1497 not expect.
1498 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1499
1b126443
JM
1500 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1501 Change function return type to int.
1502
b961a573
JM
1503 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1504 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1505 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1506 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1507 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1508 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1509 [!POSIX] (posix_madvise): Likewise.
1510 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1511 && !UNIX98].
1512 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1513 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1514 (mode_t): Likewise.
1515 (posix_mem_offset): Likewise.
1516 (posix_typed_mem_get_info): Likewise.
1517 (posix_typed_mem_open): Likewise.
1518
9e188909
JM
1519 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1520 Change condition to [XOPEN2K8].
1521
05bcf62a
JM
1522 * conform/conformtest.pl: Preprocess allow-header data with -x c
1523 instead of from stdin.
1524 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1525 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1526 [C99-based standards] (cerfc): Likewise.
1527 [C99-based standards] (cexp2): Likewise.
1528 [C99-based standards] (cexpm1): Likewise.
1529 [C99-based standards] (clog10): Likewise.
1530 [C99-based standards] (clog1p): Likewise.
1531 [C99-based standards] (clog2): Likewise.
1532 [C99-based standards] (clgamma): Likewise.
1533 [C99-based standards] (ctgamma): Likewise.
1534 [C99-based standards] (cerff): Likewise.
1535 [C99-based standards] (cerfcf): Likewise.
1536 [C99-based standards] (cexp2f): Likewise.
1537 [C99-based standards] (cexpm1f): Likewise.
1538 [C99-based standards] (clog10f): Likewise.
1539 [C99-based standards] (clog1pf): Likewise.
1540 [C99-based standards] (clog2f): Likewise.
1541 [C99-based standards] (clgammaf): Likewise.
1542 [C99-based standards] (ctgammaf): Likewise.
1543 [C99-based standards] (cerfl): Likewise.
1544 [C99-based standards] (cerfcl): Likewise.
1545 [C99-based standards] (cexp2l): Likewise.
1546 [C99-based standards] (cexpm1l): Likewise.
1547 [C99-based standards] (clog10l): Likewise.
1548 [C99-based standards] (clog1pl): Likewise.
1549 [C99-based standards] (clog2l): Likewise.
1550 [C99-based standards] (clgammal): Likewise.
1551 [C99-based standards] (ctgammal): Likewise.
1552 * conform/data/inttypes.h-data [C99-based standards]: Include
1553 stdint.h-data. Remove all expectations for stdint.h contents.
1554 [C99-based standards] (PRI*): Do not allow.
1555 [C99-based standards] (SCN*): Likewise.
1556 [C99-based standards] (*_t): Likewise.
1557 [C99-based-standards] (PRId8): Expect macro.
1558 [C99-based-standards] (PRIi8): Likewise.
1559 [C99-based-standards] (PRIo8): Likewise.
1560 [C99-based-standards] (PRIu8): Likewise.
1561 [C99-based-standards] (PRIx8): Likewise.
1562 [C99-based-standards] (PRIX8): Likewise.
1563 [C99-based-standards] (SCNd8): Likewise.
1564 [C99-based-standards] (SCNi8): Likewise.
1565 [C99-based-standards] (SCNo8): Likewise.
1566 [C99-based-standards] (SCNu8): Likewise.
1567 [C99-based-standards] (SCNx8): Likewise.
1568 [C99-based-standards] (PRIdLEAST8): Likewise.
1569 [C99-based-standards] (PRIiLEAST8): Likewise.
1570 [C99-based-standards] (PRIoLEAST8): Likewise.
1571 [C99-based-standards] (PRIuLEAST8): Likewise.
1572 [C99-based-standards] (PRIxLEAST8): Likewise.
1573 [C99-based-standards] (PRIXLEAST8): Likewise.
1574 [C99-based-standards] (SCNdLEAST8): Likewise.
1575 [C99-based-standards] (SCNiLEAST8): Likewise.
1576 [C99-based-standards] (SCNoLEAST8): Likewise.
1577 [C99-based-standards] (SCNuLEAST8): Likewise.
1578 [C99-based-standards] (SCNxLEAST8): Likewise.
1579 [C99-based-standards] (PRIdFAST8): Likewise.
1580 [C99-based-standards] (PRIiFAST8): Likewise.
1581 [C99-based-standards] (PRIoFAST8): Likewise.
1582 [C99-based-standards] (PRIuFAST8): Likewise.
1583 [C99-based-standards] (PRIxFAST8): Likewise.
1584 [C99-based-standards] (PRIXFAST8): Likewise.
1585 [C99-based-standards] (SCNdFAST8): Likewise.
1586 [C99-based-standards] (SCNiFAST8): Likewise.
1587 [C99-based-standards] (SCNoFAST8): Likewise.
1588 [C99-based-standards] (SCNuFAST8): Likewise.
1589 [C99-based-standards] (SCNxFAST8): Likewise.
1590 [C99-based-standards] (PRId16): Likewise.
1591 [C99-based-standards] (PRIi16): Likewise.
1592 [C99-based-standards] (PRIo16): Likewise.
1593 [C99-based-standards] (PRIu16): Likewise.
1594 [C99-based-standards] (PRIx16): Likewise.
1595 [C99-based-standards] (PRIX16): Likewise.
1596 [C99-based-standards] (SCNd16): Likewise.
1597 [C99-based-standards] (SCNi16): Likewise.
1598 [C99-based-standards] (SCNo16): Likewise.
1599 [C99-based-standards] (SCNu16): Likewise.
1600 [C99-based-standards] (SCNx16): Likewise.
1601 [C99-based-standards] (PRIdLEAST16): Likewise.
1602 [C99-based-standards] (PRIiLEAST16): Likewise.
1603 [C99-based-standards] (PRIoLEAST16): Likewise.
1604 [C99-based-standards] (PRIuLEAST16): Likewise.
1605 [C99-based-standards] (PRIxLEAST16): Likewise.
1606 [C99-based-standards] (PRIXLEAST16): Likewise.
1607 [C99-based-standards] (SCNdLEAST16): Likewise.
1608 [C99-based-standards] (SCNiLEAST16): Likewise.
1609 [C99-based-standards] (SCNoLEAST16): Likewise.
1610 [C99-based-standards] (SCNuLEAST16): Likewise.
1611 [C99-based-standards] (SCNxLEAST16): Likewise.
1612 [C99-based-standards] (PRIdFAST16): Likewise.
1613 [C99-based-standards] (PRIiFAST16): Likewise.
1614 [C99-based-standards] (PRIoFAST16): Likewise.
1615 [C99-based-standards] (PRIuFAST16): Likewise.
1616 [C99-based-standards] (PRIxFAST16): Likewise.
1617 [C99-based-standards] (PRIXFAST16): Likewise.
1618 [C99-based-standards] (SCNdFAST16): Likewise.
1619 [C99-based-standards] (SCNiFAST16): Likewise.
1620 [C99-based-standards] (SCNoFAST16): Likewise.
1621 [C99-based-standards] (SCNuFAST16): Likewise.
1622 [C99-based-standards] (SCNxFAST16): Likewise.
1623 [C99-based-standards] (PRId32): Likewise.
1624 [C99-based-standards] (PRIi32): Likewise.
1625 [C99-based-standards] (PRIo32): Likewise.
1626 [C99-based-standards] (PRIu32): Likewise.
1627 [C99-based-standards] (PRIx32): Likewise.
1628 [C99-based-standards] (PRIX32): Likewise.
1629 [C99-based-standards] (SCNd32): Likewise.
1630 [C99-based-standards] (SCNi32): Likewise.
1631 [C99-based-standards] (SCNo32): Likewise.
1632 [C99-based-standards] (SCNu32): Likewise.
1633 [C99-based-standards] (SCNx32): Likewise.
1634 [C99-based-standards] (PRIdLEAST32): Likewise.
1635 [C99-based-standards] (PRIiLEAST32): Likewise.
1636 [C99-based-standards] (PRIoLEAST32): Likewise.
1637 [C99-based-standards] (PRIuLEAST32): Likewise.
1638 [C99-based-standards] (PRIxLEAST32): Likewise.
1639 [C99-based-standards] (PRIXLEAST32): Likewise.
1640 [C99-based-standards] (SCNdLEAST32): Likewise.
1641 [C99-based-standards] (SCNiLEAST32): Likewise.
1642 [C99-based-standards] (SCNoLEAST32): Likewise.
1643 [C99-based-standards] (SCNuLEAST32): Likewise.
1644 [C99-based-standards] (SCNxLEAST32): Likewise.
1645 [C99-based-standards] (PRIdFAST32): Likewise.
1646 [C99-based-standards] (PRIiFAST32): Likewise.
1647 [C99-based-standards] (PRIoFAST32): Likewise.
1648 [C99-based-standards] (PRIuFAST32): Likewise.
1649 [C99-based-standards] (PRIxFAST32): Likewise.
1650 [C99-based-standards] (PRIXFAST32): Likewise.
1651 [C99-based-standards] (SCNdFAST32): Likewise.
1652 [C99-based-standards] (SCNiFAST32): Likewise.
1653 [C99-based-standards] (SCNoFAST32): Likewise.
1654 [C99-based-standards] (SCNuFAST32): Likewise.
1655 [C99-based-standards] (SCNxFAST32): Likewise.
1656 [C99-based-standards] (PRId64): Likewise.
1657 [C99-based-standards] (PRIi64): Likewise.
1658 [C99-based-standards] (PRIo64): Likewise.
1659 [C99-based-standards] (PRIu64): Likewise.
1660 [C99-based-standards] (PRIx64): Likewise.
1661 [C99-based-standards] (PRIX64): Likewise.
1662 [C99-based-standards] (SCNd64): Likewise.
1663 [C99-based-standards] (SCNi64): Likewise.
1664 [C99-based-standards] (SCNo64): Likewise.
1665 [C99-based-standards] (SCNu64): Likewise.
1666 [C99-based-standards] (SCNx64): Likewise.
1667 [C99-based-standards] (PRIdLEAST64): Likewise.
1668 [C99-based-standards] (PRIiLEAST64): Likewise.
1669 [C99-based-standards] (PRIoLEAST64): Likewise.
1670 [C99-based-standards] (PRIuLEAST64): Likewise.
1671 [C99-based-standards] (PRIxLEAST64): Likewise.
1672 [C99-based-standards] (PRIXLEAST64): Likewise.
1673 [C99-based-standards] (SCNdLEAST64): Likewise.
1674 [C99-based-standards] (SCNiLEAST64): Likewise.
1675 [C99-based-standards] (SCNoLEAST64): Likewise.
1676 [C99-based-standards] (SCNuLEAST64): Likewise.
1677 [C99-based-standards] (SCNxLEAST64): Likewise.
1678 [C99-based-standards] (PRIdFAST64): Likewise.
1679 [C99-based-standards] (PRIiFAST64): Likewise.
1680 [C99-based-standards] (PRIoFAST64): Likewise.
1681 [C99-based-standards] (PRIuFAST64): Likewise.
1682 [C99-based-standards] (PRIxFAST64): Likewise.
1683 [C99-based-standards] (PRIXFAST64): Likewise.
1684 [C99-based-standards] (SCNdFAST64): Likewise.
1685 [C99-based-standards] (SCNiFAST64): Likewise.
1686 [C99-based-standards] (SCNoFAST64): Likewise.
1687 [C99-based-standards] (SCNuFAST64): Likewise.
1688 [C99-based-standards] (SCNxFAST64): Likewise.
1689 [C99-based-standards] (PRIdMAX): Likewise.
1690 [C99-based-standards] (PRIiMAX): Likewise.
1691 [C99-based-standards] (PRIoMAX): Likewise.
1692 [C99-based-standards] (PRIuMAX): Likewise.
1693 [C99-based-standards] (PRIxMAX): Likewise.
1694 [C99-based-standards] (PRIXMAX): Likewise.
1695 [C99-based-standards] (SCNdMAX): Likewise.
1696 [C99-based-standards] (SCNiMAX): Likewise.
1697 [C99-based-standards] (SCNoMAX): Likewise.
1698 [C99-based-standards] (SCNuMAX): Likewise.
1699 [C99-based-standards] (SCNxMAX): Likewise.
1700 [C99-based-standards] (PRIdPTR): Likewise.
1701 [C99-based-standards] (PRIiPTR): Likewise.
1702 [C99-based-standards] (PRIoPTR): Likewise.
1703 [C99-based-standards] (PRIuPTR): Likewise.
1704 [C99-based-standards] (PRIxPTR): Likewise.
1705 [C99-based-standards] (PRIXPTR): Likewise.
1706 [C99-based-standards] (SCNdPTR): Likewise.
1707 [C99-based-standards] (SCNiPTR): Likewise.
1708 [C99-based-standards] (SCNoPTR): Likewise.
1709 [C99-based-standards] (SCNuPTR): Likewise.
1710 [C99-based-standards] (SCNxPTR): Likewise.
1711 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1712 allow.
1713 * conform/data/stdint.h-data: Update comments to clarify
1714 requirements.
1715 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1716 type.
1717 [C99-based standards] (INT8_MAX): Likewise.
1718 [C99-based standards] (INT16_MIN): Likewise.
1719 [C99-based standards] (INT16_MAX): Likewise.
1720 [C99-based standards] (INT32_MIN): Likewise.
1721 [C99-based standards] (INT32_MAX): Likewise.
1722 [C99-based standards] (INT64_MIN): Likewise.
1723 [C99-based standards] (INT64_MAX): Likewise.
1724 [C99-based standards] (UINT8_MAX): Likewise.
1725 [C99-based standards] (UINT16_MAX): Likewise.
1726 [C99-based standards] (UINT32_MAX): Likewise.
1727 [C99-based standards] (UINT64_MAX): Likewise.
1728 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1729 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1730 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1731 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1732 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1733 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1734 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1735 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1736 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1737 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1738 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1739 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1740 [C99-based standards] (INT_FAST8_MIN): Likewise.
1741 [C99-based standards] (INT_FAST8_MAX): Likewise.
1742 [C99-based standards] (INT_FAST16_MIN): Likewise.
1743 [C99-based standards] (INT_FAST16_MAX): Likewise.
1744 [C99-based standards] (INT_FAST32_MIN): Likewise.
1745 [C99-based standards] (INT_FAST32_MAX): Likewise.
1746 [C99-based standards] (INT_FAST64_MIN): Likewise.
1747 [C99-based standards] (INT_FAST64_MAX): Likewise.
1748 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1749 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1750 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1751 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1752 [C99-based standards] (INTPTR_MIN): Likewise.
1753 [C99-based standards] (INTPTR_MAX): Likewise.
1754 [C99-based standards] (UINTPTR_MAX): Likewise.
1755 [C99-based standards] (INTMAX_MIN): Likewise.
1756 [C99-based standards] (INTMAX_MAX): Likewise.
1757 [C99-based standards] (UINTMAX_MAX): Likewise.
1758 [C99-based standards] (PTRDIFF_MIN): Likewise.
1759 [C99-based standards] (PTRDIFF_MAX): Likewise.
1760 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1761 [C99-based standards] (SIZE_MAX): Likewise.
1762 [C99-based standards] (WCHAR_MAX): Likewise.
1763 [C99-based standards] (WINT_MAX): Likewise.
1764 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1765 constraint on value.
1766 [C99-based standards] (WCHAR_MIN): Likewise.
1767 [C99-based standards] (WINT_MIN): Likewise.
1768 [C99-based standards] (*_t): Allow.
1769 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1770 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1771 Include math.h-data and complex.h-data. Remove all expectations
1772 of math.h and complex.h contents.
1773 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1774 at end of line.
1775 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1776 (struct tm): Expect tag.
1777 [C99-based-standards] (wcstof): Expect function.
1778 [C99-based-standards] (wcstold): Likewise.
1779 [C99-based-standards] (wcstoll): Likewise.
1780 [C99-based-standards] (wcstoull): Likewise.
1781 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1782 macro-int-constant. Specify type.
1783 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1784 constraint on value.
1785 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1786 Specify type.
1787 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1788 Specify value.
1789 [ISO C standards]: Do not allow headers.
1790 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1791 wcs[abcdefghijklmnopqrstuvwxyz]*.
1792 [ISO C standards] (*_t): Do not allow.
1793 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1794 Expect function.
1795 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1796 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1797 Specify type.
1798 [ISO C standards]: Do not allow headers.
1799 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1800 is[abcdefghijklmnopqrstuvwxyz]*.
1801 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1802 to[abcdefghijklmnopqrstuvwxyz]*.
1803 [ISO C standards] (*_t): Do not allow.
1804 * conform/data/stdalign.h-data: New file.
1805 * conform/data/stdbool.h-data: Likewise.
1806 * conform/data/stdnoreturn.h-data: Likewise.
1807
7514feb8
RM
18082012-11-07 Roland McGrath <roland@hack.frob.com>
1809
1810 [BZ #14815]
1811 * manual/filesys.texi (Directory Entries): Typo fix.
1812 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1813
19b2ecfc
MS
18142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1815
1816 * elf/elf.h (EM_AARCH64): New macro.
1817 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1818 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1819 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1820 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1821 (R_AARCH64_TLSDESC): Likewise.
1822 (NT_ARM_TLS): Likewise.
1823 (NT_ARM_HW_BREAK): Likewise.
1824 (NT_ARM_HW_WATCH): Likewise.
1825
60e235ee
JM
18262012-11-07 Joseph Myers <joseph@codesourcery.com>
1827
1828 [BZ #14811]
1829 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1830 (__ieee754_powl): Saturate nonzero exponents with absolute value
1831 below 0x1p-79 to +/- 0x1p-79.
1832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1833 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1834 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1835 nonzero exponents with absolute value below 0x1p-32 to +/-
1836 0x1p-32.
1837 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1838 (__ieee754_powl): Saturate nonzero exponents with absolute value
1839 below 0x1p-79 to +/- 0x1p-79.
1840 * math/libm-test.inc (pow_test): Add more tests.
1841
0ab234b7
AK
18422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1843
1844 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1845 _dl_s390_cap_flags with kernel. Increase string length.
1846 (_dl_s390_platforms): Add z196 and zEC12.
1847
45832f74
JM
18482012-11-07 Joseph Myers <joseph@codesourcery.com>
1849
1850 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1851 Change XOPEN21K to XOPEN2K.
1852
19218757
MK
18532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1854
1855 * string/memmove.c: Use memcpy when possible.
1856
c5f45721
AJ
18572012-11-06 Andreas Jaeger <aj@suse.de>
1858
1859 * po/eo.po: Update from translation team.
1860
82477c28
JM
18612012-11-06 Joseph Myers <joseph@codesourcery.com>
1862
1863 [BZ #14793]
1864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1865 exponent and small x and y exponents, scale x or y up. Increase
1866 by 2 the exponent used in scaling up.
1867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1869 * math/libm-test.inc (fma_test): Add more tests.
1870 (fma_test_towardzero): Likewise.
1871 (fma_test_downward): Likewise.
1872 (fma_test_upward): Likewise.
1873
99252c8c
JM
18742012-11-05 Joseph Myers <joseph@codesourcery.com>
1875
acfa885f
JM
1876 [BZ #14805]
1877 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1878 fenv_t *.
1879
99252c8c
JM
1880 [BZ #14801]
1881 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1882 namespace for names of struct fields.
1883 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1884 fenv_t fields.
1885 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1886 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1887
d6d98dea
ST
18882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1889
1890 [BZ #3665]
1891 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1892
e10bb107
TS
18932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1894
1895 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1896 PTR_DEMANGLE.
1897
1898 [BZ #5246]
1899 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1900 PTR_DEMANGLE.
1901
a0c2940d
JM
19022012-11-04 Joseph Myers <joseph@codesourcery.com>
1903
1904 [BZ #14797]
1905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1906 definitely overflow as x * y not x * y + z.
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
b830319d
TS
19142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1915
1916 [BZ #157]
1917
1918 * include/stub-tag.h: Remove file.
1919 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1920 '#include' of it.
1921 * manual/maint.texi (Porting): Don't reference it.
1922 * Makerules ($(objpfx)stubs): Likewise.
1923 * dirent/closedir.c: Don't include <stub-tag.h>.
1924 * dirent/dirfd.c: Likewise.
1925 * dirent/fdopendir.c: Likewise.
1926 * dirent/getdents.c: Likewise.
1927 * dirent/getdents64.c: Likewise.
1928 * dirent/opendir.c: Likewise.
1929 * dirent/readdir.c: Likewise.
1930 * dirent/readdir64.c: Likewise.
1931 * dirent/readdir64_r.c: Likewise.
1932 * dirent/readdir_r.c: Likewise.
1933 * dirent/rewinddir.c: Likewise.
1934 * dirent/seekdir.c: Likewise.
1935 * dirent/telldir.c: Likewise.
1936 * gmon/profil.c: Likewise.
1937 * grp/setgroups.c: Likewise.
1938 * inet/if_index.c: Likewise.
1939 * io/access.c: Likewise.
1940 * io/chdir.c: Likewise.
1941 * io/chmod.c: Likewise.
1942 * io/chown.c: Likewise.
1943 * io/close.c: Likewise.
1944 * io/dup.c: Likewise.
1945 * io/dup2.c: Likewise.
1946 * io/dup3.c: Likewise.
1947 * io/euidaccess.c: Likewise.
1948 * io/faccessat.c: Likewise.
1949 * io/fchdir.c: Likewise.
1950 * io/fchmod.c: Likewise.
1951 * io/fchmodat.c: Likewise.
1952 * io/fchown.c: Likewise.
1953 * io/fchownat.c: Likewise.
1954 * io/fcntl.c: Likewise.
1955 * io/flock.c: Likewise.
1956 * io/fstatfs.c: Likewise.
1957 * io/fstatfs64.c: Likewise.
1958 * io/fstatvfs.c: Likewise.
1959 * io/fstatvfs64.c: Likewise.
1960 * io/futimens.c: Likewise.
1961 * io/fxstat.c: Likewise.
1962 * io/fxstat64.c: Likewise.
1963 * io/fxstatat.c: Likewise.
1964 * io/fxstatat64.c: Likewise.
1965 * io/getcwd.c: Likewise.
1966 * io/isatty.c: Likewise.
1967 * io/lchmod.c: Likewise.
1968 * io/lchown.c: Likewise.
1969 * io/link.c: Likewise.
1970 * io/linkat.c: Likewise.
1971 * io/lseek.c: Likewise.
1972 * io/lseek64.c: Likewise.
1973 * io/lxstat64.c: Likewise.
1974 * io/mkdir.c: Likewise.
1975 * io/mkdirat.c: Likewise.
1976 * io/mkfifo.c: Likewise.
1977 * io/mkfifoat.c: Likewise.
1978 * io/open.c: Likewise.
1979 * io/open64.c: Likewise.
1980 * io/openat.c: Likewise.
1981 * io/openat64.c: Likewise.
1982 * io/pipe.c: Likewise.
1983 * io/pipe2.c: Likewise.
1984 * io/poll.c: Likewise.
1985 * io/posix_fadvise.c: Likewise.
1986 * io/posix_fadvise64.c: Likewise.
1987 * io/posix_fallocate.c: Likewise.
1988 * io/posix_fallocate64.c: Likewise.
1989 * io/read.c: Likewise.
1990 * io/readlink.c: Likewise.
1991 * io/readlinkat.c: Likewise.
1992 * io/rmdir.c: Likewise.
1993 * io/sendfile.c: Likewise.
1994 * io/sendfile64.c: Likewise.
1995 * io/statfs.c: Likewise.
1996 * io/statfs64.c: Likewise.
1997 * io/statvfs.c: Likewise.
1998 * io/statvfs64.c: Likewise.
1999 * io/symlink.c: Likewise.
2000 * io/symlinkat.c: Likewise.
2001 * io/ttyname.c: Likewise.
2002 * io/ttyname_r.c: Likewise.
2003 * io/umask.c: Likewise.
2004 * io/unlink.c: Likewise.
2005 * io/unlinkat.c: Likewise.
2006 * io/utime.c: Likewise.
2007 * io/utimensat.c: Likewise.
2008 * io/write.c: Likewise.
2009 * io/xmknod.c: Likewise.
2010 * io/xmknodat.c: Likewise.
2011 * io/xstat.c: Likewise.
2012 * io/xstat64.c: Likewise.
2013 * login/getpt.c: Likewise.
2014 * login/grantpt.c: Likewise.
2015 * login/unlockpt.c: Likewise.
2016 * math/e_acoshl.c: Likewise.
2017 * math/e_acosl.c: Likewise.
2018 * math/e_asinl.c: Likewise.
2019 * math/e_atan2l.c: Likewise.
2020 * math/e_atanhl.c: Likewise.
2021 * math/e_coshl.c: Likewise.
2022 * math/e_expl.c: Likewise.
2023 * math/e_fmodl.c: Likewise.
2024 * math/e_gammal_r.c: Likewise.
2025 * math/e_hypotl.c: Likewise.
2026 * math/e_j0l.c: Likewise.
2027 * math/e_j1l.c: Likewise.
2028 * math/e_jnl.c: Likewise.
2029 * math/e_lgammal_r.c: Likewise.
2030 * math/e_log10l.c: Likewise.
2031 * math/e_log2l.c: Likewise.
2032 * math/e_logl.c: Likewise.
2033 * math/e_powl.c: Likewise.
2034 * math/e_rem_pio2l.c: Likewise.
2035 * math/e_sinhl.c: Likewise.
2036 * math/e_sqrtl.c: Likewise.
2037 * math/fclrexcpt.c: Likewise.
2038 * math/fedisblxcpt.c: Likewise.
2039 * math/feenablxcpt.c: Likewise.
2040 * math/fegetenv.c: Likewise.
2041 * math/fegetexcept.c: Likewise.
2042 * math/fegetround.c: Likewise.
2043 * math/feholdexcpt.c: Likewise.
2044 * math/fesetenv.c: Likewise.
2045 * math/fesetround.c: Likewise.
2046 * math/feupdateenv.c: Likewise.
2047 * math/fgetexcptflg.c: Likewise.
2048 * math/fraiseexcpt.c: Likewise.
2049 * math/fsetexcptflg.c: Likewise.
2050 * math/ftestexcept.c: Likewise.
2051 * math/k_cosl.c: Likewise.
2052 * math/k_rem_pio2l.c: Likewise.
2053 * math/k_sinl.c: Likewise.
2054 * math/k_tanl.c: Likewise.
2055 * math/s_asinhl.c: Likewise.
2056 * math/s_atanl.c: Likewise.
2057 * math/s_cbrtl.c: Likewise.
2058 * math/s_erfl.c: Likewise.
2059 * math/s_expm1l.c: Likewise.
2060 * math/s_log1pl.c: Likewise.
2061 * math/s_tanhl.c: Likewise.
2062 * misc/acct.c: Likewise.
2063 * misc/brk.c: Likewise.
2064 * misc/chflags.c: Likewise.
2065 * misc/chroot.c: Likewise.
2066 * misc/fchflags.c: Likewise.
2067 * misc/fgetxattr.c: Likewise.
2068 * misc/flistxattr.c: Likewise.
2069 * misc/fremovexattr.c: Likewise.
2070 * misc/fsetxattr.c: Likewise.
2071 * misc/fsync.c: Likewise.
2072 * misc/ftruncate.c: Likewise.
2073 * misc/futimes.c: Likewise.
2074 * misc/futimesat.c: Likewise.
2075 * misc/getdomain.c: Likewise.
2076 * misc/getdtsz.c: Likewise.
2077 * misc/gethostid.c: Likewise.
2078 * misc/gethostname.c: Likewise.
2079 * misc/getloadavg.c: Likewise.
2080 * misc/getpagesize.c: Likewise.
2081 * misc/getsysstats.c: Likewise.
2082 * misc/getxattr.c: Likewise.
2083 * misc/gtty.c: Likewise.
2084 * misc/ioctl.c: Likewise.
2085 * misc/lgetxattr.c: Likewise.
2086 * misc/listxattr.c: Likewise.
2087 * misc/llistxattr.c: Likewise.
2088 * misc/lremovexattr.c: Likewise.
2089 * misc/lsetxattr.c: Likewise.
2090 * misc/lutimes.c: Likewise.
2091 * misc/madvise.c: Likewise.
2092 * misc/mincore.c: Likewise.
2093 * misc/mlock.c: Likewise.
2094 * misc/mlockall.c: Likewise.
2095 * misc/mmap.c: Likewise.
2096 * misc/mprotect.c: Likewise.
2097 * misc/msync.c: Likewise.
2098 * misc/munlock.c: Likewise.
2099 * misc/munlockall.c: Likewise.
2100 * misc/munmap.c: Likewise.
2101 * misc/preadv.c: Likewise.
2102 * misc/preadv64.c: Likewise.
2103 * misc/ptrace.c: Likewise.
2104 * misc/pwritev.c: Likewise.
2105 * misc/pwritev64.c: Likewise.
2106 * misc/readv.c: Likewise.
2107 * misc/reboot.c: Likewise.
2108 * misc/remap_file_pages.c: Likewise.
2109 * misc/removexattr.c: Likewise.
2110 * misc/revoke.c: Likewise.
2111 * misc/select.c: Likewise.
2112 * misc/setdomain.c: Likewise.
2113 * misc/setegid.c: Likewise.
2114 * misc/seteuid.c: Likewise.
2115 * misc/sethostid.c: Likewise.
2116 * misc/sethostname.c: Likewise.
2117 * misc/setregid.c: Likewise.
2118 * misc/setreuid.c: Likewise.
2119 * misc/setxattr.c: Likewise.
2120 * misc/sstk.c: Likewise.
2121 * misc/stty.c: Likewise.
2122 * misc/swapoff.c: Likewise.
2123 * misc/swapon.c: Likewise.
2124 * misc/sync.c: Likewise.
2125 * misc/syncfs.c: Likewise.
2126 * misc/syscall.c: Likewise.
2127 * misc/truncate.c: Likewise.
2128 * misc/ualarm.c: Likewise.
2129 * misc/usleep.c: Likewise.
2130 * misc/ustat.c: Likewise.
2131 * misc/utimes.c: Likewise.
2132 * misc/vhangup.c: Likewise.
2133 * misc/writev.c: Likewise.
2134 * posix/_exit.c: Likewise.
2135 * posix/alarm.c: Likewise.
2136 * posix/execve.c: Likewise.
2137 * posix/fexecve.c: Likewise.
2138 * posix/fork.c: Likewise.
2139 * posix/fpathconf.c: Likewise.
2140 * posix/getaddrinfo.c: Likewise.
2141 * posix/getegid.c: Likewise.
2142 * posix/geteuid.c: Likewise.
2143 * posix/getgid.c: Likewise.
2144 * posix/getgroups.c: Likewise.
2145 * posix/getlogin.c: Likewise.
2146 * posix/getlogin_r.c: Likewise.
2147 * posix/getpgid.c: Likewise.
2148 * posix/getpid.c: Likewise.
2149 * posix/getppid.c: Likewise.
2150 * posix/getresgid.c: Likewise.
2151 * posix/getresuid.c: Likewise.
2152 * posix/getsid.c: Likewise.
2153 * posix/getuid.c: Likewise.
2154 * posix/glob64.c: Likewise.
2155 * posix/nanosleep.c: Likewise.
2156 * posix/pathconf.c: Likewise.
2157 * posix/pause.c: Likewise.
2158 * posix/posix_madvise.c: Likewise.
2159 * posix/pread.c: Likewise.
2160 * posix/pread64.c: Likewise.
2161 * posix/pwrite.c: Likewise.
2162 * posix/pwrite64.c: Likewise.
2163 * posix/sched_getaffinity.c: Likewise.
2164 * posix/sched_getp.c: Likewise.
2165 * posix/sched_gets.c: Likewise.
2166 * posix/sched_primax.c: Likewise.
2167 * posix/sched_primin.c: Likewise.
2168 * posix/sched_rr_gi.c: Likewise.
2169 * posix/sched_setaffinity.c: Likewise.
2170 * posix/sched_setp.c: Likewise.
2171 * posix/sched_sets.c: Likewise.
2172 * posix/sched_yield.c: Likewise.
2173 * posix/setgid.c: Likewise.
2174 * posix/setlogin.c: Likewise.
2175 * posix/setpgid.c: Likewise.
2176 * posix/setresgid.c: Likewise.
2177 * posix/setresuid.c: Likewise.
2178 * posix/setsid.c: Likewise.
2179 * posix/setuid.c: Likewise.
2180 * posix/sleep.c: Likewise.
2181 * posix/spawni.c: Likewise.
2182 * posix/sysconf.c: Likewise.
2183 * posix/times.c: Likewise.
2184 * posix/wait.c: Likewise.
2185 * posix/wait3.c: Likewise.
2186 * posix/wait4.c: Likewise.
2187 * posix/waitpid.c: Likewise.
2188 * resolv/gai_sigqueue.c: Likewise.
2189 * resource/getpriority.c: Likewise.
2190 * resource/getrlimit.c: Likewise.
2191 * resource/getrusage.c: Likewise.
2192 * resource/nice.c: Likewise.
2193 * resource/setpriority.c: Likewise.
2194 * resource/setrlimit.c: Likewise.
2195 * resource/ulimit.c: Likewise.
2196 * rt/aio_cancel.c: Likewise.
2197 * rt/aio_fsync.c: Likewise.
2198 * rt/aio_read.c: Likewise.
2199 * rt/aio_sigqueue.c: Likewise.
2200 * rt/aio_suspend.c: Likewise.
2201 * rt/aio_write.c: Likewise.
2202 * rt/clock_getres.c: Likewise.
2203 * rt/clock_gettime.c: Likewise.
2204 * rt/clock_nanosleep.c: Likewise.
2205 * rt/clock_settime.c: Likewise.
2206 * rt/lio_listio.c: Likewise.
2207 * rt/mq_close.c: Likewise.
2208 * rt/mq_getattr.c: Likewise.
2209 * rt/mq_notify.c: Likewise.
2210 * rt/mq_open.c: Likewise.
2211 * rt/mq_receive.c: Likewise.
2212 * rt/mq_send.c: Likewise.
2213 * rt/mq_setattr.c: Likewise.
2214 * rt/mq_timedreceive.c: Likewise.
2215 * rt/mq_timedsend.c: Likewise.
2216 * rt/mq_unlink.c: Likewise.
2217 * rt/shm_open.c: Likewise.
2218 * rt/shm_unlink.c: Likewise.
2219 * rt/timer_create.c: Likewise.
2220 * rt/timer_delete.c: Likewise.
2221 * rt/timer_getoverr.c: Likewise.
2222 * rt/timer_gettime.c: Likewise.
2223 * rt/timer_settime.c: Likewise.
2224 * setjmp/__longjmp.c: Likewise.
2225 * setjmp/setjmp.c: Likewise.
2226 * signal/kill.c: Likewise.
2227 * signal/killpg.c: Likewise.
2228 * signal/raise.c: Likewise.
2229 * signal/sigaction.c: Likewise.
2230 * signal/sigaltstack.c: Likewise.
2231 * signal/sigblock.c: Likewise.
2232 * signal/sigignore.c: Likewise.
2233 * signal/sigintr.c: Likewise.
2234 * signal/signal.c: Likewise.
2235 * signal/sigpause.c: Likewise.
2236 * signal/sigpending.c: Likewise.
2237 * signal/sigqueue.c: Likewise.
2238 * signal/sigreturn.c: Likewise.
2239 * signal/sigset.c: Likewise.
2240 * signal/sigsetmask.c: Likewise.
2241 * signal/sigstack.c: Likewise.
2242 * signal/sigsuspend.c: Likewise.
2243 * signal/sigtimedwait.c: Likewise.
2244 * signal/sigvec.c: Likewise.
2245 * signal/sigwait.c: Likewise.
2246 * signal/sigwaitinfo.c: Likewise.
2247 * signal/sysv_signal.c: Likewise.
2248 * socket/accept.c: Likewise.
2249 * socket/accept4.c: Likewise.
2250 * socket/bind.c: Likewise.
2251 * socket/connect.c: Likewise.
2252 * socket/getpeername.c: Likewise.
2253 * socket/getsockname.c: Likewise.
2254 * socket/getsockopt.c: Likewise.
2255 * socket/isfdtype.c: Likewise.
2256 * socket/listen.c: Likewise.
2257 * socket/recv.c: Likewise.
2258 * socket/recvfrom.c: Likewise.
2259 * socket/recvmsg.c: Likewise.
2260 * socket/send.c: Likewise.
2261 * socket/sendmsg.c: Likewise.
2262 * socket/sendto.c: Likewise.
2263 * socket/setsockopt.c: Likewise.
2264 * socket/shutdown.c: Likewise.
2265 * socket/sockatmark.c: Likewise.
2266 * socket/socket.c: Likewise.
2267 * socket/socketpair.c: Likewise.
2268 * stdio-common/ctermid.c: Likewise.
2269 * stdio-common/cuserid.c: Likewise.
2270 * stdio-common/remove.c: Likewise.
2271 * stdio-common/rename.c: Likewise.
2272 * stdio-common/renameat.c: Likewise.
2273 * stdio-common/tempname.c: Likewise.
2274 * stdlib/getcontext.c: Likewise.
2275 * stdlib/makecontext.c: Likewise.
2276 * stdlib/setcontext.c: Likewise.
2277 * stdlib/swapcontext.c: Likewise.
2278 * stdlib/system.c: Likewise.
2279 * streams/fattach.c: Likewise.
2280 * streams/fdetach.c: Likewise.
2281 * streams/getmsg.c: Likewise.
2282 * streams/getpmsg.c: Likewise.
2283 * streams/putmsg.c: Likewise.
2284 * streams/putpmsg.c: Likewise.
2285 * sysdeps/unix/bsd/getpt.c: Likewise.
2286 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2287 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2288 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2292 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2293 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2294 * sysvipc/msgctl.c: Likewise.
2295 * sysvipc/msgget.c: Likewise.
2296 * sysvipc/msgrcv.c: Likewise.
2297 * sysvipc/msgsnd.c: Likewise.
2298 * sysvipc/semctl.c: Likewise.
2299 * sysvipc/semget.c: Likewise.
2300 * sysvipc/semop.c: Likewise.
2301 * sysvipc/semtimedop.c: Likewise.
2302 * sysvipc/shmat.c: Likewise.
2303 * sysvipc/shmctl.c: Likewise.
2304 * sysvipc/shmdt.c: Likewise.
2305 * sysvipc/shmget.c: Likewise.
2306 * termios/tcdrain.c: Likewise.
2307 * termios/tcflow.c: Likewise.
2308 * termios/tcflush.c: Likewise.
2309 * termios/tcgetattr.c: Likewise.
2310 * termios/tcgetpgrp.c: Likewise.
2311 * termios/tcsendbrk.c: Likewise.
2312 * termios/tcsetattr.c: Likewise.
2313 * termios/tcsetpgrp.c: Likewise.
2314 * time/adjtime.c: Likewise.
2315 * time/clock.c: Likewise.
2316 * time/getitimer.c: Likewise.
2317 * time/gettimeofday.c: Likewise.
2318 * time/setitimer.c: Likewise.
2319 * time/settimeofday.c: Likewise.
2320 * time/stime.c: Likewise.
2321 * time/time.c: Likewise.
2322
23232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2324
a20492cf
PT
2325 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2326 /usr/old/bin.
2327
72e182e3
PT
2328 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2329 instead of spaces.
2330 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2331
fbeafede
JM
23322012-11-03 Joseph Myers <joseph@codesourcery.com>
2333
5b5b04d6
JM
2334 [BZ #14796]
2335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2336 FE_TONEAREST before applying Dekker multiplication and Knuth
2337 addition. Clear inexact exceptions and check for exact zero
2338 results afterwards.
2339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2340 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2341 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2342 * math/libm-test.inc (fma_test): Add more tests.
2343 (fma_test_towardzero): Likewise.
2344 (fma_test_downward): Likewise.
2345 (fma_test_upward): Likewise.
2346 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2347 function.
2348 (libc_fesetround): New macro.
2349 (libc_fesetroundf): Likewise.
2350 (libc_fesetroundl): Likewise.
2351 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2352 function.
2353 (libc_fesetround_387): Likewise.
2354 (libc_fesetroundf): New macro.
2355 (libc_fesetround): Likewise.
2356 (libc_fesetroundl): Likewise.
2357 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2358 function.
2359 (libc_fesetroundf): New macro.
2360 (libc_fesetround): Likewise.
2361 (libc_fesetroundl): Likewise.
2362 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2363 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2364 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2365 libm_hidden_ver.
2366 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2367 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2368 libm_hidden_def.
2369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2370 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2371 libm_hidden_ver.
2372 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2373 libm_hidden_def.
2374
fbeafede
JM
2375 [BZ #3439]
2376 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2377 integer constant usable in #if and use that to give value to enum
2378 constant.
2379 (FE_DIVBYZERO): Likewise.
2380 (FE_UNDERFLOW): Likewise.
2381 (FE_OVERFLOW): Likewise.
2382 (FE_INVALID): Likewise.
2383 (FE_INVALID_SNAN): Likewise.
2384 (FE_INVALID_ISI): Likewise.
2385 (FE_INVALID_IDI): Likewise.
2386 (FE_INVALID_ZDZ): Likewise.
2387 (FE_INVALID_IMZ): Likewise.
2388 (FE_INVALID_COMPARE): Likewise.
2389 (FE_INVALID_SOFTWARE): Likewise.
2390 (FE_INVALID_SQRT): Likewise.
2391 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2392 (FE_TONEAREST): Likewise.
2393 (FE_TOWARDZERO): Likewise.
2394 (FE_UPWARD): Likewise.
2395 (FE_DOWNWARD): Likewise.
2396 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2397 (FE_DIVBYZERO): Likewise.
2398 (FE_OVERFLOW): Likewise.
2399 (FE_UNDERFLOW): Likewise.
2400 (FE_INEXACT): Likewise.
2401 (FE_TONEAREST): Likewise.
2402 (FE_DOWNWARD): Likewise.
2403 (FE_UPWARD): Likewise.
2404 (FE_TOWARDZERO): Likewise.
2405 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2406 (FE_UNDERFLOW): Likewise.
2407 (FE_OVERFLOW): Likewise.
2408 (FE_DIVBYZERO): Likewise.
2409 (FE_INVALID): Likewise.
2410 (FE_TONEAREST): Likewise.
2411 (FE_TOWARDZERO): Likewise.
2412 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2413 (FE_OVERFLOW): Likewise.
2414 (FE_UNDERFLOW): Likewise.
2415 (FE_DIVBYZERO): Likewise.
2416 (FE_INEXACT): Likewise.
2417 (FE_TONEAREST): Likewise.
2418 (FE_TOWARDZERO): Likewise.
2419 (FE_UPWARD): Likewise.
2420 (FE_DOWNWARD): Likewise.
2421 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2422 (FE_DIVBYZERO): Likewise.
2423 (FE_OVERFLOW): Likewise.
2424 (FE_UNDERFLOW): Likewise.
2425 (FE_INEXACT): Likewise.
2426 (FE_TONEAREST): Likewise.
2427 (FE_DOWNWARD): Likewise.
2428 (FE_UPWARD): Likewise.
2429 (FE_TOWARDZERO): Likewise.
2430
105ca950
CM
24312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2432
2433 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2434
a542b389
AS
24352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2436
2437 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2438 commands. Quote $PWD.
2439 (blacklist_exports): Don't use remove_newlines. Replace "declare
2440 -x" by "export".
2441 (remove_newlines): Remove.
2442
f62c8abc
L
24432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2444
2445 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2446 * stdlib/stdlib.h (atof): Moved to ...
2447 * include/bits/stdlib-float.h: Here. New file.
2448 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2449 * stdlib/bits/stdlib-float.h: New file.
2450 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2451 -mno-sse -mno-mmx.
2452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2453 <xmmintrin.h>.
2454
0155d5b2
JM
24552012-11-02 Joseph Myers <joseph@codesourcery.com>
2456
a68d0680
JM
2457 * conform/conformtest.pl (@headers): Add fenv.h.
2458 * conform/data/fenv.h-data: New file.
2459 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2460 include of <math/fenv.h>.
2461
caf7f573
JM
2462 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2463 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2464 && !UNIX98]. Enables tests for XOPEN2K8.
2465 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2466 POSIX2008]: Likewise.
2467
6c073ad6
JM
2468 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2469 (struct rusage): Do not expect type or its members.
2470
0155d5b2
JM
2471 [BZ #3439]
2472 * math/math.h (FP_NAN): Define macro to integer constant usable in
2473 #if and use that to give value to enum constant.
2474 (FP_INFINITE): Likewise.
2475 (FP_ZERO): Likewise.
2476 (FP_SUBNORMAL): Likewise.
2477 (FP_NORMAL): Likewise.
2478
b5dcacb4
AS
24792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2480
2481 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2482 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2483 arguments.
2484
f7934be8
RM
24852012-11-02 Roland McGrath <roland@hack.frob.com>
2486
2487 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2488 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2489 autoconf-time if not.
2490 * configure.in: Remove AC_PREREQ.
2491
d7d08bde
TMQMF
24922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2493
2494 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2495 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2496 of the internal implementation.
2497
dcdae19a
JM
24982012-11-02 Joseph Myers <joseph@codesourcery.com>
2499
2500 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2501 except include of <misc/sys/syslog.h>.
2502
d6cffd3e
AS
25032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2504
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2506 function returns with a NULL context exit with zero.
2507
b3563932
TMQMF
25082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2509
2510 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2511
b288a93d
L
25122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2513
2514 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2515 (run_program_cmd): This.
2516 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2517 (tst_langinfo): New variable. Use it.
2518
a2421a68
SAS
25192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2520
2521 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2522 floating point opcodes.
2523
6f796e1b
TS
25242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2525
7402596b
TS
2526 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2527 variable.
2528
d0d4f868
TS
2529 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2530
6f796e1b
TS
2531 * sysdeps/mach/hurd/powerpc: Remove directory.
2532 * sysdeps/mach/powerpc: Likewise.
2533
4da224a2
AS
25342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2535
2536 * scripts/check-local-headers.sh: Ignore c++ headers.
2537
341dd673
TS
25382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2539
2540 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2541 __libc_cleanup_region_start argument.
2542
473611b2
JM
25432012-11-01 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #14784]
2546 [BZ #14785]
2547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2548 x * y using scaling, not as x * y + z.
2549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2551 * math/libm-test.inc (fma_test): Add more tests.
2552 (fma_test_towardzero): Likewise.
2553 (fma_test_downward): Likewise.
2554 (fma_test_upward): Likewise.
2555
4078da3d
TS
25562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2557
2558 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2559
903252aa
JM
25602012-10-31 Joseph Myers <joseph@codesourcery.com>
2561
2562 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2563 New variable.
2564
cbc818d0
TS
25652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2566
2567 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2568
5a03cb1e
AS
25692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2572 Fix sort order.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2574 Likewise.
2575
90aff2ff
TMQMF
25762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2577
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2579 Fix the order of the list for glibc 2.17.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2581 Likewise.
2582
1818fcb7
AS
25832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2584
2585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2586
ef82f4da
JM
25872012-10-31 Joseph Myers <joseph@codesourcery.com>
2588
16a0e2ec
JM
2589 [BZ #14610]
2590 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2591 for low part of x being zero before using __atanl (y).
2592 * math/libm-test.inc (atan2_test): Add another test.
2593
0eb69512
JM
2594 * manual/install.texi (Configuring and compiling): Document
2595 general use of test-wrapper and test-wrapper-env.
2596 * INSTALL: Regenerated.
2597
ef82f4da
JM
2598 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2599 (__fma): Do not extract and scale down low bits on after-rounding
2600 systems when result rounded to normal precision would have normal
2601 exponent.
2602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2603 (__fmal): Do not extract and scale down low bits on after-rounding
2604 systems when result rounded to normal precision would have normal
2605 exponent.
2606 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2607 (__fmal): Do not extract and scale down low bits on after-rounding
2608 systems when result rounded to normal precision would have normal
2609 exponent.
2610 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2611 macro.
2612 (fma_test): Add more tests.
2613 (fma_test_towardzero): Likewise.
2614 (fma_test_downward): Likewise.
2615 (fma_test_upward): Likewise.
2616
954ef0d9
L
26172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2618
2619 * sysdeps/i386/tininess.h: Renamed to ...
2620 * sysdeps/x86/tininess.h: This.
2621 * sysdeps/x86_64/tininess.h: Removed.
2622
df61ffb2
JM
26232012-10-30 Joseph Myers <joseph@codesourcery.com>
2624
2625 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2626 input. Use $(build-program-cmd).
2627 ($(objpfx)tst-array1-static.out): Likewise.
2628 ($(objpfx)tst-array2.out): Likewise.
2629 ($(objpfx)tst-array3.out): Likewise.
2630 ($(objpfx)tst-array4.out): Likewise.
2631 ($(objpfx)tst-array5.out): Likewise.
2632 ($(objpfx)tst-array5-static.out): Likewise.
2633
01767843
CM
26342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2635
47cc1490
CM
2636 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2637 if defined.
2638
01767843
CM
2639 * nss/nsswitch.h (nss_interface_function): Provide new
2640 macro for use with NSS functions.
2641 * grp/initgroups.c: Use new macro.
2642 * nss/getXXbyYY.c: Likewise.
2643 * nss/getXXbyYY_r.c: Likewise.
2644 * nss/getXXent.c: Likewise.
2645 * nss/getXXent_r.c: Likewise.
2646 * sysdeps/posix/getaddrinfo.c: Likewise.
2647
8321aa97
AJ
26482012-10-30 Andreas Jaeger <aj@suse.de>
2649
2650 * po/ru.po: Update Russion translation from translation project.
2651
2a27fd6d
JM
26522012-10-30 Joseph Myers <joseph@codesourcery.com>
2653
8627a232
JM
2654 [BZ #14152]
2655 [BZ #14783]
2656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2657 result and shift together with sticky bit instead of replicating
2658 round-to-nearest rounding.
2659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2661 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2662 missing underflow exceptions.
2663 (fma_test_towardzero): Add more tests.
2664 (fma_test_downward): Likewise.
2665 (fma_test_upward): Likewise.
2666
2a27fd6d
JM
2667 [BZ #14047]
2668 * sysdeps/generic/tininess.h: New file.
2669 * sysdeps/i386/tininess.h: Likewise.
2670 * sysdeps/sh/tininess.h: Likewise.
2671 * sysdeps/x86_64/tininess.h: Likewise.
2672 * stdlib/tst-strtod-underflow.c: Likewise.
2673 * stdlib/tst-tininess.c: Likewise.
2674 * stdlib/strtod_l.c: Include <tininess.h>.
2675 (round_and_return): Do not set errno for exact underflow cases.
2676 Force an underflow exception when setting errno for underflow.
2677 Determine underflow based on rounding to normal precision if
2678 TININESS_AFTER_ROUNDING.
2679 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2680 ERANGE for exact underflow cases.
2681 * stdlib/Makefile (tests): Add tst-tininess and
2682 tst-strtod-underflow.
2683 ($(objpfx)tst-tininess): Use $(link-libm).
2684 ($(objpfx)tst-strtod-underflow): Likewise.
2685
e7170363
AJ
26862012-10-30 Andreas Jaeger <aj@suse.de>
2687
e5088dc6
AJ
2688 [BZ#14767]
2689 * elf/Makefile (tests): Remove conditional for have-initfini-array
2690 since this is now always required and the variable does not exist
2691 anymore.
2692 (tests-static): Likewise.
2693 (modules-names): Likewise.
2694
e7170363 2695 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2696
2697 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2698 merged with constructor/destructor.
2699 (init_array): Likewise.
2700 * elf/tst-array2dep.c (fini_array): Likewise.
2701 (init_array): Likewise.
2702
60457d8a
MF
27032012-10-29 Mike Frysinger <vapier@gentoo.org>
2704
2705 * manual/message.texi: Delete @cartouche tags.
2706
8bece752
PT
27072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2708
94ce799f
PT
2709 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2710 EOPNOTSUPP.
2711 * sysdeps/mach/hurd/fsync.c: Likewise.
2712
8bece752
PT
2713 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2714 [_POSIX_REALTIME_SIGNALS]: Change condition to
2715 [_POSIX_REALTIME_SIGNALS > 0].
2716
86ebe6b1
AJ
27172012-10-27 Andreas Jaeger <aj@suse.de>
2718
2719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2720 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2722 [__WORDSIZE != 64]: Likewise.
2723
54399c08
L
27242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2725
2726 * iconvdata/tst-table.sh: Remove ${SHELL}.
2727 * iconvdata/tst-tables.sh: Likewise.
2728
e2211bed
DM
27292012-10-25 David S. Miller <davem@davemloft.net>
2730
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2732 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2733 of strtoull.
2734
f303f97c
DM
2735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2736 ifunc-impl-list.c
2737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2738 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2739 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2740 file.
2741
1e9d84cd
RM
27422012-10-25 Roland McGrath <roland@hack.frob.com>
2743
2744 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2745 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2746 __getdirentries.
2747
df381762
JM
27482012-10-25 Joseph Myers <joseph@codesourcery.com>
2749 Jim Blandy <jimb@codesourcery.com>
2750
2751 * scripts/cross-test-ssh.sh: New file.
2752 * manual/install.texi (Configuring and compiling): Document use of
2753 cross-test-ssh.sh.
2754 * INSTALL: Regenerated.
2755
bff64913
PT
27562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2757
2758 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2759 EOPNOTSUPP.
2760
25fe8932
JM
27612012-10-25 Joseph Myers <joseph@codesourcery.com>
2762
2763 * Makeconfig (run-program-prefix): Fix comment.
2764
cc1290d0
JM
27652012-10-24 Joseph Myers <joseph@codesourcery.com>
2766 Jim Blandy <jimb@codesourcery.com>
2767
2768 * Makeconfig (test-wrapper): New variable,
2769 (test-wrapper-env): Likewise.
2770 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2771 (run-built-tests): Define to yes.
2772 (run-program-prefix): Use $(test-wrapper).
2773 (built-program-cmd): Likewise.
2774 * Rules (make-test-out): Use $(test-wrapper-env) and
2775 $(host-built-program-cmd).
2776 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2777 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2778 tst-pathopt.sh.
2779 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2780 $(test-wrapper-env) to tst-rtld-load-self.sh.
2781 ($(objpfx)order2.out): Use $(test-wrapper).
2782 ($(objpfx)tst-initorder.out): Likewise.
2783 ($(objpfx)tst-initorder2.out): Likewise.
2784 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2785 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2786 (test_wrapper_env): New variable. Use it to run ld.so.
2787 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2788 Use it to run ld.so.
2789 (test_wrapper_env): Likewise.
2790 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2791 $(test-wrapper) to run-iconv-test.sh.
2792 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2793 (ICONV): Use $test_wrapper.
2794 * posix/Makefile ($(objpfx)globtest.out): Pass
2795 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2796 globtest.sh, not $(run-program-prefix).
2797 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2798 (test_wrapper): Likewise.
2799 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2800 set together with run_via_rtld_prefix.
2801 (run_program_prefix): Define in terms of test_wrapper and
2802 run_via_rtld_prefix.
2803
6e6249d0
RM
28042012-10-24 Roland McGrath <roland@hack.frob.com>
2805
2806 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2807 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2808 Targets removed.
2809
2810 [BZ #14743]
2811 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2812 Declare __clock_getres, __clock_gettime, __clock_settime,
2813 __clock_nanosleep, and __clock_getcpuclockid.
2814 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2815 Remove librt_hidden_def (clock_gettime).
2816 * sysdeps/unix/clock_gettime.c: Likewise.
2817 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2819 * rt/clock_getres.c: Define __clock_getres as an alias.
2820 * sysdeps/posix/clock_getres.c: Likewise.
2821 * rt/clock_settime.c: Define __clock_settime as an alias.
2822 * sysdeps/unix/clock_settime.c: Likewise.
2823 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2824 * sysdeps/unix/clock_nanosleep.c: Likewise.
2825 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2826 * rt/clock-compat.c: New file.
2827 * rt/Makefile (librt-routines): Add clock-compat and move
2828 $(clock-routines) to ...
2829 (routines): ... here, new variable.
2830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2831 Don't add get_clockfreq here.
2832 * rt/Versions (libc: GLIBC_2.17): New version set.
2833 Add clock_* symbols here.
2834 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2836 (GLIBC_2.17): Add clock_* symbols.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2841 Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2843 Likewise.
2844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2848 * NEWS: Mention the move.
2849
2850 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2851 Use __open, __read, __close rather than their public counterparts.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2853 (__get_clockfreq_via_cpuinfo): Likewise.
2854 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2855 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2856
2857 * config.h.in (HAVE_IFUNC): New #undef.
2858 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2859 was successful.
2860 * configure: Regenerated.
2861
0cae3f4b
MF
28622012-10-24 Mike Frysinger <vapier@gentoo.org>
2863
2864 * configure.in: Move READELF check to start of file.
2865 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2866 libc_cv_asm_gnu_indirect_function in the process.
2867 * configure: Regenerated.
2868
8175a253
MF
28692012-10-24 Mike Frysinger <vapier@gentoo.org>
2870
2871 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2872 send the output to /dev/null.
2873 (libc_cv_cc_with_libunwind): Likewise.
2874 (libc_cv_as_noexecstack): Likewise.
2875 * configure: Regenerate.
2876
0708a7d1
JM
28772012-10-24 Joseph Myers <joseph@codesourcery.com>
2878
10b40d85
JM
2879 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2880
0708a7d1
JM
2881 * posix/globtest.sh (TMPDIR): Do not set.
2882 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2883 (testout): Likewise.
2884
9fddec1a
AJ
28852012-10-24 Andreas Jaeger <aj@suse.de>
2886
3a8db22f
AJ
2887 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2888 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2889 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2890 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2891 posix_fadvise64, posix_fallocate64.
2892
9fddec1a
AJ
2893 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2894 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2895 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2896 Likewise.
2897 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2898 Likewise.
2899 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2900
2901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2902 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2903 <bits/fcntl-linux.h>.
2904 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2905
2906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2907 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2908 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2909 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2910 [__WORDSIZE != 64]: Likewise.
2911
ebfd1bbd
JM
29122012-10-23 Joseph Myers <joseph@codesourcery.com>
2913
03ac099f
JM
2914 * Makeconfig (run-built-tests): New variable.
2915 * Rules [$(cross-compiling) = yes]: Change condition to
2916 [$(run-built-tests) = no].
2917 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2918 to [$(run-built-tests) = yes].
2919 * elf/Makefile [$(cross-compiling) = no]: Likewise
2920 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2921 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2922 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2923 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2924 * io/Makefile [$(cross-compiling) = no]: Likewise.
2925 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2926 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2927 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2928 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2929 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2930 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2931 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2932 * string/Makefile [$(cross-compiling) = no]: Likewise.
2933
ebfd1bbd
JM
2934 * posix/Makefile ($(objpfx)globtest.out): Pass
2935 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2936 $(rtld-installed-name).
2937 * posix/globtest.sh (elf_objpfx): Remove variable.
2938 (rtld_installed_name): Likewise.
2939 (library_path): Likewise.
2940 (run_program_prefix): New variable. Use for running globtest
2941 binary.
2942
166bca24
JB
29432012-10-23 Jim Blandy <jimb@codesourcery.com>
2944 Joseph Myers <joseph@codesourcery.com>
2945
2946 * Makeconfig (host-built-program-cmd): New variable.
2947 * elf/Makefile (tst-stackguard1-ARGS): Use
2948 $(host-built-program-cmd).
2949 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2950 (tst-spawn-ARGS): Likewise.
2951 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2952
88866099
JM
29532012-10-23 Joseph Myers <joseph@codesourcery.com>
2954 Jim Blandy <jimb@codesourcery.com>
2955
2956 * Makeconfig (run-via-rtld-prefix): New variable.
2957 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2958 (built-program-cmd): Likewise.
2959
b4b4c296
AJ
29602012-10-22 Andreas Jaeger <aj@suse.de>
2961
2962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2963 __O_RSYNC if it exists, otherwise to O_SYNC.
2964
6fb54a22
JB
29652012-10-22 Jim Blandy <jimb@codesourcery.com>
2966 Joseph Myers <joseph@codesourcery.com>
2967
2968 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2969 /dev/null.
2970 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2971 from /dev/null
2972 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2973 /dev/null.
2974
481b90b9
AJ
29752012-10-22 Andreas Jaeger <aj@suse.de>
2976
2a0e2669
AJ
2977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2978 Define always.
2979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2980
76e38f9a
AJ
2981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2982 bits/fcntl-linux.h.
2983
7cd37b43
AJ
2984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2985 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2986
481b90b9
AJ
2987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2988 to __O_LARGEFILE.
2989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2990 to __O_LARGEFILE.
2991
aba75984
JB
29922012-10-21 Jim Blandy <jimb@codesourcery.com>
2993 Joseph Myers <joseph@codesourcery.com>
2994
2995 * config.make.in (NM): New variable.
2996
88d4247f
AJ
29972012-10-21 Andreas Jaeger <aj@suse.de>
2998
2999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3000 definitions and declarations that are provided by
3001 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3002
f2eed205
L
30032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 [BZ #14683]
3006 * elf/Makefile (tests-static): Add tst-leaks1-static.
3007 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3008 ($(objpfx)tst-leaks1-static): New rule.
3009 ($(objpfx)tst-leaks1-static-mem): Likewise.
3010 (tst-leaks1-static-ENV): New macro.
3011 * elf/dl-open.c (dl_open_worker): Check the main application
3012 only if SHARED is defined.
3013 * elf/tst-leaks1-static.c: New file.
3014
335e6931
AJ
30152012-10-20 Andreas Jaeger <aj@suse.de>
3016
3017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3018 generic values for Linux.
3019 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3020 and declarations that are provided by <bits/fcntl-linux.h> and
3021 include <bits/fcntl-linux.h>.
3022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3023 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3024
ac5c94d3
RM
30252012-10-20 Roland McGrath <roland@hack.frob.com>
3026
3027 * io/fcntl.h: Move include of <bits/types.h> to the top and
3028 include it unconditionally.
3029
de54b33a
L
30302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3031
228cfb01
L
3032 * wcsmbs/Makefile (tests-ifunc): New variable.
3033 (tests): Add $(tests-ifunc).
3034 * wcsmbs/test-wcschr-ifunc.c: New file.
3035 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3036 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3037 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3038 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3039 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3040
69f07e5f
L
3041 * string/Makefile (tests-ifunc): New variable.
3042 (tests): Add $(tests-ifunc).
3043 * string/test-memccpy.c (TEST_NAME): New macro.
3044 * string/test-memchr.c (TEST_NAME): Likewise.
3045 * string/test-memcmp.c (TEST_NAME): Likewise.
3046 * string/test-memcpy.c (TEST_NAME): Likewise.
3047 * string/test-memmem.c (TEST_NAME): Likewise.
3048 * string/test-memmove.c (TEST_NAME): Likewise.
3049 * string/test-memset.c (TEST_NAME): Likewise.
3050 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3051 * string/test-stpcpy.c (TEST_NAME): Likewise.
3052 * string/test-stpncpy.c (TEST_NAME): Likewise.
3053 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3054 * string/test-strcasestr.c (TEST_NAME): Likewise.
3055 * string/test-strcat.c (TEST_NAME): Likewise.
3056 * string/test-strchr.c (TEST_NAME): Likewise.
3057 * string/test-strcmp.c(TEST_NAME): Likewise.
3058 * string/test-strcpy.c (TEST_NAME): Likewise.
3059 * string/test-strcspn.c (TEST_NAME): Likewise.
3060 * string/test-strlen.c (TEST_NAME): Likewise.
3061 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3062 * string/test-strncmp.c (TEST_NAME): Likewise.
3063 * string/test-strncpy.c (TEST_NAME): Likewise.
3064 * string/test-strnlen.c (TEST_NAME): Likewise.
3065 * string/test-strpbrk.c (TEST_NAME): Likewise.
3066 * string/test-strrchr.c (TEST_NAME): Likewise.
3067 * string/test-strspn.c (TEST_NAME): Likewise.
3068 * string/test-strstr.c (TEST_NAME): Likewise.
3069 * string/test-bcopy-ifunc.c: New file.
3070 * string/test-bzero-ifunc.c: Likewise.
3071 * string/test-memccpy-ifunc.c: Likewise.
3072 * string/test-memchr-ifunc.c: Likewise.
3073 * string/test-memcmp-ifunc.c: Likewise.
3074 * string/test-memcpy-ifunc.c: Likewise.
3075 * string/test-memmem-ifunc.c: Likewise.
3076 * string/test-memmove-ifunc.c: Likewise.
3077 * string/test-mempcpy-ifunc.c: Likewise.
3078 * string/test-memset-ifunc.c: Likewise.
3079 * string/test-rawmemchr-ifunc.c: Likewise.
3080 * string/test-stpcpy-ifunc.c: Likewise.
3081 * string/test-stpncpy-ifunc.c: Likewise.
3082 * string/test-strcasecmp-ifunc.c: Likewise.
3083 * string/test-strcasestr-ifunc.c: Likewise.
3084 * string/test-strcat-ifunc.c: Likewise.
3085 * string/test-strchr-ifunc.c: Likewise.
3086 * string/test-strchrnul-ifunc.c: Likewise.
3087 * string/test-strcmp-ifunc.c: Likewise.
3088 * string/test-strcpy-ifunc.c: Likewise.
3089 * string/test-strcspn-ifunc.c: Likewise.
3090 * string/test-strlen-ifunc.c: Likewise.
3091 * string/test-strncasecmp-ifunc.c: Likewise.
3092 * string/test-strncat-ifunc.c: Likewise.
3093 * string/test-strncmp-ifunc.c: Likewise.
3094 * string/test-strncpy-ifunc.c: Likewise.
3095 * string/test-strnlen-ifunc.c: Likewise.
3096 * string/test-strpbrk-ifunc.c: Likewise.
3097 * string/test-strrchr-ifunc.c: Likewise.
3098 * string/test-strspn-ifunc.c: Likewise.
3099 * string/test-strstr-ifunc.c: Likewise.
3100
de54b33a
L
3101 * debug/Makefile (tests-ifunc): New variable.
3102 (tests): Add $(tests-ifunc).
3103 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3104 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3105 * debug/test-stpcpy_chk-ifunc.c: New file.
3106 * debug/test-strcpy_chk-ifunc.c: Likewise.
3107
88481c16
SP
31082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3109
3110 [BZ #13601]
3111 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3112 header is not read in.
3113
135948bd
JM
31142012-10-19 Joseph Myers <joseph@codesourcery.com>
3115
89f1c388
JM
3116 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3117 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3118 directly. Pass built executable to script as
3119 $(built-program-cmd).
3120 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3121 $testprogram without using LD_LIBRARY_PATH and $ldso.
3122
e40a0d21
JM
3123 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3124 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3125 $(rtld-installed-name).
3126 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3127 (rtld_installed_name): Likewise.
3128 (library_path): Likewise.
3129 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3131 $(run-program-prefix) to tst-tables.sh.
3132 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3133 it to run tst-table-from and tst-table-to.
3134 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3135 Pass it to tst-table.sh.
3136 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3137 $(run-program-prefix) to tst-gettext.sh.
3138 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3139 tst-translit.sh.
3140 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3141 tst-gettext2.sh.
3142 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3143 to run tst-gettext.
3144 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3145 to run tst-gettext2.
3146 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3147 to run tst-translit.
3148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3149 $(run-program-prefix) to tst-mtrace.sh.
3150 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3151 to run tst-mtrace.
3152 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3153 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3154 $(rtld-installed-name).
3155 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3156 (rtld_installed_name): Likewise.
3157 (run_program_prefix): New variable. Use it to run wordexp-test.
3158
728e272a
JM
3159 * Makeconfig (ARCH): Remove all definitions.
3160 (machine): Likewise.
3161 [ARCH]: Remove conditional code.
3162 [!objdir]: Give error.
3163 [!objdir] (objpfx): Remove.
3164 [!objdir] (common-objpfx): Likewise.
3165 [!objdir] (common-objdir): Likewise.
3166 * configure.in (config_makefile): Remove. Hardcode Makefile in
3167 AC_CONFIG_FILES call.
3168 * configure: Regenerated.
3169
d528cdcf
JM
3170 [BZ #13888]
3171 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3172 or TMPDIR.
3173 (testout): Likewise.
3174
135948bd
JM
3175 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3176 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3177 $(rtld-installed-name).
3178 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3179 (rtld_installed_name): Likwise.
3180 (runit): Remove function.
3181 (run_getconf): New variable, Use it for running getconf binary.
3182
38c78296
L
31832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 [BZ #14716]
3186 * string/test-memmem.c (check_result): New function.
3187 (do_one_test): Use it.
3188 (check1): New function.
3189 (test_main): Use it.
3190
d077f65f
MT
31912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3192
3193 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3194
ced52c71
JM
31952012-10-18 Joseph Myers <joseph@codesourcery.com>
3196
3197 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3198 (_G_LSEEK64): Likewise.
3199 (_G_MMAP64): Likewise.
3200 (_G_FSTAT64): Likewise.
3201 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3202 (_G_LSEEK64): Likewise.
3203 (_G_MMAP64): Likewise.
3204 (_G_FSTAT64): Likewise.
3205 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3206 unconditional. Call __mmap64 directly.
3207 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3208 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3209 __lseek64 directly.
3210 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3211 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3212 __mmap64 directly.
3213 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3214 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3215 __lseek64 directly.
3216 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3217 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3218 __lseek64 directly.
3219 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3220 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3221 __lseek64 directly.
3222 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3223 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3224 __fxstat64 directly.
3225 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3226 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3227 unconditional.
3228 (freopen64) [!_G_OPEN64]: Remove conditional code.
3229 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3230 unconditional.
3231 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3232 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3233 unconditional.
3234 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3235 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3236 unconditional.
3237 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3238 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3239 unconditional.
3240 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3241 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3242 unconditional.
3243 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3244 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3245 unconditional.
3246 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3247 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3248 unconditional.
3249 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3250
b741de23
SP
32512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3252
3253 [BZ #12140]
3254 * manual/memory.texi (Malloc Tunable Parameters): Add note
3255 about free list pointers overwriting some perturb bytes.
3256 Wording suggested by Roland McGrath.
3257
f9b9d9c9
JM
32582012-10-17 Joseph Myers <joseph@codesourcery.com>
3259
3260 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3261 (lgamma_test): Likewise.
3262 (tgamma_test): Likewise.
3263
172a631a
FW
32642012-10-16 Florian Weimer <fweimer@redhat.com>
3265
3266 [BZ #14700]
3267 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3268 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3269
e9f37252
MK
32702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3271
3272 * NEWS: Mention BZ #14716.
3273 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3274 when removing AVAILABLE1_USES_J macro.
3275
d394eb74
L
32762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3279 (__bswap_64): __uint64_t for unsigned 64-bit int.
3280
ca38dc17
AS
32812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3282
3283 * include/string.h (memmem): Declare libc hidden alias.
3284 * string/memmem.c (memmem): Define libc hidden alias.
3285 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3286 __read, __close instead of open, read, close.
3287
9a387d1f
L
32882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3289
ac49ecaf
L
3290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3291 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3292 global and hidden.
3293 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3294 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3295 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3296 Likewise.
3297 (__rawmemchr_sse2): Likewise.
3298 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3299 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3300 (__strchr_sse2): Likewise.
3301 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3302 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3303 (__strcasecmp_sse2): Likewise.
3304 (__strncasecmp_sse2): Likewise.
3305 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3306 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3307 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3308 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3309 (__strrchr_sse2): Likewise.
3310 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3311 ifunc-impl-list.c.
3312 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3313 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3314 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3315 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3316 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3317 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3320 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3321 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3322 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3324 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3325 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3326 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3327 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3328 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3329 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3330 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3331 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3332 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3333 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3334 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3335 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3336 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3337 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3338 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3340 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3341 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3342
b090e8ea
L
3343 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3344 global and hidden.
3345 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3346 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3347 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3348 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3349 Likewise.
3350 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3351 Likewise.
3352 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3353 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3354 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3355 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3356 ifunc-impl-list.c.
3357 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3358 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3359 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3360 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3361 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3362 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3363 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3364 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3365 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3366 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3367 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3371 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3372 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3375 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3379 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3380 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3381 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3382 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3383 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3384 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3386 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3387 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3388 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3391 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3392 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3393 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3394 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3395 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3396 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3397 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3398
11dd4af6
L
3399 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3400 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3401 * include/ifunc-impl-list.h: New file.
3402 * misc/ifunc-impl-list.c: Likewise.
3403 * misc/Makefile (routines): Add ifunc-impl-list.
3404 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3405 * string/test-string.h: Include <ifunc-impl-list.h>.
3406 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3407 impl_array): New variables.
3408 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3409 are defined.
3410 (test_init): Call __libc_ifunc_impl_list to initialize
3411 func_list if TEST_IFUNC and TEST_NAME are defined.
3412
9a387d1f
L
3413 * string/Makefile (strop-tests): Add bcopy and bzero.
3414 * string/test-bcopy.c: New file.
3415 * string/test-bzero.c: Likewise.
3416 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3417 defined.
3418 * string/test-memset.c: Support bzero test if TEST_BZERO is
3419 defined.
3420 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3421 __libc_memmove.
3422 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3423 __libc_memset.
3424 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3425 of memset.
3426
472371b9
JM
34272012-10-10 Joseph Myers <joseph@codesourcery.com>
3428
1e4a9536
JM
3429 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3430 * configure: Regenerated.
3431
d173d12e
JM
3432 * Makeconfig (+link-static-before-libc): Don't include
3433 $(link-static-libc).
3434
472371b9
JM
3435 * libio/libio.h (_IO_pos_t): Remove.
3436
89a3ad0b
AO
34372012-10-10 Alexandre Oliva <aoliva@redhat.com>
3438
3439 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3440 McGrath.
3441
e7451425
AO
34422012-10-10 Alexandre Oliva <aoliva@redhat.com>
3443
3444 * crypt/crypt-entry.c: Include fips-private.h.
3445 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3446 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3447 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3448 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3449
4ba74a35
AO
34502012-10-10 Alexandre Oliva <aoliva@redhat.com>
3451
3452 * crypt/crypt-private.h: Include stdbool.h.
3453 (_ufc_setup_salt_r): Return bool.
3454 * crypt/crypt-entry.c: Include errno.h.
3455 (__crypt_r): Return NULL with EINVAL for bad salt.
3456 * crypt/crypt_util.c (bad_for_salt): New.
3457 (_ufc_setup_salt_r): Check that salt is long enough and within
3458 the specified alphabet.
3459 * crypt/badsalttest.c: New file.
3460 * crypt/Makefile (tests): Add it.
3461 ($(objpfx)badsalttest): New.
3462
f96f1242
MK
34632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3464
3465 * NEWS: Add entry for BZ #14602.
3466
0e8e0c1c
JM
34672012-10-09 Joseph Myers <joseph@codesourcery.com>
3468
3469 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3470 type-generic.
3471 * math/libm-test.inc: Update comment listing what functions and
3472 macros are tested.
3473 (isgreater_test): New function.
3474 (isgreaterequal_test): Likewise.
3475 (isless_test): Likewise.
3476 (islessequal_test): Likewise.
3477 (islessgreater_test): Likewise.
3478 (isunordered_test): Likewise.
3479 (main): Call the new functions.
3480
273edc5e
RM
34812012-10-09 Roland McGrath <roland@hack.frob.com>
3482
b8493de0
RM
3483 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3484 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3485 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3486 * sysdeps/i386/configure: Regenerated.
3487 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3488 * sysdeps/mach/configure: Regenerated.
3489 * sysdeps/mach/hurd/configure: Regenerated.
3490 * sysdeps/powerpc/configure: Regenerated.
3491 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3492 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3493 * sysdeps/s390/s390-32/configure: Regenerated.
3494 * sysdeps/s390/s390-64/configure: Regenerated.
3495 * sysdeps/sh/configure: Regenerated.
3496 * sysdeps/sparc/configure: Regenerated.
3497 * sysdeps/unix/sysv/linux/configure: Regenerated.
3498 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3499 * sysdeps/x86_64/configure: Regenerated.
3500
273edc5e
RM
3501 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3502 defined. Don't check if MAP is NULL.
3503
c8450f70
JM
35042012-10-09 Joseph Myers <joseph@codesourcery.com>
3505
3506 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3507 (_G_stat64): Likewise.
3508 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3509 (_G_stat64): Likewise.
3510 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3511 instead of struct _G_stat64.
3512 * libio/fileops.c (mmap_remap_check): Likewise.
3513 (decide_maybe_mmap): Likewise.
3514 (_IO_new_file_seekoff): Likewise.
3515 (_IO_file_stat): Likewise.
3516 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3517 _G_off64_t.
3518 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3519 instead of struct _G_stat64.
3520 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3521
57e605ba
MK
35222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3523
3524 [BZ #14602]
3525 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3526 Replace with ...
3527 (CHECK_EOL): New macro.
3528 (two_way_short_needle): Check beginning of haystack for EOL. Use
3529 CHECK_EOL.
3530 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3531 Replace with CHECK_EOL.
3532 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3533 Replace with CHECK_EOL.
3534
ef1bb361
JM
35352012-10-08 Joseph Myers <joseph@codesourcery.com>
3536
3537 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3538 type-generic.
3539 * math/libm-test.inc: Update comment listing what functions and
3540 macros are tested.
3541 (finite_test): New function.
3542 (isinf_test): Likewise.
3543 (isnan_test): Likewise.
3544 (fpclassify_test): Test subnormal input.
3545 (isfinite_test): Likewise.
3546 (isnormal_test): Likewise.
3547 (main): Call the new functions.
3548
55f11534
JN
35492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3550
3551 [BZ #14660]
3552 * Makerules (%.dynsym): Force C locale when running
3553 $(OBJDUMP) --dynamic-syms.
3554
1ab29350
AS
35552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3556
3557 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3558 <stdint.h>.
3559
f1ecb7ef
DM
35602012-10-06 David S. Miller <davem@davemloft.net>
3561
3562 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3563 upper 32-bits of the length value in %o2 since we use branch-on-register
3564 tests which consider the entire 64-bit register.
3565
5d41d91a
L
35662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3567
3568 * string/test-strstr.c (check2): Add a test for page boundary.
3569
3baddb72
DM
35702012-10-05 David S. Miller <davem@davemloft.net>
3571
3572 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3573 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3574 file.
3575 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3576 sysdep_routines.
3577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3578 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3579 and bzero when HWCAP_SPARC_CRYPTO is present.
3580
9cee5585
L
35812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3582
d7e0dab9
L
3583 [BZ #14602]
3584 * string/test-strstr.c (check2): New function.
3585 (test_main): Call check2.
3586
03759f47
L
3587 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3588 and bug-strchr1.
3589 * string/bug-strcasestr1.c (do_test): Moved to ...
3590 * string/test-strcasestr.c (check1): Here. New function.
3591 (do_one_test): Break out result checking code into ...
3592 (check_result): This. New function.
3593 (do_one_test): Call check_result.
3594 (test_main): Call check1.
3595 * string/bug-strchr1.c (do_test): Moved to ...
3596 * string/test-strchr.c (check1): Here. New function.
3597 (do_one_test): Break out result checking code into ...
3598 (check_result): This. New function.
3599 (do_one_test): Call check_result.
3600 (test_main): Call check1.
3601 * string/bug-strstr1.c (main): Moved to ...
3602 * string/test-strchr.c (check1): Here. New function.
3603 (do_one_test): Break out result checking code into ...
3604 (check_result): This. New function.
3605 (do_one_test): Call check_result.
3606 (test_main): Call check1.
3607 * string/bug-strcasestr1.c: Removed.
3608 * string/bug-strchr1.c: Likewise.
3609 * string/bug-strstr1.c: Likewise.
3610
53cea63e
L
3611 * elf/Makefile (dl-routines): Add hwcaps.
3612 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3613 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3614 (_dl_important_hwcaps): Moved to ...
3615 * elf/dl-hwcaps.c: Here. New file.
3616 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3617
9cee5585 3618 [BZ #14557]
bb859b06
L
3619 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3620 if IS_IN_rtld isn't defined.
3621
9cee5585
L
3622 * elf/dl-support.c (_dl_sysinfo_map): New.
3623 Include "get-dynamic-info.h" and "setup-vdso.h".
3624 (_dl_non_dynamic_init): Call setup_vdso.
3625 * elf/dynamic-link.h: Don't include <assert.h>.
3626 (elf_get_dynamic_info): Moved to ...
3627 * elf/get-dynamic-info.h: Here. New file.
3628 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3629 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3630 * elf/setup-vdso.h: Here. New file.
3631 * elf/rtld.c: Include "setup-vdso.h".
3632 (dl_main): Call setup_vdso.
3633
23c31b76
JM
36342012-10-05 Joseph Myers <joseph@codesourcery.com>
3635
28234b07
JM
3636 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3637 creal in comment listing functions tested. List finite, isinf,
3638 isnan, isless, islessequal, isgreater, isgreaterequal,
3639 islessgreater, isunordered, lgamma_r and pow10 as functions and
3640 macros not tested. Mention which functions not tested are aliases
3641 for other functions. Fix typo. Note that signs of NaNs are not
3642 tested.
3643
23c31b76
JM
3644 * scripts/config.guess: Update from config.git.
3645 * scripts/config.sub: Likewise.
3646
9043e228
RM
36472012-10-04 Roland McGrath <roland@hack.frob.com>
3648
3649 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3650 * misc/madvise.c (madvise): Renamed to __madvise.
3651 Make madvise a weak alias.
3652 * include/sys/mman.h: Declare __madvise.
3653 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3654 * sysdeps/unix/syscalls.list
3655 (madvise): Make __madvise the strong name, and madvise a weak alias.
3656 * sysdeps/unix/sysv/linux/syscalls.list
3657 (madvise, mmap): Remove redundant entries.
3658 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3659 * malloc/malloc.c (mtrim): Likewise.
3660 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3661
f57f8055
RM
36622012-10-03 Roland McGrath <roland@hack.frob.com>
3663
3664 * sysdeps/mach/hurd/dl-cache.c: File removed.
3665 * config.h.in (USE_LDCONFIG): New #undef.
3666 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3667 * configure: Regenerated.
3668 * elf/Makefile (dl-routines): Add dl-cache only under
3669 [$(use-ldconfig) = yes].
3670 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3671 cache on [USE_LDCONFIG].
3672 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3673 [USE_LDCONFIG].
3674 * elf/rtld.c (dl_main): Likewise.
3675
5bb0c10a
PT
36762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3677
3678 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3679 _SC_LEVEL4_CACHE_LINESIZE.
3680
010188c6
RM
36812012-10-03 Roland McGrath <roland@hack.frob.com>
3682
3683 * sysdeps/unix/bsd/confstr.h: File removed.
3684
b6c5ec07
AO
36852012-10-02 Alexandre Oliva <aoliva@redhat.com>
3686
3687 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3688 sys/sdt-config.h.
3689
408223d4
RM
36902012-10-02 Roland McGrath <roland@hack.frob.com>
3691
3692 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3693 Make 'mapoff' field ElfW(Off) rather than off_t.
3694
bb9510dc
DL
36952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3696
fc997c6e
DL
3697 * nscd/Makefile: Remove nscd-cflags and all its users.
3698 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3699 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3700
bb9510dc
DL
3701 [BZ #10631]
3702 * malloc.c (malloc_printerr): Clarify error message.
3703
05699367
L
37042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 [BZ #14648]
3707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3708 Set bit_FMA_Usable if FMA is supported.
3709 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3710 macro.
3711 (bit_FMA4_Usable): Updated.
3712 (index_FMA_Usable): New macro.
3713 (CPUID_FMA): Likewise
3714 (HAS_FMA): Defined with bit_FMA_Usable.
3715
51367701
RM
37162012-10-01 Roland McGrath <roland@hack.frob.com>
3717
3718 * bits/types.h (__swblk_t): Type removed.
3719 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3720 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3722 (__SWBLK_T_TYPE): Likewise.
3723 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3724 (__SWBLK_T_TYPE): Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3726 (__SWBLK_T_TYPE): Likewise.
3727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3728 (__SWBLK_T_TYPE): Likewise.
3729
4d57bf63 37302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3731 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3732
3733 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3734 (xdr_mapname): Use YPMAXMAP as maxsize.
3735 (xdr_peername): Use YPMAXPEER as maxsize.
3736 (xdr_keydat): Use YPAXRECORD as maxsize.
3737 (xdr_valdat): Use YPMAXRECORD as maxsize.
3738
93c65d43
RM
37392012-10-01 Roland McGrath <roland@hack.frob.com>
3740
497a03d6
RM
3741 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3742
93c65d43
RM
3743 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3744 * csu/init-first.c: ... here.
3745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3746 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3747 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3748 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3749 * sysdeps/i386/init-first.c: File removed.
3750 * sysdeps/sh/init-first.c: File removed.
3751
bec749fd
JM
37522012-10-01 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #14645]
3755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3756 if x * y might underflow to zero and z is zero.
3757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3759 * math/libm-test.inc (min_subnorm_value): New variable.
3760 (fma_test): Add more tests.
3761 (fma_test_towardzero): Likewise.
3762 (fma_test_downward): Likewise
3763 (fma_test_upward): Likewise.
3764 (initialize): Set min_subnorm_value.
3765
8ec5b013
JM
37662012-09-29 Joseph Myers <joseph@codesourcery.com>
3767
3768 [BZ #14638]
3769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3770 0 + 0.
3771 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3772 mode for addition resulting in exact zero.
3773 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3775 exact 0 + 0.
3776 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3778 * math/libm-test.inc (fma_test): Add more tests.
3779 (fma_test_towardzero): New function.
3780 (fma_test_downward): Likewise.
3781 (fma_test_upward): Likewise.
3782 (main): Call the new functions.
3783
b1fa802e
DM
37842012-09-28 David S. Miller <davem@davemloft.net>
3785
3786 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3787
d3b9fd9e
RM
37882012-09-28 Roland McGrath <roland@hack.frob.com>
3789
ea4d37b3
RM
3790 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3791 instead of SIGALRM.
3792
ac51c949
RM
3793 * sysdeps/gnu/_G_config.h: Moved to ...
3794 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3795 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3796 * sysdeps/generic/_G_config.h: ... here.
3797
28c195f7
RM
3798 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3799
848917f9
RM
3800 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3801
6bacf05b
RM
3802 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3803 Conditionalize target on [libnss_test1.so-version].
3804
91363dbb
RM
3805 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3806
cc87f7d8
RM
3807 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3808 (elfobjdir): Move out of conditionals.
3809
b1c608fe
RM
3810 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3811 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3812 (__nss_lookup_function): Conditionalize label remove_from_tree on
3813 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3814
1d9a6d96
DM
38152012-09-28 David S. Miller <davem@davemloft.net>
3816
3817 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3818 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3819 file.
3820 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3821 sysdep_routines.
3822 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3824 when HWCAP_SPARC_CRYPTO is present.
3825
72581615
PT
38262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3827
3828 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3829
715a900c
JL
38302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3831
3832 [BZ #6530]
3833 * stdio-common/vfprintf.c (process_string_arg): Revert
3834 2000-07-22 change.
3835
38362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3837
3838 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3839 for testcase.
3840 * stdio-common/tst-sprintf.c: Include <locale.h>
3841 (main): Test sprintf's handling of incomplete multibyte
3842 characters.
3843
9bac1d86
L
38442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3845
3846 * elf/dl-runtime.c (VERSYMIDX): Removed.
3847 * elf/dl-version.c (VERSYMIDX): Likewise.
3848 * elf/do-rel.h (VERSYMIDX): Likewise.
3849 (VALIDX): Likewise.
3850 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3851 * elf/rtld.c (VALIDX): Likewise.
3852 (ADDRIDX): Likewise.
9bac1d86
L
3853 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3854 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3855 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3856 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3857 (VALIDX): Likewise.
3858 (ADDRIDX): Likewise.
9bac1d86 3859
b31606c0
PT
38602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3861
3862 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3863
11541177
JL
38642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3865
3866 [BZ #11438]
3867 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3868 to global scope.
3869 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3870 addresses are in the same scope as 192.0.2/24.
3871 * posix/gai.conf: Document new scope table defaults.
3872
adb26fae
SP
38732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3874
3875 [BZ #5298]
3876 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3877 for ftell. Compute offsets from write pointers instead.
3878 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3879
4573c6b0
SP
38802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
3882 [BZ #14543]
3883 * libio/Makefile (tests): New test case tst-fseek.
3884 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3885 combination works in wide mode.
3886 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3887 state when the external buffer state changes.
3888
aa9bbfe6
DM
38892012-09-27 David S. Miller <davem@davemloft.net>
3890
3891 [BZ #14376]
3892 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3893 pass reloc->r_addend in as the 'high' argument to
3894 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3895
784421e7
DM
3896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3897
c39bc8b8
PT
38982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3899
3900 * rt/tst-aio2.c: Include <pthread.h>.
3901 * rt/tst-aio3.c: Likewise.
3902
1ccc2399
SE
39032012-09-27 Steve Ellcey <sellcey@mips.com>
3904
3905 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3906
31ed4153
L
39072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3908
25f5f885
L
3909 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3910 contents on [SHARED].
31ed4153 3911
b7bfe116
MP
39122012-09-26 Marek Polacek <polacek@redhat.com>
3913
3914 [BZ #14530]
3915 [BZ #13741]
3916 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3917 for C++ and GCC <4.3 as well as for non GCC compilers.
3918
43c4edba
MT
39192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3920
3921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3922
6a1bf82f
RM
39232012-09-25 Roland McGrath <roland@hack.frob.com>
3924
3925 * Makefile.in (all, install): Declare with .PHONY.
3926 Reported by Michael Hope <michael.hope@linaro.org>.
3927
8ad11b9a
TMQMF
39282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3929
3930 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3931 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3932 system header.
3933 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3934 Likewise.
3935 (sydep_routines): Add the new and the internal functions.
3936 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3937 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3939 (GLIBC_2.17): Add the new function.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3941 (GLIBC_2.17): Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3943 (GLIBC_2.17): Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3945 (GLIBC_2.17): Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3947
7e2fca8d
AM
39482012-09-25 Alan Modra <amodra@gmail.com>
3949
3950 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3951 Add release barrier before setting once_control to say
3952 initialisation is done. Add hints on lwarx. Use macro in
3953 place of isync.
3954 (clear_once_control): Add release barrier.
3955
b87c4b24
JM
39562012-09-25 Joseph Myers <joseph@codesourcery.com>
3957
d032e0d2
JM
3958 [BZ #13629]
3959 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3960 specially.
3961 * math/s_clog10.c (__clog10): Likewise.
3962 * math/s_clog10f.c (__clog10f): Likewise.
3963 * math/s_clog10l.c (__clog10l): Likewise.
3964 * math/s_clogf.c (__clogf): Likewise.
3965 * math/s_clogl.c (__clogl): Likewise.
3966 * math/Makefile (libm-calls): Add x2y2m1.
3967 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3968 (__x2y2m1): Likewise.
3969 (__x2y2m1l): Likewise.
3970 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3971 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3976 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3977 * sysdeps/i386/fpu/libm-test-ulps: Update.
3978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3979
b87c4b24
JM
3980 [BZ #14621]
3981 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3982 int as type of variable DEPTH.
3983 (glob): Use size_t instead of int as type of variables NEWCOUNT
3984 and OLD_PATHC.
3985
6d3bf199
LD
39862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3987
22bf5c17
LD
3988 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3989 Add s_sincosf-sse2.
3990 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3991 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3992 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3993 macros for using routine as __sincosf_ia32.
3994 Use macro for function declaration and weak_alias.
3995 * sysdeps/i386/fpu/libm-test-ulps: Update.
3996
3997 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3999
4000 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4001 subnormal argument.
4002 * math/s_cexpf.c (__cexpf): Likewise.
4003 * math/s_csinf.c (__csinf): Likewise.
4004 * math/s_csinhf.c (__csinhf): Likewise.
4005 * math/s_ctanf.c (__ctanf): Likewise.
4006 * math/s_ctanhf.c (__ctanhf): Likewise.
4007 * math/s_ccosh.c (__ccoshf): Likewise.
4008 * math/s_cexp.c (__cexpl): Likewise.
4009 * math/s_csin.c (__csin): Likewise.
4010 * math/s_csinh.c (__csinh): Likewise.
4011 * math/s_ctan.c (__ctan): Likewise.
4012 * math/s_ctanh.c (ctanh): Likewise.
4013 * math/s_ccoshl.c (__ccoshl): Likewise.
4014 * math/s_cexpl.c (__cexpl): Likewise.
4015 * math/s_csinl.c (__csinl): Likewise.
4016 * math/s_csinhl.c (__csinhl): Likewise.
4017 * math/s_ctanl.c (__ctanl): Likewise.
4018 * math/s_ctanhl.c (__ctanhl): Likewise.
4019
203e5603
JM
40202012-09-25 Joseph Myers <joseph@codesourcery.com>
4021
4022 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4023 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4024 (_IO_off_t): Define to __off_t, not _G_off_t.
4025 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4026 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4027 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4028 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4029 type of __dummy and __dummy2 fields.
4030 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4031 (_G_ssize_t): Likewise.
4032 (_G_off_t): Likewise.
4033 (_G_pid_t): Likewise.
4034 (_G_uid_t): Likewise.
4035 (_G_wchar_t): Likewise.
4036 (_G_wint_t): Likewise.
4037 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4038 (_G_ssize_t): Likewise.
4039 (_G_off_t): Likewise.
4040 (_G_pid_t): Likewise.
4041 (_G_uid_t): Likewise.
4042 (_G_wchar_t): Likewise.
4043 (_G_wint_t): Likewise.
4044 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4045 (_G_ssize_t): Likewise.
4046 (_G_off_t): Likewise.
4047 (_G_pid_t): Likewise.
4048 (_G_uid_t): Likewise.
4049 (_G_wchar_t): Likewise.
4050 (_G_wint_t): Likewise.
4051
9fab36eb
SP
40522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4053
4054 * malloc/arena.c: Include malloc-sysdep.h.
4055 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4056 is sufficient to shrink the heap or an unmap is needed.
4057 * sysdeps/generic/malloc-sysdep.h: New file. Define
4058 new function check_may_shrink_heap.
4059 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4060 new function check_may_shrink_heap.
4061
2b4f00d1
SP
40622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4063
4064 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4065 comments.
4066
9a9028b1
DL
40672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4068
57c69bef
DL
4069 * catgets/test-gencat.sh: Add "set -e".
4070 * elf/tst-pathopt.sh: Likewise.
4071 * grp/tst_fgetgrent.sh: Likewise.
4072 * iconvdata/run-iconv-test.sh: Likewise.
4073 * intl/tst-gettext.sh: Likewise.
4074 * intl/tst-gettext2.sh: Likewise.
4075 * intl/tst-gettext4.sh: Likewise.
4076 * intl/tst-gettext6.sh: Likewise.
4077 * intl/tst-translit.sh: Likewise.
4078 * io/ftwtest-sh: Likewise.
4079 * libio/test-freopen.sh: Likewise.
4080 * malloc/tst-mtrace.sh: Likewise.
4081 * posix/globtest.sh: Likewise.
4082 * posix/tst-getconf.sh: Likewise.
4083 * posix/wordexp-tst.sh: Likewise.
4084 * stdio-common/tst-printf.sh: Likewise.
4085 * stdio-common/tst-unbputc.sh: Likewise.
4086 * stdlib/tst-fmtmsg.sh: Likewise.
4087 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4088 * catgets/Makefile: Do not specify -e option when running
4089 testsuite shell scripts.
4090 * elf/Makefile: Likewise.
4091 * grp/Makefile: Likewise.
4092 * iconvdata/Makefile: Likewise.
4093 * intl/Makefile: Likewise.
4094 * io/Makefile: Likewise.
4095 * libio/Makefile: Likewise.
4096 * malloc/Makefile: Likewise.
4097 * posix/Makefile: Likewise.
4098 * stdio-common/Makefile: Likewise.
4099 * stdlib/Makefile: Likewise.
4100 * sysdeps/x86_64/Makefile: Likewise.
4101
9a9028b1
DL
4102 * io/ftwtest-sh: Add copyright header.
4103 * posix/globtest.sh: Likewise.
4104 * posix/tst-getconf.sh: Likewise.
4105 * posix/wordexp-tst.sh: Likewise.
4106 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4107
ced6f16e
L
41082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4109
94b32c39
L
4110 [BZ #13679]
4111 * Makeconfig (+link): Defined as $(+link-static) if
4112 $(build-shared) isn't yes.
4113 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4114 isn't yes.
4115 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4116
189e935b
L
4117 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4118
ced6f16e
L
4119 [BZ #14562]
4120 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4121 new chunk size with MALLOC_ALIGN_MASK.
4122
a9f8e53a
JM
41232012-09-24 Joseph Myers <joseph@codesourcery.com>
4124
4125 [BZ #5044]
4126 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4127 <rounding-mode.h>.
4128 (__printf_fphex): Determine rounding using get_rounding_mode and
4129 round_away.
4130 * stdio-common/tst-printf-round.c (struct hex_test): New
4131 structure.
4132 (hex_tests): New variable.
4133 (test_hex_in_one_mode): New function.
4134 (do_test): Also run tests for hex float output.
4135
43153109
JM
41362012-09-21 Joseph Myers <joseph@codesourcery.com>
4137
4138 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4139 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4140 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4141 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4142 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4143 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4144 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4145 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4146
8a26625d
JM
41472012-09-20 Joseph Myers <joseph@codesourcery.com>
4148
4149 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4150 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4151 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4152 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4153
f3fd569c
DL
41542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4155
4156 [BZ #14579]
4157 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4158 mode only.
4159 * elf/tst-rtld-load-self.sh: New test.
4160 * elf/Makefile: Run it.
4161
63bbedd4
JM
41622012-09-18 Joseph Myers <joseph@codesourcery.com>
4163
4164 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4165 (tst-writev-ENV): Remove.
4166 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4167
626f8b6a
CM
41682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4169
4170 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4171
b7aaa4d6
JM
41722012-09-17 Joseph Myers <joseph@codesourcery.com>
4173
4174 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4175 unconditional.
4176 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4177 Likewise.
4178 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4179 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4180 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4181 Likewise.
4182
65513990
L
41832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 [BZ #14587]
4186 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4187 * config.make.in (have-cpp-asm-debuginfo): Removed.
4188 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4189 * configure: Regenerated.
4190
784761be
JM
41912012-09-14 Joseph Myers <joseph@codesourcery.com>
4192
4193 [BZ #5044]
4194 * stdio-common/printf_fp.c: Include <stdbool.h> and
4195 <rounding-mode.h>.
4196 (___printf_fp): Determine rounding using get_rounding_mode and
4197 round_away.
4198 * stdio-common/tst-printf-round.c: New file.
4199 * stdio-common/Makefile (tests): Add tst-printf-round.
4200 (link-libm): New variable.
4201 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4202
9503345f
L
42032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4204
4205 [BZ #14576]
4206 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4207 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4208 Likewise.
4209 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4210 Likewise.
4211
ad35fc00
JM
42122012-09-13 Joseph Myers <joseph@codesourcery.com>
4213
4214 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4215 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4216 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4217 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4218
6c9b0f68
JM
42192012-09-12 Joseph Myers <joseph@codesourcery.com>
4220
4221 [BZ #14518]
4222 * include/rounding-mode.h: New file.
4223 * sysdeps/generic/get-rounding-mode.h: Likewise.
4224 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4225 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4226 (MAX_VALUE): New macro.
4227 (MIN_VALUE): Likewise.
4228 (overflow_value): New function.
4229 (underflow_value): Likewise.
4230 (round_and_return): Use overflow_value and underflow_value to
4231 determine return values in overflow and underflow cases. Use
4232 round_away to determine rounding depending on rounding mode.
4233 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4234 determine return values in overflow and underflow cases.
4235 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4236 (struct test_results): New structure.
4237 (struct test): Use struct test_results to store expected results
4238 for all rounding modes.
4239 (TEST): Include expected results for all rounding modes.
4240 (test_in_one_mode): New function.
4241 (do_test): Use test_in_one_mode to compute and check results.
4242 Check results for all rounding modes.
4243 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4244 $(link-libm).
4245
19fcedd5
AM
42462012-12-09 Allan McRae <allan@archlinux.org>
4247
1e9d84cd 4248 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4249
8bbfd2f1
JM
42502012-09-11 Joseph Myers <joseph@codesourcery.com>
4251
4252 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4253 (_G_int32_t): Likewise.
4254 (_G_uint16_t): Likewise.
4255 (_G_uint32_t): Likewise.
4256 (_G_HAVE_BOOL): Likewise.
4257 (_G_HAVE_ATEXIT): Likewise.
4258 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4259 (_G_HAVE_IO_FILE_OPEN): Likewise.
4260 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4261 (_G_int32_t): Likewise.
4262 (_G_uint16_t): Likewise.
4263 (_G_uint32_t): Likewise.
4264 (_G_HAVE_BOOL): Likewise.
4265 (_G_HAVE_ATEXIT): Likewise.
4266 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4267 (_G_HAVE_IO_FILE_OPEN): Likewise.
4268 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4269 (_G_int32_t): Likewise.
4270 (_G_uint16_t): Likewise.
4271 (_G_uint32_t): Likewise.
4272 (_G_HAVE_BOOL): Likewise.
4273 (_G_HAVE_ATEXIT): Likewise.
4274 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4275 (_G_HAVE_IO_FILE_OPEN): Likewise.
4276
b1dc5912
L
42772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4278
4279 * csu/libc-tls.c: Update copyright years.
4280
0e886ef9
JM
42812012-09-10 Joseph Myers <joseph@codesourcery.com>
4282
28361c5e
JM
4283 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4284 [!_G_USING_THUNKS]: Remove conditional code.
4285 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4286 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4287
0e886ef9
JM
4288 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4289 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4290 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4291 (_G_VTABLE_LABEL_PREFIX): Likewise.
4292 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4293 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4295 (_G_VTABLE_LABEL_PREFIX): Likewise.
4296 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4297 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4299 (_G_VTABLE_LABEL_PREFIX): Likewise.
4300 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4301
bcba7aa2
L
43022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4303
4304 * libio/Makefile: Include ../Makeconfig before tests.
4305 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4306 only if $(build-shared) is yes.
4307
06585ee8
L
4308 * iconv/gconv_db.c: Update copyright years.
4309
80ccd52c
LD
43102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4311
4312 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4313 unwind info if defined PIC. Fix special cases description.
4314 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4315
4316 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4317 DP_HI_MASK entry.
4318 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4319
691bc9c1
L
43202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4321
3d9b46b3
L
4322 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4323
de2139a9
L
4324 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4325 is NULL.
4326
5ca78dd0
L
4327 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4328 (LDLIBS-tst-chk4): This.
4329 (LDFLAGS-tst-chk5): Renamed to ...
4330 (LDLIBS-tst-chk5): This.
4331 (LDFLAGS-tst-chk6): Renamed to ...
4332 (LDLIBS-tst-chk6): This.
4333 (LDFLAGS-tst-lfschk4): Renamed to ...
4334 (LDLIBS-tst-lfschk4): This.
4335 (LDFLAGS-tst-lfschk5): Renamed to ...
4336 (LDLIBS-tst-lfschk5): This.
4337 (LDFLAGS-tst-lfschk6): Renamed to ...
4338 (LDLIBS-tst-lfschk6): This.
4339
691bc9c1
L
4340 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4341 on $(common-objpfx)soversions.mk.
4342
65cafb1c
JM
43432012-09-07 Joseph Myers <joseph@codesourcery.com>
4344
4345 [BZ #10014]
4346 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4347 example host name.
4348
c78ab094
SP
43492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
4351 * malloc/arena.c (arena_get_retry): New function that gets
4352 another arena for the caller to try its request on.
4353 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4354 current arena cannot fulfill the request.
4355 (__libc_memalign): Likewise.
4356 (__libc_memalign): Likewise.
4357 (__libc_pvalloc): Likewise.
4358 (__libc_calloc): Likewise.
4359
01f49f59
JT
43602012-09-05 John Tobey <john.tobey@gmail.com>
4361
4362 [BZ #13542]
4363 * manual/arith.texi (Operations on Complex): Fix description
4364 of carg branch cut.
4365
4c23fed5
JM
43662012-09-06 Joseph Myers <joseph@codesourcery.com>
4367
1d3c8572
JM
4368 [BZ #10014]
4369 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4370 host name.
4371
4c23fed5
JM
4372 [BZ #10038]
4373 * manual/memory.texi (Memory): Make order of menu items match
4374 order of sections.
4375
04570aaa
L
43762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4377
4378 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4379 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4380 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4381
b80af2f4
L
43822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4383
4384 * csu/libc-tls.c (static_dtv): Renamed to ...
4385 (_dl_static_dtv): This. Make it global.
4386 (_dl_initial_dtv): Removed.
4387 (__libc_setup_tls): Updated.
4388 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4389 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4390 DL_INITIAL_DTV.
4391
2abe9f15
PM
43922012-09-06 Petr Machata <pmachata@redhat.com>
4393
4394 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4395 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4396 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4397 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4398
0948c3af
L
43992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4400
4401 [BZ #14545]
4402 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4403 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4404 freeing dtv[-1].
4405
a5055ad1
L
44062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 [BZ #14544]
4409 * Makeconfig (link-static-before-libc): Replace $(+prector)
4410 with $(+prectorT).
4411 (link-static-after-libc): Replace $(+postctor) with
4412 $(+postctorT).
4413 (link-bounded): Replace $(+prector)/$(+postctor) with
4414 $(+prectorT)/$(+postctorT).
4415 (+prectorT): New macro.
4416 (+postctorT): Likewise.
4417
ed8c2ecd
JM
44182012-09-06 Joseph Myers <joseph@codesourcery.com>
4419
4420 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4421 (round_str): Handle values above the maximum for IBM long double
4422 as inexact.
4423 * stdlib/tst-strtod-round.c (tests): Regenerated.
4424
14c996c8
AK
44252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4426
4427 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4428 assembler flag.
4429 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4430 zarch_nohighgprs around the zarch optimized routines.
4431 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4432 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4433 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4434 for zarch.
4435
430d6ce6
DM
44362012-09-05 David S. Miller <davem@davemloft.net>
4437
4438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4439
ff04dda4
DM
4440 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4441 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4442 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4443 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4444 entries.
4445
24d4e01b
AO
44462012-09-05 Alexandre Oliva <aoliva@redhat.com>
4447
4448 * malloc/arena.c: Fold copyright years.
4449 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4450
61d58174
AO
44512012-09-05 Alexandre Oliva <aoliva@redhat.com>
4452
4453 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4454
20196a5e
AO
44552012-09-05 Alexandre Oliva <aoliva@redhat.com>
4456
4457 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4458
5c447383
AO
44592012-09-05 Alexandre Oliva <aoliva@redhat.com>
4460
4461 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4462 change internal state upon failure.
4463
fad64255
AO
44642012-09-05 Alexandre Oliva <aoliva@redhat.com>
4465
4466 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4467 * malloc/memusage.c (mmap): Likewise.
4468 (mmap64, mremap): Likewise. Adjust name in comment.
4469
1ffb8c90
SP
44702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4471
4472 * libio/fileops.c: Fix typos in comments.
4473 * libio/oldfileops.c: Likewise.
4474 * libio/wfileops.c: Likewise.
4475
6ef9cc37
SP
44762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4477
4478 [BZ #1349]
4479 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4480 (tst-malloc-usable-ENV): Set environment for test case.
4481 * malloc/hooks.c (malloc_check_get_size): New function to get
4482 requested size.
4483 * malloc/malloc.c (musable): Use malloc_check_get_size.
4484 * malloc/tst-malloc-usable.c: New test case.
4485
4d038ae3
AS
44862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4487
4488 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4489
c4e85184
AM
44902012-09-05 Allan McRae <allan@archlinux.org>
4491
b9dafc56 4492 [BZ #13966]
c4e85184
AM
4493 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4494 determine header location.
4495 * configure: Regenerated.
4496
e1343020
AS
44972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4498
4499 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4500 float format.
4501 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4502 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4503 format.
e1343020
AS
4504 (test): Regenerate.
4505
0a9f1987
DM
45062012-09-04 David S. Miller <davem@davemloft.net>
4507
4508 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4509 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4510 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4511
29237804
FW
45122012-09-04 Florian Weimer <fweimer@redhat.com>
4513
4514 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4515 failures.
4516
edb3cb88
FW
4517 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4518
60160d83
JM
45192012-09-04 Joseph Myers <joseph@codesourcery.com>
4520
4521 [BZ #9914]
4522 * libio/iogetdelim.c: Include <limits.h>.
4523 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4524 + len + 1 would overflow.
4525
bcd6c8dc
AJ
45262012-09-03 Andreas Jaeger <aj@suse.de>
4527
4528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4529 * sysdeps/i386/fpu/libm-test-ulps: Update.
4530
4ffffbd2
LD
45312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4532
4533 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4534 Add s_sinf-sse2, s_conf-sse2.
4535
4536 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4537 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4538 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4539 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4540
4541 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4542 for using routine as __sinf_ia32.
4543 Use macro for function declaration and weak_alias.
4544 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4545 for using routine as __cosf_ia32.
4546 Use macro for function declaration and weak_alias.
4547
4548 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4549 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4550
4551 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4552 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4554
4555 * math/libm-test.inc (cos_test): Add more test cases.
4556 (sin_test): Likewise.
4557 (sincos_test): Likewise.
4558
511fa286
AK
45592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4560
4561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4562 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4563 hidden.
4564 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4565
5f30cfec
L
45662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4567
4568 [BZ #14538]
4569 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4570 first element of the GOT.
4571 (elf_machine_load_address): Return the difference between
4572 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4573
0786794f
AM
45742012-09-01 Allan McRae <allan@archlinux.org>
4575
5f30cfec
L
4576 [BZ #13412]
4577 * configure.in (AWK): Require gawk version 3.0 or later.
4578 * configure: Regenerated.
0786794f 4579
26889eac
JM
45802012-09-01 Joseph Myers <joseph@codesourcery.com>
4581
4582 * sysdeps/unix/sysv/linux/kernel-features.h
4583 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4585 [__NR_clock_getres]: Make code unconditional.
4586 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4587 (clock_getcpuclockid): Remove code left unreachable by removal of
4588 conditionals.
4589 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4590 code unconditional.
4591 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4592 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4593 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4594 Make code unconditional.
4595 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4597 * sysdeps/unix/sysv/linux/clock_settime.c
4598 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4599 conditional code.
4600 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4601 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4602
d22e28b0
L
46032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4604
4605 [BZ #14476]
4606 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4607 scripts/test-installation.pl.
4608
4609 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4610 and $ld_so_version if it is set.
4611
050af9c4
SP
46122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4613
4614 [BZ #14516]
4615 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4616 failure if reading from procfs failed.
4617 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4618
ad845c0b
JM
46192012-08-27 Joseph Myers <joseph@codesourcery.com>
4620
4621 * sysdeps/unix/sysv/linux/kernel-features.h
4622 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4623 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4624 Remove conditional code.
4625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4626 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4627 Remove conditional code.
4628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4629 * sysdeps/unix/sysv/linux/i386/fxstat.c
4630 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4632 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4633 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4635 * sysdeps/unix/sysv/linux/i386/lxstat.c
4636 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4638 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4639 Remove conditional code.
4640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4641 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4642 Remove conditional code.
4643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4644 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4645 <kernel-features.h>.
4646 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4647 Remove.
4648 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4649 Remove conditional code.
4650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4651 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4652 Remove conditional.
4653
5dbf56af
MF
46542012-08-27 Mike Frysinger <vapier@gentoo.org>
4655
4656 [BZ #5400]
4657 * NEWS: Add fixed bug number.
4658
d6e70f43
JM
46592012-08-27 Joseph Myers <joseph@codesourcery.com>
4660
7efb4737
JM
4661 [BZ #14519]
4662 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4663 underflowing exponent in case of negative sign.
4664 * stdlib/tst-strtod-round-data: Add more tests.
4665 * stdlib/tst-strtod-round.c (tests): Regenerated.
4666
af92131a
JM
4667 [BZ #3479]
4668 * stdlib/strtod_l.c (NDIG): Remove.
4669 (HEXNDIG): Likewise.
4670 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4671 smallest representable value.
4672 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4673 lie within an exact representation of 1/2 ulp of the result.
4674 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4675 unconditionally.
4676 (TENS_P9_IDX): Define unconditionally.
4677 (TENS_P9_SIZE): Likewise.
4678 (TENS_P10_IDX): Likewise.
4679 (TENS_P10_SIZE): Likewise.
4680 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4681 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4682 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4683 entries for 10^2^13 and 10^2^14.
4684 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4685 (TENS_P13_IDX): Define.
4686 (TENS_P13_SIZE): Likewise.
4687 (TENS_P14_IDX): Likewise.
4688 (TENS_P14_SIZE): Likewise.
4689 (_fpioconst_pow10): Change array size to
4690 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4691 unconditional.
4692 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4693 1024]: Add entries for 10^2^13 and 10^2^14.
4694 [LAST_POW10 > _LAST_POW10]: Remove #error.
4695 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4696 (_fpioconst_pow10): Change array size to
4697 FPIOCONST_POW10_ARRAY_SIZE.
4698 * stdlib/gen-fpioconst.c: New file.
4699 * stdlib/gen-tst-strtod-round.c: Likewise.
4700 * stdlib/tst-strtod-round-data: Likewise.
4701 * stdlib/tst-strtod-round.c: Likewise.
4702 * stdlib/Makefile (tests): Add tst-strtod-round.
4703
d6e70f43
JM
4704 [BZ #14459]
4705 * stdlib/strtod_l.c: Include <stdint.h>.
4706 (NDEBUG): Do not define.
4707 (round_and_return): Change EXPONENT parameter to type intmax_t.
4708 Rearrange calculations to avoid internal overflow possibilities.
4709 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4710 Rearrange calculations to avoid internal overflow possibilities.
4711 Assert that number fits inside MPNSIZE limbs.
4712 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4713 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4714 calculations and add assertions to avoid internal overflow
4715 possibilities. Add casts to avoid signed/unsigned operations.
4716 * stdlib/tst-strtod-overflow.c: New file.
4717 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4718
1f529f7d
MP
47192012-08-25 Marek Polacek <polacek@redhat.com>
4720
4721 * time/time.h: Fix some typos in comments.
4722
59a629f1
RM
47232012-08-23 Roland McGrath <roland@hack.frob.com>
4724
4725 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4726 * posix/tst-rfc3484-2.c: Likewise.
4727 * posix/tst-rfc3484-3.c: Likewise.
4728
d3bafbc9
SM
47292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4730
4731 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4732 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4733
4efcc022
JM
47342012-08-23 Joseph Myers <joseph@codesourcery.com>
4735
4736 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4737 #include of fxstatat64.c.
4738
3cc3ef96
RM
47392012-08-22 Roland McGrath <roland@hack.frob.com>
4740
f04e2132
RM
4741 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4742 * shadow/getspent_r.c: Likewise.
4743 * shadow/getspnam.c: Likewise.
4744 * shadow/getspnam_r.c: Likewise.
4745 * gshadow/getsgent.c: Likewise.
4746 * gshadow/getsgent_r.c: Likewise.
4747 * gshadow/getsgnam.c: Likewise.
4748 * gshadow/getsgnam_r.c: Likewise.
4749 * inet/getnetbyad.c: Likewise.
4750 * inet/getnetbyad_r.c: Likewise.
4751 * inet/getnetbynm.c: Likewise.
4752 * inet/getnetbynm_r.c: Likewise.
4753 * inet/getnetent.c: Likewise.
4754 * inet/getnetent_r.c: Likewise.
4755 * inet/getproto.c: Likewise.
4756 * inet/getproto_r.c: Likewise.
4757 * inet/getprtent.c: Likewise.
4758 * inet/getprtent_r.c: Likewise.
4759 * inet/getprtname.c: Likewise.
4760 * inet/getprtname_r.c: Likewise.
4761 * inet/getrpcbyname.c: Likewise.
4762 * inet/getrpcbyname_r.c: Likewise.
4763 * inet/getrpcbynumber.c: Likewise.
4764 * inet/getrpcbynumber_r.c: Likewise.
4765 * inet/getrpcent.c: Likewise.
4766 * inet/getrpcent_r.c: Likewise.
4767 * inet/getaliasent.c: Likewise.
4768 * inet/getaliasent_r.c: Likewise.
4769 * inet/getaliasname.c: Likewise.
4770 * inet/getaliasname_r.c: Likewise.
4771 * nscd/getgrgid_r.c: Likewise.
4772 * nscd/getgrnam_r.c: Likewise.
4773 * nscd/gethstbyad_r.c: Likewise.
4774 * nscd/gethstbynm3_r.c: Likewise.
4775 * nscd/getpwnam_r.c: Likewise.
4776 * nscd/getpwuid_r.c: Likewise.
4777 * nscd/getsrvbynm_r.c: Likewise.
4778 * nscd/getsrvbypt_r.c: Likewise.
4779 * nscd/gai.c: Likewise.
4780
c53d909c
RM
4781 * configure.in (build_nscd): New substituted variable, set
4782 by --disable-build-nscd and defaults to $use_nscd.
4783 * configure: Regenerated.
4784 * config.make.in (build-nscd): New substituted variable.
4785 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4786 Change conditional to require [$(build-nscd) = yes] as well.
4787 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4788
3cc3ef96
RM
4789 [BZ# 13696]
4790 * configure.in (use_nscd): New substituted variable, set by
4791 --disable-nscd. If enabled, define USE_NSCD.
4792 * configure: Regenerated.
4793 * config.h.in: Add USE_NSCD.
4794 * config.make.in (use-nscd): New substituted variable.
4795 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4796 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4797 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4798 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4799 (CFLAGS-getgrnam_r.c): Likewise.
4800 (CFLAGS-initgroups.c): Likewise.
4801 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4802 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4803 Variables removed.
4804 * inet/getnetgrent_r.c
4805 (nscd_setnetgrent): New function, broken out of ...
4806 (setnetgrent): ... here. Call it.
4807 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4808 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4809 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4810 * nscd/Makefile (routines, aux): Move definitions after include of
4811 Makeconfig. Conditionalize on [$(use-nscd) != no].
4812 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4813 Conditionalize on [USE_NSCD].
4814 (is_nscd, nscd_init_cb): Likewise.
4815 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4816 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4817 * nss/nss_db/db-init.c: Likewise.
4818 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4819 [USE_NSCD].
4820 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4821 (make_request): Use it.
4822 (cache_valid_p): New function.
4823 (__check_pf): Use it.
4824 * NEWS: Add item for --disable-nscd.
4825
07e51550
DL
48262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4827
4828 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4829 to support sed >= 4.2.1-20-ga9bf076.
4830 * configure: Regenerated.
4831
35a5b08b
RM
48322012-08-22 Roland McGrath <roland@hack.frob.com>
4833
4834 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4835 Conditionalize whole body on [IREL].
4836
8479f23a
JL
48372012-08-22 Jeff Law <law@redhat.com>
4838
4839 [BZ #14505]
4840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4841 if the family is PF_UNSPEC.
4842
48da0b21
MF
48432012-08-22 Mike Frysinger <vapier@gentoo.org>
4844
4845 * Makerules (lib-version): Rename from V.
4846 (install-lib-nosubdir): Change V to lib-version.
4847
15d0da8c
WS
48482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4849
4850 [BZ #14252]
4851 * powerpc32/power6/wcschr.c: New file.
4852 * powerpc32/power6/wcscpy.c: New file.
4853 * powerpc32/power6/wcsrchr.c: New file.
4854 * powerpc64/power6/wcschr.c: New file.
4855 * powerpc64/power6/wcscpy.c: New file.
4856 * powerpc64/power6/wcsrchr.c: New file.
4857
bcca0895
MK
48582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4859
4860 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4861 (two_way_short_needle): Use it.
5a4aaa33
RM
4862 * string/strstr.c (AVAILABLE1_USES_J): Define.
4863 * string/strcasestr.c: Likewise.
99677e57
MK
4864
4865 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4866 array references.
4867 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4868
400726de
MK
4869 [BZ #11607]
4870 * NEWS: Add an entry.
4871 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4872 define their defaults.
4873 (two_way_short_needle): Detect end-of-string on-the-fly.
4874 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4875 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4876 * string/bug-strcasestr1.c: New test.
4877 * string/Makefile: Run it.
4878
20a71f2c
MK
48792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4880
4881 [BZ #11607]
4882 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4883 the first character.
4884
21ad0558
RM
48852012-08-21 Roland McGrath <roland@hack.frob.com>
4886
4887 * csu/elf-init.c (__libc_csu_irel): Function removed.
4888 * csu/libc-start.c (apply_irel): New function.
4889 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4890
0e1d9911
JM
48912012-08-21 Joseph Myers <joseph@codesourcery.com>
4892
4893 * sysdeps/unix/sysv/linux/kernel-features.h
4894 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4895 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4896 <kernel-features.h>.
4897 [__NR_fadvise64_64]: Make code unconditional.
4898 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4899 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4900 !__NR_fadvise64_64)]: Likewise.
4901 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4902 !__NR_fadvise64_64))]: Likewise.
4903 [__NR_fadvise64]: Make code unconditional.
4904 [!__NR_fadvise64]: Remove conditional code.
4905 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4906 <kernel-features.h>.
4907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4908 unconditional.
4909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4910 conditional code.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4912 not include <kernel-features.h>.
4913 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4914 unconditional.
4915 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4916 conditional code.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4918 include <kernel-features.h>.
4919 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4920 unconditional.
4921 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4922 conditional code.
4923
14a50c9d
WS
49242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4925
4926 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4927 slight instruction rearrangements per scrollpipe analysis.
4928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4929
c0f4faf0
RM
49302012-08-20 Roland McGrath <roland@hack.frob.com>
4931
696da859
RM
4932 * manual/syslog.texi (syslog; vsyslog, closelog):
4933 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4934 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4935
c0f4faf0
RM
4936 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4937 DSOCAPS to match condition on defining it.
4938
348363b2
JM
49392012-08-20 Joseph Myers <joseph@codesourcery.com>
4940
a35cbf28
JM
4941 * sysdeps/unix/sysv/linux/kernel-features.h
4942 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4944 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4945 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4947 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4948 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4950 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4951 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4952
445f7ecd
JM
4953 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4954 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4955
348363b2
JM
4956 * sysdeps/unix/sysv/linux/kernel-features.h
4957 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4958 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4959 unconditional.
4960 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4961 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4964 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4965 Make code unconditional.
4966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4967 (__mmap64) [!__NR_mmap2]: Likewise.
4968 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4969 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4970 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4972 [__NR_mmap2]: Make code unconditional.
4973 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4974 (__mmap64) [!__NR_mmap2]: Likewise.
4975
bc5bc0e5
AK
49762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4977
4978 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4979
88d506de
AJ
49802012-08-18 Andreas Jaeger <aj@suse.de>
4981
4982 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4983
493387d2
MF
49842012-08-18 Mike Frysinger <vapier@gentoo.org>
4985
4986 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4987 * include/unistd.h (__have_sock_cloexec): Likewise.
4988 (__have_pipe2): Likewise.
4989 (__have_dup3): Likewise.
4990
a277af22
MF
49912012-08-18 Mike Frysinger <vapier@gentoo.org>
4992
4993 [BZ #9685]
4994 * include/unistd.h (__have_pipe2): Change define into an extern int.
4995 (__have_dup3): Likewise.
4996 * socket/have_sock_cloexec.c: Include fcntl.h.
4997 (__have_pipe2): New variable.
4998 (__have_dup3): Likewise.
4999
fdab8fd3
MF
50002012-08-17 Mike Frysinger <vapier@gentoo.org>
5001
5002 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5003
31035e80
MP
50042012-08-17 Marek Polacek <polacek@redhat.com>
5005
5006 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5007 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5008
3bd9e993
RM
50092012-08-17 Roland McGrath <roland@hack.frob.com>
5010
c91c505f
RM
5011 * configure.in: Add AC_SUBST for sysheaders.
5012 * configure: Regenerated.
5013 * config.make.in (sysheaders): New substituted variable.
5014
7c6f9d53
RM
5015 * sysdeps/unix/mkfifo.c: Moved ...
5016 * sysdeps/posix/mkfifo.c: ... here.
5017 * sysdeps/unix/mkfifoat.c: Moved ...
5018 * sysdeps/posix/mkfifoat.c: ... here.
5019
5020 * sysdeps/unix/utime.c: Moved ...
5021 * sysdeps/posix/utime.c: ... here.
5022
5023 * sysdeps/unix/time.c: Moved ...
5024 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5025 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5026 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5027
5028 * sysdeps/unix/nice.c: Moved ...
5029 * sysdeps/posix/nice.c: ... here.
5030
5031 * sysdeps/unix/alarm.c: Moved ...
5032 * sysdeps/posix/alarm.c: ... here.
5033
3bd9e993
RM
5034 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5035
d1f09384
JL
50362012-08-17 Jeff Law <law@redhat.com>
5037
5038 * intl/Makefile (codeset_mo): New variable.
5039 ($(codeset_mo)): New target.
5040 (tst-codeset.out): Depend on that. Remove explicit rule.
5041 (tst-gettext3.out, tst-gettext5.out): Likewise.
5042 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5043 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5044 * intl/tst-codeset.sh: Remove.
5045 * intl/tst-gettext3.sh: Likewise.
5046 * intl/tst-gettext5.sh: Likewise.
5047
2ae1ae5c
RM
50482012-08-17 Roland McGrath <roland@hack.frob.com>
5049
c31fdb83
RM
5050 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5051 * sysdeps/unix/syscalls.list: ... here.
5052
a0844057
RM
5053 * sysdeps/posix/getaddrinfo.c
5054 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5055 (gaiconf_init, gaiconf_reload): Use them.
5056 [!_STATBUF_ST_NSEC]
5057 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5058 Define using time_t rather than struct timespec.
5059
750c1f2a
RM
5060 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5061 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5062 Macros removed.
5063 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5064 [!NO_THREADS].
5065 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5066 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5067 Likewise.
5068
2ae1ae5c
RM
5069 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5070 __libc_cleanup_push argument.
5071
e66a42f5
RM
5072 * bits/param.h: New file.
5073 * misc/sys/param.h: New file.
5074 * include/sys/param.h: New file.
5075 * misc/Makefile (headers): Add bits/param.h.
5076 * sysdeps/generic/sys/param.h: File removed.
5077 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5078 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5079 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5080 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5081
b7c08a66
RM
5082 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5083 last change.
5084
b2e1c562
RM
5085 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5086 [_IO_MTSAFE_IO].
5087 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5088 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5089 New macros.
5090
c75ccd4c
RM
5091 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5092 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5093 rather than -D_IO_MTSAFE_IO conditionally.
5094 * stdio-common/Makefile (CPPFLAGS): Likewise.
5095 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5096 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5097 Use $(libio-mtsafe).
5098 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5099 of -D_IO_MTSAFE_IO.
5100 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5101 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5102 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5103 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5104 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5105 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5106 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5107 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5108 (CFLAGS-fread_u_chk.c): Likewise.
5109 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5110 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5111 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5112 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5113 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5114 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5115 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5116 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5117 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5118
5119 * libio/Makefile: Test [$(libc-reentrant) = yes]
5120 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5121
5122 * Makeconfig
5123 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5124 * sysdeps/pthread/configure: File removed.
5125 * sysdeps/pthread/Makeconfig: New file.
5126 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5127 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5128
d9195db8
GB
51292012-08-16 Gary Benson <gbenson@redhat.com>
5130
5131 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5132 unmapping the first object in a namespace.
5133
86466cd9
RM
51342012-08-16 Roland McGrath <roland@hack.frob.com>
5135
5136 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5137 (__internal_setnetgrent): ... this. Add internal_function to
5138 definition. Add libc_hidden_def.
5139 (setnetgrent): Update caller.
5140 (internal_endnetgrent): Renamed to ...
5141 (__internal_endnetgrent): ... this. Add internal_function to
5142 definition. Add libc_hidden_def.
5143 (endnetgrent): Update caller.
5144 (internal_getnetgrent_r): Renamed to ...
5145 (__internal_getnetgrent_r): ... this. Add internal_function to
5146 definition. Add libc_hidden_def.
5147 (__getnetgrent_r): Update caller.
5148 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5149
c3c8283c
JM
51502012-08-16 Joseph Myers <joseph@codesourcery.com>
5151
5152 * stdlib/longlong.h: Update from GCC.
5153
db1ee0a8
RM
51542012-08-16 Roland McGrath <roland@hack.frob.com>
5155
5156 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5157 on _QL, which is set by umul_ppmm but never used.
5158 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5159 variables, which are set by GMP macros but never used.
5160 * stdio-common/_itowa.c (_itowa): Likewise.
5161 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5162 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5163
30f69637
CD
51642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5165
5166 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5167 struct La_sh_regs is not constant.
5168 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5169 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5170 and struct La_sparc64_regs are not constant.
5171
93a78ac4
JM
51722012-08-16 Joseph Myers <joseph@codesourcery.com>
5173
5174 * sysdeps/unix/sysv/linux/kernel-features.h
5175 (__ASSUME_POSIX_TIMERS): Remove.
5176 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5178 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5179 Make code unconditional.
5180 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5181 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5182 Make code unconditional.
5183 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5184 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5185 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5186 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5187 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5188 Make code unconditional.
5189 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5190 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5191 (__libc_missing_posix_timers): Remove.
5192
dd924cd7
RM
51932012-08-15 Roland McGrath <roland@hack.frob.com>
5194
4b4f2771
RM
5195 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5196 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5197
601c888b
RM
5198 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5199
176790a7
RM
5200 * elf/dl-sym.c: Include <stdlib.h>.
5201
329bc018
RM
5202 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5203 constants, which avoids warnings in 32-bit builds.
5204
e04e272d
RM
5205 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5206 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5207
952bf94a
RM
5208 * misc/lseek.c: File moved to ...
5209 * io/lseek.c: ... here.
5210
7c99b50a
RM
5211 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5212
dd924cd7
RM
5213 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5214 shifting LEN more than 31 bits at once.
5215
b3f479a8
LD
52162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5217
5218 [BZ #14195]
8c4ae0d4
RM
5219 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5220 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5221 * string/test-strncasecmp.c (check1): Renamed to...
5222 (bz12205): ...this.
5223 (bz14195): Add new testcase for two empty input strings and N > 0.
5224 (test_main): Call new testcase, adapt for renamed function.
5225
9c55864e
AJ
52262012-08-15 Andreas Jaeger <aj@suse.de>
5227
5228 [BZ #14090]
5229 * crypt/md5test2.c: New test, based on test supplied by Serge
5230 Belyshev <belyshev@depni.sinp.msu.ru>.
5231 * crypt/Makefile (xtests): Add md5test-giant..
5232 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5233
02dcb6c5
PE
52342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5235
5236 [BZ #14090]
5237 * crypt/md5.c (md5_process_block): Don't assume the buffer
5238 length is less than 2**32.
5239 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5240 length is less than 2**64.
5241
a3f95dcc
RM
52422012-08-15 Roland McGrath <roland@hack.frob.com>
5243
be75d758
RM
5244 * string/str-two-way.h: Include <sys/param.h>.
5245 (MAX): Macro removed.
5246
7312ca90
RM
5247 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5248 Move #define and #undef of memmove to just before and after
5249 including <string.h>.
5250
9a0a5486
RM
5251 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5252 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5253 and after including <string.h>. Move declarations of
5254 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5255 to before #include "string/memmove.c".
5256
67cc348d
RM
5257 * include/dirent.h: Declare __getdirentries.
5258
a3f95dcc
RM
5259 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5260 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5261
ca98e171
MF
52622012-08-14 Mike Frysinger <vapier@gentoo.org>
5263
5264 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5265 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5266 * sysdeps/i386/configure: Regenerated.
5267 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5268 STABS_CURRENT_FILE, and STABS_FUN.
5269 (END): Remove call to STABS_FUN_END.
5270 (STABS_CURRENT_FILE1): Delete.
5271 (STABS_CURRENT_FILE): Likewise.
5272 (STABS_FUN): Likewise.
5273 (STABS_FUN_END): Likewise.
5274 (STABS_FUN2): Likewise.
5275 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5276 * sysdeps/x86_64/configure: Regenerated.
5277
5908bf46
RM
52782012-08-14 Roland McGrath <roland@hack.frob.com>
5279
5280 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5281 * elf/dl-lookup.c: Likewise.
5908bf46 5282
f2c05b9e
JM
52832012-08-14 Joseph Myers <joseph@codesourcery.com>
5284
5285 * sysdeps/unix/sysv/linux/kernel-features.h
5286 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5287 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5288 unconditionally.
5289 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5290 unconditionally.
5291 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5292 condition on __ASSUME_CLONE_THREAD_FLAGS.
5293
e11f5155
AJ
52942012-08-14 Andreas Jaeger <aj@suse.de>
5295
5296 * sysdeps/i386/fpu/libm-test-ulps: Update.
5297
51a9ba86
MK
52982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5299
2fdd4f78
AJ
5300 * include/atomic.h (atomic_exchange_and_add): Split into ...
5301 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5302 New atomic macros.
51a9ba86 5303
ba6cba9e
MT
53042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5305
5306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5307
42443a47
JL
53082012-08-13 Jeff Law <law@redhat.com>
5309
5310 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5311 null byte in the output string.
5312
121dce05
JM
53132012-08-10 Joseph Myers <joseph@codesourcery.com>
5314
5315 * sysdeps/unix/sysv/linux/kernel-features.h
5316 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5317 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5318 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5320 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5321 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5322 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5323
bf51f568
JL
53242012-08-09 Jeff Law <law@redhat.com>
5325
5326 [BZ #13939]
5327 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5328 When avoid_arena is set, don't retry in the that arena. Pick the
5329 next one, whatever it might be.
5330 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5331 (arena_lock): Pass in new parameter to arena_get2.
5332 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5333 arena_get2.
5334 (__libc_malloc): Unify retrying after main arena failure with
5335 __libc_memalign version.
5336 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5337
f85fa270
L
53382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5339
5340 [BZ #14166]
5341 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5342 to __redirect_strstr.
5343 (__strstr_sse42): Use typeof __redirect_strstr.
5344 (__strstr_ia32): Likewise.
5345 (__libc_strstr): New prototype.
5346 (strstr): Renamed to ...
5347 (__libc_strstr): This.
5348 (strstr): New strong alias of __libc_strstr.
5349 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5351 __redirect_time.
5352 Include <time.h>.
5353 (__libc_time): New prototype.
5354 (time_ifunc): Replace time with __libc_time.
5355 (time): New strong alias and hidden definition of __libc_time.
5356 (__GI_time): Remove strong alias.
5357 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5358 Include <stddef.h>.
5359 (memmove): Redefined to __redirect_memmove.
5360 (__memmove_sse2): Use typeof __redirect_memmove.
5361 (__memmove_ssse3): Likewise.
5362 (__memmove_ssse3_back): Likewise.
5363 (__libc_memmove): New prototype.
5364 (memmove): Renamed to ...
5365 (__libc_memmove): This.
5366 (memmove): New strong alias of __libc_memmove.
5367
33b4a91e
MS
53682012-08-08 Mark Salter <msalter@redhat.com>
5369
5370 * elf/elf.h
5371 (R_MN10300_TLS_GD): Define.
5372 (R_MN10300_TLS_LD): Likewise.
5373 (R_MN10300_TLS_LDO): Likewise.
5374 (R_MN10300_TLS_GOTIE): Likewise.
5375 (R_MN10300_TLS_IE): Likewise.
5376 (R_MN10300_TLS_LE): Likewise.
5377 (R_MN10300_TLS_DTPMOD): Likewise.
5378 (R_MN10300_TLS_DTPOFF): Likewise.
5379 (R_MN10300_TLS_TPOFF): Likewise.
5380 (R_MN10300_SYM_DIFF): Likewise.
5381 (R_MN10300_ALIGN): Likewise.
5382 (R_MN10300_NUM): Update.
5383
b36137f1
JM
53842012-08-08 Joseph Myers <joseph@codesourcery.com>
5385
5386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5387 Remove.
5388
cdd915fd
RM
53892012-08-08 Roland McGrath <roland@hack.frob.com>
5390
a2433aac
RM
5391 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5392
cdd915fd
RM
5393 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5394 sysdeps/unix -> sysdeps/posix move.
5395 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5396
bf9b740a
AM
53972012-08-07 Allan McRae <allan@archlinux.org>
5398
5399 [BZ #14303]
5400 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5401 (SUNOS_CPP): Likewise.
5402 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5403 not found.
5404 (open_input): Call CPP using execvp.
5405
93df14ee
JM
54062012-08-07 Joseph Myers <joseph@codesourcery.com>
5407
5408 * sysdeps/unix/sysv/linux/kernel-features.h
5409 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5410 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5411 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5412 (__ASSUME_WAITID_SYSCALL): Likewise.
5413 * sysdeps/unix/sysv/linux/dl-execstack.c
5414 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5415 code unconditional.
5416 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5417 conditional code.
5418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5419 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5420 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5421 code.
5422 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5423 unconditional.
5424 [__ASSUME_WAITID_SYSCALL]: Likewise.
5425 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5426
d34689de
RM
54272012-08-07 Roland McGrath <roland@hack.frob.com>
5428
a281decc
RM
5429 * sysdeps/unix/closedir.c: Renamed to ...
5430 * sysdeps/posix/closedir.c: ... here.
5431 * sysdeps/unix/dirfd.c: Renamed to ...
5432 * sysdeps/posix/dirfd.c: ... here.
5433 * sysdeps/unix/dirstream.h: Renamed to ...
5434 * sysdeps/posix/dirstream.h: ... here.
5435 * sysdeps/unix/fdopendir.c: Renamed to ...
5436 * sysdeps/posix/fdopendir.c: ... here.
5437 * sysdeps/unix/opendir.c: Renamed to ...
5438 * sysdeps/posix/opendir.c: ... here.
5439 * sysdeps/unix/readdir.c: Renamed to ...
5440 * sysdeps/posix/readdir.c: ... here.
5441 * sysdeps/unix/readdir_r.c: Renamed to ...
5442 * sysdeps/posix/readdir_r.c: ... here.
5443 * sysdeps/unix/rewinddir.c: Renamed to ...
5444 * sysdeps/posix/rewinddir.c: ... here.
5445 * sysdeps/unix/seekdir.c: Renamed to ...
5446 * sysdeps/posix/seekdir.c: ... here.
5447 * sysdeps/unix/telldir.c: Renamed to ...
5448 * sysdeps/posix/telldir.c: ... here.
5449 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5450 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5451 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5452 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5453
22895b47
RM
5454 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5455 * bits/fcntl.h: ... here.
5456
707a53b6
RM
5457 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5458 not 0.
5459 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5460 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5461 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5462 (struct flock): Move l_start, l_len to the beginning.
5463 Use __pid_t for l_pid.
5464 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5465 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5466 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5467 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5468 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5469 [__USE_LARGEFILE64] (struct flock64): New type.
5470 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5471
f0bd3e25
RM
5472 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5473 * bits/dirent.h: ... here.
5474
d34689de
RM
5475 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5476 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5477
6dad2c06
JM
54782012-08-07 Joseph Myers <joseph@codesourcery.com>
5479
5480 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5481 Change from 2.6.0 to 2.6.16.
5482 * sysdeps/unix/sysv/linux/configure: Regenerated.
5483 * sysdeps/unix/sysv/linux/kernel-features.h
5484 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5485 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5486 version.
5487 (__ASSUME_UTIMES): Likewise.
5488 (__ASSUME_CLONE_STOPPED): Remove.
5489 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5490 architectures, not kernel version.
5491 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5492 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5493 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5494 (__ASSUME_WAITID_SYSCALL): Likewise.
5495 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5496 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5497 * README: State 2.6.16 as minimum Linux kernel version. Do not
5498 refer to older versions.
5499
03af9520
RM
55002012-08-06 Roland McGrath <roland@hack.frob.com>
5501
8e49df1d
RM
5502 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5503 Define alphasort64 as an alias.
5504 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5505 Define versionsort64 as an alias.
5506 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5507 Define scandir64 as an alias.
5508 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5509 Define scandirat64 as an alias.
5510 * dirent/alphasort64.c (alphasort64):
5511 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5512 * dirent/versionsort64.c: Likewise.
5513 * dirent/scandir64.c: Likewise.
5514 * dirent/scandirat64.c: Likewise.
5515 * sysdeps/wordsize-64/alphasort.c: File removed.
5516 * sysdeps/wordsize-64/alphasort64.c: File removed.
5517 * sysdeps/wordsize-64/scandir.c: File removed.
5518 * sysdeps/wordsize-64/scandir64.c: File removed.
5519 * sysdeps/wordsize-64/scandirat.c: File removed.
5520 * sysdeps/wordsize-64/scandirat64.c: File removed.
5521 * sysdeps/wordsize-64/versionsort.c: File removed.
5522 * sysdeps/wordsize-64/versionsort64.c: File removed.
5523 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5525 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5527 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5529 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5531
5532 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5534 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5536 [defined __arch64__ || defined __sparcv9]
5537 (__INO_T_MATCHES_INO64_T): New macro.
5538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5539 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5540 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5541 * sysdeps/unix/sysv/linux/bits/dirent.h
5542 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5543 (_DIRENT_MATCHES_DIRENT64): New macro.
5544
03af9520
RM
5545 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5546 Define lockf64 as an alias.
5547 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5548 Define fseeko64 as an alias.
5549 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5550 Define ftello64 as an alias.
5551 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5552 Define _IO_fgetpos64 and fgetpos64 as aliases.
5553 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5554 Define _IO_fsetpos64 and fsetpos64 as aliases.
5555 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5556 Conditionalize body on this.
5557 * libio/fseeko64.c: Likewise.
5558 * libio/ftello64.c: Likewise.
5559 * libio/iofgetpos64.c: Likewise.
5560 * libio/iofsetpos64.c: Likewise.
5561 * sysdeps/wordsize-64/lockf.c: File removed.
5562 * sysdeps/wordsize-64/lockf64.c: File removed.
5563 * sysdeps/wordsize-64/fseeko.c: File removed.
5564 * sysdeps/wordsize-64/fseeko64.c: File removed.
5565 * sysdeps/wordsize-64/ftello.c: File removed.
5566 * sysdeps/wordsize-64/ftello64.c: File removed.
5567 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5568 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5569 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5570 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5571 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5573 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5575 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5577 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5581
5582 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5584 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5586 [defined __arch64__ || defined __sparcv9]
5587 (__OFF_T_MATCHES_OFF64_T): New macro.
5588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5589 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5591 (__OFF_T_MATCHES_OFF64_T): New macro.
5592
c5757acd
L
55932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5594
5595 * stdlib/secure-getenv.c (__secure_getenv): Replace
5596 GLIBC_2_16 with GLIBC_2_17.
5597
3a31811e
L
55982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5599
5600 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5602
faa2bccb
DM
56032012-08-03 David S. Miller <davem@davemloft.net>
5604
5605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5606
85fe1997
JM
56072012-08-03 Joseph Myers <joseph@codesourcery.com>
5608
5609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5610 Remove.
5611 (__ASSUME_CORRECT_SI_PID): Likewise.
5612 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5613 (__ASSUME_TMPFS_NAME): Likewise.
5614 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5615 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5616 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5617 (HAVE_AUX_SECURE): Make definition unconditional.
5618 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5619 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5620
4f75b7a0
RM
56212012-08-03 Roland McGrath <roland@hack.frob.com>
5622
5623 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5624 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5625 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5626 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5627 __eloop_threshold instead of SYMLOOP_MAX.
5628
5629 * sysdeps/generic/eloop-threshold.h: New file.
5630 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5631 of MAXSYMLINKS.
5632 * elf/chroot_canon.c (chroot_canon): Likewise.
5633
7aab07e4
JM
56342012-08-03 Joseph Myers <joseph@codesourcery.com>
5635
5636 [BZ #13717]
5637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5638 Change to 2.6.0 everywhere.
5639 * sysdeps/unix/sysv/linux/configure: Regenerated.
5640 * sysdeps/unix/sysv/linux/kernel-features.h
5641 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5642 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5643 kernel versions.
5644 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5645 (__ASSUME_FUTEX_REQUEUE): Remove.
5646 (__ASSUME_STATFS64): Define unconditionally.
5647 (__ASSUME_AT_SECURE): Likewise.
5648 (__ASSUME_CORRECT_SI_PID): Likewise.
5649 (__ASSUME_TGKILL): Define without depending on kernel version for
5650 i386.
5651 (__ASSUME_UTIMES): Likewise.
5652 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5653 kernel version.
5654 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5655 (__ASSUME_TMPFS_NAME): Likewise.
5656 * README: Update reference to Linux kernel versions.
5657
b67e9372
MP
56582012-08-02 Marek Polacek <polacek@redhat.com>
5659
1f529f7d 5660 [BZ# 14150]
b67e9372
MP
5661 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5662 libc_cv_asm_type_prefix with %.
5663 * configure: Regenerated.
d2441631
RM
5664 * include/libc-symbols.h: Remove comment about
5665 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5666 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5667 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5668 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5669 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5670 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5671 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5673 * elf/tst-unique2mod1.c: Likewise.
5674 * elf/tst-unique1mod2.c: Likewise.
5675 * elf/tst-unique1mod1.c: Likewise.
5676 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5677 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5678 Replace ASM_TYPE_DIRECTIVE with .type.
5679 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5680 * sysdeps/i386/sysdep.h: Likewise.
5681 * sysdeps/x86_64/sysdep.h: Likewise.
5682 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5684 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5685 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5686 * sysdeps/powerpc/powerpc32/sysdep.h:
5687 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5688 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5690 * sysdeps/i386/fpu/e_powf.S: Likewise.
5691 * sysdeps/i386/fpu/e_expl.S: Likewise.
5692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5693 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5694 * sysdeps/i386/fpu/e_pow.S: Likewise.
5695 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5696 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5697 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5698 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5699 * sysdeps/i386/fpu/e_log2.S: Likewise.
5700 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5702 * sysdeps/i386/fpu/e_powl.S: Likewise.
5703 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5704 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5705 * sysdeps/i386/fpu/e_logl.S: Likewise.
5706 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5707 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5708 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5709 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5710 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5711 * sysdeps/i386/fpu/e_log.S: Likewise.
5712 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5713 * sysdeps/i386/fpu/e_logf.S: Likewise.
5714 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5715 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5716 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5717 * sysdeps/i386/fpu/e_log10.S: Likewise.
5718 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5720 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5721 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5723 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5724 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5725 * sysdeps/i386/i686/strtok.S: Likewise.
5726 * sysdeps/i386/i386-mcount.S: Likewise.
5727 * sysdeps/i386/strtok.S: Likewise.
5728 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5729 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5731 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5732 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5734 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5735 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5736 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5737 * sysdeps/x86_64/_mcount.S: Likewise.
5738 * sysdeps/x86_64/strtok.S: Likewise.
5739 * sysdeps/sh/_mcount.S: Likewise.
5740
2747bf9a
RM
57412012-08-01 Roland McGrath <roland@hack.frob.com>
5742
5743 * libio/iofopen.c: Include <fcntl.h>.
5744 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5745 (_IO_fopen64, fopen64): Define as aliases.
5746 * libio/iofopen64.c: Include <fcntl.h>.
5747 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5748 Conditionalize body on this.
5749 * sysdeps/wordsize-64/iofopen.c: File removed.
5750 * sysdeps/wordsize-64/iofopen64.c: File removed.
5751
3fb791b8
MP
57522012-08-01 Marek Polacek <polacek@redhat.com>
5753
5754 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5755 Use dlfcn directly instead of a variable.
5756 (binfmt-subdir): Do not define.
5757 (dlfcn): Likewise.
5758
a9f1039f
JM
57592012-08-01 Joseph Myers <joseph@codesourcery.com>
5760
23bddc06
JM
5761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5762 Remove all definitions.
5763 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5764 <kernel-features.h>.
5765 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5766 (miss_F_GETOWN_EX): Remove all definitions.
5767 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5768 macro definition.
5769 [!__ASSUME_FCNTL64]: Remove conditional code.
5770 [__ASSUME_FCNTL64]: Make code unconditional.
5771 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5772 <kernel-features.h>.
5773 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5774 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5775 (lockf64) [__NR_fcntl64]: Make code unconditional.
5776 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5777
a9f1039f
JM
5778 * sysdeps/unix/sysv/linux/kernel-features.h
5779 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5780 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5781 Make code unconditional.
5782 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5783 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5785 [__NR_vfork]: Make code unconditional.
5786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5789 [__NR_vfork]: Make code unconditional.
5790 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5791 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5792
09c0ee5f
RM
57932012-08-01 Roland McGrath <roland@hack.frob.com>
5794
48aec5b9
RM
5795 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5796 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5797
cd97c966
RM
5798 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5799 Define mkstemp64 as an alias.
3f55550c
RM
5800 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5801 Define mkstemps64 as an alias.
cd97c966
RM
5802 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5803 Define mkostemp64 as an alias.
b8625cfc
RM
5804 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5805 Define mkostemps64 as an alias.
cd97c966
RM
5806 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5807 Conditionalize body on this.
5808 * misc/mkostemp64.c: Likewise.
b8625cfc 5809 * misc/mkostemps64.c: Likewise.
3f55550c 5810 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5811 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5812 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5813 * sysdeps/wordsize-64/mkostemp.c: File removed.
5814 * sysdeps/wordsize-64/mkstemp.c: File removed.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5816 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5818 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5819
09c0ee5f
RM
5820 [BZ #14138]
5821 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5822 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5823 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5824 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5825
5826 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5827 compat_symbol macros from <shlib-compat.h> rather than the underlying
5828 default_symbol_version and symbol_version macros, so that DEFAULT
5829 lines in shlib-versions are respected.
5830 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5831
7e66ee51
FW
58322012-08-01 Florian Weimer <fweimer@redhat.com>
5833
5834 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5835 Declare with warn_unused_result.
5836 (setgid, setregid, setegid, setresgid): Likewise.
5837 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5838 Likewise.
5839 * WUR-REPORT: Remove set*id functions.
5840
d2a54255
PT
58412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5842
5843 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5844
7ecdb005
RM
58452012-07-31 Roland McGrath <roland@hack.frob.com>
5846
789bd351
RM
5847 * include/sys/socket.h (__libc_accept, __libc_accept4):
5848 Add attribute_hidden.
5849 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5850
40ce302d
RM
5851 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5852 use of PTR_MANGLE.
5853 * inet/getnetgrent_r.c (setup): Likewise.
5854
7ecdb005
RM
5855 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5856
e2eabb2c
DM
58572012-07-31 David S. Miller <davem@davemloft.net>
5858
5859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5860
d0419dbf
JM
58612012-07-31 Joseph Myers <joseph@codesourcery.com>
5862
5863 [BZ #13629]
5864 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5865 value between 1.0 and 2.0 and smaller part has absolute value less
5866 than 1.0.
5867 * math/s_clog10.c (__clog10): Likewise.
5868 * math/s_clog10f.c (__clog10f): Likewise.
5869 * math/s_clog10l.c (__clog10l): Likewise.
5870 * math/s_clogf.c (__clogf): Likewise.
5871 * math/s_clogl.c (__clogl): Likewise.
5872 * math/libm-test.inc (clog_test): Add more tests.
5873 (clog10_test): Likewise.
5874 * sysdeps/i386/fpu/libm-test-ulps: Update.
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5876
2bc13872
FW
58772012-07-31 Florian Weimer <fweimer@redhat.com>
5878
5879 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5880 Exit with zero in case no suitable GID is found, and write a
5881 message to standard error.
5882
bea9b193
RM
58832012-07-30 Roland McGrath <roland@hack.frob.com>
5884
5885 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5886 rather than to 1.
5887 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5888 (MAXPATHLEN): Removed.
5889 (NOGROUP, NODEV): New macros.
5890 (setbit, clrbit, isset, isclr): New macros.
5891 (howmany, roundup, powerof2): New macros.
5892 (DEV_BSIZE): New macro.
5893
5894 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5895 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5896
5897 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5898 definition on [!__NO_LONG_DOUBLE_MATH].
5899
5900 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5901 PTR_MANGLE and PTR_DEMANGLE.
5902
5903 * socket/accept4.c (accept4): Rename to __libc_accept4.
5904 Define accept4 as a weak alias.
5905
5906 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5907 on [_DIRENT_HAVE_D_TYPE].
5908 * io/ftw.c (ftw_dir): Likewise.
5909
5910 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5911
5912 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5913
5914 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5915 Use the BSD numbers rather than the arbitrary ones we had.
5916 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5917 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5918 (SIGXCPU, SIGXFSZ): New macros.
5919 (_NSIG): Now 32.
5920
5921 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5922 initializer on [_LIBC_REENTRANT].
5923
5924 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5925 definitions inside [_POSIX_MAPPED_FILES].
5926
5927 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5928
5929 * dirent/opendir.c: Include <fcntl.h>.
5930
5931 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5932 (__libc_getspecific): Likewise.
5933 (__libc_key_create): Likewise.
5934
5935 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5936 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5937 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5938 (tmpfile64): Define as alias.
5939 * sysdeps/wordsize-64/tmpfile.c: File removed.
5940 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5941 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5942 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5943
5944 * stdio-common/vfscanf.c: Include <stdbool.h>.
5945 * nss/makedb.c: Likewise.
5946 * stdio-common/_i18n_number.h: Likewise.
5947 * argp/argp-help.c: Likewise.
5948 * posix/wordexp.c: Likewise.
5949 * sysdeps/posix/spawni.c: Likewise.
5950 * nss/nss_files/files-initgroups.c: Likewise.
5951 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5952 * nss/nss_files/files-initgroups.c: Likewise.
5953 * nss/nss_db/db-netgrp.c: Likewise.
5954 * nss/nss_db/db-initgroups.c: Likewise.
5955 * io/fchmodat.c: Include <sys/stat.h>.
5956
5957 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5958 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5959
5960 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5961 [HAVE_MMAP].
5962
5963 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5964 Add multiple inclusion protection.
5965
e5abc686
DM
59662012-07-27 David S. Miller <davem@davemloft.net>
5967
5968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5969
815e6fa3
GB
59702012-07-27 Gary Benson <gbenson@redhat.com>
5971
5972 [BZ #14298]
5973 * elf/rtld.c: Include <stap-probe.h>.
5974 (dl_main): Added static probes "init_start" and "init_complete".
5975 * elf/dl-load.c: Include <stap-probe.h>.
5976 (lose): Take new parameter "nsid".
5977 Added static probe "map_failed".
5978 (_dl_map_object_from_fd): Pass namespace id to lose.
5979 Added static probe "map_start".
5980 (open_verify): Pass namespace id to lose.
5981 * elf/dl-open.c: Include <stap-probe.h>.
5982 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5983 and "reloc_complete".
5984 * elf/dl-close.c: Include <stap-probe.h>.
5985 (_dl_close_worker): Added static probes "unmap_start" and
5986 "unmap_complete".
5987 * elf/rtld-debugger-interface.txt: New file documenting the above.
5988
9f98c16c
RM
59892012-07-26 Roland McGrath <roland@hack.frob.com>
5990
5991 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5992 rather than a string variable.
5993 * sunrpc/rpc_main.c (h_output): Likewise.
5994 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5995
f3c22df3
PT
59962012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5997
5998 * inet/check_native.c: New file.
5999
3129cfc6
JM
60002012-07-26 Joseph Myers <joseph@codesourcery.com>
6001
da865e95
JM
6002 [BZ #13629]
6003 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6004 if larger part has absolute value 1.0.
6005 * math/s_clog10.c (__clog10): Likewise.
6006 * math/s_clog10f.c (__clog10f): Likewise.
6007 * math/s_clog10l.c (__clog10l): Likewise.
6008 * math/s_clogf.c (__clogf): Likewise.
6009 * math/s_clogl.c (__clogl): Likewise.
6010 * math/libm-test.inc (clog_test): Add more tests.
6011 (clog10_test): Likewise.
6012 * sysdeps/i386/fpu/libm-test-ulps: Update.
6013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014
3129cfc6
JM
6015 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6016 (pltexit): Likewise.
6017 (La_regs): Likewise.
6018 (La_retval): Likewise.
6019 (int_retval): Likewise.
6020 Update #error for removed macros to refer only to definitions in
6021 tst-audit.h.
6022 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6023 macro.
6024 (pltexit): Likewise.
6025 (La_regs): Likewise.
6026 (La_retval): Likewise.
6027 (int_retval): Likewise.
6028 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6029 macro.
6030 (pltexit): Likewise.
6031 (La_regs): Likewise.
6032 (La_retval): Likewise.
6033 (int_retval): Likewise.
6034 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6035 macro.
6036 (pltexit): Likewise.
6037 (La_regs): Likewise.
6038 (La_retval): Likewise.
6039 (int_retval): Likewise.
6040 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6041 macro.
6042 (pltexit): Likewise.
6043 (La_regs): Likewise.
6044 (La_retval): Likewise.
6045 (int_retval): Likewise.
6046 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6047 macro.
6048 (pltexit): Likewise.
6049 (La_regs): Likewise.
6050 (La_retval): Likewise.
6051 (int_retval): Likewise.
6052 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6053 macro.
6054 (pltexit): Likewise.
6055 (La_regs): Likewise.
6056 (La_retval): Likewise.
6057 (int_retval): Likewise.
6058 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6059 macro definitions in tst-audit.h.
6060 * sysdeps/i386/tst-audit.h: New file.
6061 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6062 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6063 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6064 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6065 * sysdeps/sh/tst-audit.h: Likewise.
6066 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6067 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6068 * sysdeps/x86_64/tst-audit.h: Likewise.
6069
bfc07087
AJ
60702012-07-26 Andreas Jaeger <aj@suse.de>
6071
b1b2aaf8
AJ
6072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6073 ptrace.
6074
6075 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6076 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6077 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6078 PTRACE_O_MASK.
6079 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6082
bfc07087
AJ
6083 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6084 value.
6085
6086 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6087 _sigsys.
6088 (si_call_addr, si_syscall, si_arch): Define new macro.
6089 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6090 _sigsys.
6091 (si_call_addr, si_syscall, si_arch): Define new marcro.
6092 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6093 _sigsys.
6094 (si_call_addr, si_syscall, si_arch): Define new macro.
6095 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6096 _sigsys.
6097 (si_call_addr, si_syscall, si_arch): Define new macro.
6098
89b4b02f
JM
60992012-07-25 Joseph Myers <joseph@codesourcery.com>
6100
6101 [BZ #13717]
6102 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6103 Change to 2.4.21 where previously 2.4.1.
6104 * sysdeps/unix/sysv/linux/configure: Regenerated.
6105 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6106 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6107 Linux kernel version.
6108 (__ASSUME_STD_AUXV): Remove.
6109 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6110 kernel version.
6111 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6112 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6113 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6114 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6115 (__ASSUME_NETLINK_SUPPORT): Likewise.
6116 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6117 (__no_netlink_support): Remove conditional definition.
6118 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6119 Remove.
6120 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6121 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6122 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6123 (if_nameindex_ioctl): Remove.
6124 (if_nameindex_netlink): Do not handle __no_netlink_support.
6125 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6126 code.
6127 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6128 Remove conditional code.
6129 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6130 code.
6131 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6132 unconditional.
6133 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6134 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6135 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6136 Remove.
6137 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6138 [!__ASSUME_STD_AUXV]: Remove conditional code.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6140 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6141 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6143 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6144 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6145 code.
6146 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6148 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6149 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6150 conditional code.
6151 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6153 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6154 code.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6156 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6157 conditional code.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6159 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6160 code unconditional.
6161 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6162 conditional code.
6163 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6164 unconditional.
6165 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6166 conditional code.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6168 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6169 unconditional.
6170 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6171 conditional code.
6172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6173 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6174 code unconditional.
6175 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6176 conditional code.
6177 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6178 unconditional.
6179 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6180 conditional code.
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6182 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6183 code unconditional.
6184 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6185 conditional code.
6186 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6187 unconditional.
6188 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6189 conditional code.
6190
842a39cd
AS
61912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6192
6193 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6194 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6195 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6196 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6197 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6198 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6199 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6200 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6201 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6202 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6203 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6204 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6205 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6206 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6207 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6208 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6209 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6210 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6211 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6213 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6214 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6216
84b3fd84
FW
62172012-07-25 Florian Weimer <fweimer@redhat.com>
6218
6219 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6220 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6221 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6222 Introduce __libc_secure_getenv.
0c7936d5
FW
6223 * stdlib/Versions (2.17): Add secure_getenv
6224 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6225 * stdlib/secure-getenv.c: Rename __secure_getenv to
6226 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6227 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6228 * stdlib/tst-secure-getenv.c: New.
6229 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6230 * manual/startup.texi (Environment Access): Document
6231 secure_getenv.
84b3fd84
FW
6232 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6233 __libc_secure_getenv.
6234 * inet/ruserpass.c (ruserpass): Likewise.
6235 * malloc/mtrace.c (mtrace): Likewise.
6236 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6237 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6238 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6239 * sysdeps/posix/tempname.c: Likewise. Evaluate
6240 HAVE_SECURE_GETENV.
6241 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6242 __secure_getenv to __libc_secure_getenv.
84b3fd84 6243 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6245 Likewise.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6247 Likewise.
6248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6255
56e49b71
JM
62562012-07-25 Joseph Myers <joseph@codesourcery.com>
6257
6258 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6259 (struct La_i86_retval): Likewise.
6260 (struct La_x86_64_regs): Likewise.
6261 (struct La_x86_64_retval): Likewise.
6262 (struct La_x32_regs): Likewise.
6263 (struct La_x32_retval): Likewise.
6264 (struct La_ppc32_regs): Likewise.
6265 (struct La_ppc32_retval): Likewise.
6266 (struct La_ppc64_regs): Likewise.
6267 (struct La_ppc64_retval): Likewise.
6268 (struct La_sh_regs): Likewise.
6269 (struct La_sh_retval): Likewise.
6270 (struct La_s390_32_regs): Likewise.
6271 (struct La_s390_32_retval): Likewise.
6272 (struct La_s390_64_regs): Likewise.
6273 (struct La_s390_64_retval): Likewise.
6274 (struct La_sparc32_regs): Likewise.
6275 (struct La_sparc32_retval): Likewise.
6276 (struct La_sparc64_regs): Likewise.
6277 (struct La_sparc64_retval): Likewise.
6278 (struct audit_ifaces): Remove architecture-specific pltenter and
6279 pltexit members.
6280 * sysdeps/i386/ldsodefs.h: New file.
6281 * sysdeps/powerpc/ldsodefs.h: Likewise.
6282 * sysdeps/s390/ldsodefs.h: Likewise.
6283 * sysdeps/sh/ldsodefs.h: Likewise.
6284 * sysdeps/sparc/ldsodefs.h: Likewise.
6285 * sysdeps/x86_64/ldsodefs.h: Likewise.
6286
354691b7
MP
62872012-07-25 Marek Polacek <polacek@redhat.com>
6288
6289 [BZ #6808]
6290 * math/libm-test.inc (yn_test): Add another test.
6291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6292 to ERANGE when the result is +-Inf.
6293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6294 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6295 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6296 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6297
bf9e2071
JM
62982012-07-24 Joseph Myers <joseph@codesourcery.com>
6299
6300 * conform/data/time.h-data (NULL): Use macro-constant. Require
6301 equal to 0.
6302 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6303 clock_t.
6304 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6305
57633811
TS
63062012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6307
6308 * configure.in <sysdeps resolving>: Correct printing
6309 Implies_before.
6310 * configure: Regenerate.
6311
c23c33b0
TS
63122012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6313
6314 * math/w_ilogb.c: Include <limits.h>.
6315 * math/w_ilogbl.c: Likewise.
6316
b5982523
JM
63172012-07-20 Joseph Myers <joseph@codesourcery.com>
6318
6319 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6320 va_copy. Document allowing for unavailable va_copy only as
6321 pre-C99 compatibility.
6322 * manual/string.texi (Copying and Concatenation): Use va_copy
6323 instead of __va_copy in concat example.
6324
ac4ea442
PT
63252012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6326
6327 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6328 (__sendto): Use create_address_port. Initialize APORT and deallocate
6329 it if not null.
6330
f98eafbd
PT
6331 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6332 with O_NOLINK passed to __file_name_lookup.
6333
898c7aab
PT
6334 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6335 with O_NOLINK passed to __file_name_lookup.
6336
0ced335a
PT
6337 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6338 negative N or less than NGIDS.
6339
b3404dbd
PT
6340 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6341 type to string_t. Set ERANGE as errno and return it if NAME is not big
6342 enough. Use memcpy instead of strncpy.
6343
0f48659e
JM
63442012-07-20 Joseph Myers <joseph@codesourcery.com>
6345
6346 * elf/Makefile (check-data): Remove.
6347 (localplt.data): New vpath directive.
6348 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6349 instead of $(check-data).
6350 * scripts/data/localplt-generic.data: Move to ...
6351 * sysdeps/generic/localplt.data: ... here.
6352 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6353 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6354 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6356 ... here.
6357 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6359 ... here.
6360 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6362 ... here.
6363 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6365 ... here.
6366 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6368 ... here.
6369 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6371 ... here.
6372
d37cbdaa
AZ
63732012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374
6375 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6376 PPC32 and PPC64 files.
6377 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6378 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6379
46f85fc2
AK
63802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6381
6382 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6383 __makecontext_ret to ...
6384 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6385 ... here and call exit if uc_link is NULL. New file.
6386 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6387 __makecontext_ret.S.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6389 __makecontext_ret to ...
6390 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6391 ... here and call exit if uc_link is NULL. New file.
6392 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6393 __makecontext_ret.S.
6394
08f43f9b
AK
63952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6396
6397 * elf/elf.h (R_390_IRELATIVE): New definition.
6398 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6399 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6400 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6402 (elf_machine_lazy_rel): Likewise.
6403 * sysdeps/s390/dl-irel.h: New file.
6404 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6405 * sysdeps/s390/s390-64/memset.S: New asm code.
6406 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6407 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6408 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6409 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6410 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6411 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6413 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6414 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6415 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6416 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6417 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6418 * sysdeps/s390/s390-32/memset.S: New asm code.
6419 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6420
3b05db33
MP
64212012-07-17 Marek Polacek <polacek@redhat.com>
6422
6423 [BZ #14349]
6424 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6425 * sysdeps/s390/s390-64/configure.in: Likewise.
6426 * sysdeps/sparc/configure.in: Likewise.
6427 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6428 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6429 * sysdeps/i386/configure.in: Likewise.
6430 * sysdeps/x86_64/configure.in: Likewise.
6431 * sysdeps/sh/configure.in: Likewise.
6432 * sysdeps/s390/s390-32/configure: Regenerated.
6433 * sysdeps/s390/s390-64/configure: Likewise.
6434 * sysdeps/x86_64/configure: Likewise.
6435 * sysdeps/sh/configure: Likewise.
6436 * sysdeps/powerpc/powerpc64/configure: Likewise.
6437 * sysdeps/powerpc/powerpc32/configure: Likewise.
6438 * sysdeps/sparc/configure: Likwise.
6439 * sysdeps/i386/configure: Likewise.
6440
a66877c6
MP
6441 * elf/dl-open.c: Comment fixes.
6442
cfc82fd8
JM
64432012-07-17 Joseph Myers <joseph@codesourcery.com>
6444
bd29910a
JM
6445 * Makefile [CXX] (check-data): Remove.
6446 [CXX] (c++-types.data): New vpath directive.
6447 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6448 vpath. Do not allow for C++ type data being missing.
6449 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6450 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6451 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6452 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6453 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6454 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6455 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6457 ... here.
6458 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6460 ... here.
6461 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6463 ... here.
6464 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6466 ... here.
6467 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6469 ... here.
6470 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6472 ... here.
6473 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6475 ... here.
6476 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6478
cfc82fd8
JM
6479 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6480 definitions to architecture-specific files.
6481 (TLS_IE): Likewise.
6482 (TLS_LD): Likewise.
6483 (TLS_GD): Likewise.
6484 * sysdeps/i386/tls-macros.h: New file.
6485 * sysdeps/powerpc/tls-macros.h: Likewise.
6486 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6487 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6488 * sysdeps/sh/tls-macros.h: Likewise.
6489 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6490 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6491 * sysdeps/x86_64/tls-macros.h: Likewise.
6492
f7db3170
TS
64932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6494
07cbfc23
TS
6495 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6496 zero value for regular exit case.
6497
f7db3170
TS
6498 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6499 (__start_context): Preserve zero value for regular exit case.
6500
dc97c227
TS
65012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6502 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6503
6504 * manual/setjmp.texi (setcontext): Clarify normal process
6505 termination when uc_link is the null pointer.
6506 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6507 exit call.
6508
d0cd7d02
AS
65092012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6510
6511 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6512 preprocessor. Test for each exception mask separately.
6513
dd318934
AJ
65142012-07-16 Andreas Jaeger <aj@suse.de>
6515
6516 * po/ru.po: Update from translation team.
6517
8048311a
JM
65182012-07-15 Joseph Myers <joseph@codesourcery.com>
6519
6520 * conform/data/string.h-data (NULL): Use macro-constant. Require
6521 equal to 0.
6522 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6523 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6524 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6525 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6527
b637d46e
AJ
65282012-07-13 Andreas Jaeger <aj@suse.de>
6529
6530 * po/fr.po: Update from translation team.
6531
541428fe
MP
65322012-07-12 Marek Polacek <polacek@redhat.com>
6533
6534 [BZ #14173]
6535 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6537 loop condition.
6538
ec332e94
JM
65392012-07-12 Joseph Myers <joseph@codesourcery.com>
6540
6541 [BZ #13717]
6542 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6543 Change to 2.4.1 where previously 2.4.0.
6544 * sysdeps/unix/sysv/linux/configure: Regenerated.
6545 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6546 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6547 version.
6548 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6549 (__ASSUME_AT_CLKTCK): Remove.
6550 (__ASSUME_AT_PAGESIZE): Likewise.
6551 (__ASSUME_AT_XID): Likewise.
6552 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6553 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6554 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6555 unconditionally.
6556 (HAVE_AUX_PAGESIZE): Likewise.
6557 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6558 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6559 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6560
7b6e99be
JB
65612012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6562
6563 [BZ #14307]
6564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6565 the temporary buffer used to invoke __gethostbyname2_r,
6566 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6567 host_data / struct gaih_addrtuple.
6568 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6569 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6570 header file nss/nsswitch.h.
6571 * nss/nsswitch.h (global scope): Add definition of implementation
6572 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6573 resolv/nss_dns/dns-host.c).
6574
608404eb
AJ
65752012-07-11 Andreas Jaeger <aj@suse.de>
6576
6577 * po/fr.po: Update from translation team.
6578
71220aca
AJ
6579 * po/sv.po: Update from translation team
6580 * po/fr.po: Another update from translation team.
6581
28cfe843
AZ
65822012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6583
6584 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6585 for subnormals or multiply small sinh result by itself.
6586 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6588
6b90f981
DM
65892012-07-11 David S. Miller <davem@davemloft.net>
6590
6591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6592
c6825772
AS
65932012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6594
6595 [BZ #14347]
6596 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6597 (INTERNAL_MARK): Shift it here.
6598
7b8e0d49
MP
65992012-07-10 Marek Polacek <polacek@redhat.com>
6600
6601 [BZ #14151]
6602 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6603 libc_cv_asm_global_directive with .globl.
6604 * configure: Regenerated.
6605 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6606 with .globl.
6607 * sysdeps/i386/configure: Regenerated.
6608 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6609 with .globl.
6610 * sysdeps/x86_64/configure: Regenerated.
6611 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6612 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6613 * elf/tst-unique2mod2.c: Likewise.
6614 * elf/tst-unique2mod1.c: Likewise.
6615 * elf/tst-unique1mod2.c: Likewise.
6616 * elf/tst-unique1mod1.c: Likewise.
6617 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6618 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6619 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6620 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6621 * sysdeps/mach/sysdep.h: Likewise.
6622 * sysdeps/i386/sysdep.h: Likewise.
6623 * sysdeps/i386/i386-mcount.S: Likewise.
6624 * sysdeps/x86_64/_mcount.S: Likewise.
6625 * sysdeps/x86_64/sysdep.h: Likewise.
6626 * sysdeps/sh/_mcount.S: Likewise.
6627 * sysdeps/sh/sysdep.h: Likewise.
6628 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6629 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6630 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6631 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6632 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6633 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6634 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6635 * locale/localeinfo.h: Likewise.
6636 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6637 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6638
6c55cda3
RM
66392012-07-09 Roland McGrath <roland@hack.frob.com>
6640
6641 [BZ #14336]
6642 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6643 system".
6644 * manual/message.texi (The Uniforum approach): Likewise.
6645 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6646 (glibc iconv Implementation): Likewise.
6647
638a572e
JM
66482012-07-09 Joseph Myers <joseph@codesourcery.com>
6649
6650 [BZ #14337]
6651 * math/s_clog.c (__clog): Avoid scaling a value down where that
6652 could result in underflow.
6653 * math/s_clog10.c (__clog10): Likewise.
6654 * math/s_clog10f.c (__clog10f): Likewise.
6655 * math/s_clog10l.c (__clog10l): Likewise.
6656 * math/s_clogf.c (__clogf): Likewise.
6657 * math/s_clogl.c (__clogl): Likewise.
6658 * math/libm-test.inc (clog_test): Add more tests.
6659 (clog10_test): Likewise.
6660 * sysdeps/i386/fpu/libm-test-ulps: Update.
6661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6662
261f4859
AS
66632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6664
0abaf3e4
AS
6665 [BZ #14283]
6666 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6667 by 7 not 8 to examine high bit of fractional part.
6668
261f4859
AS
6669 [BZ #14042]
6670 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6671 for call to __mcount_internal.
6672 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6673 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6674 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6675
f17ac40d
JM
66762012-07-06 Joseph Myers <joseph@codesourcery.com>
6677
9ad63c23
JM
6678 [BZ #14154]
6679 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6680 approximation for values within 0x1p-13f of an odd multiple of
6681 pi/4.
6682 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6683 exception. Add more tests.
6684 * sysdeps/i386/fpu/libm-test-ulps: Update.
6685
f17ac40d
JM
6686 [BZ #6778]
6687 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6688 inputs and return -1 for them. Do not check for +Inf in case not
6689 reachable for +Inf.
6690 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6691 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6693 and return -1 for them. Do not check for +Inf in case not
6694 reachable for +Inf.
6695 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6696 define.
6697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6698 and return -1 for them. Do not check for +Inf in case not
6699 reachable for +Inf.
6700 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6701 spurious underflow.
6702 * sysdeps/i386/fpu/libm-test-ulps: Update.
6703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6704
fb21f89b
MF
67052012-07-06 Mike Frysinger <vapier@gentoo.org>
6706
6707 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6708
cdfe2c5e
JM
67092012-07-05 Joseph Myers <joseph@codesourcery.com>
6710
6711 [BZ #14157]
6712 [BZ #14331]
6713 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6714 could result in spurious underflow. Scale down values above
6715 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6716 * math/s_csqrtf.c (__csqrtf): Likewise.
6717 * math/s_csqrtl.c (__csqrtl): Likewise.
6718 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6719 spurious underflow.
6720 * sysdeps/i386/fpu/libm-test-ulps: Update.
6721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6722
70d35b67
AS
67232012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6724
704bc459
AS
6725 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6726 xopen-msg.sed.
6727 * catgets/xopen-msg.awk: New file.
6728 * catgets/xopen-msg.sed: Removed.
6729
70d35b67
AS
6730 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6731 po2text.sed.
6732 * intl/po2test.awk: New file.
6733 * intl/po2test.sed: Removed.
6734
ca61cf32
JM
67352012-07-04 Joseph Myers <joseph@codesourcery.com>
6736
6737 [BZ #14328]
6738 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6739 or multiply small sinh result by itself.
6740 * math/s_ctanf.c (__ctanf): Likewise.
6741 * math/s_ctanh.c (__ctanh): Likewise.
6742 * math/s_ctanhf.c (__ctanhf): Likewise.
6743 * math/s_ctanhl.c (__ctanhl): Likewise.
6744 * math/s_ctanl.c (__ctanl): Likewise.
6745 * math/libm-test.inc (ctan_test_tonearest): New function.
6746 (ctan_test_towardzero): Likewise.
6747 (ctan_test_downward): Likewise.
6748 (ctan_test_upward): Likewise.
6749 (ctanh_test_tonearest): Likewise.
6750 (ctanh_test_towardzero): Likewise.
6751 (ctanh_test_downward): Likewise.
6752 (ctanh_test_upward): Likewise.
6753 (main): Call these new functions.
6754 * sysdeps/i386/fpu/libm-test-ulps: Update.
6755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6756
ca48a46a
MF
67572012-07-03 Mike Frysinger <vapier@gentoo.org>
6758
6759 * .gitignore: Delete /ports entry.
6760
9d63d37d
AJ
67612012-07-03 Andreas Jaeger <aj@suse.de>
6762
6763 * po/bg.po: Update from translation team.
6764 * po/cs.po: Likewise.
6765 * po/de.po: Likewise.
6766 * po/hr.po: Likewise.
6767 * po/nl.pl: Likewise.
6768 * po/pl.po: Likewise.
6769 * po/vi.po: Likewise.
6770
370ca3d2
JM
67712012-07-03 Joseph Myers <joseph@codesourcery.com>
6772
95f5a9a8
JM
6773 * Makeconfig [!+link] (+link-before-libc): New variable.
6774 [!+link] (+link-after-libc): Likewise.
6775 [!+link] (+link-tests): Likewise.
6776 [!+link] (+link): Define in terms of $(+link-before-libc) and
6777 $(+link-after-libc).
6778 [!+link-static] (+link-static-before-libc): New variable.
6779 [!+link-static] (+link-static-after-libc): Likewise.
6780 [!+link-static] (+link-static-tests): Likewise.
6781 [!+link-static] (+link-static): Define in terms of
6782 $(+link-static-before-libc) and $(+link-static-after-libc).
6783 [build-shared] (link-libc-before-gnulib): New variable.
6784 [build-shared] (link-libc-tests): Likewise.
6785 [build-shared] (link-libc): Define in terms of
6786 $(link-libc-before-gnulib).
6787 [!build-shared] (link-libc-tests): New variable.
6788 (link-libc-static-tests): New variable.
6789 [!gnulib] (gnulib-arch): New variable.
6790 [!gnulib] (gnulib-tests): Likewise.
6791 [!gnulib] (static-gnulib-arch): Likewise.
6792 [!gnulib] (static-gnulib-tests): Likewise.
6793 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6794 Define with "=" instead of ":=".
6795 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6796 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6797 * Rules (binaries-all-notests): New variable.
6798 (binaries-all-tests): Likewise.
6799 (binaries-static-notests): Likewise.
6800 (binaries-static-tests): Likewise.
6801 (binaries-all): Define using $(binaries-all-notests) and
6802 $(binaries-all-tests).
6803 (binaries-static): Define using $(binaries-static-notests) and
6804 $(binaries-static-tests).
6805 (binaries-shared-tests): New variable.
6806 (binaries-shared-notests): Likewise.
6807 (binaries-shared): Remove variable.
6808 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6809 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6810 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6811 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6812 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6813 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6814 * elf/Makefile (sln-modules): New variable.
6815 (extra-objs): Add $(sln-modules:=.o).
6816 (ldconfig-modules): Add static-stubs.
6817 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6818 * elf/static-stubs.c: New file.
6819
7a845b2c
JM
6820 [BZ #14283]
6821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6822 by 7 not 8 to examine high bit of fractional part. Use volatile
6823 variables when splitting into final array of floats if
6824 __FLT_EVAL_METHOD__ != 0.
6825 * math/libm-test.inc (cos_test): Add another test.
6826 (sin_test): Likewise.
6827 * sysdeps/i386/fpu/libm-test-ulps: Update.
6828
e2283f38
JM
6829 [BZ #14273]
6830 * math/libm-test.inc (cosh_test): Add more tests.
6831
370ca3d2
JM
6832 * version.h (RELEASE): Set to "development".
6833 (VERSION): Set to "2.16.90".
6834
ee9247c3
CD
68352012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6836
6837 * NEWS: Update copyright. Remove last-updated date.
6838 Mention math library bug fixes and timezone data changes.
6839 * README: Mention GNU/Hurd, x32, and HPPA support status.
6840
4648c381
TS
68412012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6842
6843 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6844
aac78a43
AJ
68452012-06-27 Andreas Jaeger <aj@suse.de>
6846
6847 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6848
ed3dbfad
AJ
68492012-06-25 Andreas Jaeger <aj@suse.de>
6850
6851 * sysdeps/s390/fpu/libm-test-ulps: Update.
6852
4d0ee855
AS
68532012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6854 Thomas Schwinge <thomas@codesourcery.com>
6855
6856 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6857 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6859 fanotify_mark.
6860
af1bce34
TS
68612012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6862
a9fa33ba
TS
6863 * sysdeps/mach/start.c: Remove file.
6864 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6865 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6866 * sysdeps/sh/init-first.c: Likewise.
6867
58f902b8
TS
6868 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6869 registers for frame unwinding purposes, add CFI directives.
6870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6871 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6872 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6873 Likewise.
6874
1518f58b
TS
6875 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6876 __fortify_fail returning.
6877 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6878
db9b5059
TS
6879 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6880 sysdeps/sh/____longjmp_chk.S.
6881 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6882 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6883 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6884 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6885
967705fe
TS
6886 * sysdeps/sh/abort-instr.h: New file.
6887 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6888 process in case exit returns.
6889
a9def8c4
TS
6890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6891 initialize the GOT register before use.
6892
2a649725
TS
6893 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6894 calculation of ARGC > 4.
6895
af1bce34
TS
6896 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6897 meaningful names to some local labels.
6898
d230f50a
KK
68992012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6900 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6901
6902 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6903 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6904 (__arch_compare_and_exchange_val_16_acq): Likewise.
6905 (__arch_compare_and_exchange_val_32_acq): Likewise.
6906 (atomic_exchange_and_add): Fix gUSA sequence.
6907 (atomic_add): Likewise.
6908 (atomic_add_negative): Likewise.
6909 (atomic_add_zero): Likewise.
6910 (atomic_bit_test_set): Likewise.
6911
0479b305
AS
69122012-06-22 Andreas Schwab <schwab@redhat.com>
6913
6914 [BZ #13579]
6915 * include/link.h (struct link_map): Add l_free_initfini.
6916 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6917 l_initfini.
6918 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6919 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6920 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6921 set.
6922
0e3933b9
CD
69232012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6924
6925 * configure.in: Use AC_LANG_SOURCE.
6926 * configure: Regenerate.
6927
4248b1b1
RM
69282012-06-22 Roland McGrath <roland@hack.frob.com>
6929
6930 * configure.in (libc_cv_localstatedir): New substituted variable.
6931 * configure: Regenerated.
6932 * config.make.in (localstatedir): New variable, substituted from
6933 libc_cv_localstatedir.
6934 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6935 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6936 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6937 * sysdeps/gnu/configure: Regenerated.
6938
006dd861
JL
69392012-06-21 Jeff Law <law@redhat.com>
6940
6941 [BZ #14277]
6942 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6943 free. Simplify list management for _LIBC case.
6944
79662d42
JM
69452012-06-21 Joseph Myers <joseph@codesourcery.com>
6946
b7abb4bf
JM
6947 [BZ #14273]
6948 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6949 Clear sign bit of 64-bit integer value before comparing against
6950 overflow value.
6951
79662d42
JM
6952 * sysdeps/mach/configure: Regenerated.
6953
1f150908
L
69542012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 [BZ #14278]
6957 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6958
28363bbf
JL
69592012-06-21 Jeff Law <law@redhat.com>
6960
6961 [BZ #13882]
6962 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6963 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6964 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6965 * elf/dl-open.c (dl_open_worker): Likewise.
6966
09615db4
CD
69672012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6968
6969 * scripts/list-sources.sh: Scan PORTS for translations.
6970 * po/libc.pot: Regenerated.
6971
2174c6dd
AJ
69722012-06-21 Andreas Jaeger <aj@suse.de>
6973
6974 [BZ #12194]
6975 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6976 warning.
6977 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6978 * bits/byteswap-16.h (__bswap_16): Likewise.
6979 * bits/byteswap.h (__bswap_constant_16): Likewise.
6980
3ee947b1
L
69812012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 [BZ #14117]
a2f34833
L
6984 * sysdeps/i386/fpu_control.h: Removed.
6985 * sysdeps/x86_64/fpu_control.h: Moved to ...
6986 * sysdeps/x86/fpu_control.h: Here.
6987
3ee947b1
L
6988 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6989 (_FPU_SETCW): Likewise.
6990
ed1825f8
L
69912012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6992
25f1282a
L
6993 [BZ #14117]
6994 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6995 * sysdeps/x86/fpu/bits/mathinline.h: This.
6996 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6997
ed1825f8
L
6998 [BZ #14050]
6999 [BZ #14117]
7000 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7001 functions if __x86_64__ is defined.
7002
36d54b74
CLT
70032012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7004
7005 * string/endian.h: Add !__ASSEMBLER__ condition for including
7006 conversion interfaces.
7007
10285c21
JM
70082012-06-15 Joseph Myers <joseph@codesourcery.com>
7009
7010 [BZ #14241]
7011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7012 of ABS(x) in calculating zero to negative powers other than odd
7013 integers.
7014 * math/libm-test.inc (pow_test): Add more tests.
7015
06c5abbd
AJ
70162012-06-15 Andreas Jaeger <aj@suse.de>
7017
7018 * manual/contrib.texi (Contributors): Update entry of Liubov
7019 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7020 Machado Filho.
7021
a3aeac40
CH
70222012-06-15 Cyril Hrubis <metan@ucw.cz>
7023
7024 * string/string.h: Add __wur to GNU version of strerror_r.
7025
49bdf4c1
L
70262012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 [BZ #14229]
7029 * string/Makefile (tests): Add tst-strtok_r.
7030 * string/tst-strtok_r.c: New file.
7031 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7032 RAX_LP/RDX_LP on SAVE_PTR.
7033
834f9b8d
RM
70342012-06-14 Roland McGrath <roland@hack.frob.com>
7035
7036 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7037
75fa1921
JM
70382012-06-14 Joseph Myers <joseph@codesourcery.com>
7039
7040 * libm_test.inc (csqrt_test): Allow more spurious underflow
7041 exceptions.
7042 (j0_test): Likewise.
7043 (j1_test): Likewise.
7044 (y0_test): Likewise.
7045 (y1_test): Likewise.
7046
771766df
CD
70472012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7048
7049 * po/Makefile (libc.pot): Use UTF-8 charset.
7050
ceb9e56b
PP
70512012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7052
7053 [BZ #14210]
7054 Suppress sign-conversion warning from FD_SET.
7055 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7056 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7057 not unsigned long int.
7058 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7059
ddb28975
L
70602012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 [BZ #14050]
7063 [BZ #14117]
7064 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7065 __extern_always_inline instead of __extern_inline.
7066 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7067 (__signbit): Likewise.
7068 (__signbitl): Support C++ namespace.
7069 (lrintf): New inline function.
7070 (lrint): Likewise.
7071 (llrintf): Likewise.
7072 (llrint): Likewise.
7073 (fmaxf): Likewise.
7074 (fmax): Likewise.
7075 (fminf): Likewise.
7076 (fmin): Likewise.
7077 (rint): Likewise.
7078 (rintf): Likewise.
7079 (ceil): Likewise.
7080 (ceilf): Likewise.
7081 (floor): Likewise.
7082 (floorf): Likewise.
7083 (nearbyint): Likewise.
7084 (nearbyintf): Likewise.
7085
d7b4fb26
TS
70862012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7087
7088 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7089 non-default versions.
7090
eb55f5c2
RM
70912012-06-11 Roland McGrath <roland@hack.frob.com>
7092
7093 [BZ #14218]
7094 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7095
366af02c
TS
70962012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7097
99ff6e5c
TS
7098 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7099 (FE_UPWARD, FE_DOWNWARD): Don't define.
7100 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7101 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7102
366af02c
TS
7103 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7104 reading it.
7105 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7106 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7107
793ea851
KK
71082012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7109
7110 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7112 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7113 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7114
a728a38f
L
71152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7116
7117 [BZ #14117]
c08010c7
L
7118 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7119 * sysdeps/i386/fpu/Implies: New file.
7120 * sysdeps/x86_64/fpu/Implies: Likewise.
7121 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7122 * sysdeps/x86/fpu/bits/fenv.h: This.
7123
a728a38f
L
7124 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7125 __SSE_MATH__.
7126
6e230d11
SP
71272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7128
7129 [BZ #14134]
7130 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7131 character 0xffff that matches the last element of the
7132 conversion table.
7133
1b671feb
AZ
71342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7135
7136 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7137 fmodl commit.
7138
6043738b
AZ
71392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7140
7141 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7142 values higher than 25.6283.
7143
34ae0b32
AZ
71442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7145
7146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7147 subnormal exponent extraction and add some __builtin_expect.
7148 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7149 Fix for subnormal mantissa calculation.
7150
1214ec8f
MF
71512012-06-04 Mike Frysinger <vapier@gentoo.org>
7152
7153 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7154 cpu2 is -1 and errno is not ENOSYS.
7155
f3d1f93c
L
71562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7157
7158 [BZ #14117]
0e4a3cd7
L
7159 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7160 * sysdeps/x86/bits/string.h: This.
7161 * sysdeps/x86_64/bits/string.h: Removed.
7162
6704c645
L
7163 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7164 if not compiling for x86-64, but compiling for >= i486.
7165
48495318
L
7166 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7167 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7168
14adcbfc
L
7169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7170 New macro from Linux kernel 3.4.0.
7171 (FP_XSTATE_MAGIC2): Likewise.
7172 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7173 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7174 (struct _fpx_sw_bytes): New struct.
7175 (struct _xsave_hdr): Likewise.
7176 (struct _ymmh_state): Likewise.
7177 (struct _xstate): Likewise.
7178
68e408ab
L
7179 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7180 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7181 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7182 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7183 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7184 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7185
f3d1f93c
L
7186 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7187 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7188 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7189 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7190 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7191 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7192
d9dc34cd
TMQMF
71932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7194
7195 [BZ #13743]
7196 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7197 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7198 (sysdep_headers): Include sys/platform/ppc.h.
7199 * sysdeps/powerpc/test-gettimebase.c: Test for
7200 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7201 * manual/Makefile (appendices): Include platform.texi.
7202 * manual/contrib.texi (Contributors): Update @node pointers.
7203 * manual/maint.texi (Maintenance): Likewise.
7204 (Platform): New node.
7205 * manual/platform.texi: New file. Document the new features.
7206
4af3879c
SP
72072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7208 Jakub Jelinek <jakub@redhat.com>
7209
7210 [BZ #14188]
7211 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7212 where __builtin_expect is unavailable.
7213
2fd6ff13
DM
72142012-06-03 David S. Miller <davem@davemloft.net>
7215
7216 * stdlib/longlong.h: Updated from GCC.
7217
173f7220
AS
72182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7219
7220 [BZ #14042]
7221 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7222 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7223 __mcount_internal.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7225 (GLIBC_2.16): Likewise.
7226
f34a1c6f
L
72272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7228
7229 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7230
88a4576f
JM
72312012-06-01 Joseph Myers <joseph@codesourcery.com>
7232
ea32bcdd
JM
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7234 (default-abi): New variable.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7237 variable.
7238 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7239 Likewise.
7240 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7241 Likewise.
7242 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7243 Likewise.
7244
88a4576f
JM
7245 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7246 definition. Document in comment.
7247
402fe938
DM
72482012-06-01 David S. Miller <davem@davemloft.net>
7249
7250 * stdlib/longlong.h: Updated from GCC.
7251
3553723f
L
72522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7253
7254 [BZ #14117]
3bd872c4
L
7255 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7256 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7257 sys/debugreg.h sys/io.h here.
7258 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7259 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7260 sys/io.h.
7261 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7262 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7263 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7264 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7265 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7266 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7267
3553723f
L
7268 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7269 Define only if __x86_64__ is defined.
7270
4842e4fe
JM
72712012-06-01 Joseph Myers <joseph@codesourcery.com>
7272
c5bfe3d5
JM
7273 [BZ #14048]
7274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7275 Use int64_t for variable i.
7276 * math/libm-test.inc (fmod_test): Add more tests.
7277
4842e4fe
JM
7278 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7279 z computation is not scheduled after fetestexcept.
7280 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7281 Use math_force_eval instead of asm to ensure calculation scheduled
7282 before exception test.
7283 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7284 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7285
efb73488
AJ
72862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7287
7288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7289 computation is not scheduled after fetestexcept.
7290
29bcce7c
L
72912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7292
7293 [BZ #14117]
7294 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7295 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7296
73a68f94
AZ
72972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7298
7299 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7300 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7301
67b6df78
L
73022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7303
edf2933a 7304 [BZ #14117]
ebc64a18
L
7305 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7306 <bits/wordsize.h>.
7307 (__WCHAR_MIN): Support __WORDSIZE == 64.
7308 (__WCHAR_MAX): Likewise.
7309
edf2933a
L
7310 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7311 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7312
57c6cf40
L
7313 [BZ #14183]
7314 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7315 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7316
67b6df78 7317 [BZ #14117]
8eb6281e
L
7318 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7319 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7320
aac639f4
L
7321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7322 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7323
67b6df78
L
7324 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7325 Defined to 1 if __x86_64__ isn't defined.
7326 (_STAT_VER_LINUX_OLD): New.
7327 (st_atime): Remove duplicate.
7328 (st_mtime): Likewise.
7329 (st_ctime): Likewise.
7330
1c2cfe81
DM
73312012-05-31 David S. Miller <davem@davemloft.net>
7332
7333 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7334 entries.
7335
5be8418c
AS
73362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7337
e7725326
AS
7338 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7339 gen-libm-test.pl.
7340
5be8418c
AS
7341 [BZ #14132]
7342 * elf/dl-reloc.c: Include <_itoa.h>.
7343 (_dl_reloc_bad_type): Remove use of INTUSE.
7344 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7345 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7346 * stdio-common/psiginfo.c (psiginfo): Likewise.
7347 * stdio-common/psignal.c (psignal): Likewise.
7348 * string/strsignal.c (strsignal): Likewise.
7349 * include/signal.h (_sys_siglist): Declare hidden proto.
7350 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7351 INTVARDEF with libc_hidden_data_def.
7352 * stdio-common/itoa-udigits.c: Likewise.
7353 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7354 (_itoa_lower_digits_internal): Remove declaration.
7355 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7356 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7357 (_sys_sigabbrev_internal): Remove aliases.
7358 (_sys_siglist): Define hidden alias.
7359
507352f1
MT
73602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7361
7362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7363 bits/sysctl.h.
7364
42bbb1c3
L
73652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 [BZ #14117]
6bd784b6
L
7368 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7369 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7370
8bca20f0
L
7371 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7372 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7373 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7374 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7376 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7377
f9e890a9
L
7378 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7379 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7380 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7381
471101a1
L
7382 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7383 with __addr.
7384 (insw): Likewise.
7385 (insl): Likewise.
7386 (outsb): Likewise.
7387 (outsw): Likewise.
7388 (outsl): Likewise.
7389
6451c862
L
7390 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7392 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7393
a254b8c9
L
7394 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7395 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7396 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7397 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7398 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7399 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7400
b8dfdd92
L
7401 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7402 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7403
578cd270
L
7404 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7405 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7406
de662f5f
L
7407 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7409 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7410
25653439
L
7411 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7412 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7413 to ...
7414 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7415
6bad24a0
L
7416 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7417 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7418 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7419
42bbb1c3
L
7420 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7421 for x86-64.
7422 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7423
2d10d547
JM
74242012-05-31 Joseph Myers <joseph@codesourcery.com>
7425
7426 * math/math.h (M_El): Use two more decimal places.
7427 (M_LOG2El): Likewise.
7428 (M_LOG10El): Likewise.
7429 (M_LN2l): Likewise.
7430 (M_LN10l): Likewise.
7431 (M_PIl): Likewise.
7432 (M_PI_2l): Likewise.
7433 (M_PI_4l): Likewise.
7434 (M_1_PIl): Likewise.
7435 (M_2_PIl): Likewise.
7436 (M_2_SQRTPIl): Likewise.
7437 (M_SQRT2l): Likewise.
7438 (M_SQRT1_2l): Likewise.
7439
f230c29b
DM
74402012-05-31 David S. Miller <davem@davemloft.net>
7441
7442 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7443 values between float registers.
7444 * sysdeps/sparc/sparc64/memset.S: Likewise.
7445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7446
fed806c3
MF
74472012-05-31 Mike Frysinger <vapier@gentoo.org>
7448
7449 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7450 -D_FORTIFY_SOURCE=1.
7451 (CPPFLAGS-tst-longjmp_chk.c): Define.
7452 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7453 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7454 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7455 CFLAGS-tst-wchar-h.c.
7456
30917259
MP
74572012-05-31 Marek Polacek <polacek@redhat.com>
7458
7459 [BZ #14132]
7460 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7461 __endmntent_internal): Remove declaration.
7462 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7463 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7464 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7465
1c58d5dc
DM
74662012-05-30 David S. Miller <davem@davemloft.net>
7467
7468 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7469 (___Q_simulate_exceptions): Use real FP ops rather than writing
7470 into the %fsr.
7471 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7472 Likewise.
7473
7dc00e0d
L
74742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7475
7476 [BZ #14117]
0bd53985
L
7477 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7478 * sysdeps/x86/bits/xtitypes.h: This.
7479
3a257e66
L
7480 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7481 * sysdeps/x86/bits/wordsize.h: This.
7482
62f62904
L
7483 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7484 * sysdeps/x86/bits/huge_vall.h: This.
7485
404fe9d9
L
7486 * sysdeps/i386/bits/select.h: Removed.
7487 * sysdeps/x86_64/bits/select.h: Renamed to ...
7488 * sysdeps/x86/bits/select.h: This.
7489
d48d0446
L
7490 * sysdeps/i386/bits/setjmp.h: Removed.
7491 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7492 * sysdeps/x86/bits/setjmp.h: This.
7493
7dc00e0d
L
7494 * sysdeps/i386/bits/mathdef.h: Removed.
7495 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7496 * sysdeps/x86/bits/mathdef.h: This.
7497
03277f8f
AS
74982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7499
7500 [BZ #14132]
7501 * include/sys/socket.h (__connect_internal)
7502 (__libc_sa_len_internal): Remove declaration.
7503 (__connect, __libc_sa_len): Declare hidden_proto.
7504 (SA_LEN): Remove use of INTUSE.
7505 * socket/connect.c: Add libc_hidden_def.
7506 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7507 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7508 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7509 alias.
7510 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7511 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7512 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7513 of adding _internal alias.
7514
13764867
L
75152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 [BZ #14117]
6bd97696
L
7518 * sysdeps/i386/bits/link.h: Removed.
7519 * sysdeps/i386/bits/linkmap.h: Likewise.
7520 * sysdeps/x86_64/bits/link.h: Renamed to ...
7521 * sysdeps/x86/bits/link.h: This.
7522 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7523 * sysdeps/x86/bits/linkmap.h: This.
7524
f726f0bb
L
7525 * sysdeps/i386/bits/endian.h: Removed.
7526 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7527 * sysdeps/x86/bits/endian.h: This.
7528
13764867
L
7529 * sysdeps/i386/bits/byteswap.h: Removed.
7530 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7531 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7532 * sysdeps/x86/bits/byteswap.h: This.
7533 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7534 * sysdeps/x86/bits/byteswap-16.h: This.
7535 * sysdeps/i386/Implies: Add x86.
7536 * sysdeps/x86_64/Implies: Likewise.
7537
ae251b0b
DM
75382012-05-30 David S. Miller <davem@davemloft.net>
7539
7540 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7541 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7543 (FP_TRAPPING_EXCEPTIONS): Define.
7544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7545 (FP_TRAPPING_EXCEPTIONS): Define.
7546 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7547 subnormals only when inexact has been signalled or underflow
7548 exceptions are enabled.
7549 (_FP_PACK_CANONICAL): Likewise.
7550
d5c90867
L
75512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7552
7553 [BZ #14183]
7554 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7555 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7556
63f1549e
RH
75572012-05-30 Richard Henderson <rth@twiddle.net>
7558
8d8f2279
RH
7559 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7560 with #ifndef NOT_IN_libc.
7561
63f1549e
RH
7562 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7563 marked to avoid plt entry.
7564
0ab0291b
L
75652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 [BZ #14112]
7568 * Makeconfig (default-abi): New macro.
7569 (abi-includes): Likewise.
7570 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7571 $(abi-$(default-abi)-lib-soname) for soname if defined.
7572 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7573 abi-variants.
7574 * Makefile (installed-stubs): Likewise.
7575 * include/stubs-biarch.h: Removed.
7576 * scripts/lib-names.awk: Only handle one library at a time.
7577 * scripts/soversions.awk: Remove WORDSIZE support.
7578 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7579 entries.
7580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7581 Removed.
7582 (syscall-list-default-condition): Likewise.
7583 (syscall-list-default-condition): Likewise.
7584 (syscall-list-includes): Likewise.
7585 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7586 syscall-list-* with abi-*. Handle undefined abi-variants.
7587 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7588 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7589 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7590 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7591 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7592 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7593 Removed.
7594 (syscall-list-32-options): Likewise.
7595 (syscall-list-32-condition): Likewise.
7596 (syscall-list-64-options): Likewise.
7597 (syscall-list-64-condition): Likewise.
7598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7599 macro.
7600 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7601 Renamed to ...
7602 (abi-*): This.
7603 (abi-64-ld-soname): New macro.
7604 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7605 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7606 Renamed to ...
7607 (abi-*): This.
7608 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7609 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7610
4da0431d
JM
76112012-05-30 Joseph Myers <joseph@codesourcery.com>
7612
3a85279c
JM
7613 * sysdeps/unix/sysv/linux/kernel-features.h
7614 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7615 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7616 include <kernel-features.h>.
7617 [!__NR_ftruncate64]: Remove conditional code.
7618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7619 [__NR_ftruncate64]: Make code unconditional.
7620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7621 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7622 include <kernel-features.h>.
7623 [!__NR_ftruncate64]: Remove conditional code.
7624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7625 [__NR_ftruncate64]: Make code unconditional.
7626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7628 include <kernel-features.h>.
7629 [!__NR_ftruncate64]: Remove conditional code.
7630 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7631 [__NR_ftruncate64]: Make code unconditional.
7632 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7634 include <kernel-features.h>.
7635 [!__NR_ftruncate64]: Remove conditional code.
7636 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7637 [__NR_ftruncate64]: Make code unconditional.
7638 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7639
4da0431d
JM
7640 * configure.in (libc_cv_fpie): Weaken to a compile test using
7641 LIBC_TRY_CC_OPTION.
7642 * configure: Regenerated.
7643
11ef492c
AK
76442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7645
7646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7650 Refreshed.
7651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7657 Refreshed.
7658
d66ef399
DM
76592012-05-27 David S. Miller <davem@davemloft.net>
7660
7661 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7662 (___Q_zero): New.
7663 (__Q_simulate_exceptions): Return void. Change to simulate
7664 exceptions by writing into the %fsr.
7665 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7666 (__Qp_handle_exceptions): Likewise.
7667 (numbers): Delete.
7668 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7669 __Qp_handle_exceptions.
7670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7671 __Qp_handle_exceptions.
7672 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7673 as unused and give dummy FP_RND_NEAREST initializer.
7674 (FP_INHIBIT_RESULTS): Define.
7675 (___Q_simulate_exceptions): Update declaration.
7676 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7677 formatting.
7678 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7679 as unused and give dummy FP_RND_NEAREST initializer.
7680 (__Qp_handle_exceptions): Update declaration.
7681 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7682 formatting.
7683
04fb54b5
TS
76842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7685
7686 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7687 the temporary FPU control word.
7688 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7689 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7690 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7691 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7692 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7693 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7694 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7695 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7696 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7697 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7699
3f99608f
KK
77002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7701
7702 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7703 fields.
7704
65a4de4e
CLT
77052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7706
7707 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7708 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7709 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7710 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7711 Likewise.
7712 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7713 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7714 Likewise.
7715
15749d40
UD
77162012-05-27 Ulrich Drepper <drepper@gmail.com>
7717
7718 * po/h.po: Update from translation team.
7719
25dbcb27
AS
77202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7721
3d3f8e55
AS
7722 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7723
25dbcb27
AS
7724 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7725 handling of denormals.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7727 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7728 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7729 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7731 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7733 Likewise.
7734
7ad47a80 77352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7736
7737 [BZ #14152]
7738 * math/libm-test.inc (fma_test): Don't always expect underflow
7739 exception.
7740
9c6ea9fa
SP
77412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7742
7743 [BZ #12416]
7744 * elf/tst-execstack.c: Include stackinfo.h.
7745 (do_test): Adjust test case to ensure that pthread_getattr_np
7746 behaviour remains the same after marking stack executable.
7747
a8239222
JM
77482012-05-25 Joseph Myers <joseph@codesourcery.com>
7749
7750 * sysdeps/unix/sysv/linux/kernel-features.h
7751 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7752 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7753 kernel-features.h.
7754 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7755 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7756 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7757 kernel-features.h.
7758 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7759 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7760
918b5606
L
77612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7762
7763 * configure.in: Define the default includes to being none.
7764 * configure: Regenerated.
7765
3a097cc7
RM
77662012-05-25 Roland McGrath <roland@hack.frob.com>
7767
8422c9a5
RM
7768 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7769 * sysdeps/x86_64/setjmp.S: Likewise.
7770 * sysdeps/i386/bsd-setjmp.S: Likewise.
7771 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7772 * sysdeps/i386/setjmp.S: Likewise.
7773 * sysdeps/i386/__longjmp.S: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7775 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7776
3a097cc7
RM
7777 * include/stap-probe.h: New file.
7778 * configure.in: Handle --enable-systemtap.
7779 * configure: Regenerated.
7780 * config.h.in (USE_STAP_PROBE): New #undef.
7781 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7782 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7783 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7784
21708942
JM
77852012-05-25 Joseph Myers <joseph@codesourcery.com>
7786
7787 [BZ #13717]
7788 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7789 to 2.4.0 where earlier.
7790 * sysdeps/unix/sysv/linux/configure: Regenerated.
7791 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7792 <kernel-features.h>.
7793 [__ASSUME_32BITUIDS]: Make code unconditional.
7794 [!__ASSUME_32BITUIDS]: Remove conditional code.
7795 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7796 <kernel-features.h>.
7797 [__ASSUME_32BITUIDS]: Make code unconditional.
7798 [!__ASSUME_32BITUIDS]: Remove conditional code.
7799 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7800 [__ASSUME_32BITUIDS]: Make code unconditional.
7801 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7803 <kernel-features.h>.
7804 [__ASSUME_32BITUIDS]: Make code unconditional.
7805 [!__ASSUME_32BITUIDS]: Remove conditional code.
7806 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7807 <kernel-features.h>.
7808 [__ASSUME_32BITUIDS]: Make code unconditional.
7809 [!__ASSUME_32BITUIDS]: Remove conditional code.
7810 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7811 <kernel-features.h>.
7812 [__ASSUME_32BITUIDS]: Make code unconditional.
7813 [!__ASSUME_32BITUIDS]: Remove conditional code.
7814 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7815 <kernel-features.h>.
7816 [__ASSUME_32BITUIDS]: Make code unconditional.
7817 [!__ASSUME_32BITUIDS]: Remove conditional code.
7818 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7819 <kernel-features.h>.
7820 [__ASSUME_32BITUIDS]: Make code unconditional.
7821 [!__ASSUME_32BITUIDS]: Remove conditional code.
7822 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7823 <kernel-features.h>.
7824 [__ASSUME_32BITUIDS]: Make code unconditional.
7825 [!__ASSUME_32BITUIDS]: Remove conditional code.
7826 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7827 <kernel-features.h>.
7828 [__ASSUME_32BITUIDS]: Make code unconditional.
7829 [!__ASSUME_32BITUIDS]: Remove conditional code.
7830 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7831 <kernel-features.h>.
7832 [__ASSUME_32BITUIDS]: Make code unconditional.
7833 [!__ASSUME_32BITUIDS]: Remove conditional code.
7834 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7835 <kernel-features.h>.
7836 [__ASSUME_32BITUIDS]: Make code unconditional.
7837 [!__ASSUME_32BITUIDS]: Remove conditional code.
7838 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7839 <kernel-features.h>.
7840 [__ASSUME_32BITUIDS]: Make code unconditional.
7841 [!__ASSUME_32BITUIDS]: Remove conditional code.
7842 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7843 <kernel-features.h>.
7844 [__NR_setresgid] (__setresgid): Do not declare.
7845 [__ASSUME_32BITUIDS]: Make code unconditional.
7846 [!__ASSUME_32BITUIDS]: Remove conditional code.
7847 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7848 <kernel-features.h>.
7849 [__NR_setresuid] (__setresuid): Do not declare.
7850 [__ASSUME_32BITUIDS]: Make code unconditional.
7851 [!__ASSUME_32BITUIDS]: Remove conditional code.
7852 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7853 <kernel-features.h>.
7854 [__ASSUME_32BITUIDS]: Make code unconditional.
7855 [!__ASSUME_32BITUIDS]: Remove conditional code.
7856 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7857 <kernel-features.h>.
7858 [__ASSUME_32BITUIDS]: Make code unconditional.
7859 [!__ASSUME_32BITUIDS]: Remove conditional code.
7860 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7861 <kernel-features.h>.
7862 [__ASSUME_32BITUIDS]: Make code unconditional.
7863 [!__ASSUME_32BITUIDS]: Remove conditional code.
7864 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7865 <kernel-features.h>.
7866 [__ASSUME_32BITUIDS]: Make code unconditional.
7867 [!__ASSUME_32BITUIDS]: Remove conditional code.
7868 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7869 <kernel-features.h>.
7870 [__ASSUME_32BITUIDS]: Make code unconditional.
7871 [!__ASSUME_32BITUIDS]: Remove conditional code.
7872 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7873 <kernel-features.h>.
7874 [__ASSUME_32BITUIDS]: Make code unconditional.
7875 [!__ASSUME_32BITUIDS]: Remove conditional code.
7876 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7877 <kernel-features.h>.
7878 [__ASSUME_32BITUIDS]: Make code unconditional.
7879 [!__ASSUME_32BITUIDS]: Remove conditional code.
7880 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7881 <kernel-features.h>.
7882 [__ASSUME_32BITUIDS]: Make code unconditional.
7883 [!__ASSUME_32BITUIDS]: Remove conditional code.
7884 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7885 <kernel-features.h>.
7886 [__ASSUME_32BITUIDS]: Make code unconditional.
7887 [!__ASSUME_32BITUIDS]: Remove conditional code.
7888 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7889 <kernel-features.h>.
7890 [__ASSUME_32BITUIDS]: Make code unconditional.
7891 [!__ASSUME_32BITUIDS]: Remove conditional code.
7892 * sysdeps/unix/sysv/linux/kernel-features.h
7893 (__ASSUME_SETRESUID_SYSCALL): Remove.
7894 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7895 (__ASSUME_32BITUIDS): Likewise.
7896 (__ASSUME_LDT_WORKS): Likewise.
7897 (__ASSUME_O_DIRECTORY): Likewise.
7898 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7899 architecture but not kernel version.
7900 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7901 (__ASSUME_MMAP2_SYSCALL): Likewise.
7902 (__ASSUME_STAT64_SYSCALL): Likewise.
7903 (__ASSUME_IPC64): Likewise.
7904 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7905 <kernel-features.h>.
7906 [__ASSUME_32BITUIDS]: Make code unconditional.
7907 [!__ASSUME_32BITUIDS]: Remove conditional code.
7908 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7909 <kernel-features.h>.
7910 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7911 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7912 132096]: Remove conditional code.
7913 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7914 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7915 <kernel-features.h>.
7916 [__ASSUME_32BITUIDS]: Make code unconditional.
7917 [!__ASSUME_32BITUIDS]: Remove conditional code.
7918 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7919 <kernel-features.h>.
7920 [__ASSUME_32BITUIDS]: Make code unconditional.
7921 [!__ASSUME_32BITUIDS]: Remove conditional code.
7922 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7923 <kernel-features.h>.
7924 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7925 unconditional.
7926 (__setresgid): Do not declare.
7927 [__ASSUME_32BITUIDS]: Make code unconditional.
7928 [!__ASSUME_32BITUIDS]: Remove conditional code.
7929 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7930 <kernel-features.h>.
7931 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7932 unconditional.
7933 (__setresuid): Do not declare.
7934 [__ASSUME_32BITUIDS]: Make code unconditional.
7935 [!__ASSUME_32BITUIDS]: Remove conditional code.
7936 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7937 <kernel-features.h>.
7938 [__ASSUME_32BITUIDS]: Make code unconditional.
7939 [!__ASSUME_32BITUIDS]: Remove conditional code.
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7941 <kernel-features.h>.
7942 [__ASSUME_32BITUIDS]: Make code unconditional.
7943 [!__ASSUME_32BITUIDS]: Remove conditional code.
7944
a386f1cc
RH
79452012-05-25 Richard Henderson <rth@twiddle.net>
7946
7947 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7948 dl_hwcap to ifunc resolver.
7949 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7950 elf_ifunc_invoke.
7951 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7952 dl_hwcap to ifunc resolver.
7953 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7954
b6550497
JM
79552012-05-24 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #14153]
7958 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7959 for |x| <= 2**-26, not 2**-57.
7960 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7961 exception.
7962
b0bc23a1
JL
79632012-05-24 Jeff Law <law@redhat.com>
7964
7965 * stdio-common/Makefile (tests): Add bug25.
7966 * stdio-common/bug25.c: New test.
7967
347c92e9
L
79682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7969
7970 [BZ #13576]
7971 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7972 multiple of MALLOC_ALIGNMENT in size.
7973 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7974
6bcc8b3f
JM
79752012-05-24 Joseph Myers <joseph@codesourcery.com>
7976
7977 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7978 Require >= 256.
7979 (FILENAME_MAX): Use macro-int-constant.
7980 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7981 (_IOFBF): Use macro-int-constant.
7982 (_IOLBF): Likewise.
7983 (_IONBF): Likewise.
7984 (SEEK_CUR): Likewise.
7985 (SEEK_END): Likewise.
7986 (SEEK_SET): Likewise.
7987 (TMP_MAX): Likewise.
7988 (EOF): Use macro-int-constant. Require < 0.
7989 (NULL): Use macro-constant. Require == 0.
7990 (stdin): Require type to be FILE *.
7991 (stdout): Likewise.
7992 (stderr): Likewise.
7993 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7994 macro-int-constant.
7995 (EXIT_SUCCESS): Likewise.
7996 (NULL): Use macro-constant. Require == 0.
7997 (RAND_MAX): Use macro-int-constant.
7998 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7999 [C99-based standards] (strtof): Require function.
8000 [C99-based standards] (strtold): Likewise.
8001 [C99-based standards] (strtoll): Likewise.
8002 [C99-based standards] (strtoull): Likewise.
8003 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8004 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8005 [ISO || ISO99 || ISO11] (math.h): Likewise.
8006 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8007 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8009
d18ea0c5
AS
80102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8011
8012 [BZ #14132]
56d25bb8
AS
8013 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8014 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8015 * intl/dgettext.c (DCGETTEXT): Likewise.
8016 * intl/gettext.c (DCGETTEXT): Likewise.
8017 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8018 * posix/regex_internal.h (gettext): Likewise.
8019 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8020 Remove declaration.
8021 * include/argz.h (__argz_count_internal)
8022 (__argz_stringify_internal): Remove declaration.
8023 (__argz_count, __argz_stringify): Declare hidden proto.
8024 * intl/dcgettext.c: Remove use of INTDEF.
8025 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8026 * string/argz-stringify.c: Likewise.
8027 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8028 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8029 Declare hidden proto.
d18ea0c5
AS
8030 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8031 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8032 Declare hidden proto.
8033 * include/stdio.h (__asprintf_internal): Don't declare.
8034 (__asprintf): Don't define as macro. Declare hidden proto.
8035 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8036 (__fsetlocking): Declare hidden proto.
8037 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8038 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8039 hidden proto.
8040 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8041 (_IO_setlinebuf): Remove use of INTUSE.
8042 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8043 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8044 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8045 Remove declaration.
8046 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8047 (_IO_do_flush): Remove use of INTUSE.
8048 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8049 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8050 (_IO_adjust_column, _IO_least_wmarker)
8051 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8052 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8053 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8054 (_IO_default_doallocate, _IO_wdefault_doallocate)
8055 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8056 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8057 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8058 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8059 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8060 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8061 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8062 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8063 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8064 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8065 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8066 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8067 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8068 proto.
8069 (_IO_flush_all_internal, _IO_adjust_column_internal)
8070 (_IO_default_uflow_internal, _IO_default_finish_internal)
8071 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8072 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8073 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8074 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8075 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8076 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8077 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8078 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8079 (_IO_file_close_internal, _IO_file_close_it_internal)
8080 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8081 (_IO_file_init_internal, _IO_file_attach_internal)
8082 (_IO_file_fopen_internal, _IO_file_read_internal)
8083 (_IO_file_sync_internal, _IO_file_seek_internal)
8084 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8085 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8086 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8087 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8088 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8089 (_IO_list_all_internal, _IO_link_in_internal)
8090 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8091 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8092 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8093 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8094 (_IO_do_write_internal, _IO_padn_internal)
8095 (_IO_getline_info_internal, _IO_getline_internal)
8096 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8097 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8098 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8099 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8100 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8101 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8102 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8103 with libc_hidden_ver, remove use of INTUSE.
8104 * libio/genops.c: Likewise.
8105 * libio/freopen.c: Likewise.
8106 * libio/freopen64.c: Likewise.
8107 * libio/iofclose.c: Likewise.
8108 * libio/iofdopen.c: Likewise.
8109 * libio/iofflush.c: Likewise.
8110 * libio/iofflush_u.c: Likewise.
8111 * libio/iofgets.c: Likewise.
8112 * libio/iofgets_u.c: Likewise.
8113 * libio/iofopen.c: Likewise.
8114 * libio/iofopncook.c: Likewise.
8115 * libio/iofread.c: Likewise.
8116 * libio/iofread_u.c: Likewise.
8117 * libio/ioftell.c: Likewise.
8118 * libio/iofwrite.c: Likewise.
8119 * libio/iogetline.c: Likewise.
8120 * libio/iogets.c: Likewise.
8121 * libio/iogetwline.c: Likewise.
8122 * libio/iopadn.c: Likewise.
8123 * libio/iopopen.c: Likewise.
8124 * libio/ioseekoff.c: Likewise.
8125 * libio/ioseekpos.c: Likewise.
8126 * libio/iosetbuffer.c: Likewise.
8127 * libio/iosetvbuf.c: Likewise.
8128 * libio/ioungetc.c: Likewise.
8129 * libio/ioungetwc.c: Likewise.
8130 * libio/iovdprintf.c: Likewise.
8131 * libio/iovsprintf.c: Likewise.
8132 * libio/iovsscanf.c: Likewise.
8133 * libio/memstream.c: Likewise.
8134 * libio/obprintf.c: Likewise.
8135 * libio/oldfileops.c: Likewise.
8136 * libio/oldiofclose.c: Likewise.
8137 * libio/oldiofdopen.c: Likewise.
8138 * libio/oldiofopen.c: Likewise.
8139 * libio/oldiopopen.c: Likewise.
8140 * libio/oldstdfiles.c: Likewise.
8141 * libio/putc.c: Likewise.
8142 * libio/setbuf.c: Likewise.
8143 * libio/setlinebuf.c: Likewise.
8144 * libio/stdfiles.c: Likewise.
8145 * libio/strops.c: Likewise.
8146 * libio/vasprintf.c: Likewise.
8147 * libio/vscanf.c: Likewise.
8148 * libio/vsnprintf.c: Likewise.
8149 * libio/vswprintf.c: Likewise.
8150 * libio/wfiledoalloc.c: Likewise.
8151 * libio/wfileops.c: Likewise.
8152 * libio/wgenops.c: Likewise.
8153 * libio/wmemstream.c: Likewise.
8154 * libio/wstrops.c: Likewise.
8155 * libio/__fpurge.c: Likewise.
8156 * libio/__fsetlocking.c: Likewise.
8157 * assert/assert.c: Likewise.
8158 * debug/fgets_chk.c: Likewise.
8159 * debug/fgets_u_chk.c: Likewise.
8160 * debug/fread_chk.c: Likewise.
8161 * debug/fread_u_chk.c: Likewise.
8162 * debug/gets_chk.c: Likewise.
8163 * debug/obprintf_chk.c: Likewise.
8164 * debug/vasprintf_chk.c: Likewise.
8165 * debug/vdprintf_chk.c: Likewise.
8166 * debug/vsnprintf_chk.c: Likewise.
8167 * debug/vsprintf_chk.c: Likewise.
8168 * malloc/mtrace.c: Likewise.
8169 * misc/error.c: Likewise.
8170 * misc/syslog.c: Likewise.
8171 * stdio-common/asprintf.c: Likewise.
8172 * stdio-common/fxprintf.c: Likewise.
8173 * stdio-common/getw.c: Likewise.
8174 * stdio-common/isoc99_fscanf.c: Likewise.
8175 * stdio-common/isoc99_scanf.c: Likewise.
8176 * stdio-common/isoc99_vfscanf.c: Likewise.
8177 * stdio-common/isoc99_vscanf.c: Likewise.
8178 * stdio-common/isoc99_vsscanf.c: Likewise.
8179 * stdio-common/printf-prs.c: Likewise.
8180 * stdio-common/printf_fp.c: Likewise.
8181 * stdio-common/printf_fphex.c: Likewise.
8182 * stdio-common/printf_size.c: Likewise.
8183 * stdio-common/putw.c: Likewise.
8184 * stdio-common/scanf.c: Likewise.
8185 * stdio-common/sprintf.c: Likewise.
8186 * stdio-common/tmpfile.c: Likewise.
8187 * stdio-common/vfprintf.c: Likewise.
8188 * stdio-common/vfscanf.c: Likewise.
8189 * stdlib/strfmon_l.c: Likewise.
8190 * sunrpc/openchild.c: Likewise.
8191 * sunrpc/xdr_stdio.c: Likewise.
8192 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8193 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8194
d6c33fda
RM
81952012-05-24 Roland McGrath <roland@hack.frob.com>
8196
c1487492
RM
8197 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8198
8199 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8200 in the third column, to generate for the shared library an IFUNC
8201 that uses _dl_vdso_vsym.
8202 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8203 * Makeconfig (object-suffixes-noshared): New variable.
8204
8205 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8206 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8207 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8208 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8209
d6c33fda
RM
8210 [BZ #14132]
8211 * include/sys/time.h (__gettimeofday): Remove macro.
8212 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8213 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8214 Remove INTDEF.
8215 (__gettimeofday): Add libc_hidden_def.
8216 (gettimeofday): Add libc_hidden_weak.
8217 * sysdeps/mach/gettimeofday.c: Likewise.
8218 * sysdeps/posix/gettimeofday.c: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8220 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8222 (__gettimeofday_internal): Remove strong_alias.
8223 (__gettimeofday): Add libc_hidden_def.
8224 (gettimeofday): Add libc_hidden_weak.
8225 * sysdeps/unix/syscalls.list (gettimeofday):
8226 Remove __gettimeofday_internal alias.
8227
b5a2bbe6
L
82282012-05-24 Daniel Jacobowitz <drow@false.org>
8229 H.J. Lu <hongjiu.lu@intel.com>
8230
8231 [BZ #12495]
8232 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8233 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8234 (largebin_index_32_big): New.
8235 (largebin_index): Use it for 16-byte alignment.
8236 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8237 correction with front_misalign.
8238
cfba4fda
L
82392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8240
7f907421
L
8241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8243 Likewise.
8244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8245 Likewise.
8246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8247 Likewise.
8248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8249 Likewise.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8251 Likewise.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8253 Likewise.
8254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8255 Likewise.
8256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8257 Likewise.
8258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8259 Likewise.
8260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8261 Likewise.
8262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8263 Likewise.
8264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8265 Likewise.
8266
cfba4fda
L
8267 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8268 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8269
80bad0cc
JM
82702012-05-24 Joseph Myers <joseph@codesourcery.com>
8271
7a25eb06
JM
8272 [BZ #10846]
8273 [BZ #14036]
8274 * math/libm-test.inc (exp_test): Add test from bug 14036.
8275 (pow_test): Add test from bug 10846.
8276
795405f9
JM
8277 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8278 and other flags.
8279 (special_function): Do not include flags in test name.
8280 (parse_args): Likewise.
8281 * sysdeps/i386/fpu/libm-test-ulps: Update.
8282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8283 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8284 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8286
80bad0cc
JM
8287 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8288 exceptions.
8289 * math/libm-test.inc ("Philosophy"): Update comment about
8290 exception testing.
8291 (UNDERFLOW_EXCEPTION): New macro.
8292 (UNDERFLOW_EXCEPTION_OK): Likewise.
8293 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8294 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8295 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8296 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8297 (INVALID_EXCEPTION_OK): Update value.
8298 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8299 (OVERFLOW_EXCEPTION_OK): Likewise.
8300 (IGNORE_ZERO_INF_SIGN): Likewise.
8301 (test_exceptions): Handle underflow exceptions.
8302 (acos_test): Update for underflow exception expectations.
8303 (cexp_test): Likewise.
8304 (clog_test): Likewise.
8305 (clog10_test): Likewise.
8306 (csqrt_test): Likewise.
8307 (ctan_test): Likewise.
8308 (ctanh_test): Likewise.
8309 (exp_test): Likewise.
8310 (exp10_test): Likewise.
8311 (exp2_test): Likewise.
8312 (expm1_test): Likewise.
8313 (fma_test): Likewise.
8314 (j0_test): Likewise.
8315 (jn_test): Likewise.
8316 (nexttoward_test): Likewise.
8317 (pow_test): Likewise.
8318 (scalbn_test): Likewise.
8319 (scalbln_test): Likewise.
8320 (tan_test): Likewise.
8321 (y1_test): Likewise.
8322 * sysdeps/i386/fpu/libm-test-ulps: Update.
8323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8324
9e0e3d0b
DM
83252012-05-23 David S. Miller <davem@davemloft.net>
8326
8327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8328 (__libc_sigaction): Remove unused local variables.
8329
ccd0a08f
L
83302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8333
62bdf9a6
PE
83342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8335
f8591f80
PE
8336 mktime: avoid signed integer overflow
8337 * time/mktime.c (__mktime_internal): Do not mishandle the case
8338 where diff == INT_MIN.
8339
94c7d826
PE
8340 mktime: simplify computation of average
8341 * time/mktime.c (ranged_convert): Use new time_t_avg function
8342 instead of rolling our own (probably-slower) code.
8343
ce73d683
PE
8344 mktime: do not assume signed right shift propagates sign bit
8345 * time/mktime.c (isdst_differ): New static function.
8346 (__mktime_internal): No need to normalize tm_isdst now.
8347 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8348 tm_isdst values.
8349
72a22e59
PE
8350 mktime: merge another wrapv change from gnulib
8351 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8352 from some compilers.
8353
68605433
PE
8354 mktime: remove incorrect attempt at unusual arithmetics
8355 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8356 The code didn't really work on such machines anyway.
8357 (TYPE_MINIMUM): Assume two's complement.
8358 (twos_complement_arithmetic): Verify that long_int and time_t
8359 are two's complement (or unsigned, in the latter case).
8360
03cf7fe3
PE
8361 mktime: check signed shifts on long_int and time_t, too
8362 * time/mktime.c (SHR): Check that shifts work as desired
8363 on the types long_int and time_t too, as SHR is used on
8364 such types.
8365
f04dfbc2
PE
8366 mktime: do not assume 'long' is wide enough
8367 * time/mktime.c (verify): Move decl up.
8368 (long_int): New type.
8369 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8370 to remove assumption in the code that 'long' is wide enough to
8371 store year values. This assumption is not true on x32 and on
8372 some non-glibc platforms.
8373
62bdf9a6
PE
8374 mktime: merge wrapv change from gnulib
8375 * time/mktime.c (WRAPV): New macro.
8376 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8377 (guess_time_tm, __mktime_internal): Do not assume that signed
8378 integer overflow wraps around; modern compilers generate code
8379 where this assumption is no longer valid.
8380
5e292e4f
L
83812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8382
8383 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8384 Replace "jmp L(pseudo_end)" with "ret".
8385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8386 Likewise.
8387
8caf8c87
AJ
83882012-05-23 Andreas Jaeger <aj@suse.de>
8389
8390 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8391 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8392
1a09dc56
AJ
83932012-05-23 Andreas Jaeger <aj@suse.de>
8394 Maximilian Attems <max@stro.at>
8395
8396 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8397 New macros.
8398
1c87aba0
L
83992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8402 code so that pseudo_end is just ret and the stack pointer is
8403 correct also for static library in error case.
8404
40e45bd5
JM
84052012-05-23 Joseph Myers <joseph@codesourcery.com>
8406
c2670533
JM
8407 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8408 move to syscalls.list.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8413
40e45bd5
JM
8414 * manual/install.texi (Running make install): Do not mention Linux
8415 kernel version for which pt_chown is not needed.
8416 (Linux): Do not mention problems with nscd with 2.0 kernels.
8417 * INSTALL: Regenerated.
8418
be08eda5
AJ
84192012-05-23 Andreas Jaeger <aj@suse.de>
8420
8421 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8422 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8423 macro.
8424 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8425 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8426 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8427 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8428 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8429 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8430 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8431 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8433 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8434 * sysdeps/unix/sysv/linux/bits/in.h
8435 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8436
a6a056bb
RM
84372012-05-22 Roland McGrath <roland@hack.frob.com>
8438
8439 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8440 (PREPARE_VERSION): Just use assert instead, it will be elided
8441 under [NDEBUG] anyway.
8442
c9009328
L
84432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8444
8445 * sysdeps/unix/sysv/linux/Makefile: Include
8446 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8447 (sysdep_routines): Remove sysctl.
c9009328
L
8448 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8449 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8452 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8453
73338355
AJ
84542012-05-22 Andreas Jaeger <aj@suse.de>
8455
8456 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8457 that pseudo_end is just ret and the stack pointer is correct also
8458 for static library in error case.
8459
d44638b0
PP
84602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8461
8462 [BZ #14122]
8463 * nss/nsswitch.c (defconfig_entries): New variable.
8464 (__nss_database_lookup): Don't leak defconfig entries.
8465 (nss_parse_service_list): Don't leak on error paths.
8466 (free_database_entries): New function.
8467 (free_defconfig): New function.
8468 (free_mem): Move common code to free_database_entries.
8469
31a39bd8
L
84702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8471
da0331a8
L
8472 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8473 Add arch_prctl.
8474 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8475
31a39bd8
L
8476 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8477 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8479 New macro.
8480 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8481 (INTERNAL_SYSCALL_TYPES): Likewise.
8482 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8483 (LOAD_REGS_TYPES_[1-6]): Likewise.
8484 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8485 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8486
45470df3
AZ
84872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488
8489 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8490 copysignl for GLIBC_2_0.
8491 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8492 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8494 logbl for GLIBC_2_0.
8495 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8496 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8497
98a61bcb
L
84982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8499
a4f6e481
L
8500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8501 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8502
f63d5db6
L
8503 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8504 Use "neg %eax".
8505
98a61bcb
L
8506 * time/mktime.c: Update copyright years.
8507
95770f14
PE
85082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8509
6226efbd
PE
8510 mktime: merge comment-quoting-style change from gnulib
8511 * time/mktime.c: Quote 'like this' in comments.
8512 The GNU coding standards suggest that we no longer quote `like this',
8513 as "`" and "'" are typically rendered asymmetrically nowadays.
8514 The typical gnulib style is to quote 'like this' when quoting
8515 code, and "like this" when quoting English.
8516
b99e4f78
PE
8517 * time/mktime.c (compile-command): Add "-I.".
8518
643e01e6
PE
8519 mktime: merge mktime-internal.h change from gnulib
8520 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8521
2554247d
PE
8522 mktime: merge time_r change from gnulib
8523 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8524
826dd0ab
PE
8525 mktime: merge DEBUG change from gnulib
8526 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8527 case system <time.h> has a #define.
8528
bd83aabe
PE
8529 mktime: merge <sys/types.h> change from gnulib
8530 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8531 since <time.t> is now guaranteed to define time_t.
8532
95770f14
PE
8533 mktime: merge HAVE_CONFIG_H change from gnulib
8534 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8535
5e1a27a9
L
85362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8537
0e44a77e
L
8538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8539 Use "neg %eax".
8540
5e1a27a9
L
8541 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8542 __rlim_t cast.
8543 (struct rusage): Use anonymous union to pad each field to
8544 __syscall_slong_t.
8545
46259bec
DM
85462012-05-21 David S. Miller <davem@davemloft.net>
8547
8548 * Makefules (o-iterator): Remove .s cases.
8549 (compile-command.s): Delete.
8550 (COMPILE.s): Delete.
8551 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8552
59f0c22e
JM
85532012-05-21 Joseph Myers <joseph@codesourcery.com>
8554
8555 * configure.in (libc_cv_predef_stack_protector): Only consider
8556 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8557 * configure: Regenerated.
8558
20c07380
L
85592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8560
bbb3154b
L
8561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8562 New macro. Use R*LP on int and pointer.
8563 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8564 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8565 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8566 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8567
20c07380
L
8568 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8569 [__WORDSIZE_TIME64_COMPAT32] instead of
8570 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8571 (struct utmp): Likewise.
8572 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8573 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8574 Renamed to ...
8575 (__WORDSIZE_TIME64_COMPAT32): This.
8576 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8577 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8578 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8579 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8580 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8581 (__WORDSIZE_TIME64_COMPAT32): New macro.
8582
d8d1017e
AJ
85832012-05-21 Andreas Jaeger <aj@suse.de>
8584
8585 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8586 only if [SHARED]. Add prototype for __wcschr_ia32.
8587
6c7fb145
RM
85882012-05-21 Roland McGrath <roland@hack.frob.com>
8589
8590 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8591 of %rbp unmolested in the jmp_buf while mangling the low bits.
8592 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8593 unmolested high bits of %rbp while demangling the low bits.
8594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8595
66274218
AJ
85962012-05-21 Andreas Jaeger <aj@suse.de>
8597
07c58f8f
AJ
8598 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8599 * sunrpc/svc_simple.c: Use it for registerrpc.
8600 * sunrpc/xcrypt.c: Use it for passwd2des.
8601
66274218
AJ
8602 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8603
61f65140
L
86042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8607 Don't define if [__SYSCALL_WORDSIZE != 32].
8608 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8609 New macro.
8610
5fefb436
AJ
86112012-05-21 Bruno Haible <bruno@clisp.org>
8612 Andreas Jaeger <aj@suse.de>
8613
8614 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8615 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8616 inptr and inend for must_buffer_ch.
8617 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8618 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8619 * stdio-common/Makefile (tests): Remove bug15.
8620 (bug15-ENV): Remove macro.
8621 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8622 anymore.
8623
d8e272ab
AJ
86242012-05-19 Andreas Jaeger <aj@suse.de>
8625 Roland McGrath <roland@hack.frob.com>
8626
8627 * manual/contrib.texi: Completely rewritten. It contains now an
8628 alphabetical list of contributors and their contributions.
8629
4a56a162
RH
86302012-05-21 Richard Henderson <rth@twiddle.net>
8631
8632 * misc/getauxval.c (__getauxval): Use unsigned long int.
8633 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8634 (getauxval): Use unsigned long int.
8635
d024d23c
L
86362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8637
8638 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8639
cbc00a03
RM
86402012-05-21 Roland McGrath <roland@hack.frob.com>
8641
8642 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8643 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8644 __alignof__ (long double).
8645
478143fa
AZ
86462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8647
8648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8649
c7683a6d
RH
86502012-05-20 Richard Henderson <rth@twiddle.net>
8651
8652 * misc/getauxval.c: New file.
8653 * misc/sys/auxv.h: New file.
8654 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8655 (routines): Add getauxval.
8656 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8657 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8658 * elf/dl-sysdep.c (_dl_auxv): Remove.
8659 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8660 * elf/dl-support.c (_dl_auxv): New variable.
8661 (_dl_aux_init): Initialize it.
8662 * manual/startup.texi (Auxiliary Vector): New node.
8663 * sysdeps/generic/bits/hwcap.h: New file.
8664 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8665 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8666 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8667 * sysdeps/sparc/sysdep.h: ... here. Include it.
8668 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8669 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8671 Update.
c7683a6d
RH
8672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8680
a6f1845d
AZ
86812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682
8683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8684
cbcbe830
DM
86852012-05-19 David S. Miller <davem@davemloft.net>
8686
8687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8688
e0b16cc2
JM
86892012-05-19 Joseph Myers <joseph@codesourcery.com>
8690
8691 [BZ #14123]
8692 * math/s_ccosh.c: Include <float.h>
8693 (__ccosh): Avoid internal overflow calculating sinh and cosh
8694 values before multiplying by sin and cos values.
8695 * math/s_ccoshf.c: Likewise.
8696 * math/s_ccoshl.c: Likewise.
8697 * math/s_csin.c: Likewise.
8698 * math/s_csinf.c: Likewise.
8699 * math/s_csinl.c: Likewise.
8700 * math/s_csinh.c: Likewise.
8701 * math/s_csinhf.c: Likewise.
8702 * math/s_csinhl.c: Likewise.
8703 * math/libm-test.inc (ccos_test): Add more tests.
8704 (ccosh_test): Likewise.
8705 (csin_test): Likewise.
8706 (csinh_test): Likewise.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8709
6ad13e08
L
87102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8711
f66f0ce8
L
8712 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8713 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8714
6ad13e08
L
8715 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8716
b1d072a7
JM
87172012-05-19 Joseph Myers <joseph@codesourcery.com>
8718
8719 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8720 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8721 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8722 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8723 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8724 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8725 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8726 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8727 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8728 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8729 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8730 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8731 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8732 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8733 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8734 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8735 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8736 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8737 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8738 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8739 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8740 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8741 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8742 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8743 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8744 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8745 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8746 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8747 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8748 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8749 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8750
9eae47cb
AJ
87512012-05-18 Andreas Jaeger <aj@suse.de>
8752
8753 * csu/.gitignore: Delete.
8754
bb07f69f
L
87552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8758 (timex): Use __syscall_slong_t.
8759
e6bdb741
AJ
87602012-05-18 Andreas Jaeger <aj@suse.de>
8761 Carlos O'Donell <carlos_odonell@mentor.com>
8762
8763 * manual/install.texi (Configuring and compiling): Update
8764 description about files modified in the source directory.
d6c33fda 8765 * INSTALL: Regenerated.
e6bdb741 8766
1b74487e
L
87672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8770 value. Use "or" to set return value to -1.
8771 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8772 negate return value.
8773
a88b64b9
TMQMF
87742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8775
8776 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8777 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8778 failure if the compiler has Graphite support disabled.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8780 Likewise.
8781 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8782 CFLAGS-memmove.c): Likewise.
8783 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8784 Likewise.
8785
3707636e
L
87862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8787
610b8622
L
8788 * sysdeps/x86_64/x32/_itoa.h: New file.
8789
7cd195df
L
8790 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8791 getdents system call only if kernel and user dirents have the
8792 same d_ino and d_off.
8793
94b07d20
L
8794 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8795 LLONG_MAX != LONG_MAX.
8796 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8797 (_fitoa_word): Likewise.
8798
18298070
L
8799 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8800 years.
8801 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8804
553c7ea4
L
8805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8806 include <bits/wordsize.h>. Check __x86_64__ instead of
8807 __WORDSIZE.
8808 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8809 if __x86_64__ is defined. Use anonymous union on fpstate.
8810
3707636e
L
8811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8812 anonymous union.
8813
b53ef01a
AS
88142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8815
37fb1dc0
AS
8816 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8817 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8819 Refer to _rtld_local_ro instead of _rtld_global_ro.
8820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8821 Likewise.
8822 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8823 Likewise.
8824 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8825 Likewise.
8826 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8827 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8828 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8829
b53ef01a
AS
8830 * sysdeps/powerpc/powerpc32/dl-machine.c
8831 (__elf_machine_runtime_setup) [PROF]: Don't reference
8832 _dl_prof_resolve.
8833
7a185db2
AJ
88342012-05-18 Andreas Jaeger <aj@suse.de>
8835
8836 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8837 function only available for GCCs before 3.4 since GCC 3.4
8838 introduced a builtin.
8839 (lrint): Likewise.
8840 (llrintf): Likewise.
8841 (llrint): Likewise.
8842 (fmaxf): Likewise.
8843 (fmax): Likewise.
8844 (fminf): Likewise.
8845 (fmin): Likewise.
8846 (rint): Likewise.
8847 (rintf): Likewise.
8848 (nearbyint): Likewise.
8849 (nearbyintf): Likewise.
8850 (ceil): Likewise.
8851 (ceilf): Likewise.
8852 (floor): Likewise.
8853 (floorf): Likewise.
8854
3e5aef87
L
88552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8856
428bd707
L
8857 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8858 on both fields and cast pointer to __syscall_ulong_t.
8859
3e5aef87
L
8860 * bits/types.h (__fsword_t): New type.
8861 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8862 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8863 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8864 (__FSWORD_T_TYPE): Likewise.
8865 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8866 (__FSWORD_T_TYPE): Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8868 (__FSWORD_T_TYPE): Likewise.
8869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8870 (__FSWORD_T_TYPE): Likewise.
8871 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8872 __SWORD_TYPE with __fsword_t.
8873 (statfs64): Likewise.
8874
1ba7c3dc
DM
88752012-05-17 David S. Miller <davem@davemloft.net>
8876
8877 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8878
59910343
AJ
88792012-05-17 Andreas Jaeger <aj@suse.de>
8880
8881 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8882 warning.
8883
2e4c1e9e
L
88842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8885
8886 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8887
de7f5ce7
AJ
88882012-05-17 Andreas Jaeger <aj@suse.de>
8889
8890 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8891 when it is used.
8892
286abc3d
CM
88932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8894
8895 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8896
477cc68e
L
88972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8900 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8901
1a0994f5
CD
89022012-05-17 Andreas Jaeger <aj@suse.de>
8903 Carlos O'Donell <carlos_odonell@mentor.com>
8904
8905 [BZ #14059]
8906 * sysdeps/x86_64/multiarch/init-arch.h
8907 (bit_YMM_Usable): Rename to...
8908 (bit_AVX_Usable): ... this.
8909 (bit_FMA4_Usable): New macro.
8910 (bit_XMM_state): New macro.
8911 (bit_YMM_state): New macro.
8912 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8913 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8914 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8915 (CPUID_OSXSAVE): New macro.
8916 (CPUID_AVX): New macro.
8917 (CPUID_FMA4): New macro.
8918 (index_YMM_Usable): Rename to...
8919 (index_AVX_Usable): ... this.
8920 (HAS_AVX): Use HAS_ARCH_FEATURE.
8921 (HAS_FMA4): Likewise.
8922 (HAS_YMM_USABLE): Remove.
8923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8924 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8925 are present.
8926 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8927 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8928 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8929 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8930 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8931
0af797de
CM
89322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8933
8934 * math/libm-test.c: Support platforms without multiple rounding modes.
8935 * math/bug-nextafter.c: Support platforms without FP exceptions.
8936 * math/bug-nexttoward.c: Likewise.
8937 * math/test-fenv.c: Likewise.
8938 * math/test-misc.c: Likewise.
8939 * stdlib/bug-getcontext.c: Likewise.
8940
e39745ff
AJ
89412012-05-17 Andreas Jaeger <aj@suse.de>
8942
8943 * manual/examples/search.c (critter_cmp): Change signature to
8944 avoid warnings.
8945 * manual/string.texi (Collation Functions): Likewise.
8946
48970aba
L
89472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 * bits/types.h: Fold copyright years.
8950 * bits/typesizes.h: Likewise.
8951 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8953 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8955 * time/time.h: Likewise.
8956
bedee953
PP
89572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8958
8959 [BZ #208]
8960 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8961 in instead of returning them. Return void.
8962 (__libc_mallinfo): Accumulate over all arenas.
8963 (__malloc_stats): Adjust for change in int_mallinfo interface.
8964
61653dfb
RM
89652012-05-16 Roland McGrath <roland@hack.frob.com>
8966
30b99d79
RM
8967 [BZ #10375]
8968 * configure.in (NM): Add AC_CHECK_TOOL for it.
8969 (libc_extra_cflags): New substituted variable.
8970 Check for -fstack-protector being used implicitly.
8971 * configure: Regenerated.
8972 * config.make.in (config-extra-cflags): New variable,
8973 gets @libc_extra_cflags@.
8974 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8975
61653dfb
RM
8976 [BZ #10375]
8977 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8978 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8979 * configure: Regenerated.
8980 * config.make.in (CPPUNDEFS): New substituted variable.
8981 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8982 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8983 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8984
661768bb
L
89852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8986
8987 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8988 (mq_attr): Use __syscall_slong_t.
8989
d4261567
L
89902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8991
8992 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8993 Check __x86_64__ instead of __WORDSIZE.
8994 (_STAT_VER_LINUX): Likewise.
8995 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8996 __syscall_ulong_t and __syscall_slong_t.
8997 (stat64): Likewise.
8998
cf3ff365
L
89992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9002
76cf3e4d
L
90032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9004
9005 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9006
a637753a
L
90072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9010 __syscall_ulong_t.
9011
d5e05119
L
9012 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9013 include <bits/wordsize.h>. Check __x86_64__ instead of
9014 __WORDSIZE.
9015 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9016 defined.
9017 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9018
f62ee380
L
9019 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9020 include <bits/wordsize.h>. Check __x86_64__ instead of
9021 __WORDSIZE.
9022 (user_regs_struct): Use "__extension__ unsigned long long"
9023 instead of "unsigned long" if __x86_64__ is defined.
9024 (user): Likewise. Pad after pointer field if __ILP32__ is
9025 defined.
9026
4e124ced
JM
90272012-05-16 Joseph Myers <joseph@codesourcery.com>
9028
6a3951a0
JM
9029 * configure.in (makeinfo): Require version 4.5 or later. Allow
9030 versions 5 to 9.
9031 * configure: Regenerated.
9032 * manual/install.texi (texinfo): Increase version requirement to
9033 4.5 or later.
9034 * INSTALL: Regenerated.
9035
4e124ced
JM
9036 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9037
953ca31a
L
90382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9039
9040 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9041
617aca05
L
9042 * sysdeps/x86_64/x32/ffs.c: New file.
9043
5762f7ae
L
9044 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9045 __syscall_ulong_t.
9046 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9047 defined. Use __syscall_ulong_t.
9048 (shminfo): Use __syscall_ulong_t.
9049 (shm_info): Likewise.
9050
a26b6856
L
9051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9052 __syscall_ulong_t.
9053
cb2b9ef7
L
9054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9055 <bits/wordsize.h>.
9056 (msgqnum_t): Use __syscall_ulong_t.
9057 (msglen_t): Likewise.
9058 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9059 __syscall_ulong_t.
9060
34683bb0
L
9061 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9062 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9063
84a68786
L
9064 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9065
48baa5f1
L
9066 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9067 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9068
180be88b
L
9069 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9070 __syscall_slong_t.
9071
5e90c8ad
L
9072 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9073 include <bits/wordsize.h>. Check __x86_64__ instead of
9074 __WORDSIZE.
9075
23dfb58b
L
9076 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9077 "unsigned long long int" if __x86_64__ is defined.
9078 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9079
ce5d54b0
L
9080 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9081 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9082 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9083
13dc9eac
L
9084 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9085 <stdint.h>.
9086 (GET_PC): Cast to uintptr_t first.
9087 (GET_FRAME): Likewise.
9088 (GET_STACK): Likewise.
9089
a7895d15
L
9090 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9091 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9092 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9093 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9094 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9095 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9096 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9097 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9099 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9100 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9104 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9107 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9108 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9110 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9111 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9112 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9113 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9114 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9117 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9118 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9119
656416c9
AS
91202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9121
5bd66283
AS
9122 * Makerules (+depfiles): Also collect depfiles from .oS in
9123 $(extra-objs).
9124 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9125 .oS, $(libnldbl-routines)).
9126
656416c9
AS
9127 * Makerules (native-compile-mkdep-flags): Define.
9128 * sunrpc/Makefile (extra-objs): Add $(addprefix
9129 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9130 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9131 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9132 calling $(make-target-directory).
9133
a46f2169
L
91342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9135
9136 * bits/types.h (__snseconds_t): Removed.
9137 * time/time.h (struct timespec): Replace __snseconds_t with
9138 __syscall_slong_t.
9139 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9140 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9141 Likewise.
9142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9143 (__SNSECONDS_T_TYPE): Likewise.
9144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9145 (__SNSECONDS_T_TYPE): Likewise.
9146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9147 (__SNSECONDS_T_TYPE): Likewise.
9148
6af6528b
L
91492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 * sysdeps/mach/hurd/bits/typesizes.h
9152 (__SYSCALL_SLONG_TYPE): New macro.
9153 (__SYSCALL_ULONG_TYPE): Likewise.
9154
de986b56
L
91552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * bits/types.h (__syscall_slong_t): New type.
9158 (__syscall_ulong_t): Likewise.
9159
9160 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9161 (__SYSCALL_ULONG_TYPE): Likewise.
9162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9163 (__SYSCALL_SLONG_TYPE): Likewise.
9164 (__SYSCALL_ULONG_TYPE): Likewise.
9165 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9166 (__SYSCALL_SLONG_TYPE): Likewise.
9167 (__SYSCALL_ULONG_TYPE): Likewise.
9168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9169 (__SYSCALL_SLONG_TYPE): Likewise.
9170 (__SYSCALL_ULONG_TYPE): Likewise.
9171
85736dc7
L
91722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9175 Add sigaltstack-offsets.sym.
9176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9177 <sigaltstack-offsets.h>.
9178 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9179 longjmp_msg pointer.
9180 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9181 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9182 signal stack.
9183 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9184
cc03b296
JM
91852012-05-15 Joseph Myers <joseph@codesourcery.com>
9186
a9538892
JM
9187 * elf/stackguard-macros.h: Remove file.
9188 * sysdeps/generic/stackguard-macros.h: New file.
9189 * sysdeps/i386/stackguard-macros.h: Likewise.
9190 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9191 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9192 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9193 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9194 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9195 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9196 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9197 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9198 <elf/stackguard-macros.h>.
9199
cc03b296
JM
9200 [BZ #14109]
9201 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9202 __aligned__ in attribute.
9203 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9204 (gregset_t): Likewise.
9205
93171016
L
92062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9209 * sysdeps/x86_64/64/Implies-after: Here. New file.
9210 * sysdeps/x86_64/x32/Implies-after: New file.
9211
d86813a0
L
92122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9215 and access return value for _dl_profile_fixup. Use R10_LP to
9216 load frame size.
9217
2953ec75
L
92182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9219
9220 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9221
3b550e9e
L
92222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9223
9224 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9225 * sysdeps/x86_64/x32/sysdep.h: New file.
9226
eda41706
L
92272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9228
9229 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9230 * sysdeps/x86_64/setjmp.S: Likewise.
9231
9ea01d93
AZ
92322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9233
9234 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9235 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9236 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9237 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9238 remove unused global constant.
9239
02a91938
CM
92402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9241
9242 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9243 include of <not-cancel.h>.
9244
6540185f
RM
92452012-05-15 Roland McGrath <roland@hack.frob.com>
9246
9247 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9248
509072a0
AJ
92492012-05-15 Jeff Law <law@redhat.com>
9250 Andreas Jaeger <aj@suse.de>
9251
9252 [BZ #13594]
9253 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9254 out from...
9255 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9256 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9257 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9258 code changing __hst_map_handle.map.
9259
ba75122d
RM
92602012-05-15 Roland McGrath <roland@hack.frob.com>
9261
9262 * configure.in (sysnames): Look for Implies-before and Implies-after
9263 files.
9264 * configure: Regenerated.
9265
890d8bd8
L
92662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9269 8-byte data alignment with LP_SIZE alignment.
9270
f6ee6623
L
92712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9272
9273 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9274 into R10_LP.
9275
ea2626f6
L
92762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9279
085f715e
L
92802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9281
9282 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9283 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9284 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9285 Likewise.
9286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9287
be8498fc
L
92882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9289
9290 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9291 (stackinfo_sub_sp): Likewise.
9292
70bc83b9
L
92932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9294
9295 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9296 RAX_LP.
9297
9bc0b730
L
92982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9301 into R*_LP.
9302
6d2850e7
L
93032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9306 sizes into R*_LP.
9307
3cb84561
L
93082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9309
9310 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9311
54e2ed81
L
93122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9315 into R11_LP and load __x86_64_shared_cache_size_half into
9316 R8_LP.
9317
8a17f349
L
93182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9321 R8_LP.
9322
777b1eea
AZ
93232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9324
9325 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9326 logb for POWER7.
9327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9328 logbf for POWER7.
9329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9330 logbl for POWER7.
9331 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9332 powerpc32/power7/fpu/s_logb.c via #include.
9333 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9334 powerpc32/power7/fpu/s_logbf.c via #include.
9335 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9336 powerpc32/power7/fpu/s_logbl.c via #include.
9337
d20d4ac2
JM
93382012-05-15 Joseph Myers <joseph@codesourcery.com>
9339
9340 * README.libm: Remove file.
9341
6cdef1ab
L
93422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9345 count for x32. Use R*_LP and omit operand-size suffix.
9346
0b254d8f
L
93472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9348
9349 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9350 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9351 * sysdeps/x86_64/x32/shlib-versions: New file.
9352
ceb809dc
RM
93532012-05-14 Roland McGrath <roland@hack.frob.com>
9354
9355 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9356 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9357 Use _dl_fatal_printf instead.
9358
37f1abd4
JM
93592012-05-14 Joseph Myers <joseph@codesourcery.com>
9360
9361 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9362 set if not set by the user. Do not allow for being unset.
9363 * sysdeps/unix/sysv/linux/configure: Regenerated.
9364
11de3a33
L
93652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9368 the `q' suffix from lea and replace .quad with ASM_ADDR.
9369
e02f153a
L
93702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9371
9372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9373 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9374 instead of $17.
9375 (PTR_DEMANGLE): Likewise.
9376
520ae0fd
L
93772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9380 (LP_OP): Likewise.
9381 (ASM_ADDR): Likewise.
9382 (RAX_LP): Likewise.
9383 (RBP_LP): Likewise.
9384 (RBX_LP): Likewise.
9385 (RCX_LP): Likewise.
9386 (RDI_LP): Likewise.
9387 (RSI_LP): Likewise.
9388 (RSP_LP): Likewise.
9389 (R8_LP): Likewise.
9390 (R9_LP): Likewise.
9391 (R10_LP): Likewise.
9392 (R10_LP): Likewise.
9393 (R11_LP): Likewise.
9394 (R12_LP): Likewise.
9395 (R13_LP): Likewise.
9396 (R14_LP): Likewise.
9397 (R15_LP): Likewise.
9398
b985be81
L
93992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 * sysdeps/x86_64/x32/dl-machine.h: New file.
9402
6a4888ff
AJ
94032012-05-14 Andreas Jaeger <aj@suse.de>
9404
9405 * manual/Makefile (subdir): Remove export of subdir.
9406 (all): Remove target.
9407 (.PHONY): Remove all from list.
9408 (mkinstalldirs): Remove.
9409 (.PHONY): Remove installdirs from list.
9410 ($(inst_infodir)/libc.info): Use make-target-directory.
9411 (installdirs): Remove.
9412 (subdir_%): Remove.
9413 (glibc-targets): Remove.
9414 (lib): Remove.
9415 (stubs): Remove.
9416 ($(objpfx)stubs ../po/manual.pot): Remove.
9417 ($(objpfx)stamp%): Remove.
9418 (make-target-directory): Remove.
9419 (subdir_install): Remove.
9420 (routines): Remove.
9421 (aux): Remove.
9422 (sources): Remove.
9423 (objects): Remove.
9424 (headers): Remove.
9425
9426 [BZ #13750]
9427 * manual/.gitignore: Remove, it's not needed anymore.
9428 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9429 all files in it.
9430 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9431 directory.
9432 (texis): Renamed to $(objpfx)texis.
9433 (texis-path): New, contains path to generated files.
9434 (chapters.%): Use texis-path for complete path, add extra argument
9435 libc-texinfo.sh.
9436 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9437 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9438 (summary,texi, stamp-summary): Use complete path of
9439 files. Generate files in build dir.
9440 (dir-add.texi): Build in build dir.
9441 (libm-err.texi,stamp-libm-err): Likewise.
9442 (version.texi, stamp-version): Likewise.
9443 (.%c.texi): Likewise.
9444 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9445 (mostlyclean): Remove target.
9446 (realclean): Remove target.
9447 (generated): Add new variable with contents from mostlyclean and
9448 realclean, remove entries duplicated in common-mostlyclean, add
9449 stamp-libm-err and stamp-version.
9450 (generated-dirs): Add libc directory.
9451 ($(inst_infodir)/libc.info): Install files from build dir.
9452
9453 * manual/install.texi (Configuring and compiling): Adjust since
9454 the info files are not part of the tar ball anymore.
9455
7ac77294
AJ
94562012-05-14 Andreas Jaeger <aj@suse.de>
9457
9458 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9459 variable.
9460
ffb7875d
JM
94612012-05-14 Joseph Myers <joseph@codesourcery.com>
9462
9463 [BZ #13717]
9464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9465 to 2.2.0 where earlier.
9466 * sysdeps/unix/sysv/linux/configure: Regenerated.
9467 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9468 Remove conditional code.
9469 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9470 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9471 Remove conditional code.
9472 [!__NR_lchown]: Likewise.
9473 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9474 [__NR_lchown]: Likewise.
9475 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9476 comment referencing __ASSUME_LCHOWN_SYSCALL.
9477 * sysdeps/unix/sysv/linux/i386/sigaction.c
9478 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9479 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9480 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9481 Remove conditional code.
9482 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9483 (__protocol_available): Remove #if 0 code.
9484 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9485 conditional code.
9486 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9487 * sysdeps/unix/sysv/linux/kernel-features.h
9488 (__ASSUME_GETCWD_SYSCALL): Don't define.
9489 (__ASSUME_REALTIME_SIGNALS): Likewise.
9490 (__ASSUME_PREAD_SYSCALL): Likewise.
9491 (__ASSUME_PWRITE_SYSCALL): Likewise.
9492 (__ASSUME_POLL_SYSCALL): Likewise.
9493 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9494 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9495 non-SPARC.
9496 (__ASSUME_SIOCGIFNAME): Don't define.
9497 (__ASSUME_MSG_NOSIGNAL): Likewise.
9498 (__ASSUME_SENDFILE): Define unconditionally.
9499 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9500 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9501 conditional code.
9502 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9503 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9504 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9505 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9506 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9507 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9508 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9522 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9525 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9528 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9531 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9533 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9534 Remove conditional code.
9535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9536 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9537 Remove conditional code.
9538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9539 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9540 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9541 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9542 Remove conditional code.
9543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9544 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9545 Remove conditional code.
9546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9547 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9548 Remove conditional code.
9549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9550 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9551 Remove conditional code.
9552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9553 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9554 Remove conditional code.
9555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9556 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9559 * sysdeps/unix/sysv/linux/sigaction.c
9560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9562 * sysdeps/unix/sysv/linux/sigpending.c
9563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9565 * sysdeps/unix/sysv/linux/sigprocmask.c
9566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9568 * sysdeps/unix/sysv/linux/sigsuspend.c
9569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9572 (__libc_missing_rt_sigs): Remove.
9573 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9574 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9575 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9576 Remove conditional code.
9577 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9578 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9579 return 1.
9580 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9581 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9582 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9583 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9584
1bfb7291
AJ
95852012-05-14 Andreas Jaeger <aj@suse.de>
9586
caae5a81
AJ
9587 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9588 it's not used in glibc.
9589 (__coshm1): Likewise.
9590 (__acosh1p): Likewise.
9591 (__sgn): Likewise.
9592
1bfb7291
AJ
9593 * manual/string.texi (Copying and Concatenation): Add missing
9594 variable in concat example.
9595 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9596
c044d724
L
95972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9598
144c5467 9599 [BZ #14103]
c044d724
L
9600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9601 __builtin_clzl with __builtin_clzll.
9602
2523c62b
L
96032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 [BZ #14104]
9606 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9607 libc_freeres_ptr.
9608
d7bb4c42
LD
96092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9610
9611 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9612 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9613 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9614 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9615
9dc4e1fb
MF
96162012-05-14 Mike Frysinger <vapier@gentoo.org>
9617
9618 * NEWS: Update ia64 info.
9619
c7df0112
AS
96202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9621
9622 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9623 used as bcopy.
9624
dc70356c
TS
96252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9626
9627 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9628 * sysdeps/unix/syscalls.list (dup3): Likewise.
9629 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9630 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9631
9fb1a21f
L
96322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9635 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9636
4822a2a5
L
96372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9638
9639 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9640 thread pointer.
9641 (TLS_IE): Use mov/add instead of movq/addq to load thread
9642 pointer.
9643 (TLS_GD_PREFIX): New.
9644 (TLS_GD): Use it.
9645
842b81d6
DM
96462012-05-11 David S. Miller <davem@davemloft.net>
9647
9648 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9649 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9650 (_FPU_SETCW): Likewise.
9651
1cf463cd
L
96522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9655 is 32-byte aligned.
9656
60cc4a18
AS
96572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9658
9659 [BZ #11837]
9660 * iconvdata/gb18030.c: Update tables.
9661 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9662 characters specially.
9663 (BODY for TO_LOOP): Add encoding of missing ranges.
9664
febb44a4
TS
96652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9666
9667 [BZ #13673]
9668 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9669 * sysdeps/mach/hurd/dup3.c: Likewise.
9670 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9671 * sysdeps/powerpc/memmove.c:: Likewise.
9672
0a10fb9e
L
96732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9674
9675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9676 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9677
df8a552f
L
96782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9679
9680 * elf/elf.h (R_X86_64_RELATIVE64): New.
9681 (R_X86_64_NUM): Updated.
9682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9683 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9684 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9685 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9686 tst-quad1pie tst-quad2pie
9687 (modules-names): Add tst-quadmod1 tst-quadmod2.
9688 ($(objpfx)tst-quad1): New dependency.
9689 ($(objpfx)tst-quad2): Likewise.
9690 ($(objpfx)tst-quad1pie): Likewise.
9691 ($(objpfx)tst-quad2pie): Likewise.
9692 * sysdeps/x86_64/tst-quad1.c: New file.
9693 * sysdeps/x86_64/tst-quad1pie.c: New file.
9694 * sysdeps/x86_64/tst-quad2.c: Likewise.
9695 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9696 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9697 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9698 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9699 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9700
f34d6f84
ST
97012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9702
f42d41d1
ST
9703 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9704 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9705 * streams/stropts.h (t_scalar_t): Define type.
9706
3c3571fc
ST
9707 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9708 (_PATH_PRESERVE): Set to "/var/lib".
9709 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9710
61f06bd3
ST
9711 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9712 instead of int.
9713
918d4d71
ST
9714 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9715 if __dir_mkfile succeeded.
9716
f34d6f84
ST
9717 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9718 checking for _hurd_dtablesize. Unlock it right after having
9719 finished _hurd_dtable allocation.
9720
10589b4a
TS
97212012-05-10 Thomas Schwinge <thomas@schwinge.name>
9722
674cdbc7
TS
9723 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9724 * sysdeps/mach/hurd/configure: Regenerated.
9725 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9726 special-casing to...
9727 * sysdeps/gnu/configure.in: ... this new file.
9728 * sysdeps/unix/sysv/linux/configure: Regenerated.
9729 * sysdeps/gnu/configure: New generated file.
9730
8e41b99f
TS
9731 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9732 for Linux: use nsec instead of usec, as well as:
9733 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9734 members of type struct timespec.
9735 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9736 New macros.
9737 (struct stat64): Likewise.
9738 (_STATBUF_ST_NSEC): New macro.
9739 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9740
10589b4a
TS
9741 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9742 __strtoul_internal rather than strtoul.
9743
63643c85
PT
97442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9745
9746 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9747 and reject them.
9748
3faebe6a
ST
97492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9750
9751 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9752 which preserves existing values.
9753 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9754
c6474b07
PT
97552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9756
9757 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9758 TIMEOUT values. Return EINVAL for NFDS values either negative or
9759 greater than FD_SETSIZE.
9760
1043890b
ST
97612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9762
9763 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9764 allocated, call __vm_protect to finish enabling the existing space, and
9765 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9766 allocate the remainder.
9767
37ed8b9b
PT
97682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9769
9770 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9771 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9772
db653660
ST
97732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9774
37ed8b9b
PT
9775 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9776 sysdeps/mach/hurd/readlink.c.
b29d4053 9777
db653660
ST
9778 * posix/tst-sysconf.c (posix_options): Only use
9779 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9780 _POSIX_SYNCHRONIZED_IO when they are defined
9781 * sysdeps/mach/hurd/bits/posix_opt.h:
9782 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9783 (_XOPEN_REALTIME): Undefine macro.
9784 (_XOPEN_REALTIME_THREADS): Undefine macro.
9785 (_XOPEN_SHM): Undefine macro.
9786 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9787 macro to -1.
9788 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9789 macro to -1.
9790 (_POSIX_ASYNC_IO): Undefine macro.
9791 (_POSIX_PRIORITIZED_IO): Undefine macro.
9792 (_POSIX_SPIN_LOCKS): Define macro to -1.
9793
ee16e894
ST
9794 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9795 SA_NODEFER, SA_RESETHAND.
9796 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9797 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9798 F_DUPFD_CLOEXEC.
9799
6103ae3b
TS
98002012-05-10 Thomas Schwinge <thomas@schwinge.name>
9801
9802 * elf/Makefile (pldd-modules): Define unconditionally.
9803
80b4e5f3
TS
98042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9805
9806 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9807
edadcbd6
ST
98082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9809
9810 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9811 Return ENOENT when name is empty.
9812 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9813
80694780
TS
98142012-05-10 Thomas Schwinge <thomas@schwinge.name>
9815
1792c087
TS
9816 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9817
80694780
TS
9818 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9819
6b645f0d
ST
98202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9821
80694780
TS
9822 Fix mlock in all cases except non-readable pages.
9823 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9824 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9825
6b645f0d
ST
9826 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9827 (__mkdir): When path is `/', just fail with EEXIST.
9828 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9829
e468f8a3
TS
98302012-05-10 Thomas Schwinge <thomas@schwinge.name>
9831
9832 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9833 <sys/uio.h> (for writev).
9834 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9835 and <sys/param.h> (for MIN).
9836
a4186cff
PT
98372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9838
9839 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9840 REQUESTED_TIME. Properly set the remaining time and return EINTR
9841 if interrupted.
9842
510bbf14
TS
98432012-05-10 Thomas Schwinge <thomas@schwinge.name>
9844
9845 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9846 Depend on against $(link-rpcuserlibs).
9847
5d5722e8
ST
98482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9849
a4186cff
PT
9850 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9851 (__libc_stack_end): Do not use attribute_relro.
9852 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9853 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9854 to libthread-provided value.
a4186cff
PT
9855 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9856 attribute_relro.
5d5722e8 9857
37233df9
TS
98582012-05-10 Thomas Schwinge <thomas@schwinge.name>
9859
be971a2b
TS
9860 [BZ #3748]
9861 * bits/libc-lock.h (__libc_once_get): New macro.
9862 * sysdeps/mach/bits/libc-lock.h: Likewise.
9863 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9865 instead of using implementation details.
9866
37233df9
TS
9867 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9868 * libio/freopen.c: Likewise.
9869 * libio/freopen64.c: Likewise.
9870 * misc/syslog.c: Likewise.
9871 * nscd/connections.c: Likewise.
9872 * nscd/netgroupcache.c: Likewise.
9873 * sysdeps/posix/getcwd.c: Likewise.
9874
38de94a5
RM
98752012-05-10 Roland McGrath <roland@hack.frob.com>
9876
9877 * math/w_ilogbf.c: Add #include <limits.h>.
9878
67530489
ST
98792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9880
a4186cff 9881 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9882 path instead of returning without unlocking.
9883
67530489
ST
9884 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9885 immediate-write ioctls.
9886 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9887
5aa3a74a
TS
98882012-05-10 Thomas Schwinge <thomas@schwinge.name>
9889
18bad2ae
TS
9890 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9891 __builtin_frame_address instead of making assumptions about the
9892 location of the return address relative to DATA. Force early load of
9893 the return address.
9894 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9895 __builtin_frame_address.
9896
5aa3a74a
TS
9897 dup3 for GNU Hurd.
9898 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9899 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9900 implement dup3 and do some further code clean-ups.
9901 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9902 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9903
ecd0de9a
ST
99042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9905
cd9fa985
ST
9906 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9907
a4186cff
PT
9908 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9909 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9910 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9911 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9912 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9913 d->port.lock.
802ca5a5 9914
a4186cff
PT
9915 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9916 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9917 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9918
bcf55240
TS
99192012-05-10 Thomas Schwinge <thomas@schwinge.name>
9920
6960eb42
TS
9921 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9922 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9923 definitions.
9924
eb43375f
TS
9925 accept4 for GNU Hurd.
9926 * include/sys/socket.h (__libc_accept4): New prototype.
9927 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9928 to implement __libc_accept4.
9929 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9930 __libc_accept4.
9931 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9932
bcf55240
TS
9933 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9934 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9935 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9936 signal-defines.sym.
9937
6178c55b
ST
99382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9939
a4186cff 9940 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9941
6f080c2f
TS
99422012-05-10 Thomas Schwinge <thomas@schwinge.name>
9943
9944 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9945 assertion on O_CLOEXEC flag.
9946 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9947 * hurd/intern-fd.c: Likewise.
9948 * hurd/port2fd.c: Likewise.
9949
bcfe3a54
ST
99502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9951
9952 [BZ #3906]
9953 * bits/in.h (IPV6_PKTINFO): Define new macro.
9954 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9955
89c9aa49
AZ
99562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 [BZ #13954]
9959 [BZ #13955]
9960 [BZ #13956]
9961 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9962 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9963 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9964 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9966 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9967 * math/libm-test.inc (logb_test) : Additional logb tests.
9968
021db4be
AJ
99692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9970 Andreas Jaeger <aj@suse.de>
9971
9972 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9973 * configure: Regenerated.
9974 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9975 * config.make.in (link-obsolete-rpc): New substituted variable.
9976 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9977 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9978 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9979 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9980 so that libc.a contains the symbols.
9981 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9982 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9983 * sunrpc/auth_none.c: Likewise.
9984 * sunrpc/auth_unix.c: Likewise.
9985 * sunrpc/authdes_prot.c: Likewise.
9986 * sunrpc/authuxprot.c: Likewise.
9987 * sunrpc/clnt_gen.c: Likewise.
9988 * sunrpc/clnt_perr.c: Likewise.
9989 * sunrpc/clnt_raw.c: Likewise.
9990 * sunrpc/clnt_simp.c: Likewise.
9991 * sunrpc/clnt_tcp.c: Likewise.
9992 * sunrpc/clnt_udp.c: Likewise.
9993 * sunrpc/clnt_unix.c: Likewise.
9994 * sunrpc/des_crypt.c: Likewise.
9995 * sunrpc/des_soft.c: Likewise.
9996 * sunrpc/get_myaddr.c: Likewise.
9997 * sunrpc/key_call.c: Likewise.
9998 * sunrpc/key_prot.c: Likewise.
9999 * sunrpc/netname.c: Likewise.
10000 * sunrpc/pm_getmaps.c: Likewise.
10001 * sunrpc/pm_getport.c: Likewise.
10002 * sunrpc/pmap_clnt.c: Likewise.
10003 * sunrpc/pmap_prot.c: Likewise.
10004 * sunrpc/pmap_prot2.c: Likewise.
10005 * sunrpc/pmap_rmt.c: Likewise.
10006 * sunrpc/publickey.c: Likewise.
10007 * sunrpc/rpc_cmsg.c: Likewise.
10008 * sunrpc/rpc_common.c: Likewise.
10009 * sunrpc/rpc_dtable.c: Likewise.
10010 * sunrpc/rpc_prot.c: Likewise.
10011 * sunrpc/rpc_thread.c: Likewise.
10012 * sunrpc/rtime.c: Likewise.
10013 * sunrpc/svc.c: Likewise.
10014 * sunrpc/svc_auth.c: Likewise.
10015 * sunrpc/svc_raw.c: Likewise.
10016 * sunrpc/svc_run.c: Likewise.
10017 * sunrpc/svc_tcp.c: Likewise.
10018 * sunrpc/svc_udp.c: Likewise.
10019 * sunrpc/svc_unix.c: Likewise.
10020 * sunrpc/svcauth_des.c: Likewise.
10021 * sunrpc/xcrypt.c: Likewise.
10022 * sunrpc/xdr.c: Likewise.
10023 * sunrpc/xdr_array.c: Likewise.
10024 * sunrpc/xdr_float.c: Likewise.
10025 * sunrpc/xdr_intXX_t.c: Likewise.
10026 * sunrpc/xdr_mem.c: Likewise.
10027 * sunrpc/xdr_rec.c: Likewise.
10028 * sunrpc/xdr_ref.c: Likewise.
10029 * sunrpc/xdr_sizeof.c: Likewise.
10030 * sunrpc/xdr_stdio.c: Likewise.
10031
b5c086a2
RM
100322012-05-10 Roland McGrath <roland@hack.frob.com>
10033
10034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10035 change. Update copyright years.
10036
6d74dd09
JM
100372012-05-10 Joseph Myers <joseph@codesourcery.com>
10038
10039 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10040
28e72501
MK
100412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10042 Joseph Myers <joseph@codesourcery.com>
10043 Paul Pluzhnikov <ppluzhnikov@google.com>
10044
10045 [BZ #14012]
10046 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10047 requiring rpcgen.
10048 [cross-compiling] (extra-libs): Likewise.
10049 [cross-compiling] (extra-libs-others): Likewise.
10050 [cross-compiling] (librpcsvc-routines): Likewise.
10051 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10052 [cross-compiling] (omit-deps): Likewise.
10053 (sunrpc-CPPFLAGS): New variable.
10054 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10055 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10056 (cross-rpcgen-objs): New variable.
10057 (extra-objs): Append $(cross-rpcgen-objs).
10058 ($(cross-rpcgen-objs)): New rule.
10059 ($(objpfx)cross-rpcgen): Likewise.
10060 (rpcgen-cmd): Define to use $(built-program-file). Expand
10061 comment.
10062 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10063 ($(objpfx)x%.stmp): Likewise.
10064 * sunrpc/proto.h [IS_IN_build] (_): Define.
10065 [IS_IN_build] (_libc_intl_domainname): Likewise.
10066
c8c59454
L
100672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10068
10069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10070 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10071 and R_X86_64_TPOFF64.
10072
6f27cd16
JM
100732012-05-10 Joseph Myers <joseph@codesourcery.com>
10074
10075 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10076 sysdeps/unix/sysv/syscalls.list.
10077 (stime): Likewise.
10078 (utime): Likewise.
10079 * sysdeps/unix/sysv/syscalls.list: Remove file.
10080
02467e1c
PE
100812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10082
10083 [BZ #3440]
10084 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10085 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10086 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10087 (__LC_IDENTIFICATION): Make these macros useful in #if
10088 expressions, as required by C99.
10089
da392631
AS
100902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10091
10092 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10093 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10094 after this.
10095
8115f29b
L
100962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 * stdlib/longlong.h: Updated from GCC.
10099
bdd74070
AJ
101002012-05-09 Andreas Jaeger <aj@suse.de>
10101
edfe0dbe
AJ
10102 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10103 default is first entry.
10104 (run_mode): Set type.
10105 (main): Remove informal message about syslog.
10106 (options): Fix typo.
10107
bcfe3a54
ST
10108 [BZ #14053]
10109 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10110 to asm.
bcfe3a54
ST
10111 (lrint): Likewise.
10112 (llrintf): Likewise.
10113 (llrint): Likewise.
10114 (rint): Likewise.
10115 (rintf): Likewise.
10116 (nearbyint): Likewise.
10117 (nearbyintf): Likewise.
bdd74070 10118
91d8d69e
AJ
101192012-05-09 Andreas Jaeger <aj@suse.de>
10120 Pedro Alves <palves@redhat.com>
10121
10122 * nscd/nscd.c (run_mode): Use enum.
10123 (main): Cleanup coding style issue.
10124
bb90b80b
AJ
101252012-05-09 Alexandre Oliva <aoliva@redhat.com>
10126 Andreas Jaeger <aj@suse.de>
10127
bcfe3a54
ST
10128 * nscd/nscd.c (go_background): Replaced with...
10129 (run_mode): ... this.
bb90b80b 10130 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10131 (options): Add -F --foreground.
10132 (main): Implement it.
10133 (parse_opt): Parse it.
bb90b80b 10134
1a4b75a1
AJ
101352012-05-09 Andreas Jaeger <aj@suse.de>
10136
10137 [BZ #14083]
10138 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10139 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10140 -Wconversion warning.
10141 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10142 Likewise.
10143
b1cc2472
JM
101442012-05-09 Joseph Myers <joseph@codesourcery.com>
10145
10146 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10147 == 0.
10148 (LC_ALL): Use macro-int-constant.
10149 (LC_COLLATE): Likewise.
10150 (LC_CTYPE): Likewise.
10151 (LC_MESSAGES): Likewise.
10152 (LC_MONETARY): Likewise.
10153 (LC_NUMERIC): Likewise.
10154 (LC_TIME): Likewise.
10155 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10156 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10158 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10159 Specify type.
10160 [C99-based standards] (float_t): Expect type.
10161 [C99-based standards] (double_t): Expect type.
10162 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10163 type.
10164 [C99-based standards] (HUGE_VALL): Likewise.
10165 [C99-based standards] (INFINITY): Likewise.
10166 [C99-based standards] (NAN): Likewise.
10167 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10168 [C99-based standards] (FP_NAN): Likewise.
10169 [C99-based standards] (FP_NORMAL): Likewise.
10170 [C99-based standards] (FP_SUBNORMAL): Likewise.
10171 [C99-based standards] (FP_ZERO): Likewise.
10172 [C99-based standards] (FP_FAST_FMA): Use
10173 optional-macro-int-constant. Specify type. Require == 1.
10174 [C99-based standards] (FP_FAST_FMAF): Likewise.
10175 [C99-based standards] (FP_FAST_FMAL): Likewise.
10176 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10177 [C99-based standards] (FP_ILOGBNAN): Likewise.
10178 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10179 Specify type.
10180 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10181 [C99-based standards] (math_errhandling): Specify type.
10182 [ISO99 || ISO11] (signgam): Do not allow.
10183 [non-C99-based standards] (copysignf): Do not allow.
10184 [non-C99-based standards] (exp2f): Likewise.
10185 [non-C99-based standards] (log2f): Likewise.
10186 [non-C99-based standards] (modff): Allow.
10187 [non-C99-based standards] (erff): Do not allow.
10188 [non-C99-based standards] (erfcf): Likewise.
10189 [non-C99-based standards] (gammaf): Likewise.
10190 [non-C99-based standards] (hypotf): Likewise.
10191 [non-C99-based standards] (j0f): Likewise.
10192 [non-C99-based standards] (j1f): Likewise.
10193 [non-C99-based standards] (jnf): Likewise.
10194 [non-C99-based standards] (lgammaf): Likewise.
10195 [non-C99-based standards] (tgammaf): Likewise.
10196 [non-C99-based standards] (y0f): Likewise.
10197 [non-C99-based standards] (y1f): Likewise.
10198 [non-C99-based standards] (ynf): Likewise.
10199 [non-C99-based standards] (isnanf): Likewise.
10200 [non-C99-based standards] (acoshf): Likewise.
10201 [non-C99-based standards] (asinhf): Likewise.
10202 [non-C99-based standards] (atanhf): Likewise.
10203 [non-C99-based standards] (cbrtf): Likewise.
10204 [non-C99-based standards] (expm1f): Likewise.
10205 [non-C99-based standards] (ilogbf): Likewise.
10206 [non-C99-based standards] (log1pf): Likewise.
10207 [non-C99-based standards] (logbf): Likewise.
10208 [non-C99-based standards] (nextafterf): Likewise.
10209 [non-C99-based standards] (remainderf): Likewise.
10210 [non-C99-based standards] (rintf): Likewise.
10211 [non-C99-based standards] (scalbf): Likewise.
10212 [non-C99-based standards] (copysignl): Likewise.
10213 [non-C99-based standards] (exp2l): Likewise.
10214 [non-C99-based standards] (log2l): Likewise.
10215 [non-C99-based standards] (modfl): Allow.
10216 [non-C99-based standards] (erfl): Do not allow.
10217 [non-C99-based standards] (erfcl): Likewise.
10218 [non-C99-based standards] (gammal): Likewise.
10219 [non-C99-based standards] (hypotl): Likewise.
10220 [non-C99-based standards] (j0l): Likewise.
10221 [non-C99-based standards] (j1l): Likewise.
10222 [non-C99-based standards] (jnl): Likewise.
10223 [non-C99-based standards] (lgammal): Likewise.
10224 [non-C99-based standards] (tgammal): Likewise.
10225 [non-C99-based standards] (y0l): Likewise.
10226 [non-C99-based standards] (y1l): Likewise.
10227 [non-C99-based standards] (ynl): Likewise.
10228 [non-C99-based standards] (isnanl): Likewise.
10229 [non-C99-based standards] (acoshl): Likewise.
10230 [non-C99-based standards] (asinhl): Likewise.
10231 [non-C99-based standards] (atanhl): Likewise.
10232 [non-C99-based standards] (cbrtl): Likewise.
10233 [non-C99-based standards] (expm1l): Likewise.
10234 [non-C99-based standards] (ilogbl): Likewise.
10235 [non-C99-based standards] (log1pl): Likewise.
10236 [non-C99-based standards] (logbl): Likewise.
10237 [non-C99-based standards] (nextafterl): Likewise.
10238 [non-C99-based standards] (remainderl): Likewise.
10239 [non-C99-based standards] (rintl): Likewise.
10240 [non-C99-based standards] (scalbl): Likewise.
10241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10242 [non-C99-based standards] (FP_*): Do not allow.
10243 [C99-based standards] (FP_*): Change to
10244 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10245 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10246 allow.
10247 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10248 (SIG_ERR): Likewise.
10249 [X/Open-based standards] (SIG_HOLD): Likewise.
10250 (SIG_IGN): Likewise.
10251 (SIGABRT): Use macro-int-constant. Specify type. Require
10252 positive value.
10253 (SIGFPE): Likewise.
10254 (SIGILL): Likewise.
10255 (SIGINT): Likewise.
10256 (SIGSEGV): Likewise.
10257 (SIGTER): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10260 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10266 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10267 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10268 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10269 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10272 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10273 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10274 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10275 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10276 [X/Open-based standards] (SIGTRAP): Likewise.
10277 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10278 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10279 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10280 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10281 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10282 allow.
10283
b9f1922d
IW
102842012-05-08 Ian Wienand <ianw@vmware.com>
10285
10286 [BZ #14080]
10287 * time/tzset.c (__tzset_parse_tz): Update default rules for
10288 daylight time changes in the Energy Policy Act of 2005.
10289
1db86e88
AJ
102902012-05-09 Andreas Jaeger <aj@suse.de>
10291
10292 [BZ #13983]
10293 * elf/ldconfig.c (parse_conf): Change string to make clear that
10294 ldconfig only issued a warning if ld.so.conf does not exist.
10295
dee4a4e3
DM
102962012-05-08 David S. Miller <davem@davemloft.net>
10297
ee0db190
DM
10298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10299 movxtod instead of popping the value on the stack.
10300
dee4a4e3
DM
10301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10302
6a43ec98
CD
103032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10304
10305 * config.h.in: Add HAVE_ARM_PCS_VFP.
10306
05c2c961
RMG
103072012-05-08 Roland Mc Grath <roland@hack.frob.com>
10308
bcfe3a54
ST
10309 [BZ #13979]
10310 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10311 checking but the checks are disabled for any reason.
05c2c961 10312
4b30f61a
L
103132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10314
10315 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10316 and ELF64_R_TYPE with ELFW(R_TYPE).
10317
eee2bc67
JM
103182012-05-08 Joseph Myers <joseph@codesourcery.com>
10319
7ea5391a
JM
10320 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10321 (ulimit): Likewise.
10322
eee2bc67
JM
10323 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10324 (settimeofday): Likewise.
10325
abb66a67
MF
103262012-05-08 Mike Frysinger <vapier@gentoo.org>
10327
10328 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10329 a struct th_u2 inside the union, and move tu_block/tu_code into
10330 a new th_u3 union of tu_block/tu_code inside of that. Move
10331 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10332 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10333 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10334 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10335 (th_stuff): Change to th_u1.tu_stuff.
10336 (th_data): Define.
10337 (th_msg): Change to th_u1.th_u2.tu_data.
10338
7f18b530
DM
103392012-05-07 David S. Miller <davem@davemloft.net>
10340
05760585
DM
10341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10342
7f18b530
DM
10343 [BZ #14074]
10344 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10345 (SETUP_PIC_REG): Use it.
10346 (SETUP_PIC_REG_LEAF): Use it.
10347
495fd99f
JM
103482012-05-07 Joseph Myers <joseph@codesourcery.com>
10349
10350 [BZ #13885]
10351 [BZ #13923]
10352 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10353 USE_AS_EXPM1L.
10354 (EXPL_FINITE): Likewise.
10355 (FLDLOG): Likewise.
10356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10357 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10358 e_expl.S.
10359 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10360 USE_AS_EXPM1L.
10361 (EXPL_FINITE): Likewise.
10362 (FLDLOG): Likewise.
10363 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10364 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10365 e_expl.S.
10366 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10367 test of -max_value argument for long double.
10368 * sysdeps/i386/fpu/libm-test-ulps: Update.
10369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10370
6693d694
DM
103712012-05-06 David S. Miller <davem@davemloft.net>
10372
10373 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10374 quad soft-float symbols whose references which are compiler
10375 generated.
10376 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10377
6c23e11c
JM
103782012-05-06 Joseph Myers <joseph@codesourcery.com>
10379
d8b82cad
JM
10380 [BZ #13884]
10381 [BZ #13914]
10382 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10383 USE_AS_EXP10L.
10384 (EXPL_FINITE): Likewise.
10385 (FLDLOG): Likewise.
10386 (c0): Likewise.
10387 (c1): Likewise.
10388 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10389 Adjust comments for base varying.
10390 (__expl_finite): Change alias to EXPL_FINITE.
10391 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10392 e_expl.S.
10393 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10394 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10396 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10397 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10398 USE_AS_EXP10L.
10399 (EXPL_FINITE): Likewise.
10400 (FLDLOG): Likewise.
10401 (c0): Likewise.
10402 (c1): Likewise.
10403 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10404 Adjust comments for base varying.
10405 (__expl_finite): Change alias to EXPL_FINITE.
10406 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10407 tests for bugs.
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10409
6c23e11c
JM
10410 [BZ #14064]
10411 * math/libm-test.inc (check_float_internal): Correct ulp
10412 calculation for subnormal expected results.
10413
29ba805c
AJ
104142012-05-06 Andreas Jaeger <aj@suse.de>
10415
10416 * Makeconfig (+math-flags): New, set to -frounding-math.
10417 (+cflags): Add +math-flags so that all of glibc gets compiled with
10418 it.
10419
10420 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10421
7b17aeda
JM
104222012-05-05 Joseph Myers <joseph@codesourcery.com>
10423
5779f134
JM
10424 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10425 Disable one test.
10426
41498f4d
JM
10427 [BZ #13787]
10428 [BZ #13922]
10429 [BZ #14036]
10430 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10431 (__ieee754_expl): Allow for and saturate large arguments.
10432 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10433 (u_threshold): Likewise.
10434 (__exp): Call __ieee754_exp before checking for overflow and
10435 underflow.
10436 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10437 (u_threshold): Likewise.
10438 (__expf): Call __ieee754_expf before checking for overflow and
10439 underflow.
10440 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10441 (u_threshold): Likewise.
10442 (__expl): Call __ieee754_expl before checking for overflow and
10443 underflow.
10444 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10445 (__ieee754_expl): Allow for and saturate large arguments.
10446 * math/libm-test.inc (exp_test): Add another test. Do not allow
10447 missing overflow exception on overflow.
10448 (expm1_test): Do not allow missing overflow exception on overflow.
10449
6698b8bf
JM
10450 * sysdeps/i386/fpu/e_expl.c: Move to ...
10451 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10452 rather than using inline asm.
10453 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10454 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10455 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10456
7b17aeda
JM
10457 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10458 (nice): Likewise.
10459 (poll): Likewise.
10460 (signal): Likewise.
10461 (time): Likewise.
10462 (times): Likewise.
10463
f7c85819
JM
104642012-05-04 Joseph Myers <joseph@codesourcery.com>
10465
10466 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10467 sysdeps/unix/common/syscalls.list.
10468 (fchmod): Likewise.
10469 (fchown): Likewise.
10470 (ftruncate): Likewise.
10471 (getrusage): Likewise.
10472 (gettimeofday): Likewise.
10473 (setpgid): Likewise.
10474 (setregid): Likewise.
10475 (setreuid): Likewise.
10476 (sigaction): Likewise.
10477 (truncate): Likewise.
10478 (vhangup): Likewise.
10479 * sysdeps/unix/common/syscalls.list: Remove file.
10480 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10481 * sysdeps/unix/sysv/linux/Implies: Likewise.
10482
336270d0
L
104832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10487 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10488 Moved to ...
10489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10490 Here.
10491 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10492 to ...
10493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10494 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10495 to ...
10496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10497 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10498 to ...
10499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10500 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10501 to ...
10502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10503 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10504 to ...
10505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10506 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10507 to ...
10508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10509 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10510 to ...
10511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10512 Here.
10513 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10514 to ...
10515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10516 Here.
10517 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10518 to ...
10519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10520 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10521 Moved to ...
10522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10523 Here.
10524 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10525 to ...
10526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10527
d128e450
JM
105282012-05-04 Joseph Myers <joseph@codesourcery.com>
10529
fa8ee516
JM
10530 * sysdeps/unix/common/bits/dirent.h: Remove file.
10531 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10532
d128e450
JM
10533 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10534 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10535 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10536 * sysdeps/unix/bsd/isatty.c: Likewise.
10537 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10538 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10539 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10540
ff8faaf0 105412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10542
62881be4 10543 [BZ #13563]
31dc8730
AZ
10544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10545 long double comparison inaccuracies.
10546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10548
6fef930c
AS
105492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10550
10551 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10553
8f203e6c
JM
105542012-05-04 Joseph Myers <joseph@codesourcery.com>
10555
10556 [BZ #14049]
10557 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10558 nonzero digits before rounding a hex value.
10559 * stdlib/tst-strtod.c (tests): Add another test.
10560
5197d9c2
AK
105612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10562
10563 * sysdeps/s390/fpu/libm-test-ulps: Update.
10564
f0c1dedf
AJ
105652012-05-03 Andreas Jaeger <aj@suse.de>
10566
10567 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10568 does not get optimized out.
10569 (malloc_opt_barrier): New.
10570
a65ef2ae 105712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10572 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10573
2b942cb7 10574 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10575 intermediate file deletion.
2b942cb7 10576 (generated): Add .symlist files.
a65ef2ae 10577
54b71e02
JM
105782012-05-03 Joseph Myers <joseph@codesourcery.com>
10579
10580 [BZ #13775]
10581 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10582 Redirect under this condition.
10583 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10584 [__USE_GNU] (__dprintf_chk): Not under this condition.
10585 [__USE_GNU] (__vdprintf_chk): Likewise.
10586 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10587 under this condition.
10588 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10589 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10590 [__USE_XOPEN2K8] (vdprintf): Likewise.
10591 [__USE_GNU] (__dprintf_chk): Not under this condition.
10592 [__USE_GNU] (__vdprintf_chk): Likewise.
10593 [__USE_GNU] (dprintf): Likewise.
10594 [__USE_GNU] (vdprintf): Likewise.
10595
d3dfcc41
RM
105962012-05-03 Roland McGrath <roland@hack.frob.com>
10597
10598 * elf/Makefile (common-generated): Set this instead of generated for
10599 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10600 $(all-built-dso)-derived lists.
10601
7ac30cc5
AJ
106022012-05-03 Andreas Jaeger <aj@suse.de>
10603
0c51e550
AJ
10604 * sysdeps/i386/fpu/libm-test-ulps: Update.
10605
7ac30cc5
AJ
10606 * FAQ: Removed.
10607 * FAQ.in: Likewise.
10608 * scripts/gen-FAQ.pl: Likewise.
10609 * manual/install.texi (Installation): Point to online location of
10610 FAQ.
10611 * Makefile (files-for-dist): Remove FAQ.
10612 (FAQ): Remove.
10613
d4c2917f
AM
106142012-05-02 Allan McRae <allan@archlinux.org>
10615
10616 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10617 (LDFLAGS-reldepmod5.so): Likewise.
10618 (LDFLAGS-reldep6mod1.so): Likewise.
10619 (LDFLAGS-reldep6mod4.so): Likewise.
10620 (LDFLAGS-reldep8mod3.so): Likewise.
10621 (LDFLAGS-unload4mod1.so): Likewise.
10622 (LDFLAGS-unload4mod2.so): Likewise.
10623 (LDFLAGS-tst-initorder): Likewise.
10624 (LDFLAGS-tst-initordera2.so): Likewise.
10625 (LDFLAGS-tst-initordera3.so): Likewise.
10626 (LDFLAGS-tst-initordera4.so): Likewise.
10627 (LDFLAGS-tst-initorderb2.so): Likewise.
10628 (LDFLAGS-noload): Likewise.
10629 (LDFLAGS-next): Likewise.
10630 (LDFLAGS-order2mod1.so): Likewise.
10631 (LDFLAGS-order2mod2.so): Likewise.
10632 (LDFLAGS-tst-initorder2): Likewise.
10633 (LDFLAGS-tst-initorder2a.so): Likewise.
10634 (LDFLAGS-tst-initorder2b.so): Likewise.
10635 (LDFLAGS-tst-initorder2c.so): Likewise.
10636 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10637
d77f993f
DM
106382012-05-02 David S. Miller <davem@davemloft.net>
10639
10640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10641
171a70b4
PP
106422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10643
10644 [BZ #14055]
10645 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10646
0be196ad
AJ
106472012-05-02 Andreas Jaeger <aj@suse.de>
10648
10649 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10650 since we manipulate rounding mode.
10651 (CPPFLAGS-test-idouble.c): Likewise.
10652 (CPPFLAGS-test-ifloat.c): Likewise.
10653 (CFLAGS-test-ldouble.c): Likewise.
10654 (CFLAGS-test-double.c): Likewise.
10655 (CFLAGS-test-float.c): Likewise.
10656 (CFLAGS-test-misc.c): Likewise.
10657 (CFLAGS-test-test-fenv.c): Likewise.
10658
4f9d04aa
AZ
106592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660
2b942cb7
RM
10661 [BZ #2550]
10662 [BZ #2570]
10663 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10664 comparisons to determine direction to adjust input.
4f9d04aa 10665
82a79e7d
RM
106662012-05-01 Roland McGrath <roland@hack.frob.com>
10667
f5a01ca9
RM
10668 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10669 output to the target.
10670
90fe4186
RM
10671 * scripts/localplt.awk: New file.
10672 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10673 (check-localplt-CFLAGS): Variable removed.
10674 ($(all-built-dso:=.jmprel)): New static pattern rule.
10675 (generated): Add those targets.
10676 (localplt-built-dso): New variable.
10677 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10678
10679 * elf/check-localplt.c: File removed.
10680
82397ed6
RM
10681 * scripts/check-execstack.awk: New file.
10682 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10683 (check-execstack-CFLAGS): Variable removed.
10684 ($(objpfx)check-execstack.h): Target removed.
10685 ($(objpfx)execstack-default): New target.
10686 (generated): Add that instead of check-execstack.h.
10687 ($(all-built-dso:=.phdr)): New static pattern rule.
10688 (generated): Add those targets.
10689 * elf/check-execstack.c: File removed.
10690
82a79e7d
RM
10691 * scripts/check-textrel.awk: New file.
10692 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10693 (check-textrel-CFLAGS): Variable removed.
10694 (all-built-dso): Use := to define.o
10695 ($(all-built-dso:=.dyn)): New static pattern rule.
10696 (generated): Add those targets.
10697 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10698 * config.make.in (READELF): New substituted variable.
10699 * elf/check-textrel.c: File removed.
10700
62fde54f 107012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10702
615605c9
JM
10703 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10704 allow.
10705 * conform/data/ctype.h-data [C99-based standards] (isblank):
10706 Expect function.
10707 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10708 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10710 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10711 Specify type. Require positive value.
10712 (EILSEQ): Likewise.
10713 (ERANGE): Likewise.
10714 [ISO || POSIX] (EILSEQ): Do not expect.
10715 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10716 Specify type. Require positive value.
10717 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10718 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10719 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10724 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10739 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10752 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10753 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10754 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10755 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10756 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10773 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10774 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10775 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10779 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10780 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10781 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10782 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10785 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10787 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10788 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10789 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10790 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10791 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10792 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10793 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10794 Require >= 2.
10795 (FLT_ROUNDS): Expect as macro, not constant.
10796 (FLT_MANT_DIG): Use macro-int-constant.
10797 (DBL_MANT_DIG): Likewise.
10798 (LDBL_MANT_DIG): Likewise.
10799 (FLT_DIG): Likewise.
10800 (DBL_DIG): Likewise.
10801 (LDBL_DIG): Likewise.
10802 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10803 (DBL_MIN_EXP): Likewise.
10804 (LDBL_MIN_EXP): Likewise.
10805 (FLT_MAX_EXP): Use macro-int-constant.
10806 (DBL_MAX_EXP): Likewise.
10807 (LDBL_MAX_EXP): Likewise.
10808 (FLT_MAX_10_EXP): Likewise.
10809 (DBL_MAX_10_EXP): Likewise.
10810 (LDBL_MAX_10_EXP): Likewise.
10811 (FLT_MAX): Use macro-constant.
10812 (DBL_MAX): Likewise.
10813 (LDBL_MAX): Likewise.
10814 (FLT_EPSILON): Use macro-constant. Give upper bound.
10815 (DBL_EPSILON): Likewise.
10816 (LDBL_EPSILON): Likewise.
10817 (FLT_MIN): Likewise.
10818 (DBL_MIN): Likewise.
10819 (LDBL_MIN): Likewise.
10820 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10821 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10822 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10823 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10824 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10825 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10826 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10827 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10828 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10829 [ISO11] (FLT_TRUE_MIN): Likewise.
10830 [ISO11] (LDBL_TRUE_MIN): Likewise.
10831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10832 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10833 (SCHAR_MIN): Use macro-int-constant. Specify type.
10834 (SCHAR_MAX): Likewise.
10835 (UCHAR_MAX): Likewise.
10836 (CHAR_MIN): Likewise.
10837 (CHAR_MAX): Likewise.
10838 (MB_LEN_MAX): Use macro-int-constant.
10839 (SHRT_MIN): Use macro-int-constant. Specify type.
10840 (SHRT_MAX): Likewise.
10841 (USHRT_MAX): Likewise.
10842 (INT_MAX): Likewise.
10843 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10844 bound negative.
10845 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10846 bound with "U".
10847 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10848 bound with "L".
10849 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10850 bound negative. Suffix upper bound with "L".
10851 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10852 bound with "UL".
10853 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10854 Specify type.
10855 [C99-based standards] (LLONG_MAX): Likewise.
10856 [C99-based standards] (ULLONG_MAX): Likewise.
10857 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10858 == 0.
10859 [ISO11] (max_align_t): Require type.
10860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10861
c9140a62
JM
10862 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10863 from $CFLAGS, without defining away __attribute__ calls.
10864 (checknamespace): Use $CFLAGS_namespace.
10865
9af0bf29
JM
10866 * conform/conformtest.pl (@keywords): Only include C99 keywords
10867 for standards based on C99 or C11.
10868
343222a2
JM
10869 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10870 Disable tests.
10871 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10872 UNIX98]: Likewise.
10873
661f8cf0
JM
10874 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10875 usability of symbols in #if.
10876
ee74b9cb
JM
10877 * conform/conformtest.pl: If macro or constant types start
10878 "promoted:", expect the symbol to be of the following type
10879 promoted by the integer promotions.
62fde54f 10880
aafc49b3
JM
10881 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10882 in one place. Also handle "macro-constant".
10883
fefdf574
JM
10884 * conform/conformtest.pl: Only accept expected macro values with
10885 "==". Parse all "macro" lines in one place.
10886 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10887
f2d922fe
JM
10888 * conform/conformtest.pl: Handle braced types on "constant" lines
10889 instead of handling "typed-constant".
10890 * conform/data/signal.h-data: Use "constant" instead of
10891 "typed-constant".
10892
d22956c9
JM
10893 * conform/conformtest.pl: Handle "optional-" at start of lines in
10894 one place rather than duplicating several cases. Handle each
10895 format of "macro" line with initial "optional-".
10896
028e2e38
JM
10897 * conform/conformtest.pl: Only accept expected constant or
10898 optional-constant values with "==". Parse all "constant" lines in
10899 one place. Parse all "optional-constant" lines in one place.
10900 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10901 * conform/data/fmtmsg.h-data: Likewise.
10902 * conform/data/netinet/in.h-data: Likewise.
10903 * conform/data/tar.h-data: Likewise.
10904 * conform/data/limits.h-data: Use "==" form on "constant" and
10905 "optional-constant" lines.
10906
1b8f2850
JM
10907 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10908 Use -std=c99 for XOPEN2K.
10909 (@knownproblems): Remove.
10910 (newtoken): Don't check %isknown.
10911
a05a144b
JM
10912 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10913 Do not expect macro.
10914 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10926 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10927 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10943 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10944 [XPG3] (acosh): Likewise.
10945 [XPG3] (asinh): Likewise.
10946 [XPG3] (atanh): Likewise.
10947 [XPG3] (cbrt): Likewise.
10948 [XPG3] (expm1): Likewise.
10949 [XPG3] (ilogb): Likewise.
10950 [XPG3] (log1p): Likewise.
10951 [XPG3] (logb): Likewise.
10952 [XPG3] (nextafter): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10954 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10955 [XPG3] (remainder): Likewise.
10956 [XPG3] (rint): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10964 [UNIX98 || XOPEN2K] (scalb): Expect.
10965 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10966 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10978 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10981 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10982 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10983 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10984 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10985 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10986 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10987 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10988 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10989 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10990 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10991 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10992 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10993 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10994 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10995 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10996 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10997 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10998 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10999 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11000 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11001 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11002 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11003 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11004 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11005 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11006 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11007 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11008 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11009 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11010 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11011 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11012 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11013 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11014 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11015 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11016 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11017 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11018 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11019 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11020 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11021 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11022 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11023 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11024 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11025 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11026 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11027 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11028 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11029 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11030 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11031 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11032 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11033 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11034 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11035 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11036 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11037 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11038 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11039 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11040 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11041 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11042 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11043 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11044 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11045 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11046 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11047 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11048 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11049 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11050 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11051 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11052 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11053 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11054 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11055 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11056 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11057 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11058 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11059 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11060 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11061 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11062 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11063 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11064 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11065 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11066 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11067 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11068 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11069 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11070 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11071 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11072 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11073 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11074 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11075 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11076 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11077 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11078 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11079 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11080 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11082 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11083 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11084 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11086 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11087 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11088 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11089 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11090 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11091 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11092 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11093 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11094 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11095 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11096 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11097 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11098 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11099 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11100 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11101 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11102
73c5ebe3
JM
11103 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11104 _XOPEN_SOURCE_EXTENDED for XPG4.
11105
39c33b6c
JM
11106 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11107
62fde54f
JM
11108 * Makeconfig (localtime): Remove variable.
11109 (inst_localtime-file): Likewise.
11110
0741d64c
AS
111112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11112
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11114 Update.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11116 Update.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11118 Update.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11120 Update.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11122 Update.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11124 Update.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11126 Update.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11128 Update.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11130 Update.
11131
7cb029ee
JM
111322012-05-01 Joseph Myers <joseph@codesourcery.com>
11133
11134 [BZ #2550]
11135 [BZ #2570]
11136 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11137 comparisons to determine direction to adjust input.
11138 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11139 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11141 Likewise.
11142 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11143 Likewise.
11144 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11145 Likewise.
11146 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11147 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11148 Likewise.
11149 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11150 Likewise.
11151 * math/libm-test.inc (nexttoward_test): Add more tests.
11152
412bd966
AS
111532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11154
11155 [BZ #14040]
11156 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11157 in version GLIBC_2.1, not GLIBC_2.0.
11158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11159 Likewise.
11160
9568c0c2
JM
111612012-04-30 Joseph Myers <joseph@codesourcery.com>
11162
adfbc8ac
JM
11163 [BZ #13942]
11164 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11165 (1 - x) * (1 + x).
11166 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11167 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11168 * math/libm-test.inc (acos_test): Add more tests.
11169 (asin_test): Likewise.
11170 * sysdeps/i386/fpu/libm-test-ulps: Update.
11171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11172
5ba3cc69
JM
11173 [BZ #14034]
11174 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11175 of square root.
11176 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11177 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11178 * math/libm-test.inc (acos_test_tonearest): New function.
11179 (acos_test_towardzero): Likewise.
11180 (acos_test_downward): Likewise.
11181 (acos_test_upward): Likewise.
11182 (asin_test_tonearest): Likewise.
11183 (asin_test_towardzero): Likewise.
11184 (asin_test_downward): Likewise.
11185 (asin_test_upward): Likewise.
11186 (main): Call the new functions.
11187 * sysdeps/i386/fpu/libm-test-ulps: Update.
11188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11189
9568c0c2
JM
11190 [BZ #13884]
11191 [BZ #13924]
11192 * math/e_exp10.c: Include <float.h>.
11193 (__ieee754_exp10): Handle underflow here rather than multiplying
11194 large negative argument by M_LN10.
11195 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11196 of __ieee754_expf.
11197 * math/e_exp10l.c: Include <float.h>.
11198 (__ieee754_exp10l): Handle underflow here rather than multiplying
11199 large negative argument by M_LN10l.
11200 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11201 spurious overflow exception on underflow.
11202
5ac3ea17
MP
112032012-04-29 Marek Polacek <polacek@redhat.com>
11204
11205 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11206 (__fortify_function): New macro.
11207 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11208 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11209 __extern_always_inline.
11210 * libio/bits/stdio2.h: Likewise.
11211 * libio/bits/stdio.h: Likewise.
11212 * string/string.h: Likewise.
11213 * string/bits/string3.h: Likewise.
11214 * include/stdio.h: Likewise.
11215 * stdlib/bits/stdlib.h: Likewise.
11216 * stdlib/stdlib.h: Likewise.
11217 * rt/bits/mqueue2.h: Likewise.
11218 * rt/mqueue.h: Likewise.
11219 * posix/bits/unistd.h: Likewise.
11220 * posix/unistd.h: Likewise.
11221 * io/bits/poll2.h: Likewise.
11222 * io/bits/fcntl2.h: Likewise.
11223 * io/fcntl.h: Likewise.
11224 * io/sys/poll.h: Likewise.
11225 * misc/bits/syslog.h: Likewise.
11226 * misc/bits/syslog-ldbl.h: Likewise.
11227 * misc/sys/syslog.h: Likewise.
11228 * socket/bits/socket2.h: Likewise.
11229 * socket/sys/socket.h: Likewise.
11230 * debug/tst-chk1.c: Likewise.
11231 * wcsmbs/bits/wchar2.h: Likewise.
11232 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11233 * wcsmbs/wchar.h: Likewise.
11234
ecf0ebfb
AJ
112352012-04-29 Andreas Jaeger <aj@suse.de>
11236
11237 * Makerules (tests): Remove enable-check-abi protection.
11238 (check-abi-warn): Remove.
11239 (check-abi-%): Remove check-abi-warn usage.
11240
11241 * configure.in: Remove check-abi configure option.
11242 * configure: Regenerated.
11243 * config.make.in (enable-check-abi): Remove.
11244
6d5c57fa
AS
112452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11246
24c5d07e 11247 [BZ #14033]
ded5180a
AS
11248 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11249 double functions to double *_finite functions.
11250
7e0d315d
AS
11251 [BZ #13941]
11252 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11253 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11254 LDBL_MIN_EXP.
11255 * stdio-common/Makefile (tests): Add tst-sprintf3.
11256 * stdio-common/tst-sprintf3.c: New file.
11257
6d5c57fa
AS
11258 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11259 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11260
0749ff8b
JM
112612012-04-28 Joseph Myers <joseph@codesourcery.com>
11262
11263 * conform/conformtest.pl: Remove duplicate typed-constant
11264 handling.
11265
8dbd5d7b
DM
112662012-04-28 David S. Miller <davem@davemloft.net>
11267
11268 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11269 (check-abi-%): Remove AWK script prerequisite and explicit
11270 abilist directory.
11271 (check-abi): Rewrite to just diff the symlist with the abilist.
11272 (config-tls, config-abi-config): Delete, no longer used.
11273 (update-abi-%): Remove AWK script and explicit abilist directory.
11274 (update-abi): Rewrite to simply compare and conditionally copy the
11275 symlist and the sysdep abilist file. Remove update-abi-config
11276 checks.
11277 * abilist/ld.abilist: Remove.
11278 * abilist/libBrokenLocale.abilist: Remove.
11279 * abilist/libanl.abilist: Remove.
11280 * abilist/libcrypt.abilist: Remove.
11281 * abilist/libdl.abilist: Remove.
11282 * abilist/librt.abilist: Remove.
11283 * abilist/libthread_db.abilist: Remove.
11284 * abilist/libutil.abilist: Remove.
11285 * scripts/extract-abilist.awk: Remove.
11286 * scripts/merge-abilist.awk: Remove.
11287 * sysdeps/generic/libcidn.abilist: New file.
11288 * sysdeps/generic/libnss_compat.abilist: New file.
11289 * sysdeps/generic/libnss_db.abilist: New file.
11290 * sysdeps/generic/libnss_dns.abilist: New file.
11291 * sysdeps/generic/libnss_files.abilist: New file.
11292 * sysdeps/generic/libnss_hesiod.abilist: New file.
11293 * sysdeps/generic/libnss_nis.abilist: New file.
11294 * sysdeps/generic/libnss_nisplus.abilist: New file.
11295 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11296 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11297 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11298 file.
11299 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11300 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11301 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11302 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11303 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11304 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11305 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11306 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11307 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11308 file.
11309 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11310 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11311 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11312 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11313 file.
11314 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11315 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11316 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11317 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11318 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11319 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11320 file.
11321 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11322 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11323 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11324 file.
11325 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11327 New file.
11328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11329 New file.
11330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11331 New file.
11332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11333 New file.
11334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11335 New file.
11336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11337 New file.
11338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11339 New file.
11340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11341 New file.
11342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11343 New file.
11344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11345 New file.
11346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11347 New file.
11348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11349 New file.
11350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11351 New file.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11353 file.
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11355 New file.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11357 New file.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11359 file.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11361 New file.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11363 New file.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11365 file.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11367 New file.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11369 New file.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11371 New file.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11373 New file.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11375 New file.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11377 New file.
11378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11380 file.
11381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11382 New file.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11384 file.
11385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11386 file.
11387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11388 file.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11390 file.
11391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11392 file.
11393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11394 New file.
11395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11396 file.
11397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11398 file.
11399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11400 New file.
11401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11402 file.
11403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11405 file.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11407 New file.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11409 file.
11410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11411 file.
11412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11413 file.
11414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11415 file.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11417 file.
11418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11419 New file.
11420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11421 file.
11422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11423 file.
11424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11425 New file.
11426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11427 file.
11428 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11429 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11430 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11431 file.
11432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11433 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11434 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11435 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11436 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11437 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11438 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11439 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11440 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11441 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11444 file.
11445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11446 New file.
11447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11448 file.
11449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11450 file.
11451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11452 file.
11453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11454 file.
11455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11456 file.
11457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11458 New file.
11459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11460 New file.
11461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11462 file.
11463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11464 New file.
11465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11466 file.
11467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11469 file.
11470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11471 New file.
11472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11473 file.
11474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11475 file.
11476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11477 file.
11478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11479 file.
11480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11481 file.
11482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11483 New file.
11484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11485 New file.
11486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11487 file.
11488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11489 New file.
11490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11491 file.
11492
41d73a1b
JM
114932012-04-28 Joseph Myers <joseph@codesourcery.com>
11494
11495 * conform/conformtest.pl: Fix typo in handling typed-constant from
11496 allow-header.
11497
28aeeda4
JM
114982012-04-27 Joseph Myers <joseph@codesourcery.com>
11499
adae8f5e
JM
11500 * README: Cut down references to pre-2.6 Linux kernels and
11501 Linuxthreads. Update lists of configurations in libc and ports
11502 and sort alphabetically. Say "or newer" with Linux kernel version
11503 requirements.
11504
28aeeda4
JM
11505 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11506
a462cb63
RA
115072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11508
11509 [BZ #887]
11510 * math/libm-test.inc (logb_test_downward): New test to expose
11511 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11512 rounding mode.
11513
6ad3493e
JM
115142012-04-27 Joseph Myers <joseph@codesourcery.com>
11515
11516 [BZ #14027]
11517 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11518 to be done.
11519 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11520 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11521
2ce4f015
JM
115222012-04-26 Joseph Myers <joseph@codesourcery.com>
11523
5aeb141a
JM
11524 * sysdeps/unix/i386/brk.S: Remove file.
11525 * sysdeps/unix/i386/dl-brk.S: Likewise.
11526 * sysdeps/unix/i386/pipe.S: Likewise.
11527 * sysdeps/unix/i386/sigreturn.S: Likewise.
11528 * sysdeps/unix/i386/syscall.S: Likewise.
11529 * sysdeps/unix/i386/vfork.S: Likewise.
11530 * sysdeps/unix/i386/wait.S: Likewise.
11531
7143acae
JM
11532 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11533 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11534
2ce4f015
JM
11535 * configure.in (arm*-none*): Do not allow without
11536 --enable-hacker-mode.
11537 (netbsd*): Remove case setting base_os.
11538 (386bsd*): Likewise.
11539 (freebsd*): Likewise.
11540 (bsdi*): Likewise.
11541 (osf*): Likewise.
11542 (sunos*): Likewise.
11543 (ultrix*): Likewise.
11544 (newsos*): Likewise.
11545 (dynix*): Likewise.
11546 (*bsd*): Likewise.
11547 (sysv*): Likewise.
11548 (isc*): Likewise.
11549 (esix*): Likewise.
11550 (sco*): Likewise.
11551 (minix*): Likewise.
11552 (irix4*): Likewise.
11553 (irix6*): Likewise.
11554 (solaris[2-9]*): Likewise.
11555 (none): Likewise.
11556 * configure: Regenerated.
11557
0ac229c8
AZ
115582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 [BZ #11521]
11561 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11562 overflow or cancellation in calculating denominator.
11563 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11565 down expression to avoid unexpected rounding in newer GCCs.
11566 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11567
33f244f4
DM
115682012-04-26 David S. Miller <davem@davemloft.net>
11569
11570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11571 long-double compat symbols.
11572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11585
cfa1f3e8
DM
115862012-04-25 David S. Miller <davem@davemloft.net>
11587
11588 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11589 HWCAP_* values only after the memory barriers have been defined.
11590 (atomic_full_barrier): Define.
11591 (atomic_read_barrier): Define.
11592 (atomic_write_barrier): Define.
11593
6e236b92
SP
115942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11595
11596 * shlib-versions: Add libgcc_s version information.
11597 * sysdeps/generic/libgcc_s.h: Remove.
11598 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11599 libgcc_s.h.
11600 * sysdeps/gnu/unwind-resume.c: Likewise.
11601 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11602
aab39a09
DM
116032012-04-25 David S. Miller <davem@davemloft.net>
11604
11605 * sysdeps/unix/sparc/brk.S: Delete.
11606 * sysdeps/unix/sparc/dl-brk.S: Delete.
11607 * sysdeps/unix/sparc/pipe.S: Delete.
11608 * sysdeps/unix/sparc/sysdep.S: Delete.
11609 * sysdeps/unix/sparc/sysdep.h: Delete.
11610 * sysdeps/unix/sparc/vfork.S: Delete.
11611 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11612 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11614 ret_ERRVAL, r0, r1, MOVE): Define.
11615 (JUMPTARGET): Remove.
11616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11617 sysdeps/unix/sparc/sysdep.h
11618 (ENTRY, END): Remove.
11619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11620
a3cc4f48
JM
116212012-04-25 Joseph Myers <joseph@codesourcery.com>
11622
2ed8cda2
JM
11623 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11624 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11625 -DIS_IN_build.
11626
35d76d59
JM
11627 * timezone/README: Update upstream location and email address for
11628 tzcode and tzdata.
11629 * timezone/zdump.c: Update from tzcode 2012b.
11630 * timezone/zic.c: Likewise.
11631
a3cc4f48
JM
11632 * configure.in (libc_cv_as_needed): Remove test.
11633 * configure: Regenerated.
11634 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11635 conditional definition.
11636 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11637 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11638 * config.make.in (have-as-needed): Remove variable.
11639
ceab42c3
SP
116402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11641 Paul Pluzhnikov <ppluzhnikov@google.com>
11642
11643 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11644 strings correctly.
11645
3ce2865f
CLT
116462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11647
11648 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11649 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11650 * sysdeps/sh/strlen.S: Likewise.
11651
f37e0d68
JM
116522012-04-24 Joseph Myers <joseph@codesourcery.com>
11653
ae186e9a
JM
11654 * sysdeps/unix/fork.S: Remove file.
11655 * sysdeps/unix/i386/fork.S: Likewise.
11656 * sysdeps/unix/sparc/fork.S: Likewise.
11657
b96914af
JM
11658 * sysdeps/unix/system.c: Remove file.
11659 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11660
f37e0d68
JM
11661 * sysdeps/unix/getegid.S: Remove file.
11662 * sysdeps/unix/geteuid.S: Likewise.
11663
87ef29ca
RM
116642012-04-24 Roland McGrath <roland@hack.frob.com>
11665
83bcd236
RM
11666 * scripts/check-localplt.awk: New file.
11667 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11668 of diff.
11669 * scripts/data/localplt-generic.data: Add a comment.
11670
87ef29ca
RM
11671 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11672 NODE when __dir_mkfile failed.
11673 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11674 Reported by Ludovic Courtès <ludo@gnu.org>.
11675
e5a6e567
AJ
116762012-04-24 Andreas Jaeger <aj@suse.de>
11677
11678 * Makerules (common-clean): Also remove gen-as-const-headers
11679 files.
11680
c1820385
JM
116812012-04-24 Joseph Myers <joseph@codesourcery.com>
11682
11683 * Makerules (native-compile): Do not change working directory for
11684 build. Use $(OUTPUT_OPTION) in command.
11685 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11686
94e02fc4
AZ
116872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11688
11689 [BZ #13886]
11690 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11691 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11692 * math/libm-test.inc (floor_test): Add more tests.
11693 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11694
3a533ca3
JM
116952012-04-24 Joseph Myers <joseph@codesourcery.com>
11696
940ab4b3
JM
11697 * sysdeps/unix/getdents.c: Remove file.
11698 * sysdeps/unix/sysv/getdents.c: Likewise.
11699 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11700
90e037bd
JM
11701 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11702 sysdeps/unix/mman/syscalls.list.
11703 (mmap): Likewise.
11704 (mprotect): Likewise.
11705 (msync): Likewise.
11706 (munmap): Likewise.
11707 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11708 * sysdeps/unix/mman/syscalls.list: Remove.
11709 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11710
3a533ca3
JM
11711 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11712 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11713 * configure: Regenerated.
11714 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11715 $(libgcc_s_suffix).
11716 * config.make.in (libgcc_s_suffix): Remove variable.
11717
1ad743de
JM
117182012-04-23 Joseph Myers <joseph@codesourcery.com>
11719
4ad451e2
JM
11720 * sysdeps/unix/sysv/gethostname.c: Move to ...
11721 * sysdeps/posix/gethostname.c: ... here.
11722
5e37ce39
JM
11723 * sysdeps/unix/execve.S: Remove file.
11724
1ad743de
JM
11725 * sysdeps/unix/_exit.S: Remove file.
11726
4e681b5b
AJ
117272012-04-23 Andreas Jaeger <aj@suse.de>
11728
11729 [BZ #13739]
11730 * manual/Makefile: Remove make dist support, there's no
11731 need for a stand-alone documentation tar ball.
11732 (TEXI2DVI): Define always, it's not in Makeconfig.
11733 (dist): Removed.
11734 (tar-it): Removed.
11735 (edition): Removed.
11736 (glibc-doc-$(edition).tar): Removed
11737 (%.Z): Removed.
11738 (%.gz): Removed.
11739 (%.uu): Removed.
11740 (ETAGS): Remove, it's in Makeconfig.
11741 (move-if-change): Remove, it's in Makeconfig.
11742
38686a03 117432012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11744
11745 [BZ #13970]
11746 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11747 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11748 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11749 (strtod_l, strtof_l, strtold_l): Remove __wur.
11750 It is not necessarily an error to ignore strtol's return value.
11751 One can reliably look at the stored endptr to decide whether
11752 the number had valid syntax.
11753
7c0616fa
AJ
117542012-04-21 Andreas Jaeger <aj@suse.de>
11755
803cb6b7 11756 [BZ #13739]
7c0616fa
AJ
11757 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11758
b0fe253f
JM
117592012-04-21 Joseph Myers <joseph@codesourcery.com>
11760
11761 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11762 * sysdeps/unix/sysv/Versions: Remove file.
11763
8280f22d
MT
117642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11765
11766 [BZ #13927]
11767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11768
75ce411f 117692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11770
11771 [BZ #7064]
11772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11773 version from __vm86.
11774
097d59fa
JM
117752012-04-20 Joseph Myers <joseph@codesourcery.com>
11776
a90f3bcb
JM
11777 * sysdeps/unix/common/lxstat.c: Remove file.
11778 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11779
edc7ea78
JM
11780 * sysdeps/unix/sysv/Makefile: Remove file.
11781
cb78c221
JM
11782 * sysdeps/unix/sysv/direct.h: Remove file.
11783
efa6a45f
JM
11784 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11785 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11786 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11787 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11788 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11789 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11790 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11791
9c9f2d0c
JM
11792 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11793
4541c83b
JM
11794 * sysdeps/unix/xmknod.c: Remove file.
11795 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11796
f5d153a0
JM
11797 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11798
aa746595
JM
11799 * sysdeps/unix/sysv/i386/time.S: Remove file.
11800
cce5905e
JM
11801 * sysdeps/unix/fxstat.c: Remove file.
11802 * sysdeps/unix/xstat.c: Likewise.
11803 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11804
37fa3841
JM
11805 * sysdeps/unix/sysv/sigaction.c: Remove file.
11806
ff1962a3
JM
11807 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11808 (sysdep_headers): Remove variable.
11809 [termio.h not in sysdep_headers] (generated): Likewise.
11810 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11811 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11812 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11813 * sysdeps/unix/sysv/tcflow.c: Likewise.
11814 * sysdeps/unix/sysv/tcflush.c: Likewise.
11815 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11816 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11817 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11818 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11819 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11820
e7740d31
JM
11821 * sysdeps/unix/siglist.c: Remove file.
11822
ee06f18b
JM
11823 * sysdeps/unix/getppid.S: Remove file.
11824
097d59fa
JM
11825 * sysdeps/unix/mkdir.c: Remove file.
11826 * sysdeps/unix/rmdir.c: Likewise.
11827
ff3d51ec
AS
118282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11829
11830 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11831 ERR_MAX value.
11832 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11833 errlist-compat value.
11834
50f81fd7
DM
118352012-04-18 David S. Miller <davem@davemloft.net>
11836
11837 * sysdeps/generic/memcopy.h (reg_char): Delete.
11838 * debug/strcat_chk.c: Use char, not reg_char.
11839 * debug/strcpy_chk.c: Likewise.
11840 * debug/strncat_chk.c: Likewise.
11841 * debug/strncpy_chk.c: Likewise.
11842 * string/memchr.c: Likewise.
11843 * string/memrchr.c: Likewise.
11844 * string/rawmemchr.c: Likewise.
11845 * string/strcat.c: Likewise.
11846 * string/strchr.c: Likewise.
11847 * string/strchrnul.c: Likewise.
11848 * string/strcmp.c: Likewise.
11849 * string/strcpy.c: Likewise.
11850 * string/strncat.c: Likewise.
11851 * string/strncmp.c: Likewise.
11852 * string/strncpy.c: Likewise.
11853
8ff41c46
WS
118542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11855
11856 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11857 __builtin_memcopy is called when src and dest ranges are known to not
11858 overlap.
11859
6b652f46
WS
118602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11861
11862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11863 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11864 fwd_align_merge macro call.
11865 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11866 bwd_align_merge macro call.
11867 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11868
b282631e
WS
118692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11870
11871 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11872 bwd_align_merge macros.
11873 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11874 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11875 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11876
95aa737c
DM
118772012-04-18 David S. Miller <davem@davemloft.net>
11878
11879 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11880
7a99a614
AJ
118812012-04-18 Andreas Jaeger <aj@suse.de>
11882
11883 [BZ# 6794]
11884 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11885 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11887
11888 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11889 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11890 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11891
11892 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11893 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11894 Adjust for changed ldbl-128 files.
11895
11896 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11897 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11898 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11899
e5270c23
DM
119002012-04-17 David S. Miller <davem@davemloft.net>
11901
11902 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11903
fb5e92c9
AS
119042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11905
11906 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11907 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11908 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11909 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11910 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11911 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11912
76da7265
AZ
119132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11914
11915 [BZ #6794]
11916 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11917 * math/libm-test.inc: Add ilogb errno and exception tests.
11918 * math/w_ilogb.c: New file: ilogb wrapper.
11919 * math/w_ilogbf.c: New file: ilogbf wrapper.
11920 * math/w_ilogbl.c: New file: ilogbl wrapper.
11921 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11922 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11923 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11924 exception being thrown with 0.0 as argument.
11925 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11926 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11927 exception being thrown with 0.0 as argument.
11928 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11929 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11930 exception being thrown with 0.0 as argument.
11931 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11932 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11933 exception being thrown with 0.0 as argument.
11934 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11935 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11936 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11937 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11938 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11939 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11940 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11941 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11942 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11943
0396e69d
PB
119442012-04-17 Petr Baudis <pasky@ucw.cz>
11945
11946 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11947 with altivec.
11948
750b5926
MP
119492012-04-16 Marek Polacek <polacek@redhat.com>
11950
11951 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11952
751728a1
MP
119532012-04-16 Marek Polacek <polacek@redhat.com>
11954
11955 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11956 operands of fdivp instruction.
11957
34a27407
L
119582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11961 * elf/tst-auditmod3b.c: Likewise.
11962 * elf/tst-auditmod4b.c: Likewise.
11963 * elf/tst-auditmod5b.c: Likewise.
11964 * elf/tst-auditmod6b.c: Likewise.
11965 * elf/tst-auditmod6c.c: Likewise.
11966 * elf/tst-auditmod7b.c: Likewise.
11967 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11968 * sysdeps/x86_64/preconfigure.in: Likewise.
11969 * sysdeps/x86_64/preconfigure: Regenerated.
11970
7e73e17d
L
119712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11972
11973 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11974 __ILP32__.
11975
c7a6ab72
AB
119762012-04-13 Antoine Balestrat <merkil33@gmail.com>
11977
11978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11979 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11980
a9e8e0e0
CL
119812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11982
11983 [BZ #13973]
11984 * locale/iso-639.def: Fix gl language name. Spotted by
11985 Yaron Shahrabani.
11986
ec98af7d
RM
119872012-04-12 Roland McGrath <roland@hack.frob.com>
11988
11989 [BZ #2074]
11990 * libio/libio.h (__io_write_fn): Update comment.
11991
247c3ede
PB
119922012-04-12 Petr Baudis <pasky@ucw.cz>
11993
11994 [BZ #2074]
11995 * stdio.texi (Hook Functions): The user provided writer function
11996 is not allowed to return -1.
11997
55939d6d
DM
119982012-04-11 David S. Miller <davem@davemloft.net>
11999
12000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12001
90020f5a
MF
120022012-04-11 Mike Frysinger <vapier@gentoo.org>
12003
12004 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12005 Add a leading slash to rtkaio.
12006
288f9098
JM
120072012-04-11 Jim Meyering <meyering@redhat.com>
12008
90020f5a
MF
12009 [BZ #11959]
12010 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12011 It is not necessarily an error to ignore fwrite's return
12012 value. One can reliably use ferror to test for errors after
12013 the fact.
288f9098 12014
4be2b570
L
120152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12016
12017 * bits/types.h (__snseconds_t): New type.
12018 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12019
12020 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12022 (__SNSECONDS_T_TYPE): Likewise.
12023 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12024 (__SNSECONDS_T_TYPE): Likewise.
12025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12026 (__SNSECONDS_T_TYPE): Likewise.
12027
288f9098 120282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12029
12030 [BZ #2636]
12031 * manual/time.texi (Processor Time): Return type of times is
12032 elapsed real time since an arbitrary point in the past.
12033 (CPU Time): Move CLK_TCK from here...
12034 (Processor Time): ...to here. Correct description.
12035 * manual/conf.texi (Constants for Sysconf): Correct description of
12036 _SC_CLK_TCK.
12037
d7dd4413
DM
120382012-04-10 David S. Miller <davem@davemloft.net>
12039
12040 [BZ #13967]
12041 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12042 where the is a gap between DT_REL(A) and DT_JMPREL.
12043
b46068fc
L
120442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12045
12046 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12047 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12048 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12049
73d65cc3
SP
120502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
12052 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12053 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12054 (dl_main): Handle --inhibit-cache.
12055 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12056 _dl_inhibit_cache.
12057 * elf/dl-load.c (_dl_map_object): Use it.
12058 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12059
bcc8d661
JM
120602012-04-09 Joseph Myers <joseph@codesourcery.com>
12061
8f9a2fae
JM
12062 [BZ #13872]
12063 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12064 (__ieee754_powl): Saturate large exponents rather than testing for
12065 overflow of y*log2(x).
12066 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12067 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12068 exceptions.
12069
bcc8d661
JM
12070 [BZ #11521]
12071 * math/s_ctan.c: Include <float.h>.
12072 (__ctan): Avoid internal overflow or cancellation in calculating
12073 denominator.
12074 * math/s_ctanf.c: Likewise.
12075 * math/s_ctanl.c: Likewise.
12076 * math/s_ctanh.c: Likewise.
12077 * math/s_ctanhf.c: Likewise.
12078 * math/s_ctanhl.c: Likewise.
12079 * math/libm-test.inc (ctan_test): Add more tests.
12080 (ctanh_test): Likewise.
12081 * sysdeps/i386/fpu/libm-test-ulps: Update.
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083
823fbbb4
AJ
120842012-04-09 Andreas Jaeger <aj@suse.de>
12085
03879793
AJ
12086 [BZ #6894]
12087 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12088 is an optional BSD extension.
12089
823fbbb4
AJ
12090 [BZ #10254]
12091 * manual/stdio.texi (Opening Streams): Document additional fopen
12092 parameters.
12093
8de131cb
RM
120942012-04-09 Roland McGrath <roland@hack.frob.com>
12095
12096 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12097 %eax without telling the compiler.
12098
c0ed9d7d
CD
120992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12100
12101 [BZ # 13963]
12102 * manual/install.texi: Use sourceware.org.
12103
c483f6b4
JM
121042012-04-09 Joseph Myers <joseph@codesourcery.com>
12105
d7dd9453
JM
12106 [BZ #13873]
12107 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12108 (__ieee754_pow): Generate overflow and underflow using huge*huge
12109 and tiny*tiny rather than just returning constant infinity or zero
12110 for large exponents.
12111 * math/libm-test.inc (pow_test): Require overflow exceptions for
12112 applicable cases of large exponents.
12113
c483f6b4
JM
12114 [BZ #706]
12115 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12116 (__ieee754_pow): Use iterative multiplication algorithm only for
12117 integer exponents with absolute value below 1024. Check for odd
12118 integer exponents when using algorithm for real exponents.
12119 * math/libm-test.inc (pow_test): Add more tests.
12120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12121
d2de7579
JM
121222012-04-08 Joseph Myers <joseph@codesourcery.com>
12123
12124 [BZ #13705]
12125 * math/libm-test.inc (exp_test): Do not allow overflow exception
12126 on underflow test.
12127
f77f1232
AJ
121282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12129
12130 [BZ #13705]
12131 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12132 instead of __kernel_standard_f.
12133
3884932b
MF
121342012-04-08 Mike Frysinger <vapier@gentoo.org>
12135
12136 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12137 * sysdeps/x86_64/memset_chk.S: Likewise.
12138
54472e9c
AJ
121392012-04-08 Andreas Jaeger <aj@suse.de>
12140
6ab0fbfc
AJ
12141 [BZ #10153]
12142 * manual/startup.texi (Environment Access): Describe return value
12143 for putenv and setenv.
12144
61efba8c
AJ
12145 [BZ #6895]
12146 * manual/filesys.texi (Directory Entries): Add description for
12147 DT_LNK.
12148
95c3f29a
AJ
12149 [BZ #6890]
12150 * manual/filesys.texi (Directory Entries): Clarify that it's file
12151 system not operating system in the description of DT_UNKNOWN.
12152
54472e9c
AJ
12153 [BZ #6578]
12154 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12155
624254b1
SC
121562012-04-08 Stephen Compall <s11@member.fsf.org>
12157
12158 [BZ #6649]
12159 * manual/llio.texi (Opening and Closing Files): Add cross
12160 reference to explain mode argument.
12161
1e4920e0
MF
121622012-04-07 Mike Frysinger <vapier@gentoo.org>
12163
12164 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12165 * sysdeps/x86_64/memset_chk.S: Likewise.
12166
5ed848f3
DM
121672012-04-07 David S. Miller <davem@davemloft.net>
12168
12169 * elf/elf.h (R_SPARC_WDISP10): Define.
12170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12171 R_SPARC_SIZE32.
12172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12173 R_SPARC_SIZE64 and R_SPARC_H34.
12174
96154cd8
CD
121752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12176
12177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12178 conditions and remove no longer applicable assertion.
12179
9904dc47
L
121802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * bits/byteswap.h: Include <features.h>.
12183 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12184 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12185
f8887d0a
L
121862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12187
12188 * bits/byteswap.h (__bswap_16): Removed.
12189 Include <bits/byteswap-16.h> to get __bswap_16.
12190 * sysdeps/i386/bits/byteswap.h: Likewise.
12191 * sysdeps/s390/bits/byteswap.h: Likewise.
12192 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12193 * bits/byteswap-16.h: New file.
12194 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12195 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12196 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12197 * string/Makefile (headers): Add bits/byteswap-16.h.
12198
62470f60
PP
121992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12200
12201 [BZ #13895]
12202 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12203 extra indirection.
12204 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12205 * nss/tst-nss-static.c: New.
12206
4dad7bab
RM
122072012-04-06 Robert Millan <rmh@gnu.org>
12208
12209 [BZ #6486]
12210 * manual/llio.texi (File Position Primitive): lseek
12211 refers to WHENCE when it really means OFFSET.
12212
e9142a17
AJ
122132012-04-06 Andreas Jaeger <aj@suse.de>
12214
2c040eff
AJ
12215 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12216 strncmp declarations.
12217
e9142a17
AJ
12218 * abilist/libc.abilist: Add __poll and __ppoll.
12219
ff9f1c5f
DM
122202012-04-05 David S. Miller <davem@davemloft.net>
12221
dcd2ae90
DM
12222 * scripts/check-local-headers.sh: Accept a host triplet in the
12223 path matched by the exclude regexp.
12224
993eb054
DM
12225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12226 definition.
12227 * sysdeps/powerpc/powerpc32/dl-machine.h
12228 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12229 * sysdeps/s390/s390-32/dl-machine.h
12230 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12231 * sysdeps/sparc/sparc32/dl-machine.h
12232 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12233 * sysdeps/sparc/sparc64/dl-machine.h
12234 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12235
ff9f1c5f
DM
12236 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12237 lazy binding.
48e2e132 12238 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12239 undefined symbol errors.
12240
48e2e132 12241 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12242 DT_NEEDED entries.
12243
e80d6f94
MM
122442012-04-05 Michael Matz <matz@suse.de>
12245
12246 [BZ #13592]
12247 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12248
349fa79f
AJ
122492012-04-05 Andreas Jaeger <aj@suse.de>
12250
12251 [BZ #13908]
12252 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12253 comment.
12254
f402708f
KK
122552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12256
12257 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12258 which ROUND is no valid rounding mode.
12259
2ecccfc9
KK
122602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12261
12262 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12263 read again.
12264 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12265
8a53f50f
KK
122662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12267
12268 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12269 an exception using FPU order intentionally.
12270
122712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12272
12273 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12274 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12275 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12276 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12277
d653abb7
SJ
122782012-04-05 Simon Josefsson <simon@josefsson.org>
12279
12280 [BZ #12340]
12281 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12282 EINVAL when BUFLEN is too smal.
12283
c3b1bf7d
TS
122842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12285
12286 [BZ #13553]
12287 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12288 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12289
b1aa60f3
AJ
122902012-04-03 Andreas Jaeger <aj@suse.de>
12291
c3b1bf7d 12292 [BZ #13938]
67f60a26
AJ
12293 * manual/setjmp.texi (System V contexts): Fix sentence.
12294
b1aa60f3
AJ
12295 [BZ #13926]
12296 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12297 New macro for this case.
12298 [!__GNUC__] (__bswap_64): New inline function for this case.
12299 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12300 * bits/byteswap.h: Likewise.
12301 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12302 ull, guard with __GLIBC_HAVE_LONG_LONG.
12303
12304 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12305 __GLIBC_HAVE_LONG_LONG.
12306
12307 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12308 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12309
39c59c35
TMQMF
123102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12311
12312 [BZ #13691]
12313 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12314 inptr and inend, rather than using last_ch.
12315
135ffda8
DM
123162012-04-02 David S. Miller <davem@davemloft.net>
12317
12318 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12319 * stdio-common/printf-parse.h (read_int): Change return type to
12320 'int', return -1 on INT_MAX overflow.
12321 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12322 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12323 overflows INT_MAX. Check for overflow of in-format-string precision
12324 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12325 SIZE_MAX not INT_MAX for integer overflow test.
12326 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12327 skip the construct in the format string but do not record anything.
12328 * stdio-common/bug22.c: Adjust to test both width/prevision
12329 INT_MAX overflow as well as total length INT_MAX overflow. Check
12330 explicitly for proper errno values.
12331
228c019e
TS
123322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12333
302cadd3
TS
12334 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12335 CHAR_MAX.
12336 * string/test-strcmp.c [! WIDE]: Likewise.
12337 * time/tst-mktime2.c: Likewise for INT_MAX.
12338 * string/test-string.h: #include <sys/param.h> for MIN.
12339
228c019e
TS
12340 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12341 * sysdeps/i386/init-first.c (init): Likewise.
12342 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12343 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12344 * sysdeps/sh/init-first.c (init): Likewise.
12345
cfa633f5
UD
123462012-04-01 Ulrich Drepper <drepper@gmail.com>
12347
12348 * po/ru.po: Update from translation team.
d1635ef8 12349 * po/vi.po: Likewise.
cfa633f5 12350
6cd0a5ea
SP
123512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 * resolv/nss_dns/dns-host.c: Merge copyright years.
12354
4b43400f
LD
123552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12356
12357 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12358 Optimize memcpy with prefetch if
12359 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12360 src, dst pointers have unequal 16 byte alignments.
12361
48c41d04
SP
123622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12363
12364 [BZ #13928]
12365 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12366 from a CNAME entry and return the minimum ttl for the query.
12367 (gaih_getanswer_slice): Likewise.
12368
b8dc394d
JL
123692012-03-30 Jeff Law <law@redhat.com>
12370
12371 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12372 due to long keys.
12373 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12374 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12375
2f5a5ed0
JL
12376 * resolv/nss_dns/dns-host.c: Update copyright year.
12377
1d39e359
UD
123782012-03-30 Ulrich Drepper <drepper@gmail.com>
12379
c030f70c 12380 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12381 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12382
1d39e359
UD
12383 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12384 comments for sendmmsg.
12385
123862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12387
12388 [BZ #13691]
12389 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12390 with only 1 character between 0x0041 and 0x01b0.
12391 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12392 * wcsmbs/tst-mbsnrtowcs.c: New file.
12393
20fde227
DM
123942012-03-29 David S. Miller <davem@davemloft.net>
12395
12396 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12397 small copies by hand.
12398
984a4237
JL
123992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12400
12401 [BZ #13761]
12402 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12403 _nss_compat_initgroups_dyn): Fall back to malloc/free
12404 for large group memberships.
12405
18c9d62b
DM
124062012-03-28 David S. Miller <davem@davemloft.net>
12407
88d85d4f
DM
12408 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12409 that branches into memcpy.
12410 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12412 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12413 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12415 bits.
12416 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12417 implementation too.
12418 * sysdeps/sparc/mempcpy.S: New file.
12419
e5aa83e1
DM
12420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12421 the IFUNC routine in the libc case.
12422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12423
88570753
DM
12424 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12425 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12426 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12427 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12428 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12429 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12430 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12431 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12432
249d7567
DM
12433 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12434 loop to 256 bytes instead of 64 bytes and fix test signedness.
12435
18c9d62b
DM
12436 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12437 * sysdeps/sparc/sparc32/Makefile: rather than here...
12438 * sysdeps/sparc/sparc64/Makefile: and here.
12439
05f3d1f6
UD
124402012-03-28 Ulrich Drepper <drepper@gmail.com>
12441
12442 * malloc/mallocbug.c: Avoid warnings about unused variables.
12443
86ae07a8
JL
124442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12445
12446 [BZ #13760]
12447 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12448 in the right place. Discard and retry query if response is
12449 larger than input buffer size.
12450
41bf21a1
JM
124512012-03-28 Joseph Myers <joseph@codesourcery.com>
12452
d6270972
JM
12453 [BZ #369]
12454 [BZ #2678]
12455 [BZ #3866]
12456 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12457 x for large integer exponent.
12458 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12459 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12460 sign of result as needed afterwards.
12461 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12462 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12463 result for underflowing pow the same as for overflow.
12464 (__kernel_standard_l): Handle powl overflow and underflow here
12465 rather than calling __kernel_standard.
12466 * math/libm-test.inc (pow_test): Add more tests.
12467
414fca03 12468 [BZ #3868]
41bf21a1
JM
12469 [BZ #13879]
12470 [BZ #13910]
12471 [BZ #13911]
12472 [BZ #13912]
12473 [BZ #13913]
12474 [BZ #13915]
12475 [BZ #13916]
12476 [BZ #13917]
12477 [BZ #13918]
12478 [BZ #13919]
12479 [BZ #13920]
12480 [BZ #13921]
12481 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12482 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12483 (__kernel_standard_l): New function.
12484 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12485 __kernel_standard.
12486 * math/w_acosl.c (__acosl): Likewise.
12487 * math/w_asinl.c (__asinl): Likewise.
12488 * math/w_atan2l.c (__atan2l): Likewise.
12489 * math/w_atanhl.c (__atanhl): Likewise.
12490 * math/w_coshl.c (__coshl): Likewise.
12491 * math/w_exp10l.c (__exp10l): Likewise.
12492 * math/w_exp2l.c (__exp2l): Likewise.
12493 * math/w_fmodl.c (__fmodl): Likewise.
12494 * math/w_hypotl.c (__hypotl): Likewise.
12495 * math/w_j0l.c (__j0l, __y0l): Likewise.
12496 * math/w_j1l.c (__j1l, __y1l): Likewise.
12497 * math/w_jnl.c (__jnl, __ynl): Likewise.
12498 * math/w_lgammal.c (__lgammal): Likewise.
12499 * math/w_log10l.c (__log10l): Likewise.
12500 * math/w_log2l.c (__log2l): Likewise.
12501 * math/w_logl.c (__logl): Likewise.
12502 * math/w_powl.c (__powl): Likewise.
12503 * math/w_remainderl.c (__remainderl): Likewise.
12504 * math/w_scalbl.c (sysv_scalbl): Likewise.
12505 * math/w_sinhl.c (__sinhl): Likewise.
12506 * math/w_sqrtl.c (__sqrtl): Likewise.
12507 * math/w_tgammal.c (__tgammal): Likewise.
12508 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12509 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12510 * math/libm-test.inc (acos_test): Add more tests.
12511 (acosh_test): Likewise.
12512 (asin_test): Likewise.
12513 (atanh_test): Likewise.
12514 (exp_test): Likewise.
12515 (exp10_test): Likewise.
12516 (exp2_test): Likewise.
12517 (expm1_test): Likewise.
12518 (lgamma_test): Likewise.
12519 (log_test): Likewise.
12520 (log10_test): Likewise.
12521 (log1p_test): Likewise.
12522 (log2_test): Likewise.
12523 (pow_test): Do not allow some spurious overflow exceptions.
12524 (sqrt_test): Add more tests.
12525 (tgamma_test): Likewise.
12526 (y0_test): Likewise.
12527 (y1_test): Likewise.
12528 (yn_test): Likewise.
12529
dd62fda6
AB
125302012-03-27 Anton Blanchard <anton@samba.org>
12531
12532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12533 MAP_HUGETLB.
12534 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12535 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12537
1e3cdfda
AJ
125382012-03-27 David S. Miller <davem@davemloft.net>
12539
b855ab85
DM
12540 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12541
1e3cdfda
AJ
12542 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12543 have-as-vis3 check.
12544
125452012-03-27 Andreas Jaeger <aj@suse.de>
12546
12547 * sysdeps/x86_64/elf/configure.in: Moved to ...
12548 * sysdeps/x86_64/configure.in: ... here.
12549 * sysdeps/x86_64/elf/start.S: Moved to ...
12550 * sysdeps/x86_64/start.S: ... here.
12551 * sysdeps/x86_64/elf/configure: Delete.
12552
12553 * sysdeps/x86_64/configure.in: Merge contents from
12554 sysdeps/i386/configure.in (without i686 check).
12555
12556 * sysdeps/i386/elf/Versions: Merge into ...
12557 * sysdeps/i386/Versions: ... this.
12558 * sysdeps/i386/elf/Versions: Delete file.
12559 * sysdeps/i386/elf/start.S: Moved to ...
12560 * sysdeps/i386/start.S: ...here.
12561 * sysdeps/i386/elf/configure.in: Merge into...
12562 * sysdeps/i386/configure.in: ...here.
12563 * sysdeps/i386/elf/configure.in: Delete file.
12564 * sysdeps/i386/elf/configure: Delete file.
12565
12566 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12567 * debug/backtracesyms.c: ... here.
12568 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12569 * debug/backtracesymsfd.c: ... here.
12570 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12571 * sysdeps/generic/ifunc-sel.h: ... here.
12572
12573 * sysdeps/unix/i386/start.c: Delete file.
12574 * sysdeps/unix/sparc/start.c: Delete file.
12575 * sysdeps/unix/start.c: Delete file.
12576
12577 * sysdeps/sh/elf/configure.in: Moved to ...
12578 * sysdeps/sh/configure.in: ... here.
12579 * sysdeps/sh/elf/start.S: Moved to ...
12580 * sysdeps/sh/start.S: ... here.
12581 * sysdeps/sh/elf/configure: Delete file.
12582
12583 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12584 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12585 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12586 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12587 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12588 * sysdeps/powerpc/powerpc64/start.S: here.
12589 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12590 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12591 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12592 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12593 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12594
12595 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12596 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12597 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12598 * sysdeps/powerpc/powerpc32/start.S: ... here.
12599 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12600 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12601 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12602
12603 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12604 * sysdeps/powerpc/ifunc-sel.h: ... here.
12605 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12606 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12607
12608 * sysdeps/sparc/elf/configure.in: Moved to ...
12609 * sysdeps/sparc/configure.in: ... here.
12610 * sysdeps/sparc/elf/configure: Delete file.
12611 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12612 * sysdeps/sparc/sparc32/start.S: ... here.
12613 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12614 * sysdeps/sparc/sparc64/start.S: ... here.
12615 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12616 * sysdeps/sparc/sparc32/Makefile: ... this.
12617 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12618 * sysdeps/sparc/sparc64/Makefile: ... this.
12619
12620 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12621 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12622 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12623 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12624 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12625 * sysdeps/s390/s390-32/setjmp.S: ... here.
12626 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12627 * sysdeps/s390/s390-32/configure.in: ... here.
12628 * sysdeps/s390/s390-32/elf/configure: Delete file.
12629 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12630 * sysdeps/s390/s390-32/start.S: ... here.
12631
12632 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12633 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12634 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12635 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12636 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12637 * sysdeps/s390/s390-64/setjmp.S: ... here.
12638 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12639 * sysdeps/s390/s390-64/configure.in: ... here
12640 * sysdeps/s390/s390-64/elf/configure: Delete file.
12641 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12642 * sysdeps/s390/s390-64/start.S: ... here.
12643 * sysdeps/s390/s390-64/elf/configure: Delete.
12644
12645 * configure.in: Remove support for elf directories in sysdeps.
12646
12647 * configure: Regenerated.
12648 * sysdeps/i386/configure: Regenerated.
12649 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12650 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12651 * sysdeps/s390/s390-32/configure: Regenerated.
12652 * sysdeps/s390/s390-64/configure: Regenerated.
12653 * sysdeps/sh/configure: Regenerated.
12654 * sysdeps/sparc/configure: Regenerated.
12655 * sysdeps/x86_64/configure: Regenerated.
12656
a3f61311
AS
126572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12658
c876e002
AS
12659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12660
a3f61311
AS
12661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12662 denormal result into account.
12663
ac4c54f0
RM
126642012-03-25 Roland McGrath <roland@hack.frob.com>
12665
12666 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12667 Reported by Allan McRae <allan@archlinux.org>.
12668
6a9b9c02
JL
126692012-03-23 Jeff Law <law@redhat.com>
12670
12671 * nss/getnssent.c (__nss_getent): Fix typo.
12672
4c42a0c1
DM
126732012-03-23 David S. Miller <davem@davemloft.net>
12674
12675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12676
1532c7ac
L
126772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12678
12679 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12680 to pad to uint64_t for each field.
12681 (dl_tls_index): Replace unsigned long with uint64_t.
12682
3ff42526
PP
126832012-03-23 Daniel Jacobowitz <dmj@google.com>
12684 Paul Pluzhnikov <ppluzhnikov@google.com>
12685
12686 [BZ #6528]
12687 * grp/Makefile (otherlibs): Don't set it.
12688 * inet/Makefile (otherlibs): Likewise.
12689 * login/Makefile (otherlibs): Likewise.
12690 * nscd/Makefile (otherlibs): Likewise.
12691 * posix/Makefile (otherlibs): Likewise.
12692 * pwd/Makefile (otherlibs): Likewise.
12693 * rt/Makefile (otherlibs): Likewise.
12694 * sunrpc/Makefile (otherlibs): Likewise.
12695 * nss/Makefile (otherlibs): Likewise.
12696 Add libnss_files to routines and static-only-routines.
12697 ($(objpfx)getent): Remove rule.
12698 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12699 static-only-routines.
12700
7c69cd14
JM
127012012-03-22 Joseph Myers <joseph@codesourcery.com>
12702
12703 [BZ #13892]
12704 * math/s_cexp.c: Include <float.h>.
12705 (__cexp): Handle exp result overflowing not necessarily
12706 overflowing both real and imaginary parts of result.
12707 * math/s_cexpf.c: Likewise.
12708 * math/s_cexpl.c: Likewise.
12709 * math/libm-test.inc (cexp_test): Add more tests.
12710 * sysdeps/i386/fpu/libm-test-ulps: Update.
12711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712
81b035fe
L
127132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12714
12715 * include/link.h (ELFW): New macro.
12716 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12717 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12718
1da7940c
L
127192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12720
12721 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12722 with uint64_t.
12723
b749dbb9
L
127242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12727 declaration.
12728 (struct La_x32_retval): Likewise.
12729
2ff87f3f
L
127302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12731
12732 * sysdeps/x86_64/preconfigure.in: New file.
12733 * sysdeps/x86_64/preconfigure: New generated file.
12734
c0df8e69
JM
127352012-03-22 Joseph Myers <joseph@codesourcery.com>
12736
48e44791
JM
12737 [BZ #13824]
12738 * math/e_exp2l.c: Include <float.h>.
12739 (__ieee754_exp2l): Handle overflow and underflow cases
12740 separately. Only pass fractional part of argument to
12741 __ieee754_expl.
12742 * math/libm-test.inc (exp2_test): Add more tests.
12743
c0df8e69
JM
12744 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12745 negating x to take absolute value.
12746 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12747 Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12750 Likewise.
12751 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12752 computing low part if x was negated.
12753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12754
c8e43ba7
L
127552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12756
12757 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12758 la_x32_gnu_pltexit.
12759 (pltexit): Cast int_retval to ptrdiff_t.
12760 * elf/tst-auditmod3b.c: Likewise.
12761 * elf/tst-auditmod4b.c: Likewise.
12762 * elf/tst-auditmod5b.c: Likewise.
12763 * elf/tst-auditmod6b.c: Likewise.
12764 * elf/tst-auditmod6c.c: Likewise.
12765 * elf/tst-auditmod7b.c: Likewise.
12766
12767 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12768 and x32_gnu_pltexit.
12769
12770 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12771 __ELF_NATIVE_CLASS.
12772 (La_x32_regs): New macro.
12773 (La_x32_retval): Likewise.
12774 (la_x32_gnu_pltenter): New function prototype.
12775 (la_x32_gnu_pltexit): Likewise.
12776
7998fa78
AS
127772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12778
dcb33988
AS
12779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12780 exponent.
12781
233fc563
AS
12782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12783
7998fa78
AS
12784 * configure.in (libc_cv_cc_nofma): Check for option to disable
12785 generation of FMA instructions.
12786 * configure: Regenerate.
12787 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12788 * sysdeps/ieee754/dbl-64/Makefile: New file.
12789 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12790 Remove brandred-fma4.
12791 (CFLAGS-brandred-fma4.c): Remove.
12792 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12793 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12794 define.
12795 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12796 define.
12797
8e95c99a
L
127982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12801 LLONG_MAX != LONG_MAX.
12802 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12803 (_fitoa_word): Likewise.
12804 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12805 LLONG_MAX != LONG_MAX.
12806 * stdio-common/_itowa.h: Include <_itoa.h>.
12807 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12808 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12809 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12810 only if not defined.
12811 (_ITOA_WORD_TYPE): Likewise.
12812 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12813 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12814
6f4db457
DM
128152012-03-21 David S. Miller <davem@davemloft.net>
12816
12817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12818
7785fe5a
L
128192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12820
12821 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12822 of x86_64 when setting libc_cv_slibdir, libdir and
12823 libc_cv_localedir.
12824 * sysdeps/unix/sysv/linux/configure: Regenerated.
12825
4535cd55
JM
128262012-03-21 Joseph Myers <joseph@codesourcery.com>
12827
12828 * manual/lang.texi (Old Varargs): Remove section.
12829 (How Variadic): Update menu.
12830 (va_start): Do not mention varargs.h.
12831
17228132
TS
128322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12833 Joseph Myers <joseph@codesourcery.com>
12834
12835 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12836 link test.
12837 * configure: Regenerated.
12838
8149f976
TS
128392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12840
05f3d1f6
UD
12841 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12842 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12843 conformtest.pl
8149f976 12844
1a4ac776
JM
128452012-03-21 Joseph Myers <joseph@codesourcery.com>
12846
be22ce65
JM
12847 * NOTES: Remove.
12848 * Makefile (files-for-dist): Remove NOTES.
12849 (NOTES): Remove rule.
12850 * README: Don't refer to NOTES.
12851 * manual/creature.texi: Don't include macros.texi.
12852 * manual/intro.texi (creature.texi): Remove comment referring to
12853 NOTES.
12854
40b601fb
JM
12855 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12856 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12857 * configure: Regenerated.
12858 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12859 LIBC_TRY_CC_OPTION.
12860 (libc_cv_as_i686): Likewise.
12861 (libc_cv_cc_avx): Likewise.
12862 (libc_cv_cc_sse2avx): Likewise.
12863 (libc_cv_cc_fma4): Likewise.
12864 (libc_cv_cc_novzeroupper): Likewise.
12865 * sysdeps/i386/configure: Regenerated.
12866
1a4ac776
JM
12867 [BZ #13883]
12868 * sysdeps/i386/fpu/s_cexp.S: Remove.
12869 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12870 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12871 * math/libm-test.inc (cexp_test): Add more tests.
12872 * sysdeps/i386/fpu/libm-test-ulps: Update.
12873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12874
a458e7fe
AM
128752012-03-21 Allan McRae <allan@archlinux.org>
12876
12877 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12878
0cb7efc5
JM
128792012-03-21 Joseph Myers <joseph@codesourcery.com>
12880
12881 [BZ #13871]
12882 * math/w_exp2.c: Do not include <float.h>.
12883 (o_threshold, u_threshold): Remove.
12884 (__exp2): Calculate result before checking finiteness and calling
12885 __kernel_standard.
12886 * math/w_exp2f.c: Likewise.
12887 * math/w_exp2l.c: Likewise.
12888 * math/libm-test.inc (exp2_test): Require overflow exception for
12889 1e6 input.
2460d3aa
JM
12890
12891 [BZ #3866]
12892 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12893 range of signed 64-bit integers before using fistpll. Remove
12894 checks for whether integers fit in mantissa bits.
12895 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12896 the range of signed 32-bit integers before using fistpl. Remove
12897 checks for whether integers fit in mantissa bits.
12898 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12899 (__ieee754_powl): Test for y outside the range of signed 64-bit
12900 integers before using fistpll. Reduce 64-bit values to 63-bit
12901 ones as needed.
12902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12903 divide-by-zero is raised for zero to large negative powers.
12904 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12905 (__ieee754_powl): Test for y outside the range of signed 64-bit
12906 integers before using fistpll. Reduce 64-bit values to 63-bit
12907 ones as needed.
12908 * math/libm-test.inc (pow_test): Add more tests.
12909
eb96ffb0
L
129102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12911
12912 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12913 <stdio-common/_itoa.h>.
12914 * debug/segfault.c: Likewise.
12915 * elf/dl-cache.c: Likewise.
12916 * elf/dl-minimal.c: Likewise.
12917 * elf/dl-misc.c: Likewise.
12918 * elf/dl-sysdep.c: Likewise.
12919 * elf/dl-version.c: Likewise.
12920 * elf/rtld.c: Likewise.
12921 * hurd/hurdsock.c: Likewise.
12922 * hurd/lookup-retry.c: Likewise.
12923 * malloc/malloc.c: Likewise.
12924 * malloc/mtrace.c: Likewise.
12925 * nscd/nscd_getgr_r.c: Likewise.
12926 * nscd/nscd_getpw_r.c: Likewise.
12927 * nscd/nscd_getserv_r.c: Likewise.
12928 * posix/getopt_init.c: Likewise.
12929 * posix/wordexp.c: Likewise.
12930 * stdio-common/_itoa.c: Likewise.
12931 * stdio-common/printf_fphex.c: Likewise.
12932 * stdio-common/vfprintf.c: Likewise.
12933 * string/_strerror.c: Likewise.
12934 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12935 * sysdeps/i386/i686/hp-timing.h: Likewise.
12936 * sysdeps/mach/_strerror.c: Likewise.
12937 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12938 * sysdeps/mach/hurd/sethostid.c: Likewise.
12939 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12940 * sysdeps/mach/xpg-strerror.c: Likewise.
12941 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12943 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12944 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12945 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12946 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12947 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12948 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12949 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12950 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12951 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12952 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12953 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12954 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12955 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12956 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12957 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12958 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12959 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12960 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12961 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12962
12963 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12964
12965 * stdio-common/_itoa.h: Moved to ...
12966 * sysdeps/generic/_itoa.h: Here.
12967
12968 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12969
12970 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12971 instead of "_itoa.h" and "_itowa.h".
12972 * stdio-common/vfprintf.: Likewise.
12973
d1af992d
L
129742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12977 <bits/wordsize.h>.
12978 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12979 (__signbit): Likwise.
12980 (llrintf): Likwise.
12981 (llrint): Likwise.
12982
114883e0
L
129832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12986 __WORDSIZE != 64.
12987
c135cc1b
JM
129882012-03-20 Joseph Myers <joseph@codesourcery.com>
12989
12990 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12991 OVERFLOW_EXCEPTION_OK.
12992 * math/libm-test.inc ("Philosophy"): Update comment about
12993 exception testing.
12994 (OVERFLOW_EXCEPTION): Define.
12995 (OVERFLOW_EXCEPTION_OK): Likewise.
12996 (INVALID_EXCEPTION_OK): Renumber.
12997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12998 (IGNORE_ZERO_INF_SIGN): Likewise.
12999 (test_exceptions): Handle FE_OVERFLOW.
13000 (exp10_test): Expect overflow exceptions.
13001 (exp2_test): Likewise.
13002 (expm1_test): Likewise.
13003 (nextafter_test): Likewise.
13004 (pow_test): Likewise.
13005 (scalbn_test): Likewise.
13006 (scalbln_test): Likewise.
13007
95443d88
L
130082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 * sysdeps/x86_64/bits/atomic.h
13011 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13012 64bit integer.
13013 (atomic_exchange_acq): Likewise.
13014 (__arch_exchange_and_add_body): Likewise.
13015 (__arch_add_body): Likewise.
13016 (atomic_add_negative): Likewise.
13017 (atomic_add_zero): Likewise.
13018
490df6c4
L
130192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13020
c2722551 13021 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13022 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13023
5e52b189
L
130242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13025
13026 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13027 Check __x86_64__ instead of __WORDSIZE.
13028
a9879d4c
L
130292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13032
5df98260
DM
130332012-03-19 David S. Miller <davem@davemloft.net>
13034
e1497744
DM
13035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13036
5df98260
DM
13037 * sysdeps/sparc/fpu/fenv_private.h: New file.
13038 * sysdeps/sparc/fpu/math_private.h: Use it.
13039 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13040 Remove.
13041 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13042 (libc_feholdexcept_setroundl): Remove.
13043 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13044 Remove.
13045 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13046 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13047
b4c35121
L
130482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13051 int64_t instead of long int.
13052 (INSERT_WORDS64): Likwise.
13053
56965fd7
L
130542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13055
13056 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13057 _Unwind_GetCFA return to _Unwind_Ptr first.
13058
83d1aec8
JM
130592012-03-19 Joseph Myers <joseph@codesourcery.com>
13060
1897ad44
JM
13061 [BZ #13629]
13062 * math/s_clog.c: Include <float.h>.
13063 (__clog): Scale large or subnormal inputs.
13064 * math/s_clogf.c: Likewise.
13065 * math/s_clogl.c: Likewise.
13066 * math/s_clog10.c: Include <float.h>.
13067 (M_LOG10_2): Define.
13068 (__clog10): Scale large or subnormal inputs.
13069 * math/s_clog10f.c: Likewise.
13070 * math/s_clog10l.c: Likewise.
13071 * math/libm-test.inc (clog_test): Add more tests.
13072 (clog10_test): Likewise.
13073 * sysdeps/i386/fpu/libm-test-ulps: Update.
13074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13075
7726d6a9
JM
13076 [BZ #11451]
13077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13078 x and y.
13079 * math/libm-test.inc (atan2_test): Add another test.
13080
83d1aec8
JM
13081 * Makerules (common-objdir-compile): Remove.
13082 * sysdeps/unix/Makefile (config-generated): Do not add
13083 $(unix-generated) to variable.
13084 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13085 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13086 Remove rule.
13087 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13088 Likewise.
13089 [generic bits/local_lim.h] (before-compile): Do not append to
13090 variable.
13091 [generic bits/local_lim.h] (common-generated): Likewise.
13092 [generic sys/param.h] (before-compile): Do not append to variable.
13093 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13094 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13095 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13096 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13097 include.
13098 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13099 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13100 [generic sys/param.h] ($(addprefix
13101 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13102 [generic sys/param.h] (common-generated): Do not append to
13103 variable.
13104 [generic sys/param.h] (sysdep_headers): Likewise.
13105 [generic bits/errno.h] (before-compile): Do not append to
13106 variable.
13107 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13108 rule.
13109 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13110 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13111 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13112 [generic bits/errno.h] (common-generated): Do not append to
13113 variable.
13114 [generic bits/ioctls.h] (before-compile): Do not append to
13115 variable.
13116 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13117 rule.
13118 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13119 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13120 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13121 rule.
13122 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13123 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13124 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13125 [generic bits/ioctls.h] (common-generated): Do not append to
13126 variable.
13127 [generic sys/syscall.h] (syscall.h): Remove variable.
13128 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13129 rule.
13130 [generic sys/syscall.h] (before-compile): Do not append to
13131 variable.
13132 [generic sys/syscall.h] (common-generated): Likewise.
13133 * sysdeps/unix/errnos-tmpl.c: Remove file.
13134 * sysdeps/unix/errnos.awk: Likewise.
13135 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13136 * sysdeps/unix/ioctls.awk: Likewise.
13137 * sysdeps/unix/mk-local_lim.c: Likewise.
13138 * sysdeps/unix/snarf-ioctls: Likewise.
13139
4851a949
RH
131402012-03-19 Richard Henderson <rth@twiddle.net>
13141
bd37f2ee
RH
13142 * sysdeps/i386/fpu/fenv_private.h: New file.
13143 * sysdeps/i386/fpu/math_private.h: Use it.
13144 (math_opt_barrier, math_force_eval): Remove.
13145 (libc_feholdexcept_setround_53bit): Remove.
13146 (libc_feupdateenv_53bit): Remove.
13147 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13148 (math_opt_barrier, math_force_eval): Remove.
13149 (libc_feholdexcept): Remove.
13150 (libc_feholdexcept_setround): Remove.
13151 (libc_fetestexcept, libc_fesetenv): Remove.
13152 (libc_feupdateenv_test): Remove.
13153 (libc_feupdateenv, libc_feholdsetround): Remove.
13154 (libc_feresetround): Remove.
13155
d0adc922
RH
13156 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13157 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13158
0fe0f1f8
RH
13159 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13160 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13161 (libc_feupdateenv_testl): New.
13162 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13163 (libc_feupdateenv_testf): New.
13164 (libc_feupdateenv): Use libc_feupdateenv_test.
13165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13166 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13167
eb92c487
RH
13168 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13169 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13170 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13171 (libc_feresetround_noex): New.
13172 (libc_feresetround_noexf): New.
13173 (libc_feresetround_noexl): New.
13174 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13175 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13176 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13177 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13178 SET_RESTORE_ROUND.
13179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13181 (__cos): Likewise.
13182 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13183 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13184 SET_RESTORE_ROUND_NOEX.
13185 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13186 SET_RESTORE_ROUND_NOEXF.
13187 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13188 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13189 (libc_feholdsetroundf): New.
13190 (libc_feresetround, libc_feresetroundf): New.
13191
7d2e8012
RH
13192 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13193 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13194 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13195
b4dabbb4
RH
13196 * sysdeps/generic/math_private.h: Include <fenv.h>.
13197 (default_libc_feholdexcept): New.
13198 (default_libc_feholdexcept_setround): New.
13199 (default_libc_fesetenv, default_libc_feupdateenv): New.
13200 (libc_feholdexcept): Only define if undefined.
13201 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13202 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13203 (libc_feholdexcept_setroundl): Likewise.
13204 (libc_feholdexcept_setround_53bit): Likewise.
13205 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13206 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13207 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13208 (libc_feupdateenv_53bit): Likewise.
13209 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13210 (libc_feholdexcept): Convert from macro to inline function.
13211 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13212 (libc_fesetenv, libc_feupdateenv): Likewise.
13213
4851a949
RH
13214 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13215 not previously defined.
13216 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13217 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13218 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13219 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13220 * sysdeps/ieee754/flt-32/math_private.h: New file.
13221 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13222 math_private.h below SET_FLOAT_WORD.
13223 (__isnan, __isinf_ns, __finite): Remove.
13224 (__isnanf, __isinf_nsf, __finitef): Remove.
13225
e79d442e
AS
132262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13227
13228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13229
90b80344
DM
132302012-03-17 David S. Miller <davem@davemloft.net>
13231
13232 [BZ #6471]
13233 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13234 for 2.16.
13235
edc21804
DM
132362012-03-16 David S. Miller <davem@davemloft.net>
13237
77e927af
DM
13238 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13239 warnings.
13240
374976dd
DM
13241 [BZ #6471]
13242 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13243 properly.
13244 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13245 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13246 sysdep_routines when subdir is sysvipc.
13247 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13248 __getshmlba helper.
13249
edc21804
DM
13250 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13251
473c3ef3
L
132522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13253
13254 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13255 [__LP64__].
13256
eb0f39b6
L
132572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13258
13259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13260 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13261 (__lround): Renamed to ...
13262 (__llround): This. Replace long int with long long int.
13263 Define lround functions as aliases of llround functions.
13264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13265
6b6cd74b
L
132662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13269 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13270 adresses to uintptr_t. Replace "long int" and "unsigned long
13271 int" with "greg_t" on va_arg.
13272
f1a77b01
L
132732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13274
13275 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13276 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13277
13278 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13279 Move e_machine check before EI_CLASS check. Handle x32
13280 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13281 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13282 SKIP_EM_IA_64 and include
13283 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13284
13285 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13286 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13287 (add_system_dir): New macro.
13288
13289 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13290 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13291
11b90b9f
JM
132922012-03-16 Joseph Myers <joseph@codesourcery.com>
13293
c36e1d23
JM
13294 [BZ #2551]
13295 [BZ #2552]
13296 [BZ #2553]
13297 [BZ #2554]
13298 [BZ #2562]
13299 [BZ #2563]
13300 [BZ #2565]
13301 [BZ #2566]
13302 [BZ #2576]
13303 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13304 (y0): Likewise.
13305 * math/w_j0f.c (j0f): Likewise.
13306 (y0f): Likewise.
13307 * math/w_j0l.c (__j0l): Likewise.
13308 (__y0l): Likewise.
13309 * math/w_j1.c (j1): Likewise.
13310 (y1): Likewise.
13311 * math/w_j1f.c (j1f): Likewise.
13312 (y1f): Likewise.
13313 * math/w_j1l.c (__j1l): Likewise.
13314 (__y1l): Likewise.
13315 * math/w_jn.c (jn): Likewise.
13316 (yn): Likewise.
13317 * math/w_jnf.c (jnf): Likewise.
13318 (ynf): Likewise.
13319 * math/w_jnl.c (__jnl): Likewise.
13320 (__ynl): Likewise.
13321 * math/libm-test.inc (j0_test): Add more tests.
13322 (j1_test): Likewise.
13323 (jn_test): Likewise. Add trailing semicolon to existing test.
13324 (y0_test): Likewise.
13325 (y1_test): Likewise.
13326 * sysdeps/i386/fpu/libm-test-ulps: Update.
13327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13328
11b90b9f
JM
13329 [BZ #13851]
13330 [BZ #13854]
13331 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13332 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13333 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13334 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13335 (__tanl): Set errno for infinite argument.
13336 * sysdeps/i386/fpu/mptan.c: Remove.
13337 * sysdeps/i386/fpu/s_tan.S: Likewise.
13338 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13339 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13340 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13341 * math/libm-test.inc (tan_test): Add more tests and enable more
13342 tests for double and long double.
13343 * sysdeps/i386/fpu/libm-test-ulps: Update.
13344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13345
6a1bd2a1
JK
133462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13347
13348 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13349 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13350
10a803e0
RM
133512012-03-16 Roland McGrath <roland@hack.frob.com>
13352
13353 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13354 * configure.in: Use it for both main tree and add-ons.
13355 * configure: Regenerated.
13356
f196c7f7
L
133572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13358
13359 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13360
8848d99d
JM
133612012-03-16 Joseph Myers <joseph@codesourcery.com>
13362
96cbe7f4
JM
13363 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13364 in comment.
13365
8848d99d
JM
13366 [BZ #13851]
13367 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13368 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13372 infinite argument.
13373 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13375 != 0 for prec == 2.
13376 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13377 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13378 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13379 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13380 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13381 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13382 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13383 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13384 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13385 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13386 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13387 * math/libm-test.inc (cos_test): Add more tests and enable more
13388 tests for long double.
13389 (sin_test): Likewise.
13390 (sincos_test): Likewise.
13391 * sysdeps/i386/fpu/libm-test-ulps: Update.
13392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13393
dd7f4703
DM
133942012-03-16 David S. Miller <davem@davemloft.net>
13395
13396 * sysdeps/sparc/fpu/math_private.h: New file.
13397
006f1daa
DM
133982012-03-15 David S. Miller <davem@davemloft.net>
13399
c0c83bc8
DM
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13401 file.
e6a62e18 13402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13404 file.
e6a62e18
DM
13405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13411 sysdep routines.
13412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13413
88cb87d9
DM
13414 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13415 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13416
006f1daa 13417 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13419 sparc-ifunc.h
006f1daa 13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13422 Likewise.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13424 Likewise.
006f1daa
DM
13425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13429 Likewise.
006f1daa
DM
13430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13435 Likewise.
13436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13437 Likewise.
006f1daa
DM
13438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13462
11e0098e
AS
134632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13466 scaling.
13467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13468
e85b09d0
AJ
134692012-03-15 Andreas Jaeger <aj@suse.de>
13470
13471 [BZ #13852]
13472 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13473 ieee754/flt-32 implementation for sin, cos and sincos.
13474 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13475 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13476 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13477 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13478 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13479 ieee754/flt-32 implementation for tan.
13480
13481 * math/libm-test.inc (cos_test): Enable some large input tests for
13482 float as well
13483 (sin_test): Likewise.
13484 (sincos_test): Likewise.
13485 (tan_test): Add tests for large input.
13486
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488
81c64153
AJ
134892012-03-15 Andreas Jaeger <aj@suse.de>
13490
13491 [BZ #13658]
13492 * math/libm-test.inc (cos_test): Add more test cases.
13493 (sin_test): Likewise.
13494 (sincos_test): Likewise.
13495
7bbfa5c6
AJ
134962012-03-15 Andreas Jaeger <aj@suse.de>
13497
13498 [BZ #13837]
13499 * math/libm-test.inc (cos_test): Add a test case for large input
13500 value.
13501 (sin_test): Likewise.
13502 (sincos_test): Likewise.
13503
135042012-03-15 Andreas Jaeger <aj@suse.de>,
13505 Joseph Myers <joseph@codesourcery.com>
13506
13507 [BZ #13658]
0671f479 13508 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13509 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13510 * sysdeps/i386/fpu/branred.c: Likewise.
13511 * sysdeps/i386/fpu/dosincos.c: Likewise.
13512 * sysdeps/i386/fpu/mpa.c: Likewise.
13513 * sysdeps/i386/fpu/s_cos.S: Likewise.
13514 * sysdeps/i386/fpu/s_sin.S: Likewise.
13515 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13516 * sysdeps/i386/fpu/sincos32.c: Likewise.
13517
13518 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13519 Define.
13520 (libc_feupdateenv_53bit): Define.
13521 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13522 Define.
13523 (libc_feupdateenv_53bit): Define.
13524
13525 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13526 53 bit (without extend i386 double precision).
13527
13528 * math/libm-test.inc (sincos_test): Add tests for large input.
13529 (sin): Likewise.
13530 (cos): Likewise.
13531
13532 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13533
9cad04ea
AS
135342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13535
13536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13537
f7062b9a
DM
135382012-03-15 David S. Miller <davem@davemloft.net>
13539
13540 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13541 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13542 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13543 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13556 file.
f7062b9a 13557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13559 file.
f7062b9a 13560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13562 file.
f7062b9a 13563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13565 file.
f7062b9a
DM
13566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13568 fmin/fmax sysdep routines.
13569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13570
7bd951ff
DM
135712012-03-14 David S. Miller <davem@davemloft.net>
13572
559398ab
DM
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13594 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13597 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13601 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13602 routines.
13603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13604 file.
559398ab 13605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13607 file.
559398ab 13608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13610 file.
559398ab 13611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13613 file.
559398ab 13614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13616 file.
559398ab 13617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13619 file.
13620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13621 file.
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13623 file.
13624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13625 file.
13626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13627 New file.
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13629 file.
13630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13631 file.
559398ab 13632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13634 file.
559398ab 13635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13637 file.
559398ab 13638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13640 file.
559398ab 13641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13643 VIS3 routines.
559398ab
DM
13644
13645 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13646 New file.
13647
5a1c1e32
DM
13648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13649
eae47a36
DM
13650 * sysdeps/sparc/configure.in: New file.
13651 * sysdeps/sparc/configure: Generate.
13652 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13653 * configure: Regenerate.
13654 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13655 * config.make.in (have-as-vis3): New.
13656 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13657 available use -Av9d instead of -Av9a.
13658 * sysdeps/sparc/sparc64/Makefile: Likewise.
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13661 New file.
13662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13663 file.
13664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13665 New file.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13667 file.
eae47a36
DM
13668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13669 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13670 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13673
c0c83bc8
DM
13674 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13675 fzeros/fnegs to load 0x80000000 into a float register instead of
13676 using the stack.
7bd951ff
DM
13677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13678
bd951ccb
JM
136792012-03-14 Joseph Myers <joseph@codesourcery.com>
13680
13681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13682 bits/syscall.h.
13683 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13684 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13685 ($(inst_includedir)/bits/syscall.h): Remove rule.
13686 ($(objpfx)bits/syscall.d): Include instead of
13687 $(objpfx)syscall-list.d.
13688 (generated): Change syscall-list.h and syscall-list.d to
13689 bits/syscall.h and bits/syscall.d.
13690
bb4e6db2
RM
136912012-03-14 Roland McGrath <roland@hack.frob.com>
13692
13693 [BZ #13846]
13694 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13695
aa4a2ae1
JM
136962012-03-14 Joseph Myers <joseph@codesourcery.com>
13697
e456826d
JM
13698 [BZ #13841]
13699 * math/s_csqrt.c: Include <float.h>.
13700 (__csqrt): Scale large or subnormal inputs.
13701 * math/s_csqrtf.c: Likewise.
13702 * math/s_csqrtl.c: Likewise.
13703 * math/libm-test.inc (csqrt_test): Add more tests.
13704 * sysdeps/i386/fpu/libm-test-ulps: Update.
13705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13706
aa4a2ae1
JM
13707 [BZ #13840]
13708 * math/libm-test.inc (hypot_test): Add more tests.
13709
7c10fd35
DM
137102012-03-13 David S. Miller <davem@davemloft.net>
13711
13712 [BZ #13840]
13713 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13714 double-precision for the calculation instead of scaling.
13715
f453b98b
JM
137162012-03-13 Joseph Myers <joseph@codesourcery.com>
13717
13718 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13719 manipulate bits before adding and subtracting TWO52[sx].
13720 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13721 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13722 Likewise.
13723 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13724
09a3453f
DM
137252012-03-13 David S. Miller <davem@davemloft.net>
13726
8e59da90
DM
13727 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13728 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13730 rtld-global-offsets.h
13731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13732
2a8ab7f2
DM
13733 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13734 large parameters.
13735
10f62770
DM
13736 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13737
5f0bdb18
DM
13738 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13739 'err' in the ifdef scope in which it is actually used.
13740
09a3453f
DM
13741 * nss/nss_db/db-init.c: Include string.h
13742
b4b2eb5e
DM
137432012-03-12 David S. Miller <davem@davemloft.net>
13744
98bb2f1c
DM
13745 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13746 masking out of the most significant byte of random value used.
13747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13748 Fix coding style in previous change.
13749
b4b2eb5e
DM
13750 * sysdeps/unix/sysv/linux/kernel-features.h
13751 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13752 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13753 expression.
13754 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13755 later.
13756
6e226b09
DM
137572012-03-11 David S. Miller <davem@davemloft.net>
13758
a1bcbd40
DM
13759 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13760 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13762 for 'resultvar' otherwise things get truncated on 64-bit.
13763
cb9d6174
DM
13764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13765 Fix masking out of the most significant byte of random value used.
13766
6e226b09
DM
13767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13768
058c132d
AS
137692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13772
2d2cd515
DM
137732012-03-09 David S. Miller <davem@davemloft.net>
13774
13775 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13776 variables with appropriate CPP guards.
13777 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13778 frame pointer, not the stack pointer. Correct layout comments. Fix test
13779 on resulting framesize and the management of the outregs buffer for pltexit.
13780 Preserve floating point return values across _dl_call_pltexit call.
13781 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13782 framesize and the management of the outregs buffer for pltexit.
13783 Preserve floating point return values across _dl_call_pltexit
13784 call.
13785 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13786 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13787 (print_exit): Fix format string for return register value.
13788
9a07f9d0
JM
137892012-03-10 Joseph Myers <joseph@codesourcery.com>
13790
13791 * sunrpc/Makefile (others): Add rpcgen.
13792 ($(objpfx)rpcgen): Remove special build rule and dependency on
13793 libc.
13794 * sunrpc/rpcgen.c: New file.
13795
547b5e30
PE
137962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13797
c524201a
PE
13798 [BZ #13673]
13799 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13800 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13801 * sysdeps/i386/crti.S: Likewise.
13802 * sysdeps/i386/crtn.S: Likewise.
13803 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13804 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13805 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13806 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13807 * sysdeps/sh/crti.S: Likewise.
13808 * sysdeps/sh/crtn.S: Likewise.
13809 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13810
7b6235f2
PE
13811 [BZ #13673]
13812 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13813 with URL.
13814 * locale/programs/locfile-kw.gperf: Likewise.
13815 * locale/programs/charmap-kw.h: Regenerated.
13816 * locale/programs/locfile-kw.h: Likewise.
13817
547b5e30
PE
13818 [BZ #13673]
13819 * intl/plural.y: Replace FSF snail mail address with URL.
13820 * intl/plural.c: Regenerated.
13821
5f0a5dae
RH
138222012-03-09 Richard Henderson <rth@twiddle.net>
13823
13824 * include/math_private.h: Remove file.
13825 * math/math_private.h: Move file ...
13826 * sysdeps/generic/math_private.h: ... here.
13827
b8c03620
RH
13828 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13829 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13830 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13831
4e234f5d 13832 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13833 and <math_private.h>.
13834 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13835 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13836 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13837 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13838 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13894 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13895 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13922 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13923 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13924 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13925 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13927 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13928 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13929 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13930 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13931 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13932 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13934 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13935 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13936 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13937 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13938 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13939 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13940 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13942 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13944 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13945 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13946 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13947 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13948 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13950 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13951 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13952 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13953 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13954 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13955 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13956 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13957 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13958 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13959 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13961 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13962 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13963 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13964 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13965 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13966 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13967 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13968 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13969 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13970 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13971 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13972 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13974 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13975 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13976 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13977 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13978 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13979 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13980 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13981 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13982 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13983 * sysdeps/ieee754/k_standard.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13988 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14098 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14099 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14103 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14111 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14113 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14114 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14115 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14116 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14117 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14120 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14121 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14122 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14124 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14132 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14133 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14138 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14140 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14144 * sysdeps/ieee754/s_lib_version.c: Likewise.
14145 * sysdeps/ieee754/s_matherr.c: Likewise.
14146 * sysdeps/ieee754/s_signgam.c: Likewise.
14147 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14149 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14150 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14151 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14152 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14153 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14154 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14155 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14156 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14157 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14158 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14159 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14160 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14161 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14162 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14163 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14164 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14165 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14168
1991fa03
JM
141692012-03-09 Joseph Myers <joseph@codesourcery.com>
14170
14171 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14172 * sunrpc/rpc_main.c: Likewise.
14173 * sunrpc/rpc_svcout.c: Likewise.
14174
60d6f5a6
DM
141752012-03-09 David S. Miller <davem@davemloft.net>
14176
14177 * include/math_private.h: New file.
14178
4962050e
JM
141792012-03-09 Joseph Myers <joseph@codesourcery.com>
14180
02a6f887
JM
14181 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14182 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14183 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14184 from <bits/socket_type.h>.
14185 (enum __socket_type): Don't define here.
14186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14188 bits/socket_type.h.
14189
c6e013c1
JM
14190 [BZ #13566]
14191 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14192 checking __USE_GNU.
14193
4962050e
JM
14194 * Makerules ($(inst_includedir)/%.h): New rule.
14195 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14196 (install-others): Remove variable setting.
14197 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14198
38842f45
RH
141992012-03-08 Richard Henderson <rth@twiddle.net>
14200
67bb6da6
RH
14201 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14202 from macro to inline function; merge with the
14203 !__LIBC_INTERNAL_MATH_INLINES version.
14204 (__ieee754_sqrtf): Likewise.
14205
15194b4b
RH
14206 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14207 to inline function.
14208 (__rintf, __floor, __floorf): Likewise.
14209
64e21ede
RH
14210 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14211 macro to inline function.
14212 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14213
38842f45
RH
14214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14215 not <math/math_private.h>.
14216
c64bf5fe
DM
142172012-03-08 David S. Miller <davem@davemloft.net>
14218
14219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14220 copyright year.
14221 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14222
82d86f28
TS
142232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14224
14225 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14226 normalization.
14227 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14228 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14229
aea5d727
UD
142302012-03-08 Ulrich Drepper <drepper@gmail.com>
14231
14232 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14233 be defined individually, they must be defined as a block. Define
14234 S for printing a string instead of hidint the different by using a
14235 macro for adding the 'l'.
14236 * stdio-common/tst-fphex-wide.c: Adjust.
14237
70bca0a3
MP
142382012-03-07 Marek Polacek <polacek@redhat.com>
14239
14240 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14241
65b81130
MP
142422012-03-08 Marek Polacek <polacek@redhat.com>
14243
14244 [BZ #13806]
14245 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14246 * stdio-common/tst-fphex.c: Define a few macros to make the
14247 test reusable. Use them.
14248 * stdio-common/tst-fphex-wide.c: New file.
14249
07037eeb
JM
142502012-03-08 Joseph Myers <joseph@codesourcery.com>
14251
a7a93d50
JM
14252 [BZ #6911]
14253 * manual/macros.texi (gnusystems): New macro.
14254 (nongnusystems): Likewise.
14255 (gnulinuxhurdsystems): Likewise.
14256 (gnuhurdsystems): Likewise..
14257 (gnulinuxsystems): Likewise.
14258 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14259 variants of the GNU system, not "GNU system".
14260 * manual/conf.texi: Likewise.
14261 * manual/errno.texi: Likewise. Update example of errno macro
14262 expansion.
14263 * manual/filesys.texi: Likewise.
14264 (getumask): Document as specific to GNU/Hurd.
14265 * manual/install.texi: Likewise. Reword some references to
14266 GNU/Linux.
14267 * manual/intro.texi: Likewise.
14268 * manual/io.texi: Likewise.
14269 (File Name Portability): Detail which constraints are inapplicable
14270 to all GNU systems and which are only inapplicable to GNU/Hurd.
14271 * manual/job.texi: Likewise.
14272 * manual/llio.texi: Likewise.
14273 (O_NOCTTY): Document as present on GNU/Linux.
14274 * manual/maint.texi: Likewise.
14275 * manual/memory.texi: Likewise.
14276 * manual/pattern.texi: Likewise.
14277 * manual/pipe.texi: Likewise.
14278 * manual/process.texi: Likewise.
14279 * manual/resource.texi: Likewise.
14280 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14281 child on GNU/Hurd.
14282 * manual/setjmp.texi: Likewise.
14283 * manual/signal.texi: Likewise.
14284 * manual/startup.texi: Likewise.
14285 * manual/stdio.texi: Likewise.
14286 * manual/terminal.texi: Likewise.
14287 (ONLCR): Document as POSIX.
14288 (OXTABS): Document availability on GNU/Linux as XTABS.
14289 (ONOEOT): Document availability separately from other bits.
14290 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14291 * manual/time.texi: Likewise.
14292 * manual/users.texi: Likewise.
14293 * INSTALL: Regenerated.
14294 * sysdeps/gnu/errlist.c: Regenerated.
14295
07037eeb
JM
14296 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14297 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14298 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14299 puts.
14300 * configure: Regenerated.
14301
d1d3431a
JM
143022012-03-07 Joseph Myers <joseph@codesourcery.com>
14303
af6a1e37
JM
14304 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14305 default includes instead of AC_HEADER_CHECK.
14306 * sysdeps/i386/configure: Regenerated.
14307
d1d3431a
JM
14308 [BZ #10716]
14309 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14310 * math/s_cacoshf.c (__cacoshf): Likewise.
14311 * math/s_cacoshl.c (__cacoshl): Likewise.
14312 * math/s_casinh.c (__casinh): Set signs of result from argument.
14313 * math/s_casinhf.c (__casinhf): Likewise.
14314 * math/s_casinhl.c (__casinhl): Likewise.
14315 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14316 (casinh_test): Add more tests.
14317 * sysdeps/i386/fpu/libm-test-ulps: Update.
14318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14319
482ff4da
UD
143202012-03-07 Ulrich Drepper <drepper@gmail.com>
14321
872fda05
UD
14322 * po/zh_TW.po: Update from translation team.
14323
a4300c7a
UD
14324 * login/Makefile (distribute): Remove variable.
14325 * catgets/Makefile: Likewise.
14326 * mach/Makefile: Likewise.
14327 * malloc/Makefile: Likewise.
14328 * misc/Makefile: Likewise.
14329 * iconv/Makefile: Likewise.
14330 * nscd/Makefile: Likewise.
14331 * hurd/Makefile: Likewise.
14332 * manual/Makefile: Likewise.
14333 * locale/Makefile: Likewise.
14334 * intl/Makefile: Likewise.
14335 * conform/Makefile: Likewise.
14336 * nss/Makefile: Likewise.
14337 * time/Makefile: Likewise.
14338 * soft-fp/Makefile: Likewise.
14339 * dirent/Makefile: Likewise.
14340 * gmon/Makefile: Likewise.
14341 * po/Makefile: Likewise.
14342 * rt/Makefile: Likewise.
14343 * socket/Makefile: Likewise.
14344 * math/Makefile: Likewise.
14345 * signal/Makefile: Likewise.
14346 * debug/Makefile: Likewise.
14347 * elf/Makefile: Likewise.
14348 * timezone/Makefile: Likewise.
14349 * stdlib/Makefile: Likewise.
14350 * iconvdata/Makefile: Likewise.
14351 * sunrpc/Makefile: Likewise.
14352 * io/Makefile: Likewise.
14353 * argp/Makefile: Likewise.
14354 * inet/Makefile: Likewise.
14355 * hesiod/Makefile: Likewise.
14356 * grp/Makefile: Likewise.
14357 * csu/Makefile: Likewise.
14358 * wctype/Makefile: Likewise.
14359 * crypt/Makefile: Likewise.
14360 * libio/Makefile: Likewise.
14361 * string/Makefile: Likewise.
14362 * nis/Makefile: Likewise.
14363 * resolv/Makefile: Likewise.
14364 * stdio-common/Makefile: Likewise.
14365 * wcsmbs/Makefile: Likewise.
14366 * dlfcn/Makefile: Likewise.
14367 * posix/Makefile: Likewise.
14368
3b7c4e74 14369 [BZ #6959]
482ff4da
UD
14370 * timezone/Makefile: Don't install timezone files, just the programs
14371 and scripts.
14372
f72ed77d
UD
143732012-03-06 Ulrich Drepper <drepper@gmail.com>
14374
a000466f
UD
14375 * nss/databases.def: Add missing gshadow entry.
14376
f72ed77d
UD
14377 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14378
a53b7a4e
MP
143792012-03-06 Marek Polacek <polacek@redhat.com>
14380
14381 [BZ #13726]
14382 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14383 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14384 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14385 * stdio-common/tst-long-dbl-fphex.c: New file.
14386
e9258400
DM
143872012-03-06 David S. Miller <davem@davemloft.net>
14388
14389 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14390 (set_obp_int): New function.
14391 (get_obp_int): New function.
14392 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14394 Avoid unused variable warnings on 'val' and use builtin_expect.
14395 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14396 __builtin_expect.
e9258400
DM
14397 (INLINE_CLONE_SYSCALL): Likewise.
14398
3bd2c723
DM
143992012-03-05 David S. Miller <davem@davemloft.net>
14400
14401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14402
bbb78d03
AS
144032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14404
884c5db4
AS
14405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14406
bbb78d03
AS
14407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14408 only for |x| >= 40.
14409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14410
1c9f702a 144112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14412
14413 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14414 Replace gettimeofday with __vdso_gettimeofday.
14415
7be16f82
RM
14416 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14417 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14418 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14419
14420 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14421 time with __vdso_time.
14422
ed58a00f
JM
144232012-03-05 Joseph Myers <joseph@codesourcery.com>
14424
14425 * manual/lang.texi (size_t): Note types to which size_t may be
14426 equivalent with the GNU C Library, but do not describe when
14427 differences between them are significant.
14428
30ee4ced
AJ
144292012-03-05 Andreas Jaeger <aj@suse.de>
14430
14431 * sysdeps/i386/fpu/libm-test-ulps: Update.
14432
b7cd39e8
JM
144332012-03-05 Joseph Myers <joseph@codesourcery.com>
14434
14435 [BZ #3976]
14436 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14437 (__ieee754_pow): Save and restore rounding mode and use
14438 round-to-nearest for main computations.
14439 * math/libm-test.inc (pow_test_tonearest): New function.
14440 (pow_test_towardzero): Likewise.
14441 (pow_test_downward): Likewise.
14442 (pow_test_upward): Likewise.
14443 (main): Call the new functions.
14444 * sysdeps/i386/fpu/libm-test-ulps: Update.
14445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14446
14447 [BZ #3976]
14448 * math/libm-test.inc (cosh_test_tonearest): New function.
14449 (cosh_test_towardzero): Likewise.
14450 (cosh_test_downward): Likewise.
14451 (cosh_test_upward): Likewise.
14452 (sinh_test_tonearest): Likewise.
14453 (sinh_test_towardzero): Likewise.
14454 (sinh_test_downward): Likewise.
14455 (sinh_test_upward): Likewise.
14456 (main): Call the new functions.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14459
6c6a98c9
TV
144602012-03-05 Tom de Vries <tom@codesourcery.com>
14461
14462 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14463 default stack guard is set in last bytes.
14464 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14465
21bb2d2e 144662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14467
21bb2d2e 14468 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14469
21bb2d2e
AJ
14470 [BZ #13656]
14471 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14472 possibly allocate from heap instead of stack.
14473 * stdio-common/bug-vfprintf-nargs.c: New file.
14474 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14475
c6922934
AS
144762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14477
14478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14479
bc957d53
MP
144802012-03-03 Marek Polacek <polacek@redhat.com>
14481
14482 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14483 * math/math_private.h: Likewise.
14484 * stdlib/tst-strtod.c: Likewise.
14485 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14486 * sysdeps/x86_64/bits/atomic.h: Likewise.
14487
6358490d
DM
144882012-03-02 David S. Miller <davem@davemloft.net>
14489
14490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14494 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14495 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14496 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14497 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14498
01ae168d
RM
144992012-03-02 Roland McGrath <roland@hack.frob.com>
14500
d9a17c07
RM
14501 [BZ #13792]
14502 * manual/examples/README: New file, says the example source files
14503 can be used under GPL>=2.
14504 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14505 line containing just "*/".
14506 * manual/examples/add.c: Add copyright header (GPL>=2).
14507 * manual/examples/argp-ex1.c: Likewise.
14508 * manual/examples/argp-ex2.c: Likewise.
14509 * manual/examples/argp-ex3.c: Likewise.
14510 * manual/examples/argp-ex4.c: Likewise.
14511 * manual/examples/atexit.c: Likewise.
14512 * manual/examples/db.c: Likewise.
14513 * manual/examples/dir.c: Likewise.
14514 * manual/examples/dir2.c: Likewise.
14515 * manual/examples/execinfo.c: Likewise.
14516 * manual/examples/filecli.c: Likewise.
14517 * manual/examples/filesrv.c: Likewise.
14518 * manual/examples/fmtmsgexpl.c: Likewise.
14519 * manual/examples/genpass.c: Likewise.
14520 * manual/examples/inetcli.c: Likewise.
14521 * manual/examples/inetsrv.c: Likewise.
14522 * manual/examples/isockad.c: Likewise.
14523 * manual/examples/longopt.c: Likewise.
14524 * manual/examples/memopen.c: Likewise.
14525 * manual/examples/memstrm.c: Likewise.
14526 * manual/examples/mkfsock.c: Likewise.
14527 * manual/examples/mkisock.c: Likewise.
14528 * manual/examples/mygetpass.c: Likewise.
14529 * manual/examples/pipe.c: Likewise.
14530 * manual/examples/popen.c: Likewise.
14531 * manual/examples/rprintf.c: Likewise.
14532 * manual/examples/search.c: Likewise.
14533 * manual/examples/select.c: Likewise.
14534 * manual/examples/setjmp.c: Likewise.
14535 * manual/examples/sigh1.c: Likewise.
14536 * manual/examples/sigusr.c: Likewise.
14537 * manual/examples/stpcpy.c: Likewise.
14538 * manual/examples/strdupa.c: Likewise.
14539 * manual/examples/strftim.c: Likewise.
14540 * manual/examples/strncat.c: Likewise.
14541 * manual/examples/subopt.c: Likewise.
14542 * manual/examples/swapcontext.c: Likewise.
14543 * manual/examples/termios.c: Likewise.
14544 * manual/examples/testopt.c: Likewise.
14545 * manual/examples/testpass.c: Likewise.
14546 * manual/examples/timeval_subtract.c: Likewise.
14547
01ae168d
RM
14548 [BZ #13792]
14549 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14550 function to ...
14551 * manual/timeval_subtract.c.texi: ... here, new file.
14552
49efa33d
DM
145532012-03-02 David S. Miller <davem@davemloft.net>
14554
14555 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14556
28afd92d
JM
145572012-03-02 Joseph Myers <joseph@codesourcery.com>
14558
804360ed
JM
14559 [BZ #3976]
14560 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14561 (__sin): Save and restore rounding mode and use round-to-nearest
14562 for all computations.
14563 (__cos): Save and restore rounding mode and use round-to-nearest
14564 for all computations.
14565 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14566 <fenv.h>.
14567 (tan): Save and restore rounding mode and use round-to-nearest for
14568 all computations.
14569 * math/libm-test.inc (cos_test_tonearest): New function.
14570 (cos_test_towardzero): Likewise.
14571 (cos_test_downward): Likewise.
14572 (cos_test_upward): Likewise.
14573 (sin_test_tonearest): Likewise.
14574 (sin_test_towardzero): Likewise.
14575 (sin_test_downward): Likewise.
14576 (sin_test_upward): Likewise.
14577 (tan_test_tonearest): Likewise.
14578 (tan_test_towardzero): Likewise.
14579 (tan_test_downward): Likewise.
14580 (tan_test_upward): Likewise.
14581 (main): Call the new functions.
14582 * sysdeps/i386/fpu/libm-test-ulps: Update.
14583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14584
a6d06d7b
JM
14585 [BZ #10135]
14586 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14587 small n, then large n, before computing and testing k+n.
14588 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14590 Likewise.
14591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14592 Likewise.
14593 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14594 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14597 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14598 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14601 * math/libm-test.inc (scalbn_test): Add more tests.
14602 (scalbln_test): Likewise.
14603
07e12bb3
JM
14604 * manual/filesys.texi (mode_t): Describe constraints on size and
14605 signedness, not exact equivalence to a particular type.
14606 (ino_t): Likewise.
14607 (ino64_t): Likewise.
14608 (dev_t): Likewise.
14609 (nlink_t): Likewise.
14610 (blkcnt_t): Likewise.
14611 (blkcnt64_t): Likewise.
14612 * manual/llio.texi (off_t): Likewise.
14613
28afd92d
JM
14614 [BZ #3976]
14615 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14616 (__ieee754_exp): Save and restore rounding mode and use
14617 round-to-nearest for all computations.
14618 * math/libm-test.inc (exp_test_tonearest): New function.
14619 (exp_test_towardzero): Likewise.
14620 (exp_test_downward): Likewise.
14621 (exp_test_upward): Likewise.
14622 (main): Call the new functions.
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14625
b1eeb65d
CD
146262012-03-01 Chris Demetriou <cgd@google.com>
14627
14628 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14629 have predictable order.
14630
53362a4b
DM
146312012-03-01 David S. Miller <davem@davemloft.net>
14632
3c969083
DM
14633 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14634
759707de
DM
14635 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14636 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14637 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14638 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14639
dfdb8ff2
DM
14640 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14641 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14642 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14644 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14645 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14646 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14647 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14648 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14649
ead89f96
DM
14650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14651
7f66bd07
DM
14652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14653 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14654 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14655
53362a4b
DM
14656 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14657 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14658 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14659 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14660 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14661 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14663 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14664 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14665 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14666 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14667 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14669 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14670 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14672 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14673 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14674 * sysdeps/sparc/elf/configure: Regenerated.
14675
7b1902cb
JM
146762012-03-01 Joseph Myers <joseph@codesourcery.com>
14677
bec039bc
JM
14678 * configure.in (AS, LD): Require binutils 2.20 or later.
14679 * configure: Regenerated.
14680 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14681 as required minimum version.
14682 * INSTALL: Regenerated.
14683
7b1902cb
JM
14684 [BZ #2541]
14685 [BZ #4108]
14686 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14687 before squaring exponent.
14688 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14689 bottom long double and 27 bits of top long double before squaring
14690 exponent.
14691 * math/libm-test.inc (erfc_test): Add more tests.
14692 * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14695
f775c276
KT
146962012-03-01 Kai Tietz <ktietz@redhat.com>
14697
14698 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14699 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14700 containing bit-fields.
14701 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14702 * soft-fp/single.h (_FP_UNION_S): Likewise.
14703 * soft-fp/double.h (_FP_UNION_D): Likewise.
14704
5b8a4d4a
JM
147052012-02-29 Joseph Myers <joseph@codesourcery.com>
14706
0bab47b6
JM
14707 [BZ #13786]
14708 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14709 not include ../strcmp.S.
14710 [USE_AS_STRNCASECMP_L]: Likewise.
14711 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14712 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14713 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14714 (__strncasecmp_l_ia32): Define as alias to
14715 __strncasecmp_l_nonascii.
14716
0fcad3e2
JM
14717 [BZ #5794]
14718 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14719 * sysdeps/i386/fpu/libm-test-ulps: Update.
14720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14721
5b8a4d4a
JM
14722 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724
8fdceb2e
JL
147252012-02-29 Jeff Law <law@redhat.com>
14726
14727 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14728 out of bounds read.
14729
1f393a11
MP
147302012-02-29 Marek Polacek <polacek@redhat.com>
14731
14732 [BZ #13706]
14733 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14734 * elf/Makefile: Add rules to run tst-unused-dep.out.
14735
8847f037
DM
147362012-02-28 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14739 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14742 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14743 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14744
169d7f11
JM
147452012-02-29 Joseph Myers <joseph@codesourcery.com>
14746
14747 * math/libm-test.inc (llround_test): Move one test from
14748 lround_test. Use TEST_f_L in moved test.
14749 (lround_test): Move misplaced test to llround_test. Add testcase
14750 from bug 2561.
14751
39adf059
UD
147522012-02-28 Ulrich Drepper <drepper@gmail.com>
14753
14754 * sysdeps/x86_64/fpu/e_expf.S: New file.
14755 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14756
71b5d1c5
SB
147572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14758
14759 [BZ #13637]
14760 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14761 of remain_len that may cause incomplete multi-byte character and
14762 false match.
14763 * posix/bug-regex33.c: New file.
14764 * posix/Makefile (tests): Add bug-regex33.
14765
1f77f049
JM
147662012-02-28 Joseph Myers <joseph@codesourcery.com>
14767
14768 * manual/macros.texi: New file.
14769 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14770 * manual/libc.texinfo: Include macros.texi.
14771 * manual/creatute.texi: Likewise.
14772 * manual/install.texi: Likewise.
14773 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14774 @glibcadj{} in references to the GNU C Library.
14775 * manual/charset.texi: Likewise.
14776 * manual/conf.texi: Likewise.
14777 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14778 when not using those macros.
14779 * manual/creature.texi: Likewise.
14780 * manual/crypt.texi: Likewise.
14781 * manual/errno.texi: Likewise.
14782 * manual/filesys.texi: Likewise.
14783 * manual/header.texi: Likewise.
14784 * manual/install.texi: Likewise.
14785 * manual/intro.texi: Likewise.
14786 * manual/io.texi: Likewise.
14787 * manual/job.texi: Likewise.
14788 * manual/lang.texi: Likewise.
14789 * manual/libc.texiinfo: Likewise.
14790 * manual/llio.texi: Likewise.
14791 * manual/locale.texi: Likewise.
14792 * manual/maint.texi: Likewise.
14793 * manual/math.texi: Likewise.
14794 * manual/memory.texi: Likewise.
14795 * manual/message.texi: Likewise.
14796 * manual/nss.texi: Likewise.
14797 * manual/pattern.texi: Likewise.
14798 * manual/process.texi: Likewise.
14799 * manual/resource.texi: Likewise.
14800 * manual/search.texi: Likewise.
14801 * manual/setjmp.texi: Likewise.
14802 * manual/signal.texi: Likewise.
14803 * manual/socket.texi: Likewise.
14804 * manual/startup.texi: Likewise.
14805 * manual/stdio.texi: Likewise.
14806 * manual/string.texi: Likewise.
14807 * manual/sysinfo.texi: Likewise.
14808 * manual/syslog.texi: Likewise.
14809 * manual/terminal.texi: Likewise.
14810 * manual/time.texi: Likewise.
14811 * manual/users.texi: Likewise.
14812 * INSTALL: Regenerated.
14813 * NOTES: Regenerated.
d40c5d54 14814 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14815
450bf206
AS
148162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14817
14818 * include/dirent.h: Include <dirstream.h> before
14819 <dirent/dirent.h>.
14820
741a235b
DM
148212012-02-28 David S. Miller <davem@davemloft.net>
14822
14823 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14824 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14825 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14826 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14827
d6b5aa58
DM
148282012-02-27 David S. Miller <davem@davemloft.net>
14829
1aff59a3
DM
14830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14832 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14833 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14834
d6b5aa58
DM
14835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14836 frame pointer instead of stack pointer relative arg slot.
14837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14840
433f48bf
CD
148412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14842
14843 [BZ #3992]
14844 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14845
d674b76d
DM
148462012-02-27 David S. Miller <davem@davemloft.net>
14847
14848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14852 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14853 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14854 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14855 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14856
0e7727f7
JM
148572012-02-27 Joseph Myers <joseph@codesourcery.com>
14858
14859 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14860 later. Allow versions 5-9.
43be4ca2 14861 * configure: Regenerated.
0e7727f7
JM
14862 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14863 required minimum version and 4.6 as recommended version. Do not
14864 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14865 * INSTALL: Regenerated.
0e7727f7 14866
a78bc654
DM
148672012-02-27 David S. Miller <davem@davemloft.net>
14868
428d5830
DM
14869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14873 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14874 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14875 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14876 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14877
a78bc654
DM
14878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14879 manipulate bits before adding and subtracting TWO112[sx].
14880 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14881
4579f81c
RM
148822012-02-27 Roland McGrath <roland@hack.frob.com>
14883
36c8acb4
RM
14884 [BZ #13775]
14885 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14886 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14887 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14888 being in POSIX, because they are in 1003.1-2008.
14889
84ad622b
RM
14890 * rt/tst-aio.c: Include <fcntl.h>.
14891 * rt/tst-aio7.c: Likewise.
14892 * rt/tst-aio64.c: Likewise.
14893
4579f81c
RM
14894 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14895
abd923db
JM
148962012-02-27 Joseph Myers <joseph@codesourcery.com>
14897
14898 * manual/install.texi (--with-headers): Describe headers as
14899 interface headers, not private headers.
14900 (Specific advice for GNU/Linux systems): Describe use of headers
14901 from "make headers_install", not private headers from older
14902 kernels.
43be4ca2 14903 * INSTALL: Regenerated.
abd923db
JM
14904 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14905 Change to 2.6.19.
14906 * sysdeps/unix/sysv/linux/configure: Regenerated.
14907
6664049b
JM
14908 * manual/llio.texi (fclean): Remove documentation.
14909
bb8b6697
JM
14910 * manual/Makefile (libc-texi-generated): New variable. Include
14911 version.texi.
14912 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14913 $(libc-texi-generated), not duplicated list of files.
14914 (version.texi, stamp-version): New rules.
14915 (realclean): Remove $(libc-texi-generated), not individual files
14916 from that list. Do not remove dir-add.texinfo.
14917 * manual/libc.texinfo: Comment out uses of edition numbers and
14918 references to printed manual. Remove last-updated dates.
14919 (EDITION): Comment out.
14920 (ISBN): Likewise.
14921 (VERSION, UPDATED): Remove.
14922 (version.texi): Include.
14923
12e5c3b9
AS
149242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14925
14926 * sysdeps/posix/spawni.c: Include <signal.h>.
14927 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14928 * sysdeps/pthread/aio_fsync.c: Likewise.
14929
4efeffc1 149302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14931
ba63ba08
UD
14932 * conform/Makefile (tests): Run only when not cross-compiling and
14933 when fast-check is not defined.
14934
d94a4670
UD
14935 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14936 * conform/data/limits.h-data: Fixes for POSIX2008.
14937 * conform/run-conformtest.sh: Run all tests.
14938 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14939 headers.
14940 * include/bits/dlfcn.h: Likewise.
14941 * include/langinfo.h: Likewise.
14942 * include/monetary.h: Likewise.
14943 * include/sys/poll.h: Likewise.
14944
14945 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14946 for __USE_GNU.
14947 * posix/spawn.h: Define __need_sigset_t.
14948 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14949 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14950 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14951 to get sigevent_t only.
14952 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14953 only for __USE_GNU.
14954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14955 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14956 process_vm_writev only for __USE_GNU.
14957 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14958
14959 * conform/Makefile: For now ignore errors from run-conformtest.
14960 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14961 POSIX to avoid namespace pollution. Don't prepend headers.
14962 * conform/data/aio.h-data: Fixes for POSIX testing.
14963 * conform/data/fcntl.h-data: Likewise.
14964 * conform/data/glob.h-data: Likewise.
14965 * conform/data/grp.h-data: Likewise.
14966 * conform/data/pthread.h-data: Likewise.
14967 * conform/data/pwd.h-data: Likewise.
14968 * conform/data/signal.h-data: Likewise.
14969 * conform/data/spawn.h-data: Likewise.
14970 * conform/data/stdio.h-data: Likewise.
14971 * conform/data/stdlib.h-data: Likewise.
14972 * conform/data/stropts.h-data: Likewise.
14973 * conform/data/sys/mman.h-data: Likewise.
14974 * conform/data/sys/stat.h-data: Likewise.
14975 * conform/data/sys/types.h-data: Likewise.
14976 * conform/data/sys/wait.h-data: Likewise.
14977 * conform/data/time.h-data: Likewise.
14978 * conform/data/unistd.h-data: Likewise.
14979 * conform/data/utime.h-data: Likewise.
14980
14981 * io/sys/stat.h: fchmod was always in POSIX.
14982 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14983 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14984 * rt/aio.h: Define __need_timespec before including <time.h>.
14985 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14986 struct. Add forward declaration of pthread_attr_t and use it in
14987 sigevent.
14988 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14989 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14990 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14991 always remove CLK_TCK definition.
14992
c20105c3
AS
149932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14994
14995 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14996
7a270350
UD
149972012-02-25 Ulrich Drepper <drepper@gmail.com>
14998
31341567
UD
14999 * conform/run-conformtest.sh: New file.
15000 * conform/Makefile: Run run-conformtest for tests.
15001 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15002 support.
15003
15004 * conform/data/uchar.h-data: New file.
15005 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15006 * conform/data/arpa/inet.h-data: Likewise.
15007 * conform/data/assert.h-data: Likewise.
15008 * conform/data/complex.h-data: Likewise.
15009 * conform/data/cpio.h-data: Likewise.
15010 * conform/data/ctype.h-data: Likewise.
15011 * conform/data/dirent.h-data: Likewise.
15012 * conform/data/dlfcn.h-data: Likewise.
15013 * conform/data/errno.h-data: Likewise.
15014 * conform/data/fcntl.h-data: Likewise.
15015 * conform/data/float.h-data: Likewise.
15016 * conform/data/fmtmsg.h-data: Likewise.
15017 * conform/data/fnmatch.h-data: Likewise.
15018 * conform/data/ftw.h-data: Likewise.
15019 * conform/data/glob.h-data: Likewise.
15020 * conform/data/grp.h-data: Likewise.
15021 * conform/data/iconv.h-data: Likewise.
15022 * conform/data/inttypes.h-data: Likewise.
15023 * conform/data/langinfo.h-data: Likewise.
15024 * conform/data/libgen.h-data: Likewise.
15025 * conform/data/limits.h-data: Likewise.
15026 * conform/data/locale.h-data: Likewise.
15027 * conform/data/math.h-data: Likewise.
15028 * conform/data/monetary.h-data: Likewise.
15029 * conform/data/mqueue.h-data: Likewise.
15030 * conform/data/ndbm.h-data: Likewise.
15031 * conform/data/net/if.h-data: Likewise.
15032 * conform/data/netdb.h-data: Likewise.
15033 * conform/data/netinet/in.h-data: Likewise.
15034 * conform/data/nl_types.h-data: Likewise.
15035 * conform/data/poll.h-data: Likewise.
15036 * conform/data/pthread.h-data: Likewise.
15037 * conform/data/pwd.h-data: Likewise.
15038 * conform/data/regex.h-data: Likewise.
15039 * conform/data/sched.h-data: Likewise.
15040 * conform/data/search.h-data: Likewise.
15041 * conform/data/semaphore.h-data: Likewise.
15042 * conform/data/setjmp.h-data: Likewise.
15043 * conform/data/signal.h-data: Likewise.
15044 * conform/data/spawn.h-data: Likewise.
15045 * conform/data/stdarg.h-data: Likewise.
15046 * conform/data/stdio.h-data: Likewise.
15047 * conform/data/stdlib.h-data: Likewise.
15048 * conform/data/string.h-data: Likewise.
15049 * conform/data/strings.h-data: Likewise.
15050 * conform/data/stropts.h-data: Likewise.
15051 * conform/data/sys/ipc.h-data: Likewise.
15052 * conform/data/sys/mman.h-data: Likewise.
15053 * conform/data/sys/msg.h-data: Likewise.
15054 * conform/data/sys/resource.h-data: Likewise.
15055 * conform/data/sys/select.h-data: Likewise.
15056 * conform/data/sys/sem.h-data: Likewise.
15057 * conform/data/sys/shm.h-data: Likewise.
15058 * conform/data/sys/socket.h-data: Likewise.
15059 * conform/data/sys/stat.h-data: Likewise.
15060 * conform/data/sys/statvfs.h-data: Likewise.
15061 * conform/data/sys/time.h-data: Likewise.
15062 * conform/data/sys/timeb.h-data: Likewise.
15063 * conform/data/sys/times.h-data: Likewise.
15064 * conform/data/sys/types.h-data: Likewise.
15065 * conform/data/sys/uio.h-data: Likewise.
15066 * conform/data/sys/un.h-data: Likewise.
15067 * conform/data/sys/utsname.h-data: Likewise.
15068 * conform/data/sys/wait.h-data: Likewise.
15069 * conform/data/syslog.h-data: Likewise.
15070 * conform/data/tar.h-data: Likewise.
15071 * conform/data/termios.h-data: Likewise.
15072 * conform/data/utime.h-data: Likewise.
15073 * conform/data/utmpx.h-data: Likewise.
15074 * conform/data/varargs.h-data: Likewise.
15075 * conform/data/wchar.h-data: Likewise.
15076 * conform/data/wctype.h-data: Likewise.
15077 * conform/data/wordexp.h-data: Likewise.
15078
15079 * include/stropts.h: New file.
15080 * include/uchar.h: New file.
15081 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15082 * include/assert.h: Likewise.
15083 * include/ctype.h: Likewise.
15084 * include/dirent.h: Likewise.
15085 * include/dlfcn.h: Likewise.
15086 * include/fcntl.h: Likewise.
15087 * include/fnmatch.h: Likewise.
15088 * include/glob.h: Likewise.
15089 * include/grp.h: Likewise.
15090 * include/libio.h: Likewise.
15091 * include/locale.h: Likewise.
15092 * include/math.h: Likewise.
15093 * include/net/if.h: Likewise.
15094 * include/netdb.h: Likewise.
15095 * include/netinet/in.h: Likewise.
15096 * include/pthread.h: Likewise.
15097 * include/pwd.h: Likewise.
15098 * include/regex.h: Likewise.
15099 * include/sched.h: Likewise.
15100 * include/search.h: Likewise.
15101 * include/setjmp.h: Likewise.
15102 * include/signal.h: Likewise.
15103 * include/stdio.h: Likewise.
15104 * include/stdlib.h: Likewise.
15105 * include/string.h: Likewise.
15106 * include/sys/cdefs.h: Likewise.
15107 * include/sys/mman.h: Likewise.
15108 * include/sys/msg.h: Likewise.
15109 * include/sys/resource.h: Likewise.
15110 * include/sys/select.h: Likewise.
15111 * include/sys/socket.h: Likewise.
15112 * include/sys/stat.h: Likewise.
15113 * include/sys/statvfs.h: Likewise.
15114 * include/sys/time.h: Likewise.
15115 * include/sys/times.h: Likewise.
15116 * include/sys/uio.h: Likewise.
15117 * include/sys/utsname.h: Likewise.
15118 * include/sys/wait.h: Likewise.
15119 * include/termios.h: Likewise.
15120 * include/time.h: Likewise.
15121 * include/ulimit.h: Likewise.
15122 * include/unistd.h: Likewise.
15123 * include/utime.h: Likewise.
15124 * include/wchar.h: Likewise.
15125 * include/wctype.h: Likewise.
15126 * include/wordexp.h: Likewise.
15127
15128 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15129
7a270350
UD
15130 * time/time.h: TIME_UTC must be a macro.
15131 Make timespec_get available for ISO C11 only as well.
15132
7724defc
UD
151332012-02-24 Ulrich Drepper <drepper@gmail.com>
15134
15135 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15136 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15137
6b1d1d46
JM
151382012-02-24 Joseph Myers <joseph@codesourcery.com>
15139
15140 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15141
0f8bbd69
JM
151422012-02-24 Joseph Myers <joseph@codesourcery.com>
15143
15144 * manual/texinfo.tex: Update to version 2012-01-19.16.
15145
66ab80bc
JM
151462012-02-24 Joseph Myers <joseph@codesourcery.com>
15147
15148 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15149
74981cc5
RM
151502012-02-24 Roland McGrath <roland@hack.frob.com>
15151
ee968201
RM
15152 [BZ #13738]
15153 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15154 * manual/fdl-1.3.texi: New file.
15155 * manual/fdl-1.1.texi: File removed.
15156
74981cc5
RM
15157 [BZ #13738]
15158 * manual/libc.texinfo (FDL_VERSION): New @set.
15159 Use it for mention of FDL in cover text.
15160 (Documentation License): Use it in @include file name.
15161
7bb764bc
JM
151622012-02-22 Joseph Myers <joseph@codesourcery.com>
15163 Roland McGrath <roland@hack.frob.com>
15164
15165 [BZ #5461]
15166 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15167 not LONG_LONG_MAX and LONG_LONG_MIN.
15168 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15169 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15170 name.
15171 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15172
6cbeae47
JM
151732012-02-22 Joseph Myers <joseph@codesourcery.com>
15174
15175 [BZ #2547]
15176 [BZ #11365]
15177 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15178 manipulate bits before adding and subtracting TWO23[sx].
15179 * math/libm-test.inc (nearbyint_test): Add more tests.
15180
fe45ce09
JM
151812012-02-22 Joseph Myers <joseph@codesourcery.com>
15182
15183 [BZ #2548]
15184 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15185 bits before adding and subtracting TWO23[sx].
15186 * math/libm-test.inc (rint_test): Add more tests.
15187 (rint_test_tonearest): Likewise.
15188 (rint_test_towardzero): Likewise.
15189 (rint_test_downward): Likewise.
15190 (rint_test_upward: Likewise.
15191
ff3b3d82
JM
151922012-02-22 Joseph Myers <joseph@codesourcery.com>
15193
15194 [BZ #10110]
15195 * include/stdc-predef.h: New file. Extracted from features.h.
15196 * include/features.h: Include stdc-predef.h.
15197 * Makefile (headers): Add stdc-predef.h.
15198 * CONFORMANCE (Compiler limitations): Update.
15199
ef0aab35
JM
152002012-02-22 Joseph Myers <joseph@codesourcery.com>
15201
15202 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15203
58639409
DM
152042012-02-21 David S. Miller <davem@davemloft.net>
15205
15206 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15207 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15208
c0e70b25
DM
152092012-02-20 David S. Miller <davem@davemloft.net>
15210
15211 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15212 using a normal save/restore sequence, rather than allocating a
15213 dummy stack frame just to store a frame pointer and restore.
15214 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15215
fb06851d
JM
152162012-02-21 Joseph Myers <joseph@codesourcery.com>
15217
15218 * manual/install.texi: Fix stray word in line-wrapped comment.
15219
7a8b71c3
DM
152202012-02-20 David S. Miller <davem@davemloft.net>
15221
d510c123
DM
15222 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15223 both binutils and gcc support GOTDATA.
15224
0722d7c2
DM
15225 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15226 "rd %pc" in the PIC register setup sequences.
15227
3d2b3019
DM
15228 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15229 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15230 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15231 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15232 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15235 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15237 (SYSCALL_ERROR_HANDLER): Likewise.
15238 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15239 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15240 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15241 (SYSCALL_ERROR_HANDLER): Likewise.
15242
c80098a9
DM
15243 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15244 (HAVE_GCC_GOTDATA): New.
15245 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15246 relocation support in both binutils and gcc.
15247 * sysdeps/sparc/elf/configure: Regenerate.
15248
3a2545a0
DM
15249 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15250 * sysdeps/sparc/sparc32/elf/configure: Delete.
15251 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15252 * sysdeps/sparc/sparc64/elf/configure: Delete.
15253 * sysdeps/sparc/elf/configure.in: New file.
15254 * sysdeps/sparc/elf/configure: Generate.
15255
7a8b71c3
DM
15256 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15257 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15258 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15259 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15260 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15261
f1e86fca
JM
152622012-02-21 Joseph Myers <joseph@codesourcery.com>
15263
15264 * manual/install.texi: Do not mention specific glibc version
15265 numbers.
15266 * manual/libc.texinfo (VERSION, UPDATED): Update.
15267 (@copying): Use @copyright{} and range of years.
15268
0e7dfaef
JM
152692012-02-21 Joseph Myers <joseph@codesourcery.com>
15270
15271 [BZ #13695]
15272 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15273 [crti.S not in sysdirs] (generated): Do not append.
15274 [crti.S not in sysdirs] (omit-deps): Likewise.
15275 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15276 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15277 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15278 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15279 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15280 Likewise.
15281 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15282 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15283 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15284 * csu/defs.awk: Remove file.
15285 * sysdeps/generic/initfini.c: Likewise.
15286 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15287 variable.
15288 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15289 Likewise.
15290
599af3ca
JM
152912012-02-20 Joseph Myers <joseph@codesourcery.com>
15292
15293 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15294 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15295 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15296 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15297 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15298 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15299 <bits/epoll.h>.
15300 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15301 (__EPOLL_PACKED): Define to empty if not defined by
15302 <bits/epoll.h>.
15303 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15305 bits/epoll.h.
15306
0e499750
JM
153072012-02-20 Joseph Myers <joseph@codesourcery.com>
15308
15309 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15310 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15312 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15313 <bits/timerfd.h>.
15314 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15316 bits/timerfd.h.
15317
5ad91f6e
JM
153182012-02-20 Joseph Myers <joseph@codesourcery.com>
15319
15320 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15321 in C locale.
15322 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15323 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15326
06b99b02
AJ
153272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15328
15329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15330 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15331
7638c0fd
AS
153322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15333
15334 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15335 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15336 defined.
15337 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15338 Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15340 entry for 2.16.
15341
92221550
AJ
153422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15343
15344 * math/w_acos.c: Use non-signaling floating-point comparisons.
15345 * math/w_acosf.c: Likewise.
15346 * math/w_acosh.c: Likewise.
15347 * math/w_acoshf.c: Likewise.
15348 * math/w_acoshl.c: Likewise.
15349 * math/w_acosl.c: Likewise.
15350 * math/w_asin.c: Likewise.
15351 * math/w_asinf.c: Likewise.
15352 * math/w_asinl.c: Likewise.
15353 * math/w_atanh.c: Likewise.
15354 * math/w_atanhf.c: Likewise.
15355 * math/w_atanhl.c: Likewise.
15356 * math/w_exp2.c: Likewise.
15357 * math/w_exp2f.c: Likewise.
15358 * math/w_exp2l.c: Likewise.
15359 * math/w_j0.c: Likewise.
15360 * math/w_j0f.c: Likewise.
15361 * math/w_j0l.c: Likewise.
15362 * math/w_j1.c: Likewise.
15363 * math/w_j1f.c: Likewise.
15364 * math/w_j1l.c: Likewise.
15365 * math/w_jn.c: Likewise.
15366 * math/w_jnf.c: Likewise.
15367 * math/w_log.c: Likewise.
15368 * math/w_log10.c: Likewise.
15369 * math/w_log10f.c: Likewise.
15370 * math/w_log10l.c: Likewise.
15371 * math/w_log2.c: Likewise.
15372 * math/w_log2f.c: Likewise.
15373 * math/w_log2l.c: Likewise.
15374 * math/w_logf.c: Likewise.
15375 * math/w_logl.c: Likewise.
15376 * math/w_sqrt.c: Likewise.
15377 * math/w_sqrtf.c: Likewise.
15378 * math/w_sqrtl.c: Likewise.
15379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15380 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15382 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15383 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15384
ebaf36eb
JM
153852012-02-19 Joseph Myers <joseph@codesourcery.com>
15386
15387 [BZ #9739]
15388 * manual/string.texi (strnlen): Use correct parameter name in
15389 equivalent expression.
15390
71c254a6
JM
153912012-02-19 Joseph Myers <joseph@codesourcery.com>
15392
15393 [BZ #11174]
15394 * manual/users.texi (seteuid): Consistently use neweuid for
15395 argument name.
15396
16d2c631
JM
153972012-02-19 Joseph Myers <joseph@codesourcery.com>
15398
15399 [BZ #13704]
15400 * manual/nss.texi (Services in the NSS configuration): Correct
15401 list of services in example configuration file.
15402
cd837b09
NB
154032012-02-19 Nick Bowler <nbowler@draconx.ca>
15404
15405 [BZ #11322]
15406 * manual/arith.texi: Remove statements about negative zero
15407 behaving identically to zero.
15408
02c4bbad
JM
154092012-02-18 Joseph Myers <joseph@codesourcery.com>
15410
15411 [BZ #5993]
15412 * manual/install.texi: Do not document upgrading from libc5.
15413
366842e7
JM
154142012-02-18 Joseph Myers <joseph@codesourcery.com>
15415
15416 [BZ #4596]
15417 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15418
dd54084d
DM
154192012-02-18 David S. Miller <davem@davemloft.net>
15420
15421 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15422 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15423 %o7 across the call.
15424 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15425 instead.
15426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15427 SETUP_PIC_REG_LEAF.
15428 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15429 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15430 * sysdeps/sparc/crtn.S: Likewise.
15431
2bcc53a3
UD
154322012-02-17 Ulrich Drepper <drepper@gmail.com>
15433
15434 * aout/Makefile: Remove.
15435
09c093b5
RK
154362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15437
15438 [BZ #13058]
15439 * manual/examples/argp-ex1.c (main): Format definition in GNU
15440 style.
15441 * manual/examples/argp-ex2.c (main): Likewise.
15442 * manual/examples/argp-ex3.c (main): Likewise.
15443 * manual/examples/argp-ex4.c (main): Likewise.
15444 * manual/examples/longopt.c (main): Use new-style prototype
15445 definition.
15446 * manual/examples/strncat.c (main): Specify return type and use
15447 (void) for arguments.
15448 * manual/examples/subopt.c (main): Use char **argv argument.
15449
2ee633a2
JM
154502012-02-17 Joseph Myers <joseph@codesourcery.com>
15451
15452 [BZ #5077]
15453 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15454 rounding modes.
15455
0520adde
FB
154562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15457
15458 [BZ #6907]
15459 * manual/string.texi (strchr): Change when strchrnul is
15460 recommended.
15461
3f4081cd
DGM
154622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15463
15464 [BZ #174]
15465 * manual/locale.texi (setlocale): Document LOCPATH.
15466
d1b10e78
JM
154672012-02-17 Joseph Myers <joseph@codesourcery.com>
15468
15469 [BZ #10210]
15470 * manual/process.texi (execle): Move @dots{} before last argument.
15471
79c6869c
PB
154722012-02-17 Paul Bolle <pebolle@tiscali.nl>
15473
15474 [BZ #12047]
15475 * manual/charset.texi (Generic Charset Conversion): Fix typo
15476 (LC_TYPE -> LC_CTYPE).
15477
cc6e48bc
NB
154782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15479
15480 [BZ #5805]
15481 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15482 (scalbnf): Likewise.
15483 (scalbnl): Likewise.
15484 (scalbln): Likewise.
15485 (scalblnf): Likewise.
15486 (scalblnl): Likewise.
15487 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15488 (vwarnx): Likewise.
15489 (verr): Likewise.
15490 (verrx): Likewise.
15491 * manual/filesys.texi (telldir): Use braces around return type.
15492 * manual/llio.texi (mmap): Add space after comma.
15493 (mmap64): Likewise.
15494 * manual/math.texi (jn): Use @var{} on parameter names.
15495 (jnf): Likewise.
15496 (jnl): Likewise.
15497 (yn): Likewise.
15498 (ynf): Likewise.
15499 (ynl): Likewise.
15500 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15501 line.
15502 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15503 "...".
15504 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15505 (sched_get_priority_max): Likewise.
15506 * manual/signal.texi (sigvec): Add space after comma.
15507 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15508 names.
15509 (if_indextoname): Likewise.
15510 (if_freenameindex): Likewise.
15511 (sendto): Use ',' instead of '.' in prototype.
15512 * manual/startup.texi (syscall): Use @dots{} instead of literal
15513 "...".
15514 * manual/stdio.texi (__fpending): Separate initial words of
15515 paragraph from @deftypefun line.
15516 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15517 "...".
15518 (vsyslog): Use @var{} on parameter names.
15519 * manual/terminal.texi (stty): Use @var{} on parameter names.
15520 * manual/users.texi (getutmp): Use @var{} on parameter names.
15521 (getutmpx): Likewise.
15522
5b23062f
JM
155232012-02-17 Joseph Myers <joseph@codesourcery.com>
15524
15525 [BZ #6884]
15526 * manual/stdio.texi (fopen): Fix typos in description of
15527 ",ccs=STRING".
15528
8dee4833
AJ
155292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15530
15531 [BZ #4026]
15532 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15533 get clock_id definition.
15534
9078ce93
TS
155352012-02-17 Thomas Schwinge <thomas@schwinge.name>
15536
15537 [BZ #4822]
15538 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15539 (madvise): Cast every argument to void on its own.
15540
3835c55f
JM
155412012-02-17 Joseph Myers <joseph@codesourcery.com>
15542
15543 [BZ #9902]
15544 * manual/startup.texi (Exit Status): Fix typo.
15545
35c47e37
JM
155462012-02-17 Joseph Myers <joseph@codesourcery.com>
15547
15548 [BZ #10140]
15549 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15550 * manual/examples/argp-ex2.c: Likewise.
15551 * manual/examples/argp-ex3.c: Likewise.
15552
e3b69ca7
RH
155532012-02-16 Richard Henderson <rth@redhat.com>
15554
15555 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15556 * sysdeps/s390/s390-32/initfini.c: Remove.
15557 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15558 * sysdeps/s390/s390-64/initfini.c: Remove.
15559
df83af67
KK
155602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15561
15562 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15563 compiler output for sysdeps/generic/initfini.c.
15564 * sysdeps/sh/elf/initfini.c: Remove file.
15565
f63f3380
DM
155662012-02-16 David S. Miller <davem@davemloft.net>
15567
fb59b3a4
DM
15568 [BZ #11494]
15569 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15570
f63f3380
DM
15571 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15572 * sysdeps/sparc/crti.S: New file.
15573 * sysdeps/sparc/crtn.S: New file.
15574 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15575 * sysdeps/sparc/sparc64/Makefile: Likewise.
15576
df6a4a4a
MF
155772012-02-15 Mike Frysinger <vapier@gentoo.org>
15578
6dd8f3dc 15579 [BZ #3335]
df6a4a4a
MF
15580 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15581
1cac7236
RM
155822012-02-15 Roland McGrath <roland@hack.frob.com>
15583
d2c736f8
RM
15584 [BZ #4822]
15585 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15586
1cac7236
RM
15587 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15588 (write, read, close): Likewise.
15589 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15590
8e475601
JM
155912012-02-15 Joseph Myers <joseph@codesourcery.com>
15592
15593 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15594 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15595 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15596 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15597 <bits/signalfd.h>.
15598 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15599 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15600 bits/signalfd.h.
15601
ed656b40
MP
156022012-02-14 Marek Polacek <polacek@redhat.com>
15603
15604 * sysdeps/x86_64/crti.S: New file.
15605 * sysdeps/x86_64/crtn.S: New file.
15606 * sysdeps/x86_64/elf/initfini.c: Remove file.
15607
2a979d3a
JM
156082012-02-13 Joseph Myers <joseph@codesourcery.com>
15609
15610 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15611 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15612 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15613 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15614 <bits/inotify.h>.
15615 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15617 bits/inotify.h.
15618
2a418ac3
JM
156192012-02-13 Joseph Myers <joseph@codesourcery.com>
15620
15621 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15622 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15623 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15624 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15625 <bits/eventfd.h>.
15626 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15628 bits/eventfd.h.
15629
fb779be7
TS
156302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15631
e19e83c5
RM
15632 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15633 __feraiseexcept instead of feraiseexcept.
7c35ffed 15634
fb779be7
TS
15635 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15636 nanosleep invocations.
15637 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15638 strings, and add error checking for a nanosleep invocations.
15639
59ba27a6
PE
156402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15641
15642 Replace FSF snail mail address with URLs, as per GNU coding standards.
15643 Most of the snail mail addresses were wrong anyway, and omitting
15644 them makes the source code easier to maintain. Almost all of the
15645 changes are to license notices and to locale LC_IDENTIFICATION
15646 addresses, except for this one:
15647 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15648 not its snail mail address.
15649
57b957eb
RH
156502012-02-09 Richard Henderson <rth@twiddle.net>
15651
af850b1c
RH
15652 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15653 of kernel-features.h.
15654
57b957eb
RH
15655 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15656
6b73181a
MP
156572012-02-08 Marek Polacek <polacek@redhat.com>
15658
15659 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15660 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15661 * sysdeps/gnu/_G_config.h: Likewise.
15662 * sysdeps/generic/_G_config.h: Likewise.
15663
26ecc33a
AS
156642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15665
6c6dbc63
AS
15666 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15667 tests.
15668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15669
e216c012
AS
15670 * sysdeps/powerpc/powerpc32/crti.S: New file.
15671 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15672 * sysdeps/powerpc/powerpc64/crti.S: New file.
15673 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15674
26ecc33a
AS
15675 * Makeconfig (have-initfini): Don't set.
15676 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15677 * configure.in (nopic_initfini): Don't substitute.
15678 * config.h.in (HAVE_INITFINI): Don't #undef.
15679 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15680 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15681
3add8e13
JM
156822012-02-08 Joseph Myers <joseph@codesourcery.com>
15683
15684 Support crti.S and crtn.S provided directly by architectures.
15685 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15686 [crti.S in sysdirs] (omit-deps): Likewise.
15687 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15688 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15689 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15690 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15691 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15692 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15693 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15694 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15695 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15696 compiler output for sysdeps/generic/initfini.c.
15697 * sysdeps/i386/elf/Makefile: Remove file.
15698 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15699
a22f12b4
MP
157002012-02-07 Marek Polacek <polacek@redhat.com>
15701
15702 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15703 * sysdeps/gnu/_G_config.h: Likewise.
15704 * sysdeps/mach/hurd/_G_config.h: Likewise.
15705
148cf100
MP
157062012-02-07 Marek Polacek <polacek@redhat.com>
15707
15708 * math/Makefile (tests): Add tst-CMPLX2.
15709 * math/tst-CMPLX2.c: New file.
15710
cfdc0dd7
AS
157112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15712
84ba42c4
AS
15713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15714
cfdc0dd7
AS
15715 * math/libm-test.inc (jn_test): Add missing L suffix.
15716
622c86f4
MP
157172012-02-06 Marek Polacek <polacek@redhat.com>
15718
15719 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15720 * sysdeps/i386/fpu/e_powf.S: Likewise.
15721 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15722 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15723 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15724 * sysdeps/i386/fpu/e_pow.S: Likewise.
15725 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15726 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15727 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15728 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15729 * sysdeps/i386/fpu/e_log2.S: Likewise.
15730 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15731 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15732 * sysdeps/i386/fpu/e_powl.S: Likewise.
15733 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15734 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15735 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15736 * sysdeps/i386/fpu/e_logl.S: Likewise.
15737 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15738 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15739 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15740 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15741 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15742 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15743 * sysdeps/i386/fpu/e_log.S: Likewise.
15744 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15745 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15746 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15747 * sysdeps/i386/fpu/e_logf.S: Likewise.
15748 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15749 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15750 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15751 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15752 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15753 * sysdeps/i386/fpu/e_log10.S: Likewise.
15754 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15756 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15757 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15758 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15759 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15760 * sysdeps/i386/asm-syntax.h: Likewise.
15761 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15762 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15763 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15764 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15765 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15766 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15767 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15768 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15769 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15770 * sysdeps/powerpc/sysdep.h: Likewise.
15771 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15773
d4a54ac6
JM
157742012-02-06 Joseph Myers <joseph@codesourcery.com>
15775
15776 [BZ #411]
15777 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15778
314054ea
JM
157792012-02-06 Joseph Myers <joseph@codesourcery.com>
15780
15781 * sysdeps/i386/sysdep.h: Include <features.h>.
15782 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15783 version.
15784
d8e0ca50
JM
157852012-02-05 Joseph Myers <joseph@codesourcery.com>
15786
15787 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15788 Define.
15789 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15790 LOAD_PIC_REG_STR.
15791
b1da7dd9
JM
157922012-02-03 Joseph Myers <joseph@codesourcery.com>
15793
15794 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15795 (SETUP_PIC_REG): Use GET_PC_THUNK.
15796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15797 macro.
15798
9a1d9254
JM
157992012-02-03 Joseph Myers <joseph@codesourcery.com>
15800
15801 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15802 for non-PIC compilation.
15803 (SETUP_PIC_REG): Add .p2align directive.
15804 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15805 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15806 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15807 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15808 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15809 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15810 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15811 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15812 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15813 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15814 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15815 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15816 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15817 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15818 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15819 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15820 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15821 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15822 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15823 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15824 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15825 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15826 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15827 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15830 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15831 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15832 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15833 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15834 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15835 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15836 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15837 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15838 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15839 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15840 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15841 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15842 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15843 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15844 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15845
65dc3b75
JM
158462012-02-03 Joseph Myers <joseph@codesourcery.com>
15847
15848 * math/tst-CMPLX.c: Include <stdio.h>.
15849
d55bf177
JM
158502012-01-31 Joseph Myers <joseph@codesourcery.com>
15851
15852 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15853 float.
15854 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15855 * sysdeps/sparc/bits/mathdef.h: Likewise.
15856
69db4f8f
MP
158572012-01-31 Marek Polacek <polacek@redhat.com>
15858
15859 * libio/libio.h: Don't define _PARAMS.
15860 * locale/programs/config.h: Don't define PARAMS.
15861 * stdlib/strtol_l.c: Likewise.
15862 (__strtol_l): Remove PARAMS from the prototype.
15863
41b81892
UD
158642012-01-31 Ulrich Drepper <drepper@gmail.com>
15865
3b49edc0
UD
15866 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15867 names. Just use the correct names. Remove unnecessary wrapper
15868 functions.
15869 * malloc/arena.c: Likewise.
15870 * malloc/hooks.c: Likewise.
15871
41b81892
UD
15872 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15873 ARENA_TEST says not to. Simplify test for creation of a new arena.
15874 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15875
27a25b6e
UD
158762012-01-30 Ulrich Drepper <drepper@gmail.com>
15877
15878 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15879 into tail calls.
15880 (update_get_addr): New function.
15881 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15882 GET_ADDR_MODULE parameter.
15883
c8a89e7d
JM
158842012-01-30 Joseph Myers <joseph@codesourcery.com>
15885
15886 * crypt/cert.c: Remove __STDC__ conditionals.
15887 * crypt/crypt-entry.c: Likewise.
15888 * crypt/crypt_util.c: Likewise.
15889 * libio/filedoalloc.c: Likewise.
15890 * libio/fileops.c: Likewise.
15891 * libio/genops.c: Likewise.
15892 * libio/iofclose.c: Likewise.
15893 * libio/iofdopen.c: Likewise.
15894 * libio/iofopen.c: Likewise.
15895 * libio/iofopen64.c: Likewise.
15896 * libio/iogetdelim.c: Likewise.
15897 * libio/iopopen.c: Likewise.
15898 * libio/obprintf.c: Likewise.
15899 * libio/oldfileops.c: Likewise.
15900 * libio/oldiofclose.c: Likewise.
15901 * libio/oldiofdopen.c: Likewise.
15902 * libio/oldiofopen.c: Likewise.
15903 * libio/oldiopopen.c: Likewise.
15904 * libio/wfiledoalloc.c: Likewise.
15905 * libio/wgenops.c: Likewise.
15906 * locale/programs/xmalloc.c: Likewise.
15907 * misc/syslog.c: Likewise.
15908 * stdio-common/xbug.c: Likewise.
15909 * string/memchr.c: Likewise.
15910 * string/memcmp.c: Likewise.
15911 * string/memrchr.c: Likewise.
15912 * string/rawmemchr.c: Likewise.
15913 * sysdeps/posix/getcwd.c: Likewise.
15914 * time/strftime_l.c: Likewise.
15915
3b100462
JM
159162012-01-30 Joseph Myers <joseph@codesourcery.com>
15917
15918 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15919 * config.make.in (config-cflags-sse2avx): Define.
15920 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15921 Fix typo.
15922
607998af
CM
159232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15924
15925 * scripts/config.guess: Update from upstream config git repository.
15926 * scripts/config.sub: Likewise.
15927
3601428f
CM
159282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15929
3ac8b282
CM
15930 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15931 (EM_NUM): Update.
15932 (R_TILEPRO_*, R_TILEGX_*): New macros.
15933
e034841e
CM
15934 * scripts/firstversions.awk: Fix bug in version range handling.
15935
540d7568
CM
15936 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15937
3601428f
CM
15938 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15939
463de862
CM
15940 * include/sys/epoll.h: New file.
15941 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15942 libc_hidden_def.
15943
73139a76
UD
159442012-01-28 Ulrich Drepper <drepper@gmail.com>
15945
96bc5b45
UD
15946 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15947 Avoid unnecessary __WORDSIZE == 64 test.
15948 (fmaxf): Use VEX format if possible.
15949 (fmax): Likewise.
15950 (fminf): Likewise.
15951 (fmin): Likewise.
15952
56f6f6a2
UD
15953 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15954 * math/math_private.h: Remove libc_fegetround* and
15955 libc_fesetround*.
15956 * sysdeps/i386/configure.in: Check for -msse2avx.
15957 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15958 also if SSE2AVX is defined.
15959 Remove libc_fegetround* and libc_fesetround*.
15960 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15961 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15962 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15963 of HAS_YMM_USABLE.
15964 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15965 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15967 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15968 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15969
73139a76
UD
15970 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15971
d73f93a4
AZ
159722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15973
15974 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15975 size is not set.
15976 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15977
6ee65ed6
UD
159782012-01-27 Ulrich Drepper <drepper@gmail.com>
15979
15980 [BZ #13618]
15981 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15982 relocation.
15983 * Makeconfig (libm): Define.
15984 * elf/Makefile: Add rules to build and run tst-relsort1.
15985 * elf/tst-relsort1.c: New file.
15986 * elf/tst-relsort1mod1.c: New file.
15987 * elf/tst-relsort1mod2.c: New file.
15988
8db21882
JM
159892012-01-27 Joseph Myers <joseph@codesourcery.com>
15990
15991 * math/s_ldexp.c: Remove __STDC__ conditionals.
15992 * math/s_ldexpf.c: Likewise.
15993 * math/s_ldexpl.c: Likewise.
15994 * math/s_nextafter.c: Likewise.
15995 * math/s_nexttowardf.c: Likewise.
15996 * math/s_significand.c: Likewise.
15997 * math/s_significandf.c: Likewise.
15998 * math/s_significandl.c: Likewise.
15999 * math/w_jnl.c: Likewise.
16000 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16001 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16002 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16003 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16004 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16009 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16010 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16011 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16012 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16013 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16014 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16016 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16017 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16019 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16021 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16022 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16024 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16025 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16027 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16028 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16030 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16031 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16032 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16033 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16035 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16036 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16037 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16038 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16039 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16040 * sysdeps/ieee754/k_standard.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16102 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16107 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16115 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16116 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16120 * sysdeps/ieee754/s_matherr.c: Likewise.
16121 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16122 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16125
965a54a4
JM
161262012-01-26 Joseph Myers <joseph@codesourcery.com>
16127
16128 * crypt/md5.h: Remove __STDC__ conditionals.
16129 * libio/libioP.h: Likewise.
16130 * locale/programs/config.h: Likewise.
16131 * sysdeps/generic/sysdep.h: Likewise.
16132 * sysdeps/i386/asm-syntax.h: Likewise.
16133 * sysdeps/s390/asm-syntax.h: Likewise.
16134 * sysdeps/unix/sysdep.h: Likewise.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16137
7071ad79
JM
161382012-01-26 Joseph Myers <joseph@codesourcery.com>
16139
16140 * libio/libio.h: Remove __STDC__ conditionals.
16141 * malloc/obstack.h: Likewise.
16142 * math/complex.h: Likewise.
16143 * math/math.h: Likewise.
16144 * sysdeps/generic/_G_config.h: Likewise.
16145 * sysdeps/gnu/_G_config.h: Likewise.
16146 * sysdeps/mach/hurd/_G_config.h: Likewise.
16147 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16148 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16149 * sysdeps/sparc/bits/mathdef.h: Likewise.
16150
afc5ed09
UD
161512012-01-26 Ulrich Drepper <drepper@gmail.com>
16152
16153 [BZ #13583]
16154 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16155 Clean up HAS_* macros.
afc5ed09 16156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16157 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16158 possible.
16159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16160 HAS_AVX.
16161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16166
bdb6de1d
JM
161672012-01-25 Joseph Myers <joseph@codesourcery.com>
16168
16169 * elf/tst-unique3.cc (gets): Remove declaration.
16170 * elf/tst-unique3lib.cc (gets): Likewise.
16171 * elf/tst-unique3lib2.cc (gets): Likewise.
16172 * elf/tst-unique4.cc (gets): Likewise.
16173
b15549e6
UD
161742012-01-24 Ulrich Drepper <drepper@gmail.com>
16175
16176 * include/stdio.h: Add C++ protection. Add gets declarations and
16177 definitions.
16178 * debug/tst-chk1.c: Don't declare gets here.
16179 * stdio-common/tst-gets.c: Likewise.
16180
a037381f
JM
161812012-01-24 Joseph Myers <joseph@codesourcery.com>
16182
16183 * posix/glob: Remove directory.
16184
f1d4aa75
JM
161852012-01-24 Joseph Myers <joseph@codesourcery.com>
16186
16187 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16188
81c0c964
PT
161892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16190
16191 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16192 of the non-standard EPFNOSUPPORT.
16193
0ea698ae
ST
161942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16195
16196 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16197 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16198 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16199
d220b117
UD
162002012-01-21 Ulrich Drepper <drepper@gmail.com>
16201
16202 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16203
3e1aa84e
UD
162042012-01-20 Ulrich Drepper <drepper@gmail.com>
16205
16206 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16207 transient errors.
16208 * nscd/grpcache.c (cache_addgr): Likewise.
16209 * nscd/hstcache.c (cache_addhst): Likewise.
16210 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16211 * nscd/pwdcache.c (cache_addpw): Likewise.
16212 * nscd/servicescache.c (cache_addserv): Likewise.
16213
400aa020
UD
162142012-01-16 Ulrich Drepper <drepper@gmail.com>
16215
d77e7869
UD
16216 * malloc/malloc.c: Various cleanups.
16217 * malloc/hooks.c: Likewise.
16218
400aa020
UD
16219 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16220 * stdlib/bug-fmtmsg1.c: New file.
16221
16222 * stdlib/fmtmsg.c (init): Add missing unlock.
16223 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16224
e0a309cf
MP
162252012-01-12 Marek Polacek <polacek@redhat.com>
16226
16227 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16228 and _GNU_SOURCE.
16229
929d11c7
WS
162302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16231
16232 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16233 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16234 macro to ensure uniqueness of label name.
16235 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16236 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16237
41d0e869
UD
162382012-01-11 Ulrich Drepper <drepper@gmail.com>
16239
0cc5ed3b
UD
16240 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16241
41d0e869
UD
16242 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16243 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16244 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16246
a47a831a
UD
162472012-01-10 Ulrich Drepper <drepper@gmail.com>
16248
daa891c0
UD
16249 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16250
16251 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16252 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16253 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16254
e58ef0f2
UD
16255 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16256
a47a831a 16257 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16258 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16261
16262 * math/bits/math-finite.h: Add ldexp support.
16263
a0bfc9c7
MP
162642012-01-10 Marek Polacek <polacek@redhat.com>
16265
16266 * locale/programs/localedef.h (show_archive_content): Add noreturn
16267 attribute.
16268
d6e97a1d
UD
162692012-01-09 Ulrich Drepper <drepper@gmail.com>
16270
16271 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16272
d5835c26
UD
162732012-01-08 Ulrich Drepper <drepper@gmail.com>
16274
e5f484c6
UD
16275 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16276
d5835c26
UD
16277 * io/Makefile (headers): Add bits/poll2.h.
16278
d1f741e9
WS
162792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16280
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16282 typo #include statement.
16283
ec09c1c4
UD
162842012-01-08 Ulrich Drepper <drepper@gmail.com>
16285
16286 * include/sys/cdefs.h: Define __attribute_alloc_size.
16287 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16288 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16289 * elf/pldd.c: Likewise.
16290 * iconv/iconv_charmap.c: Likewise.
16291 * iconv/iconvconfig.c: Likewise.
16292 * iconv/strtab.c: Likewise.
16293 * locale/programs/locale.c: Likewise.
16294 * locale/programs/localedef.h: Likewise.
16295 * locale/programs/simple-hash.c: Likewise.
16296 * nscd/nscd.h: Likewise.
16297 * nss/makedb.c: Likewise.
16298 * sysdeps/generic/ldconfig.h: Likewise.
16299 * locale/programs/localedef.c: Remove xmalloc prototype.
16300 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16301
20b38e03
PP
163022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16303
16304 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16305 appropriate.
16306
a0da5fe1
UD
163072012-01-08 Ulrich Drepper <drepper@gmail.com>
16308
1d5a644a 16309 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16310 * math/tst-CMPLX.c: New file.
1d5a644a 16311
8784a6db
UD
16312 * math/complex.h (CMPLXL): Fix typo.
16313
d9a216c0
UD
16314 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16315 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16316 GLIBC_2.16.
16317 * debug/tst-chk1.c: Add poll and ppoll tests.
16318 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16319 * include/sys/poll.h: Add hidden proto for ppoll.
16320 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16321 * sysdeps/mach/hurd/ppoll.c: Likewise.
16322 * io/ppoll.c: Likewise.
16323 * debug/poll_chk.c: New file.
16324 * debug/ppoll_chk.c: New file.
16325 * include/bits/poll2.h: New file.
16326 * io/bits/poll2.h: New file.
16327
ac097f5c
UD
16328 [BZ #1350]
16329 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16330
2119dcfa
UD
16331 * configure.in: static is always set to yes. Remove.
16332 * config.make.in: Don't set build-static.
16333 * Makeconfig: Remove use of build-static.
16334 * dlfcn/Makefile: Likewise.
16335 * elf/Makefile: Likewise.
16336 * math/Makefile: Likewise.
16337 * misc/Makefile: Likewise.
16338 * nptl/Makefile: Likewise.
16339 * sysdeps/mach/hurd/Makefile: Likewise.
16340
121766a9
UD
16341 * configure.in: PWD_P is not used anymore.
16342 * config.make.in: Remove PWD_P entry.
16343
51a1d39c 16344 * configure.in: Remove last remnants of RANLIB.
8720d066 16345 No need to check for signed size_t anymore.
215f4bdc
UD
16346 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16347 and IA-64.
3857022a 16348 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16349 * aclocal.m4: Likewise.
16350
d3ed7225
UD
16351 * wcsmbs/mbrtoc16.c: Implement using towc function.
16352 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16353 * wcsmbs/wcsmbsload.c: Likewise.
16354 * iconv/gconv_simple.c: Likewise.
16355 * iconv/gconv_int.h: Likewise.
16356 * iconv/gconv_builtin.h: Likewise.
16357 * iconv/iconv_prog.c: Remove CHAR16 handling.
16358
16359 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16360
16361 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16362
a0da5fe1
UD
16363 * configure.in: Remove --with-elf and --enable-bounded options.
16364 Dont set base_machine for ia64. More non-ELF conditions removed.
16365 Remove testing and setting of leading underscore information.
16366 * config.make.in (build-bounded): Set to no.
16367 * config.h.in: Remove NO_UNDERSCORES entry.
16368 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16369 them.
16370 * csu/start.c: Remove !NO_UNDERSCORE code.
16371 * locale/localeinfo.h: Likewise.
16372 * sysdeps/generic/machine-gmon.h: Likewise.
16373 * sysdeps/generic/sysdep.h: Likewise.
16374 * sysdeps/i386/sysdep.h: Likewise.
16375 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16376 * sysdeps/mach/sysdep.h: Likewise.
16377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16379 * sysdeps/sh/sysdep.h: Likewise.
16380 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16381 * sysdeps/unix/i386/sysdep.S: Likewise.
16382 * sysdeps/unix/sparc/start.c: Likewise.
16383 * sysdeps/unix/sparc/sysdep.S: Likewise.
16384 * sysdeps/unix/sparc/sysdep.h: Likewise.
16385 * sysdeps/unix/start.c: Likewise.
16386 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16387 * sysdeps/x86_64/sysdep.h: Likewise.
16388
df78418a
UD
163892012-01-07 Ulrich Drepper <drepper@gmail.com>
16390
a784e502
UD
16391 [BZ #13553]
16392 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16393 for non-gcc.
16394 * argp/argp-fmtstream.h: Use const instead __const.
16395 * argp/argp.h: Likewise.
16396 * assert/assert.h: Likewise.
16397 * bits/fenv.h: Likewise.
16398 * bits/sched.h: Likewise.
16399 * bits/sigset.h: Likewise.
16400 * bits/sigthread.h: Likewise.
16401 * catgets/nl_types.h: Likewise.
16402 * conform/data/pthread.h-data: Likewise.
16403 * crypt/crypt-private.h: Likewise.
16404 * crypt/crypt.h: Likewise.
16405 * crypt/crypt_util.c: Likewise.
16406 * ctype/ctype.h: Likewise.
16407 * debug/execinfo.h: Likewise.
16408 * debug/mbsnrtowcs_chk.c: Likewise.
16409 * debug/mbsrtowcs_chk.c: Likewise.
16410 * debug/wcsnrtombs_chk.c: Likewise.
16411 * debug/wcsrtombs_chk.c: Likewise.
16412 * debug/wcstombs_chk.c: Likewise.
16413 * dirent/dirent.h: Likewise.
16414 * dlfcn/dlfcn.h: Likewise.
16415 * elf/neededtest4.c: Likewise.
16416 * grp/grp.h: Likewise.
16417 * gshadow/gshadow.h: Likewise.
16418 * iconv/gconv.h: Likewise.
16419 * iconv/gconv_int.h: Likewise.
16420 * iconv/gconv_simple.c: Likewise.
16421 * iconv/iconv.h: Likewise.
16422 * iconv/loop.c: Likewise.
16423 * iconv/skeleton.c: Likewise.
16424 * include/aio.h: Likewise.
16425 * include/aliases.h: Likewise.
16426 * include/argz.h: Likewise.
16427 * include/arpa/inet.h: Likewise.
16428 * include/assert.h: Likewise.
16429 * include/dirent.h: Likewise.
16430 * include/dlfcn.h: Likewise.
16431 * include/execinfo.h: Likewise.
16432 * include/fcntl.h: Likewise.
16433 * include/fenv.h: Likewise.
16434 * include/glob.h: Likewise.
16435 * include/grp.h: Likewise.
16436 * include/libintl.h: Likewise.
16437 * include/mntent.h: Likewise.
16438 * include/netdb.h: Likewise.
16439 * include/pwd.h: Likewise.
16440 * include/rpc/netdb.h: Likewise.
16441 * include/sched.h: Likewise.
16442 * include/search.h: Likewise.
16443 * include/shadow.h: Likewise.
16444 * include/signal.h: Likewise.
16445 * include/stdio.h: Likewise.
16446 * include/stdlib.h: Likewise.
16447 * include/string.h: Likewise.
16448 * include/sys/socket.h: Likewise.
16449 * include/sys/stat.h: Likewise.
16450 * include/sys/statfs.h: Likewise.
16451 * include/sys/statvfs.h: Likewise.
16452 * include/sys/syslog.h: Likewise.
16453 * include/sys/time.h: Likewise.
16454 * include/sys/uio.h: Likewise.
16455 * include/time.h: Likewise.
16456 * include/unistd.h: Likewise.
16457 * include/utmp.h: Likewise.
16458 * include/wchar.h: Likewise.
16459 * include/wctype.h: Likewise.
16460 * inet/aliases.h: Likewise.
16461 * inet/arpa/inet.h: Likewise.
16462 * inet/netinet/ether.h: Likewise.
16463 * inet/netinet/in.h: Likewise.
16464 * intl/libintl.h: Likewise.
16465 * io/bits/fcntl2.h: Likewise.
16466 * io/fcntl.h: Likewise.
16467 * io/ftw.h: Likewise.
16468 * io/sys/poll.h: Likewise.
16469 * io/sys/stat.h: Likewise.
16470 * io/sys/statfs.h: Likewise.
16471 * io/sys/statvfs.h: Likewise.
16472 * io/utime.h: Likewise.
16473 * libio/bits/stdio.h: Likewise.
16474 * libio/bits/stdio2.h: Likewise.
16475 * libio/libio.h: Likewise.
16476 * libio/libioP.h: Likewise.
16477 * libio/stdio.h: Likewise.
16478 * locale/lc-ctype.c: Likewise.
16479 * locale/locale.h: Likewise.
16480 * login/utmp.h: Likewise.
16481 * malloc/arena.c: Likewise.
16482 * malloc/malloc.c: Likewise.
16483 * malloc/malloc.h: Likewise.
16484 * malloc/mcheck.c: Likewise.
16485 * malloc/mtrace.c: Likewise.
16486 * math/bits/mathcalls.h: Likewise.
16487 * math/fenv.h: Likewise.
16488 * math/math_private.h: Likewise.
16489 * misc/bits/error.h: Likewise.
16490 * misc/bits/syslog.h: Likewise.
16491 * misc/err.h: Likewise.
16492 * misc/error.h: Likewise.
16493 * misc/fstab.h: Likewise.
16494 * misc/mntent.h: Likewise.
16495 * misc/regexp.h: Likewise.
16496 * misc/search.h: Likewise.
16497 * misc/sgtty.h: Likewise.
16498 * misc/sys/mman.h: Likewise.
16499 * misc/sys/syslog.h: Likewise.
16500 * misc/sys/uio.h: Likewise.
16501 * misc/sys/xattr.h: Likewise.
16502 * misc/ttyent.h: Likewise.
16503 * nis/rpcsvc/ypclnt.h: Likewise.
16504 * nss/nss.h: Likewise.
16505 * posix/bits/unistd.h: Likewise.
16506 * posix/fnmatch.h: Likewise.
16507 * posix/glob.h: Likewise.
16508 * posix/sched.h: Likewise.
16509 * posix/spawn.h: Likewise.
16510 * posix/sys/wait.h: Likewise.
16511 * posix/unistd.h: Likewise.
16512 * posix/wordexp.h: Likewise.
16513 * pwd/pwd.h: Likewise.
16514 * resolv/netdb.h: Likewise.
16515 * resource/sys/resource.h: Likewise.
16516 * rt/aio.h: Likewise.
16517 * rt/bits/mqueue2.h: Likewise.
16518 * rt/mqueue.h: Likewise.
16519 * shadow/shadow.h: Likewise.
16520 * signal/signal.h: Likewise.
16521 * socket/send.c: Likewise.
16522 * socket/sendto.c: Likewise.
16523 * socket/sys/socket.h: Likewise.
16524 * stdio-common/printf.h: Likewise.
16525 * stdlib/bits/stdlib.h: Likewise.
16526 * stdlib/fmtmsg.h: Likewise.
16527 * stdlib/monetary.h: Likewise.
16528 * stdlib/stdlib.h: Likewise.
16529 * stdlib/ucontext.h: Likewise.
16530 * streams/stropts.h: Likewise.
16531 * string/argz.h: Likewise.
16532 * string/bits/string2.h: Likewise.
16533 * string/string.h: Likewise.
16534 * string/strings.h: Likewise.
16535 * sunrpc/rpc/auth.h: Likewise.
16536 * sunrpc/rpc/auth_des.h: Likewise.
16537 * sunrpc/rpc/clnt.h: Likewise.
16538 * sunrpc/rpc/netdb.h: Likewise.
16539 * sunrpc/rpc/pmap_clnt.h: Likewise.
16540 * sunrpc/rpc/xdr.h: Likewise.
16541 * sysdeps/generic/inttypes.h: Likewise.
16542 * sysdeps/generic/net/if.h: Likewise.
16543 * sysdeps/generic/sys/swap.h: Likewise.
16544 * sysdeps/gnu/net/if.h: Likewise.
16545 * sysdeps/gnu/utmpx.h: Likewise.
16546 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16547 * sysdeps/i386/i486/bits/string.h: Likewise.
16548 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16549 * sysdeps/s390/bits/string.h: Likewise.
16550 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16551 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16552 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16553 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16554 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16555 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16556 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16557 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16558 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16559 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16560 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16561 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16562 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16563 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16564 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16565 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16566 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16568 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16569 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16570 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16572 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16573 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16574 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16575 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16576 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16577 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16578 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16579 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16580 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16581 * sysvipc/sys/ipc.h: Likewise.
16582 * sysvipc/sys/msg.h: Likewise.
16583 * sysvipc/sys/sem.h: Likewise.
16584 * sysvipc/sys/shm.h: Likewise.
16585 * termios/termios.h: Likewise.
16586 * time/sys/time.h: Likewise.
16587 * time/time.h: Likewise.
16588 * wcsmbs/bits/wchar2.h: Likewise.
16589 * wcsmbs/uchar.h: Likewise.
16590 * wcsmbs/wchar.h: Likewise.
16591 * wctype/wctype.h: Likewise.
16592
0269750c
UD
16593 [BZ #13551]
16594 * Makeconfig: Remove all but ELF support including AIX support.
16595 * Makerules: Likewise.
16596 * config.h.in: Likewise.
16597 * config.make.in: Likewise.
16598 * configure: Likewise.
16599 * configure.in: Likewise.
16600 * csu/Makefile: Likewise.
16601 * csu/version.c: Likewise.
16602 * debug/Makefile: Likewise.
16603 * dlfcn/Makefile: Likewise.
16604 * elf/Makefile: Likewise.
16605 * extra-lib.mk: Likewise.
16606 * iconv/Makefile: Likewise.
16607 * include/libc-symbols.h: Likewise.
16608 * include/shlib-compat.h: Likewise.
16609 * resolv/Makefile: Likewise.
16610 * resolv/res_libc.c: Likewise.
16611 * rt/Makefile: Likewise.
16612 * sysdeps/i386/asm-syntax.h: Likewise.
16613 * sysdeps/i386/sysdep.h: Likewise.
16614 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16615 * sysdeps/mach/sysdep.h: Likewise.
16616 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16617 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16618 * sysdeps/s390/asm-syntax.h: Likewise.
16619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16621 * sysdeps/sh/sysdep.h: Likewise.
16622 * sysdeps/unix/sparc/sysdep.h: Likewise.
16623 * sysdeps/wordsize-32/divdi3.c: Likewise.
16624 * sysdeps/x86_64/sysdep.h: Likewise.
16625
00bbd29b
UD
16626 * argp/Versions: Remove _argp_unlock_xxx.
16627
16628 [BZ #13559]
16629 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16630 * abilist/libBrokenLocale.abilist: Likewise.
16631 * abilist/libanl.abilist: Likewise.
16632 * abilist/libc.abilist: Likewise.
16633 * abilist/libcrypt.abilist: Likewise.
16634 * abilist/libdl.abilist: Likewise.
16635 * abilist/libm.abilist: Likewise.
16636 * abilist/libnsl.abilist: Likewise.
16637 * abilist/libpthread.abilist: Likewise.
16638 * abilist/libresolv.abilist: Likewise.
16639 * abilist/librt.abilist: Likewise.
16640 * abilist/libthread_db.abilist: Likewise.
16641 * abilist/libutil.abilist: Likewise.
16642 * abilist/libnss_db.abilist: New file.
16643
16644 * scripts/abilist.awk: Add support for indirect functions.
16645
a2693a0e
UD
16646 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16647
3f05895f
UD
16648 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16649
ecb6fb48
UD
16650 * shlib-versions: Remove entries for ports architectures.
16651
664f8cb9
UD
16652 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16653 files in ports.
16654 * elf/stackguard-macros.h: Remove support for IA-64.
16655 * elf/tst-auditmod1.c: Likewise.
16656 * sysdeps/generic/ldsodefs.h: Likewise.
16657
7ae81d88
UD
16658 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16659 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16660 configure files.
16661
bdeba135
UD
16662 [BZ #13552]
16663 * configure.in: Remove --enable-omitfp support.
16664 * FAQ.in: Adjust.
16665 * config.make.in: Likewise.
16666 * Makeconfig: Likewise.
16667 * manual/install.texi: Likewise.
16668
d75a0a62
UD
16669 In case anyone cares, the IA-64 architecture could move to ports.
16670 * sysdeps/ia64/*: Removed.
16671 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16672 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16673
dcc9756b
UD
16674 [BZ #13555]
16675 * configure.in: Remove entries for unsupported architectures.
16676
d3761ebc 16677 [BZ #13533]
9954432e
UD
16678 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16679 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16680 routines.
16681 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16682 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16683 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16684 fall back to using wcrtomb.
16685 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16686 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16687 renaming.
16688 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16689 * wcsmbs/tst-c16c32-1.c: New file.
16690
16691 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16692 local variable.
16693
c3a87236
UD
16694 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16695
28926a1b
UD
16696 * elf/tst-unique3.cc: Add explicit declaration of gets.
16697 * elf/tst-unique3lib.cc: Likewise.
16698 * elf/tst-unique3lib2.cc: Likewise.
16699 * elf/tst-unique4.cc: Likewise.
16700
df78418a
UD
16701 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16702
8ecd6b2a
JM
167032012-01-06 Joseph Myers <joseph@codesourcery.com>
16704
16705 [BZ #13566]
16706 * assert/assert.h (static_assert): Don't define for C++.
16707 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16708 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16709
9f115170
UD
167102012-01-03 Ulrich Drepper <drepper@gmail.com>
16711
5e0d0300
UD
16712 * iconv/loop.c (single loop): Fix assertion in storing of
16713 remaining bytes.
16714
9f115170
UD
16715 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16716
81fb02b0
UD
167172012-01-01 Ulrich Drepper <drepper@gmail.com>
16718
16719 * posix/getconf.c: Update copyright year.
16720 * nss/getent.c: Likewise.
a316c1f6 16721 * nss/makedb.c: Likewise.
81fb02b0
UD
16722 * iconv/iconvconfig.c: Likewise.
16723 * iconv/iconv_prog.c: Likewise.
16724 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16725 * elf/pldd.c: Likewise.
16726 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16727 * catgets/gencat.c: Likewise.
16728 * csu/version.c: Likewise.
16729 * elf/ldd.bash.in: Likewise.
16730 * elf/sprof.c (print_version): Likewise.
16731 * locale/programs/locale.c: Likewise.
16732 * locale/programs/localedef.c: Likewise.
a316c1f6 16733 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16734 * nscd/nscd.c (print_version): Likewise.
16735 * debug/xtrace.sh: Likewise.
16736 * malloc/memusage.sh: Likewise.
16737 * malloc/mtrace.pl: Likewise.
16738 * debug/catchsegv.sh: Likewise.
16739
2ba92745
JJ
167402011-12-30 Jakub Jelinek <jakub@redhat.com>
16741
16742 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16743 pure attribute.
16744
dadebdae
UD
167452011-12-24 Ulrich Drepper <drepper@gmail.com>
16746
d3761ebc 16747 [BZ #13533]
db6af3eb
UD
16748 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16749 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16750 transformations.
16751 * iconv/gconv_int.h: Likewise.
16752 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16753 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16754 from libc for GLIBC_2.16.
16755 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16756 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16757 * wcsmbs/uchar.h: Really define mbstate_t.
16758 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16759 * wcsmbs/c16rtomb.c: New file.
16760 * wcsmbs/mbrtoc16.c: New file.
16761 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16762 for C/POSIX locale.
16763 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16764 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16765
dadebdae
UD
16766 * wcsmbs/wchar.h: Add missing __restrict.
16767
67371b56
UD
167682011-12-23 Ulrich Drepper <drepper@gmail.com>
16769
74033a25
UD
16770 [BZ #13532]
16771 * time/Makefile (routines): Add timespec_get.
16772 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16773 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16774 timespec for ISO C11.
16775 * time/timespec_get.c: New file.
16776 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16777 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16778
380d7e87
UD
16779 [BZ #13531]
16780 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16781 * stdlib/stdlib.h: Declare aligned_alloc.
16782 * Versions.def: Add GLIBC_2.16 for libc.
16783 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16784
4e9e7a35
UD
16785 [BZ 13527]
16786 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16787 ISO C11.
16788
380d7e87 16789 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16790 code.
16791
03a71829
UD
16792 [BZ #13528]
16793 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16794
839e283e
UD
16795 [BZ #13529]
16796 * assert/assert.h (static_assert): Define.
16797
ce5294e2 16798 * version.h: Update for 2.16 development version.
90fa7312 16799
8d44e150 16800 [BZ #13526]
d7809905
UD
16801 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16802 _ISOC11_SOURCE.
16803
c0da14cd
UD
16804 * version.h (RELEASE): Bump for 2.15 release.
16805 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16806
530a3249
MP
16807 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16808 Patch by Marek Polacek <mpolacek@redhat.com>.
16809
67371b56
UD
16810 * bits/byteswap.h: Protect long long constants with __extension__.
16811 * sysdeps/i386/bits/byteswap.h: Likewise.
16812 * sysdeps/ia64/bits/byteswap.h: Likewise.
16813 * sysdeps/s390/bits/byteswap.h: Likewise.
16814 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16815
15db4de1
LD
168162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16817
16818 [BZ #13540]
bbe315ea
LD
16819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16820 destination buffer.
15db4de1
LD
16821 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16822
2b2596b1
MP
168232011-12-23 Marek Polacek <polacek@redhat.com>
16824
16825 * elf/dl-addr.c (determine_info): Add inline keyword.
16826 * elf/tst-auditmod4b.c (check_avx): Likewise.
16827 * elf/tst-auditmod6b.c (check_avx): Likewise.
16828 * elf/tst-auditmod6c.c (check_avx): Likewise.
16829 * elf/tst-auditmod7b.c (check_avx): Likewise.
16830
70c6c246
UD
168312011-12-23 Ulrich Drepper <drepper@gmail.com>
16832
16833 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16834 !__SSE_MATH__.
16835
c044cf14
LD
168362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16837
15db4de1 16838 [BZ #13540]
c044cf14
LD
16839 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16840 processing for last bytes.
16841
6b13d9d9
BH
168422011-08-06 Bruno Haible <bruno@clisp.org>
16843
d455f537
BH
16844 [BZ #13061]
16845 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16846 U+0385, not to U+1FEE.
16847
6b13d9d9
BH
16848 [BZ #13062]
16849 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16850 entry for U+00A5 U+0301.
16851
db910efd
UD
168522011-12-22 Ulrich Drepper <drepper@gmail.com>
16853
27deeafc
UD
16854 [BZ #13166]
16855 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16856 buffer for the output is too small.
16857
aed9d171
UD
16858 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16859 optimization.
16860
db910efd
UD
16861 [BZ #13185]
16862 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16863 SSE flags if possible.
16864
2bd779ae
LD
168652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16866
e7f9dac3 16867 [BZ #13540]
2bd779ae
LD
16868 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16869 processing for last bytes.
16870
154bfc16
JM
168712011-12-22 Joseph Myers <joseph@codesourcery.com>
16872
16873 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16874 (syscall-list-default-options, syscall-list-default-condition)
16875 (syscall-list-includes): Define.
16876 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16877 list of ABIs and options and #if conditions for each ABI. Do not
16878 handle common syscalls between ABIs specially.
16879 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16880 Remove.
16881 (syscall-list-variants, syscall-list-32bit-options)
16882 (syscall-list-32bit-condition, syscall-list-64bit-options)
16883 (syscall-list-64bit-condition): Define.
16884 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16885 (syscall-list-variants, syscall-list-32bit-options)
16886 (syscall-list-32bit-condition, syscall-list-64bit-options)
16887 (syscall-list-64bit-condition): Define.
16888 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16889 Remove.
16890 (syscall-list-variants, syscall-list-32bit-options)
16891 (syscall-list-32bit-condition, syscall-list-64bit-options)
16892 (syscall-list-64bit-condition): Define.
16893 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16894 Remove.
16895 (syscall-list-variants, syscall-list-32bit-options)
16896 (syscall-list-32bit-condition, syscall-list-64bit-options)
16897 (syscall-list-64bit-condition): Define.
16898
21eaf3a5
UD
168992011-12-22 Ulrich Drepper <drepper@gmail.com>
16900
16c6f992
UD
16901 * locale/iso-639.def: Add brx entry.
16902
41043168
UD
16903 [BZ #13328]
16904 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16905 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16906
21eaf3a5
UD
16907 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16908 __feraiseexcept_renamed.
16909
e3a851a2
UD
169102011-12-21 Ulrich Drepper <drepper@gmail.com>
16911
4920765e
UD
16912 [BZ #13538]
16913 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16914 EPOLLET with unsigned values.
16915 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16917
e3a851a2
UD
16918 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16919 to large cancellation.
16920 * math/s_cacoshf.c: Likewise.
16921 * math/s_cacoshl.c: Likewise.
16922
b27e24b8
RK
169232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16924
16925 [BZ #13305]
aebefeee 16926 [BZ #12786]
b27e24b8
RK
16927 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16928 * math/s_cacoshf.c: Likewise.
16929 * math/s_cacoshl.c: Likewise.
16930
ee190f67
UD
169312011-12-21 Ulrich Drepper <drepper@gmail.com>
16932
16933 [BZ #13439]
16934 * iconv/gconv.h: Define __GCONV_SWAP.
16935 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16936 * iconvdata/utf-16.c: Likewise.
16937 * iconvdata/utf-32.c: Likewise.
16938
707f25df
AS
169392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16940
16941 [BZ #13524]
16942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16943 numerator after shifting it by one limb.
16944
d2daaa1e
RÁE
169452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16946
16947 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16948 under [__USE_EXTERN_INLINES].
16949
a4647e72
UD
169502011-12-17 Ulrich Drepper <drepper@gmail.com>
16951
16952 [BZ #13446]
16953 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16954
f0b264f1
AZ
169552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16956
16957 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16958 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16959 optimized code.
16960 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16961 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16962 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16963 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16964 for strncasecmp/strncasecmp_l compilation.
16965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16966 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16967
8ef4f244
MP
169682011-12-08 Marek Polacek <mpolacek@redhat.com>
16969
16970 [BZ #13484]
16971 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16972 of __asm__.
16973
97ac2654
UD
169742011-12-17 Ulrich Drepper <drepper@gmail.com>
16975
16976 [BZ #13506]
16977 * time/tzfile.c (__tzfile_read): Check values from file header.
16978
91d2a845
WS
169792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16980
16981 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16982 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16983 * powerpc/powerpc32/dl-start.S: Likewise.
16984 * powerpc/powerpc32/elf/start.S: Likewise.
16985 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16986 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16987 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16988 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16989 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16990 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16991 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16992 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16993 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16994 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16995 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16996 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16997 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16998 * powerpc/powerpc32/memset.S: Likewise.
16999 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17000 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17001 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17002 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17003 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17004 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17005 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17006 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17007 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17008 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17009 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17010 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17011 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17012
a1267ba1
AZ
170132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17014
17015 * math/libm-test.inc: Added more nearbyint tests.
17016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17017 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17020
ad8ac1bd
RL
170212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17022
17023 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17024 FD_CLOEXEC.
17025
1d3e4b61
UD
170262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17027
17028 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17029 Add wcscpy-ssse3 wcscpy-c.
17030 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17031 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17032 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17033 * sysdeps/x86_64/wcschr.S: New file.
17034 * sysdeps/x86_64/wcsrchr.S: New file.
17035 * string/test-strcmp.c: Remove checking of wcscmp function for
17036 wrong alignments.
17037 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17038 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17039 wcsrchr-sse2 wcsrchr-c.
17040 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17041 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17042 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17043 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17044 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17045 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17046 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17047 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17048 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17049 * wcsmbc/wcschr.c (WCSCHR): New macro.
17050
5b330a2d
UD
170512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17052
17053 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17054 * wcsmbs/test-wcsrchr.c: New file.
17055 * string/test-strrchr.c: Add wcsrchr support.
17056 (WIDE): New macro.
17057 * wcsmbs/test-wcscpy.c: New file.
17058 * string/test-strcpy.c: Add wcscpy support.
17059 (WIDE): New macro.
26428b7c 17060
f039c043
UD
170612011-12-10 Ulrich Drepper <drepper@gmail.com>
17062
17063 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17064 the inner loop.
17065
850fb039
AS
170662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17067
17068 [BZ #13472]
17069 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17070
4efbd5cb
UD
170712011-12-04 Ulrich Drepper <drepper@gmail.com>
17072
52ff5dd0 17073 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17074 Minor optimizations.
52ff5dd0 17075
4efbd5cb
UD
17076 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17077 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17078 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17079
8a426e12
UD
170802011-12-03 Ulrich Drepper <drepper@gmail.com>
17081
aff2453d
UD
17082 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17083 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17084 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17085 for gcc to avoid warnings.
17086 * inet/Makefile (tests): Add tst-checks.
17087 * inet/tst-checks.c: New file.
17088
17089 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17090 warning.
17091
17092 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17093 __wmemcmp_sse2.
17094
17095 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17096 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17097
8a426e12
UD
17098 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17099
9bea3473
UD
171002011-12-02 Ulrich Drepper <drepper@gmail.com>
17101
3a965496
UD
17102 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17103 problem.
17104
9bea3473
UD
17105 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17106
f101631b
UD
171072011-11-29 Joseph Myers <joseph@codesourcery.com>
17108
17109 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17110 conditional on GCC version.
17111 (__arch_compare_and_exchange_val_8_acq)
17112 (__arch_compare_and_exchange_val_16_acq)
17113 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17114 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17115 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17116
a98275aa
UD
171172011-12-02 Joseph Myers <joseph@codesourcery.com>
17118
17119 * sysdeps/sh/backtrace.c: New file.
17120
d4cc29a2
AS
171212011-12-02 Andreas Schwab <schwab@redhat.com>
17122
17123 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17124 parenthesis.
17125
6257af2d
AS
171262011-12-01 Andreas Schwab <schwab@redhat.com>
17127
17128 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17129 falling back to utime.
17130
b5f44c1a
AS
171312011-11-30 Andreas Schwab <schwab@redhat.com>
17132
17133 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17134 expectations for float.
17135
f3a6cc0a
AS
171362011-11-29 Andreas Schwab <schwab@redhat.com>
17137
17138 * locale/weight.h (findidx): Add parameter len.
17139 * locale/weightwc.h (findidx): Likewise.
17140 * posix/fnmatch_loop.c (FCT): Adjust caller.
17141 * posix/regcomp.c (build_equiv_class): Likewise.
17142 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17143 * posix/regexec.c (check_node_accept_bytes): Likewise.
17144 * string/strcoll_l.c (STRCOLL): Likewise.
17145 * string/strxfrm_l.c (STRXFRM): Likewise.
17146
9d65ea3a
UD
171472011-11-17 Ulrich Drepper <drepper@gmail.com>
17148
17149 * Makefile.in: Remove CVSOPT handling.
17150 * configure.in: Remove use of AC_REVISION.
17151 * iconvdata/Makefile (distribute): No need to filter out CVS.
17152 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17153 handling.
17154
5583a086
AS
171552011-11-16 Andreas Schwab <schwab@redhat.com>
17156
17157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17158 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17159 [USE_AS_STRNCASECMP_L]: Likewise.
17160 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17161 NO_TLS_DIRECT_SEG_REFS.
17162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17163 Fix argument offsets for non-PIC.
17164 [USE_AS_STRNCASECMP_L]: Likewise.
17165 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17166 NO_TLS_DIRECT_SEG_REFS.
17167
d62a8200
UD
171682011-11-15 Ulrich Drepper <drepper@gmail.com>
17169
9d65ea3a 17170 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17171 O_CLOEXEC.
17172 * locale/loadlocale.c (_nl_load_locale): Likewise.
17173
09f93bd3
AS
171742011-11-15 Andreas Schwab <schwab@redhat.com>
17175
446514f9
AS
17176 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17177 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17178 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17179 (SYSCALL_GETTIME): Set errno on error.
17180
09f93bd3
AS
17181 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17182 count references to noai6ai_cached.
17183
312be3f9
UD
171842011-11-15 Ulrich Drepper <drepper@gmail.com>
17185
17186 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17187
17188 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17189 FD_CLOEXEC for /proc/self/maps.
17190
17191 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17192 FD_CLOEXEC for /proc/meminfo.
17193
17194 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17195 gai.conf.
17196
17197 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17198 FD_CLOEXEC for given file.
17199
17200 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17201
17202 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17203 FD_CLOEXEC for /etc/hosts.
17204 (_gethtent): Likewise.
17205
17206 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17207
17208 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17209 cancellation and set FD_CLOEXEC for /etc/netgroup.
17210
17211 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17212 reading /etc/publickey.
17213
17214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17215 allow cancellation when reading /etc/group.
17216
17217 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17218 cancellation.
17219 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17220
17221 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17222 when using data file.
17223
17224 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17225
17226 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17227 (write_nis_obj): Use "c" and "e" in fopen.
17228
17229 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17230
17231 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17232
17233 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17234
17235 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17236
17237 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17238 locale.alias.
17239
17240 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17241
17242 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17243
17244 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17245
17246 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17247 file parsing and set FD_CLOEXEC.
17248
82af0fa8
UD
172492011-11-14 Ulrich Drepper <drepper@gmail.com>
17250
17251 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17252
a5fb313c
AS
172532011-11-14 Andreas Schwab <schwab@redhat.com>
17254
17255 * malloc/arena.c (arena_get2): Don't call reused_arena when
17256 _int_new_arena failed.
17257
6abf3465
UD
172582011-11-14 Ulrich Drepper <drepper@gmail.com>
17259
17260 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17261 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17262 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17263 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17264 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17265 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17266 to compile strcasecmp and strncasecmp.
17267 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17268 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17269
17270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17271
76e3966e
UD
172722011-11-13 Ulrich Drepper <drepper@gmail.com>
17273
17274 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17275 locale-defines.sym to gen-as-const-headers.
17276 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17277 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17279 to compile strcasecmp and strncasecmp.
17280 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17281 strcasecmp_l and strncasecmp_l.
17282 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17283 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17284 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17285 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17286 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17287 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17288 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17289 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17290 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17291 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17292 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17293
ab26144e
UD
172942011-11-12 Ulrich Drepper <drepper@gmail.com>
17295
7edb22ef
UD
17296 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17297 result of SYSDEP_GETTIME_CPU to retval.
17298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17299 parameter list to macro. Remove trailing semicolon. Adjust users.
17300
9694fc44
UD
17301 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17302 variable.
17303
8ad89ef8
UD
17304 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17305 mantissa words.
17306 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17307
0c822ef9
UD
17308 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17309 from unused variable.
17310
874e0564
UD
17311 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17312 DWARF definitions.
17313 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17314 for assembling.
17315
3a2edc79
UD
17316 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17317 over namespaces.
17318
f3c2577f
UD
17319 * sunrpc/rpc_prot.c (rejected): Fix case value.
17320
294ce126
UD
17321 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17322 unsigned long long int to avoid warnings in shift.
17323
5e2b63c6
UD
17324 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17325 of use of trans.
17326 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17327 variable tmp.
17328
e7f4b08e
UD
17329 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17330 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17331 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17332
ab26144e
UD
17333 * nis/nis_table.c (nis_list): Use variable of correct type for
17334 result of __follow_path call.
17335
8a6d5255
AZ
173362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17337
17338 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17339 of math functions ceil, trunc, floor, round, and sqrt, when
17340 avaliable on the platform.
17341 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17342 name clash.
17343 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17344 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17345 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17346
aaddc98c
MP
173472011-10-30 Marek Polacek <mpolacek@redhat.com>
17348
17349 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17350 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17351
95b7042b
RM
173522011-11-11 Roland McGrath <roland@hack.frob.com>
17353
17354 * include/unistd.h: Fix __readlink return type.
17355 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17356
57769839
UD
173572011-11-11 Ulrich Drepper <drepper@gmail.com>
17358
17359 * stdlib/ucontext.h: Undo last change for makecontext.
17360
edc5984d
AS
173612011-11-11 Andreas Schwab <schwab@redhat.com>
17362
98591e58
AS
17363 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17364
edc5984d
AS
17365 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17366 * setjmp/setjmp.h: Mark functions as non-leaf.
17367 * setjmp/bits/setjmp2.h: Likewise.
17368 * stdlib/ucontext.h: Likewise.
17369
77cdc054
AS
173702011-11-10 Andreas Schwab <schwab@redhat.com>
17371
17372 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17373 (reused_arena): Don't check arena limit.
17374 (arena_get2): Atomically check arena limit.
17375
fe72eebd
UD
173762011-11-08 Ulrich Drepper <drepper@gmail.com>
17377
5f078c32
UD
17378 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17379 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17380
fe72eebd
UD
17381 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17382 instructions.
17383
ae1bc2fa
AS
173842011-11-07 Andreas Schwab <schwab@redhat.com>
17385
7583a88d
AS
17386 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17387 handler when locking.
17388
ae1bc2fa
AS
17389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17390 Fix size of allocated buffer.
17391
10fb0bfa
AS
173922011-11-04 Andreas Schwab <schwab@redhat.com>
17393
998832a4
AS
17394 [BZ #10103]
17395 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17396 declarations for long double functions.
17397 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17398
10fb0bfa
AS
17399 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17400
3d7ba52b
AS
174012011-11-03 Andreas Schwab <schwab@redhat.com>
17402
a9ae54a1
AS
17403 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17404 installed.
17405
3d7ba52b
AS
17406 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17407 is disabled.
17408
bc8db248
ST
174092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17410
17411 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17412
45b96dd6
AS
174132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17414
647776f6
AS
17415 * include/alloca.h (stackinfo_alloca_round): Define.
17416 (extend_alloca): Use it.
17417 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17418 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17419 here.
17420
d91a8b93
AS
17421 * scripts/check-local-headers.sh: Ignore libaudit.h.
17422
45b96dd6
AS
17423 * nscd/Makefile (extra-objs): Make recursively expanded.
17424
432d41ce
UD
174252011-11-01 Ulrich Drepper <drepper@gmail.com>
17426
34372fc6
UD
17427 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17429
fadb59f8
UD
17430 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17431 * posix/tst-rfc3484-2.c: Likewise.
17432 * posix/tst-rfc3484-3.c: Likewise.
17433
78239589
UD
17434 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17435 process_vm_writev.
17436 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17437 process_vm_writev.
17438 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17439 process_vm_writev from libc using GLIBC_2.15 version.
17440
432d41ce
UD
17441 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17442
02f9c6cf
PP
174432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17444
17445 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17446 stack usage.
17447
3a2c0242
UD
174482011-10-31 Ulrich Drepper <drepper@gmail.com>
17449
f4ec4833
UD
17450 [BZ #13367]
17451 * nss/getent.c (initgroups_keys): Show error message in case no group
17452 names are given.
17453
3a2c0242
UD
17454 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17455 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17456 __bump_nl_timestamp.
17457 * nscd/connections (nscd_init): When host database is served open
17458 netlink socket and request notification about configuration changes.
17459 (main_loop_poll): Track netlink file descriptor and bump timestamp
17460 in case data becomes available.
17461 (main_loop_epoll): Likewise.
17462 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17463 (database_pers_head): Add extra_data fileds.
17464 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17465 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17466 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17467 Adjust caller.
17468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17469 in6ai data, call __free_in6ai.
17470 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17471 Add -DHAVE_NETLINK.
17472 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17473 interface information. Reuse previous data if netlink timestamp
17474 is not changed.
17475 (__bump_nl_timestamp): New function.
17476 (__free_in6ai): New function.
17477
636064eb
UD
174782011-10-30 Ulrich Drepper <drepper@gmail.com>
17479
17480 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17481 close_not_cancel_no_status here.
17482 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17483
9beb2334
UD
174842011-10-29 Ulrich Drepper <drepper@gmail.com>
17485
6ef76f3b
UD
17486 [BZ #13276]
17487 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17488 return value.
17489
0ffc4f3e 17490 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17491 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17492 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17493
cb95113e
UD
174942011-07-03 Andreas Jaeger <aj@suse.de>
17495
17496 [BZ #10709]
17497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17498 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17499 * math/libm-test.inc (sin_test): Add test case.
17500
a1b560ff
UD
175012011-10-29 Ulrich Drepper <drepper@gmail.com>
17502
c9aaface
UD
17503 [BZ #13337]
17504 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17505 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17506
d272e7f1
UD
17507 * elf/chroot_canon.c (chroot_canon): Cleanups.
17508
1bc33071
UD
17509 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17510
1760874d
TJ
17511 [BZ #13335]
17512 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17513 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17514
51d91b18
UD
17515 * string/test-strchr.c: Make usable for strchrnul testing.
17516 * string/test-strchrnul.c: New file.
17517 * string/Makefile (strop-tests): Add strchrnul.
17518
a1b560ff 17519 * po/it.po: Update from translation team.
b611fb81 17520 * po/es.po: Likewise.
a1b560ff 17521
a5b81e1f
UD
175222011-10-28 Ulrich Drepper <drepper@gmail.com>
17523
fd52bc6d
UD
17524 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17525 the three constants needed as parameters. Drop the others.
17526 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17527 __m128i_strloadu_tolower.
52e4b9eb
UD
17528 Create and initialize variable zero and use it in all the places
17529 where _mm_setzero_si128 was used.
fd52bc6d 17530
a5b81e1f
UD
17531 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17532 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17533 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17535 anymore.
17536 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17537 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17538 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17539 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17540 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17541 __mpranred, __mptan.
17542 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17543 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17544 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17545 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17546 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17547 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17549 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17550 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17551
b4343346
AS
175522011-10-28 Andreas Schwab <schwab@redhat.com>
17553
0c92d8a8
AS
17554 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17555 redefine if SHARED.
17556 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17557
b4343346
AS
17558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17559 wide char related routines to wcsmbs subdir.
17560
3871f58f
AS
175612011-10-27 Andreas Schwab <schwab@redhat.com>
17562
17563 [BZ #13344]
17564 * misc/sys/cdefs.h (__THROWNL): Define.
17565 * posix/unistd.h: Use __THREADNL instead of __THREAD
17566 for memory synchronization functions.
17567
94d44d9f
RM
175682011-10-26 Roland McGrath <roland@hack.frob.com>
17569
21b64b15 17570 [BZ #13349]
94d44d9f
RM
17571 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17572 doesn't exist.
17573 * manual/stdio.texi (Obstack Streams): Node removed.
17574
f6ce9294
AS
175752011-10-26 Andreas Schwab <schwab@redhat.com>
17576
80479147
AS
17577 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17579 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17580
f6ce9294
AS
17581 * math/math_private.h (math_force_eval): Allow non-addressable
17582 arguments.
17583 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17584
618280a1
UD
175852011-10-25 Ulrich Drepper <drepper@gmail.com>
17586
e0016b11
UD
17587 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17588 file is not needed.
17589
17590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17592 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17593 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17594 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17595 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17596 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17597 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17598 Add AVX variants.
17599 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17600 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17601 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17602 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17603 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17604 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17605 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17606 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17607 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17608 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17609 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17610 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17611 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17612 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17613 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17614 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17615 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17616 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17617 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17618
17619 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17620 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17621
618280a1
UD
17622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17623 place. Use VEX encoding when compiling for AVX.
17624
37822576
AS
176252011-10-25 Andreas Schwab <schwab@redhat.com>
17626
1f1e1947
AS
17627 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17628 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17629
37822576
AS
17630 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17631
31ea014d
UD
176322011-10-25 Ulrich Drepper <drepper@gmail.com>
17633
d7826aa1 17634 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17635 useless if() expression.
d7826aa1
UD
17636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17637 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17638 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17640 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17643 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17644 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17646 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17648 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17650 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17651 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17652 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17654 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17655
31ea014d
UD
17656 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17657
16437fec
AS
176582011-10-25 Andreas Schwab <schwab@redhat.com>
17659
17660 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17661 condition.
17662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17663
31d3cc00
UD
176642011-10-25 Ulrich Drepper <drepper@gmail.com>
17665
17666 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17667 .text section. Avoid duplicate constants.
17668 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17678 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17680 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17681 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17682 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17683 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17684 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17685 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17686 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17688 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17689 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17690 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17691 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17692 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17693 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17694 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17695 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17696 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17697 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17698 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17699 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17700 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17701 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17702 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17703 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17704 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17705 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17706 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17707 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17708 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17709 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17710 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17711 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17712 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17713
58985aa9
UD
177142011-10-24 Ulrich Drepper <drepper@gmail.com>
17715
202c9deb
UD
17716 * sysdeps/x86_64/dla.h: Move to ...
17717 * sysdeps/x86_64/fpu/dla.h: ...here.
17718 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17719 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17720
af968f62
UD
17721 * config.make.in: Add have-mfma4 entry.
17722 * configure.in: Substitute libc_cv_cc_fma4.
17723 * math/Makefile (dbl-only-routines): Add sincostab.
17724 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17725 Use __sincostab not sincos.
17726 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17727 name is a macro.
17728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17732 using __copysign.
17733 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17734 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17735 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17736 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17737 and __inv.
17738 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17739 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17740 __copysign.
17741 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17742 define aliases when function name is a macro.
17743 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17744 sysdeps/ieee754/dbl-64/sincos.tbl.
17745 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17746 fma4-enabled routines.
17747 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17748 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17749 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17750 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17751 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17752 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17753 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17754 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17755 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17756 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17757 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17758 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17759 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17760 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17761 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17762 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17763 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17764 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17765 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17766 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17767 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17768 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17769 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17770 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17771 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17773 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17774 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17775 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17776 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17777
58985aa9
UD
17778 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17779 rename.
17780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17788
a201fbcf
AS
177892011-10-24 Andreas Schwab <schwab@redhat.com>
17790
17791 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17792
fc2ee42a
LD
177932011-10-23 Ulrich Drepper <drepper@gmail.com>
17794
bb3129bd
UD
17795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17796
0275fff8
UD
17797 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17798 prediction.
17799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17800
2fa2ae85
UD
17801 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17802 Remove unused variable magic_bits.
17803 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17804
fc2ee42a
LD
17805 * string/strnlen.c: Define and use STRNLEN macro.
17806 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17807 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17808 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17809 * wcsmbs/wcslen.c: Define and use WCSLEN.
17810 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17811 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17812 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17813 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17814 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17815 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17816 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17817
ce7dd29f
LD
178182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17819
17820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17821 strnlen-sse2-no-bsf.
17822 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17824 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17825 Add strnlen support.
17826 (USE_AS_STRNLEN): New macro.
17827 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17828 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17829 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17830 * sysdeps/x86_64/wcslen.S: New file.
17831
979c70a3
MZ
178322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17833
17834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17835 XMM-moves are used for copying on small sizes.
17836
2d09f82f
LD
178372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17838
17839 * wcsmbs/Makefile (strop-tests): Add wcschr.
17840 * wcsmbs/test-wcschr.c: New file.
17841 * string/test-strchr.c: Update.
17842 Add wcschr support.
17843 (WIDE): New macro.
17844
619fccca
LD
178452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17846
2d09f82f 17847 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17848 * wcsmbs/test-wcslen.c: New file.
17849 * string/test-strlen.c: Update.
17850 Add wcslen support.
17851 (WIDE): New macro.
17852
09f699ea
UD
178532011-10-23 Ulrich Drepper <drepper@gmail.com>
17854
17855 * po/it.po: Update from translation team.
17856
95584d3b
LD
178572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17858
17859 * sysdeps/x86_64/wcscmp.S: Update.
17860 Fix wrong comparison semantics.
17861 wcscmp shall use signed comparison not unsigned.
17862 Don't use substraction to avoid overflow bug.
17863 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17864 * wcsmbc/wcscmp.c: Likewise.
17865 * string/test-strcmp.c: Likewise.
17866 Add new tests to check cases with negative values.
17867
c8b3296b
UD
178682011-10-23 Ulrich Drepper <drepper@gmail.com>
17869
17870 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17871 * sysdeps/x86_64/dla.h: ...here. New file.
17872 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17881
246ad57a
AS
178822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17883
17884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17885 __ynl_finite aliases.
17886
a1a87169
UD
178872011-10-22 Ulrich Drepper <drepper@gmail.com>
17888
0d355eb7
UD
17889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17890
a1a87169
UD
17891 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17892 define DLA_FMA.
17893 [DLA_FMA] (EMULV): Use DLA_FMA.
17894 [DLA_FMA] (MUL12): Use EMULV.
17895 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17896 that are not needed.
17897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17904
ee2aafe0
AS
179052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17906
17907 * math/s_nan.c: Undef __nan.
17908 * math/s_nanf.c: Undef __nanf.
17909 * math/s_nanl.c: Undef __nanl.
17910 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17911 "math_private.h".
17912
bc62c2fb
UD
179132011-10-22 Ulrich Drepper <drepper@gmail.com>
17914
77425c63
UD
17915 * math/s_catan.c: Add branch predictions.
17916 * math/s_catanf.c: Likewise.
17917 * math/s_catanh.c: Likewise.
17918 * math/s_catanhf.c: Likewise.
17919 * math/s_catanhl.c: Likewise.
17920 * math/s_catanl.c: Likewise.
17921 * math/s_cexp.c: Likewise.
17922 * math/s_cexpf.c: Likewise.
17923 * math/s_cexpl.c: Likewise.
17924 * math/s_clog.c: Likewise.
17925 * math/s_clog10.c: Likewise.
17926 * math/s_clog10f.c: Likewise.
17927 * math/s_clog10l.c: Likewise.
17928 * math/s_clogf.c: Likewise.
17929 * math/s_clogl.c: Likewise.
17930 * math/s_csqrt.c: Likewise.
17931 * math/s_csqrtf.c: Likewise.
17932 * math/s_csqrtl.c: Likewise.
17933 * math/s_ctanf.c: Likewise.
17934 * math/s_ctanh.c: Likewise.
17935 * math/s_ctanhf.c: Likewise.
17936 * math/s_ctanhl.c: Likewise.
17937 * math/s_ctanl.c: Likewise.
17938
bc62c2fb
UD
17939 * math/math_private.h: Define __nan, __nanf, __nanl.
17940 * math/s_cacosh.c: Include <math_private.h>.
17941 * math/s_cacoshl.c: Likewise.
17942 * math/s_casinh.c: Likewise.
17943 * math/s_casinhf.c: Likewise.
17944 * math/s_casinhl.c: Likewise.
17945 * math/s_ccos.c: Rely entire on ccosh.
17946 * math/s_ccosf.c: Rely entire on ccoshf.
17947 * math/s_ccosl.c: Rely entirely on ccoshl.
17948 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17949 Remove tests for FE_INVALID.
17950 * math/s_ccoshf.c: Likewise.
17951 * math/s_ccoshl.c: Likewise.
17952 * math/s_csin.c: Likewise.
17953 * math/s_csinf.c: Likewise.
17954 * math/s_csinh.c Likewise.
17955 * math/s_csinhf.c: Likewise.
17956 * math/s_csinhl.c: Likewise.
17957 * math/s_csinl.c: Likewise.
17958 * math/s_ctan.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17960 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17961 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17962
8ec250a4
UD
179632011-10-21 Ulrich Drepper <drepper@gmail.com>
17964
c196fed8
UD
17965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17966 compilation problems.
17967
8ec250a4
UD
17968 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17969 __builtin_expect.
17970
8d4f46c6
UD
179712011-10-20 Ulrich Drepper <drepper@gmail.com>
17972
ed72b654
UD
17973 * sysdeps/i386/configure.in: Test for -mfma4 option.
17974 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17975 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17976 COMMON_CPUID_INDEX_80000001.
17977 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17978 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17979 use it if FMA3 is not supported.
17980 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17981
8d4f46c6
UD
17982 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17983 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17984
d45c60c2
AS
179852011-10-20 Andreas Schwab <schwab@redhat.com>
17986
17987 [BZ #12892]
17988 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17989 it would create a cycle with a link time dependency.
17990
d9a4d2ab
UD
179912011-10-19 Ulrich Drepper <drepper@gmail.com>
17992
855d1560
UD
17993 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17994 instruction.
17995 * string/Makefile (strop-tests): Add rawmemchr.
17996 * string/test-rawmemchr.c: New file.
17997
d9a4d2ab
UD
17998 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17999 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18000 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18001 when compiling str{,n}casecmp and when AVX is available. Hook up
18002 new optimized code in initializers.
18003
8f3b1ffe
AS
180042011-10-19 Andreas Schwab <schwab@redhat.com>
18005
18006 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18007 __feraiseexcept instead of feraiseexcept.
18008
d38f1dba
UD
180092011-10-18 Ulrich Drepper <drepper@gmail.com>
18010
d9a8d0ab
UD
18011 * math/math_private.h: Define defaults for libc_fetestexcept and
18012 libc_feupdateenv.
18013 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18014 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18015 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18016 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18017 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18018 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18019 libc_fetestexcept and libc_feupdateenv.
18020
4855e3dd
UD
18021 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18022 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18023 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18024 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18025 libc_feholdexcept_setround.
18026
581d30e3
UD
18027 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18028 Add s_nearbyint-c and s_nearbyintf-c.
18029 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18030 nearbyintf inlines.
18031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18032 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18033 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18034 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18035
d38f1dba
UD
18036 * math/math_private.h: Define defaults for libc_fegetround,
18037 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18038 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18039 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18041 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18042 standard functions.
18043 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18044 Remove comments and hacks for old compiler versions.
18045 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18046 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18047 libc_feholdexceptl.
18048
caa6c9d8
AS
180492011-10-18 Andreas Schwab <schwab@redhat.com>
18050
18051 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18052 (__feraiseexcept_renamed): Add __NTH.
18053 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18054 namespace violations.
18055
97c066e6
UD
180562011-10-17 Ulrich Drepper <drepper@gmail.com>
18057
99ce7b04
UD
18058 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18059
1004d182
UD
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18061
228a984d
UD
18062 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18063 recently added interfaces.
18064 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18065
c8553a6a
UD
18066 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18067 about macro parameter expansion.
18068
ed22dcf6
UD
18069 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18070 __NO_MATH_INLINES is defined. Cleanups.
18071
18072 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18073 and __floorf is target has SSE4.1.
18074 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18075 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18076 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18077 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18078
b171c137
UD
18079 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18080 name.
18081 (floorf): Likewise.
18082
97c066e6
UD
18083 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18084
629f62ef
AS
180852011-10-17 Andreas Schwab <schwab@redhat.com>
18086
49a43d80
AS
18087 * misc/sys/cdefs.h: Fix last change.
18088
629f62ef
AS
18089 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18090 database lookup.
18091
e453f6cd
UD
180922011-10-16 Ulrich Drepper <drepper@gmail.com>
18093
aa78043a
UD
18094 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18095
ad0f5cad
UD
18096 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18105 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18106 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18107 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18108 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18109 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18110 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18111 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18112 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18113 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18114 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18115 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18116 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18117 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18118
18119 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18120 ceil, ceilf, floor, floorf.
18121
18122 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18123 Perform IRELATIVE relocations last.
18124
e453f6cd
UD
18125 * elf/do-rel.h: Add another parameter nrelative, replacing the
18126 local variable with the same name. Change name of the function
18127 to end in Rel or Rela (uppercase).
18128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18129 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18130 elf_dynamic_do_##reloc function.
18131
fd5bdc09
UD
181322011-10-15 Ulrich Drepper <drepper@gmail.com>
18133
79b195b5
UD
18134 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18135 is sufficient, at least on modern CPUs.
18136
d4a28569
UD
18137 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18138
b61099b5
UD
18139 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18140 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18141
bcf01e6d
UD
18142 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18143 __expl_finite.
18144 * math/bits/math-finite.h: Add entries for exp.
18145 * math/e_expl.c: Add __*_finite alias.
18146 * sysdeps/i386/fpu/e_exp.S: Likewise.
18147 * sysdeps/i386/fpu/e_expf.S: Likewise.
18148 * sysdeps/i386/fpu/e_expl.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18150 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18154 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18155 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18156
ba1a0d59
UD
18157 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18158 is sufficient, at least on modern CPUs.
18159
fd5bdc09
UD
18160 * ctype/ctype-info.c (__ctype_init): Define.
18161 * include/ctype.h (__ctype_init): Declare.
18162 (__ctype_b_loc): The variable is always initialized.
18163 (__ctype_toupper_loc): Likewise.
18164 (__ctype_tolower_loc): Likewise.
18165 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18166 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18167
7872cfb0
AS
181682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18169
b468825a
AS
18170 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18171
7872cfb0
AS
18172 * configure.in: Also look in $cxxmachine/include for C++ system
18173 headers.
18174
be13f7bf
LD
181752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18176
18177 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18178 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18179 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18180 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18181 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18182 (USE_AS_WMEMCMP): New macro.
18183 Fixing indents.
18184 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18185 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18186 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18187 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18189 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18190 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18191 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18192 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18193 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18194 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18195 (USE_AS_WMEMCMP): New macro.
18196 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18197 * sysdeps/string/test-memcmp.c: Update.
18198 Fix simple_wmemcmp.
18199 Add new tests.
18200 * wcsmbs/wmemcmp.c: Update.
18201 (WMEMCMP): New macro.
18202 Fix overflow bug.
18203
556a2007
AJ
182042011-10-12 Andreas Jaeger <aj@suse.de>
18205
18206 [BZ #13268]
18207 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18208
538faaa7
UD
182092011-10-15 Ulrich Drepper <drepper@gmail.com>
18210
ab6737ff
UD
18211 * libio/iofwide.c (do_length): Avoid warning.
18212
538faaa7
UD
18213 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18214
396a21b1
UD
182152011-10-14 Ulrich Drepper <drepper@gmail.com>
18216
cdf2901f
UD
18217 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18218
38ad40ce
UD
18219 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18220 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18221 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18222 * sysdeps/i386/i686/fpu/e_log.S: New file.
18223 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18224 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18225
396a21b1
UD
18226 * ctype/ctype.h: Add support for inlined isXXX functions when
18227 compiling C++ code.
18228
6b1f68c9
AS
182292011-10-14 Andreas Schwab <schwab@redhat.com>
18230
349290c0
AS
18231 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18232
6b1f68c9
AS
18233 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18234
f2282d42
RM
182352011-10-13 Roland McGrath <roland@hack.frob.com>
18236
18237 [BZ #13291]
18238 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18239
5298ffa8
AS
182402011-10-13 Andreas Schwab <schwab@redhat.com>
18241
714fad23
AS
18242 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18243 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18244 feraiseexcept.
18245
81dcc7fb
AS
18246 * sysdeps/x86_64/memrchr.S: Check for zero size.
18247
5298ffa8
AS
18248 * string/stratcliff.c: Add memrchr tests.
18249
951fbcec
LD
182502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18251
18252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18253 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18254 rawmemchr-sse2 rawmemchr-sse2-bsf.
18255 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18256 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18257 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18258 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18259 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18260 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18261 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18262 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18263 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18264 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18265 * string/memrchr.c (MEMRCHR): New macro.
18266
0ac5ae23
UD
182672011-10-12 Ulrich Drepper <drepper@gmail.com>
18268
18269 Add integration with gcc's -ffinite-math-only and optimize wrapper
18270 functions in libm.
18271 * Versions.def: Define GLIBC_2.15 version for libm.
18272 * math/Makefile (headers): Add bits/math-finite.h.
18273 * math/bits/math-finite.h: New file.
18274 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18275 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18276 * math/e_acoshl.c: Add __*_finite alias.
18277 * math/e_acosl.c: Likewise.
18278 * math/e_asinl.c: Likewise.
18279 * math/e_atan2l.c: Likewise.
18280 * math/e_atanhl.c: Likewise.
18281 * math/e_coshl.c: Likewise.
18282 * math/e_exp10.c: Likewise.
18283 * math/e_exp10f.c: Likewise.
18284 * math/e_exp10l.c: Likewise.
18285 * math/e_exp2l.c: Likewise.
18286 * math/e_fmodl.c: Likewise.
18287 * math/e_gammal_r.c: Likewise.
18288 * math/e_hypotl.c: Likewise.
18289 * math/e_j0l.c: Likewise.
18290 * math/e_j1l.c: Likewise.
18291 * math/e_jnl.c: Likewise.
18292 * math/e_lgammal_r.c: Likewise.
18293 * math/e_log10l.c: Likewise.
18294 * math/e_log2l.c: Likewise.
18295 * math/e_logl.c: Likewise.
18296 * math/e_powl.c: Likewise.
18297 * math/e_sinhl.c: Likewise.
18298 * math/e_sqrtl.c: Likewise.
18299 * math/e_scalb.c: Completely rewritten and optimized.
18300 * math/e_scalbf.c: Likewise.
18301 * math/e_scalbl.c: Likewise.
18302 * math/w_acos.c: Likewise.
18303 * math/w_acosf.c: Likewise.
18304 * math/w_acosl.c: Likewise.
18305 * math/w_acosh.c: Likewise.
18306 * math/w_acoshf.c: Likewise.
18307 * math/w_acoshl.c: Likewise.
18308 * math/w_asin.c: Likewise.
18309 * math/w_asinf.c: Likewise.
18310 * math/w_asinl.c: Likewise.
18311 * math/w_atan2.c: Likewise.
18312 * math/w_atan2f.c: Likewise.
18313 * math/w_atan2l.c: Likewise.
18314 * math/w_atanh.c: Likewise.
18315 * math/w_atanhf.c: Likewise.
18316 * math/w_atanhl.c: Likewise.
18317 * math/w_exp10.c: Likewise.
18318 * math/w_exp10f.c: Likewise.
18319 * math/w_exp10l.c: Likewise.
18320 * math/w_fmod.c: Likewise.
18321 * math/w_fmodf.c: Likewise.
18322 * math/w_fmodl.c: Likewise.
18323 * math/w_j0.c: Likewise.
18324 * math/w_j0f.c: Likewise.
18325 * math/w_j0l.c: Likewise.
18326 * math/w_j1.c: Likewise.
18327 * math/w_j1f.c: Likewise.
18328 * math/w_j1l.c: Likewise.
18329 * math/w_jn.c: Likewise.
18330 * math/w_jnf.c: Likewise.
18331 * math/w_log.c: Likewise.
18332 * math/w_logf.c: Likewise.
18333 * math/w_logl.c: Likewise.
18334 * math/w_log10.c: Likewise.
18335 * math/w_log10f.c: Likewise.
18336 * math/w_log10l.c: Likewise.
18337 * math/w_log2.c: Likewise.
18338 * math/w_log2f.c: Likewise.
18339 * math/w_log2l.c: Likewise.
18340 * math/w_pow.c: Likewise.
18341 * math/w_powf.c: Likewise.
18342 * math/w_powl.c: Likewise.
18343 * math/w_remainder.c: Likewise.
18344 * math/w_remainderf.c: Likewise.
18345 * math/w_remainderl.c: Likewise.
18346 * math/w_scalb.c: Likewise.
18347 * math/w_scalbf.c: Likewise.
18348 * math/w_scalbl.c: Likewise.
18349 * math/w_sqrt.c: Likewise.
18350 * math/w_sqrtf.c: Likewise.
18351 * math/w_sqrtl.c: Likewise.
18352 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18353 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18354 used.
18355 * math/math_private.h: Declare __kernel_standard_f.
18356 * math/w_cosh.c: Remove cruft and optimize a bit.
18357 * math/w_coshf.c: Likewise.
18358 * math/w_coshl.c: Likewise.
18359 * math/w_exp2.c: Likewise.
18360 * math/w_exp2f.c: Likewise.
18361 * math/w_exp2l.c: Likewise.
18362 * math/w_hypot.c: Likewise.
18363 * math/w_hypotf.c: Likewise.
18364 * math/w_hypotl.c: Likewise.
18365 * math/w_lgamma.c: Likewise.
18366 * math/w_lgamma_r.c: Likewise.
18367 * math/w_lgammaf.c: Likewise.
18368 * math/w_lgammaf_r.c: Likewise.
18369 * math/w_lgammal.c: Likewise.
18370 * math/w_lgammal_r.c: Likewise.
18371 * math/w_sinh.c: Likewise.
18372 * math/w_sinhf.c: Likewise.
18373 * math/w_sinhl.c: Likewise.
18374 * math/w_tgamma.c: Likewise.
18375 * math/w_tgammaf.c: Likewise.
18376 * math/w_tgammal.c: Likewise.
18377 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18378 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18379 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18380 Minor optimizations. Pretty printing. Remove cruft.
18381 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18382 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18384 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18385 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18386 * sysdeps/i386/fpu/e_asin.S: Likewise.
18387 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18388 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18389 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18390 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18391 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18393 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18394 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18395 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18396 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18397 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18398 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18399 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18400 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18401 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18402 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18403 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18404 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18405 * sysdeps/i386/fpu/e_log.S: Likewise.
18406 * sysdeps/i386/fpu/e_log10.S: Likewise.
18407 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18409 * sysdeps/i386/fpu/e_log2.S: Likewise.
18410 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18411 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18412 * sysdeps/i386/fpu/e_logf.S: Likewise.
18413 * sysdeps/i386/fpu/e_logl.S: Likewise.
18414 * sysdeps/i386/fpu/e_pow.S: Likewise.
18415 * sysdeps/i386/fpu/e_powf.S: Likewise.
18416 * sysdeps/i386/fpu/e_powl.S: Likewise.
18417 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18418 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18419 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18420 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18422 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18423 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18424 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18425 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18435 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18436 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18437 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18439 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18442 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18443 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18446 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18447 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18448 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18449 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18450 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18451 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18452 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18453 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18454 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18455 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18456 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18457 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18458 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18459 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18460 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18461 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18462 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18463 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18464 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18465 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18466 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18467 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18486 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18491 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18498 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18499 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18500 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18505 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18506 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18507 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18508 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18509 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18511 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18513 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18514 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18515 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18517 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18518 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18519 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18520 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18521 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18522 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18523 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18524 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18525 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18526 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18527 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18528 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18529 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18530 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18531 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18532 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18534 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18535 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18536 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18537 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18538 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18539 (__isnanf): Likewise.
18540 (__isinf_ns): Likewise.
18541 (__isinf_nsf): Likewise.
18542 (__finite): Likewise.
18543 (__finitef): Likewise.
18544 (__ieee754_sqrt): Define as macro.
18545 (__ieee754_sqrtf): Define as macro.
18546 (__ieee754_sqrtl): Define as macro.
18547 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18548 inlined copy.
18549 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18550 __FINITE_MATH_ONLY__ consistent.
18551 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18552
12cc2fcd
AS
185532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18554
a843a204
AS
18555 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18556 of rawmemchr.
18557
12cc2fcd
AS
18558 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18559
c853acd5
UD
185602011-10-09 Ulrich Drepper <drepper@gmail.com>
18561
18562 * po/ja.po: Update from translation team.
18563
c658d255
RM
185642011-10-08 Roland McGrath <roland@hack.frob.com>
18565
110946e4
RM
18566 * locale/programs/locarchive.c (prepare_address_space): New function.
18567 (create_archive, enlarge_archive, open_archive): Use it.
18568
50604220
RM
18569 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18570 inside [SHARED], where it is used.
18571
c658d255
RM
18572 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18573
18574 * nss/getent.c (netgroup_keys): Remove unused variable.
18575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18576
6a621eb7
UD
185772011-10-08 Ulrich Drepper <drepper@gmail.com>
18578
7edb55ce
UD
18579 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18580 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18582 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18583 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18584 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18585 * math/Makefile (libm-calls): Add s_isinf_ns.
18586 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18587 * math/multc3.c: Likewise.
18588 * math/s_casin.c: Likewise.
18589 * math/s_casinf.c: Likewise.
18590 * math/s_casinl.c: Likewise.
18591 * math/s_ccos.c: Likewise.
18592 * math/s_ccosf.c: Likewise.
18593 * math/s_ccosl.c: Likewise.
18594 * math/s_ctan.c: Likewise.
18595 * math/s_ctanf.c: Likewise.
18596 * math/s_ctanh.c: Likewise.
18597 * math/s_ctanhf.c: Likewise.
18598 * math/s_ctanhl.c: Likewise.
18599 * math/s_ctanl.c: Likewise.
18600 * math/w_fmod.c: Likewise.
18601 * math/w_fmodf.c: Likewise.
18602 * math/w_fmodl.c: Likewise.
18603 * math/w_remainder.c: Likewise.
18604 * math/w_remainderf.c: Likewise.
18605 * math/w_remainderl.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18607 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18608 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18610 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18611 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18612 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18613 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18614
187da0ae
UD
18615 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18616 of the number.
18617 * stdio-common/printf_fphex.c: Likewise.
18618 * stdio-common/printf_size.c: Likewise.
18619
9277c064
UD
18620 * math/e_exp10.c: Include math_private.h using <...> not "...".
18621 * math/e_exp10f.c: Likewise.
18622 * math/e_exp10l.c: Likewise.
18623 * math/e_exp2l.c: Likewise.
18624 * math/e_j0l.c: Likewise.
18625 * math/e_j1l.c: Likewise.
18626 * math/e_jnl.c: Likewise.
18627 * math/e_lgammal_r.c: Likewise.
18628 * math/e_rem_pio2l.c: Likewise.
18629 * math/e_scalb.c: Likewise.
18630 * math/e_scalbf.c: Likewise.
18631 * math/e_scalbl.c: Likewise.
18632 * math/k_cosl.c: Likewise.
18633 * math/k_sinl.c: Likewise.
18634 * math/k_tanl.c: Likewise.
18635 * math/s_cacoshf.c: Likewise.
18636 * math/s_catan.c: Likewise.
18637 * math/s_catanf.c: Likewise.
18638 * math/s_catanh.c: Likewise.
18639 * math/s_catanhf.c: Likewise.
18640 * math/s_catanhl.c: Likewise.
18641 * math/s_catanl.c: Likewise.
18642 * math/s_ccosh.c: Likewise.
18643 * math/s_ccoshf.c: Likewise.
18644 * math/s_ccoshl.c: Likewise.
18645 * math/s_cexp.c: Likewise.
18646 * math/s_cexpf.c: Likewise.
18647 * math/s_cexpl.c: Likewise.
18648 * math/s_clog.c: Likewise.
18649 * math/s_clog10.c: Likewise.
18650 * math/s_clog10f.c: Likewise.
18651 * math/s_clog10l.c: Likewise.
18652 * math/s_clogf.c: Likewise.
18653 * math/s_clogl.c: Likewise.
18654 * math/s_csin.c: Likewise.
18655 * math/s_csinf.c: Likewise.
18656 * math/s_csinh.c: Likewise.
18657 * math/s_csinhf.c: Likewise.
18658 * math/s_csinhl.c: Likewise.
18659 * math/s_csinl.c: Likewise.
18660 * math/s_csqrt.c: Likewise.
18661 * math/s_csqrtf.c: Likewise.
18662 * math/s_csqrtl.c: Likewise.
18663 * math/s_ctan.c: Likewise.
18664 * math/s_ctanf.c: Likewise.
18665 * math/s_ctanh.c: Likewise.
18666 * math/s_ctanhf.c: Likewise.
18667 * math/s_ctanhl.c: Likewise.
18668 * math/s_ctanl.c: Likewise.
18669 * math/s_ldexp.c: Likewise.
18670 * math/s_ldexpf.c: Likewise.
18671 * math/s_ldexpl.c: Likewise.
18672 * math/s_significand.c: Likewise.
18673 * math/s_significandf.c: Likewise.
18674 * math/s_significandl.c: Likewise.
18675 * math/w_acos.c: Likewise.
18676 * math/w_acosf.c: Likewise.
18677 * math/w_acosh.c: Likewise.
18678 * math/w_acoshf.c: Likewise.
18679 * math/w_acoshl.c: Likewise.
18680 * math/w_acosl.c: Likewise.
18681 * math/w_asin.c: Likewise.
18682 * math/w_asinf.c: Likewise.
18683 * math/w_asinl.c: Likewise.
18684 * math/w_atan2.c: Likewise.
18685 * math/w_atan2f.c: Likewise.
18686 * math/w_atan2l.c: Likewise.
18687 * math/w_atanh.c: Likewise.
18688 * math/w_atanhf.c: Likewise.
18689 * math/w_atanhl.c: Likewise.
18690 * math/w_cosh.c: Likewise.
18691 * math/w_coshf.c: Likewise.
18692 * math/w_coshl.c: Likewise.
18693 * math/w_dremf.c: Likewise.
18694 * math/w_exp10.c: Likewise.
18695 * math/w_exp10f.c: Likewise.
18696 * math/w_exp10l.c: Likewise.
18697 * math/w_exp2.c: Likewise.
18698 * math/w_exp2f.c: Likewise.
18699 * math/w_fmod.c: Likewise.
18700 * math/w_fmodf.c: Likewise.
18701 * math/w_fmodl.c: Likewise.
18702 * math/w_hypot.c: Likewise.
18703 * math/w_hypotf.c: Likewise.
18704 * math/w_hypotl.c: Likewise.
18705 * math/w_j0.c: Likewise.
18706 * math/w_j0f.c: Likewise.
18707 * math/w_j0l.c: Likewise.
18708 * math/w_j1.c: Likewise.
18709 * math/w_j1f.c: Likewise.
18710 * math/w_j1l.c: Likewise.
18711 * math/w_jn.c: Likewise.
18712 * math/w_jnf.c: Likewise.
18713 * math/w_jnl.c: Likewise.
18714 * math/w_lgamma.c: Likewise.
18715 * math/w_lgamma_r.c: Likewise.
18716 * math/w_lgammaf.c: Likewise.
18717 * math/w_lgammaf_r.c: Likewise.
18718 * math/w_lgammal.c: Likewise.
18719 * math/w_lgammal_r.c: Likewise.
18720 * math/w_log.c: Likewise.
18721 * math/w_log10.c: Likewise.
18722 * math/w_log10f.c: Likewise.
18723 * math/w_log10l.c: Likewise.
18724 * math/w_log2.c: Likewise.
18725 * math/w_log2f.c: Likewise.
18726 * math/w_log2l.c: Likewise.
18727 * math/w_logf.c: Likewise.
18728 * math/w_logl.c: Likewise.
18729 * math/w_pow.c: Likewise.
18730 * math/w_powf.c: Likewise.
18731 * math/w_powl.c: Likewise.
18732 * math/w_remainder.c: Likewise.
18733 * math/w_remainderf.c: Likewise.
18734 * math/w_remainderl.c: Likewise.
18735 * math/w_scalb.c: Likewise.
18736 * math/w_scalbf.c: Likewise.
18737 * math/w_scalbl.c: Likewise.
18738 * math/w_sinh.c: Likewise.
18739 * math/w_sinhf.c: Likewise.
18740 * math/w_sinhl.c: Likewise.
18741 * math/w_sqrt.c: Likewise.
18742 * math/w_sqrtf.c: Likewise.
18743 * math/w_sqrtl.c: Likewise.
18744 * math/w_tgamma.c: Likewise.
18745 * math/w_tgammaf.c: Likewise.
18746 * math/w_tgammal.c: Likewise.
18747
6a621eb7
UD
18748 * po/ja.po: Update from translation team.
18749
bf582445
AJ
187502011-09-29 Andreas Jaeger <aj@suse.de>
18751
f9efbf3a
AJ
18752 [BZ #13179]
18753 * sunrpc/netname.c (netname2host): Fix logic.
18754
bf582445
AJ
18755 [BZ #6779]
18756 [BZ #6783]
18757 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18758 correctly.
18759 * math/w_remainder.c (__remainder): Likewise.
18760 * math/w_remainderf.c (__remainderf): Likewise.
18761 * math/libm-test.inc (remainder_test): Add test cases.
18762
48693bea
AK
187632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18764
18765 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18766 sdiv_qrnnd.
18767
42622229
LD
187682011-10-07 Ulrich Drepper <drepper@gmail.com>
18769
18770 * string/test-memcmp.c: Avoid unncessary #defines.
18771 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18772
093ecf92
LD
187732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18774
18775 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18776 Use new sse2 version for core i3 - i7 as it's faster
18777 than sse42 version.
18778 (bit_Prefer_PMINUB_for_stringop): New.
18779 * sysdeps/x86_64/rawmemchr.S: Update.
18780 Replace with faster SSE2 version.
18781 * sysdeps/x86_64/memrchr.S: New file.
18782 * sysdeps/x86_64/memchr.S: Update.
18783 Replace with faster SSE2 version.
18784
fde56e5c
MP
187852011-09-12 Marek Polacek <mpolacek@redhat.com>
18786
18787 * elf/dl-load.c (lose): Add cast to avoid warning.
18788
21fd49a9
UD
187892011-10-07 Ulrich Drepper <drepper@gmail.com>
18790
5a06e643
UD
18791 * po/ca.po: Update from translation team.
18792
684ae515
UD
18793 * inet/getnetgrent_r.c: Hook up nscd.
18794 * nscd/Makefile (routines): Add nscd_netgroup.
18795 (nscd-modules): Add netgroupcache.
18796 (CFLAGS-netgroupcache.c): Define.
18797 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18798 (cache_search): Add const to second parameter.
18799 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18800 INNETGR.
18801 (dbs): Add netgrdb entry.
18802 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18803 (verify_persistent_db): Handle netgrdb.
18804 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18805 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18806 GETFDNETGR.
18807 (netgroup_response_header): Define.
18808 (innetgroup_response_header): Define.
18809 (datahead): Add netgroup_response_header and innetgroup_response_header
18810 elements.
18811 * nscd/nscd.conf: Add entries for netgroup cache.
18812 * nscd/nscd.h (dbtype): Add netgrdb.
18813 (_PATH_NSCD_NETGROUP_DB): Define.
18814 (netgroup_iov_disabled): Declare.
18815 (xmalloc, xcalloc, xrealloc): Move declarations here.
18816 (cache_search): Adjust prototype.
18817 Add netgroup-related prototypes.
18818 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18819 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18820 (__nscd_innetgr): Declare.
18821 * nscd/selinux.c (perms): Use access_vector_t as element type and
18822 add netgroup-related initializers.
18823 * nscd/netgroupcache.c: New file.
18824 * nscd/nscd_netgroup.c: New file.
18825 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18826 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18827 For four parameters use innetgr.
18828 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18829 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18830 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18831 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18832
21fd49a9
UD
18833 * nscd/connections.c (register_traced_file): Don't register file
18834 for disabled databases.
18835
054c0457
UD
188362011-10-06 Ulrich Drepper <drepper@gmail.com>
18837
32b63198
UD
18838 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18839
054c0457
UD
18840 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18841 from tree and freeing node.
18842
64031225
JO
188432011-09-25 Jiri Olsa <jolsa@redhat.com>
18844
18845 * nss/nsswitch.c (__nss_database_lookup): Handle
18846 nss_parse_service_list out of memory case.
18847
0490345c
JO
188482011-09-15 Jiri Olsa <jolsa@redhat.com>
18849
18850 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18851 out of memory case.
18852
3a62d00d
AS
188532011-10-04 Andreas Schwab <schwab@redhat.com>
18854
18855 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18856 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18857 pass it down.
18858 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18859 elf_machine_rela, elf_machine_lazy_rel.
18860 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18861 (ELF_DYNAMIC_DO_REL): Likewise.
18862 (ELF_DYNAMIC_DO_RELA): Likewise.
18863 (ELF_DYNAMIC_RELOCATE): Likewise.
18864 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18865 to ELF_DYNAMIC_DO_REL.
18866 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18867 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18868 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18869 elf_machine_rela.
18870 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18871 skip_ifunc, don't call ifunc function if non-zero.
18872 (elf_machine_rela): Likewise.
18873 (elf_machine_lazy_rel): Likewise.
18874 (elf_machine_lazy_rela): Likewise.
18875 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18876 (elf_machine_lazy_rel): Likewise.
18877 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18878 Likewise.
18879 (elf_machine_lazy_rel): Likewise.
18880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18881 Likewise.
18882 (elf_machine_lazy_rel): Likewise.
18883 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18884 (elf_machine_lazy_rel): Likewise.
18885 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18886 (elf_machine_lazy_rel): Likewise.
18887 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18888 (elf_machine_lazy_rel): Likewise.
18889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18890 (elf_machine_lazy_rel): Likewise.
18891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18892 (elf_machine_lazy_rel): Likewise.
18893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18894 (elf_machine_lazy_rel): Likewise.
18895
68577918
UD
188962011-09-28 Ulrich Drepper <drepper@gmail.com>
18897
18898 * nss/nss_files/files-init.c (_nss_files_init): Use static
18899 initialization for all the *_traced_file variables.
18900
68822d74
AS
189012011-09-28 Andreas Schwab <schwab@redhat.com>
18902
18903 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18904
2056100b
RM
189052011-09-27 Roland McGrath <roland@hack.frob.com>
18906
18907 [BZ #13226]
18908 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18909
32c76b63
AS
189102011-09-27 Andreas Schwab <schwab@redhat.com>
18911
18912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18913 Reread the line before reparsing it.
18914
bf972c9d
AS
189152011-09-26 Andreas Schwab <schwab@redhat.com>
18916
18917 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18918
e057a1b5
JM
189192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18920 Maxim Kuvyrkov <maxim@codesourcery.com>
18921 Joseph Myers <joseph@codesourcery.com>
18922
18923 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18924 if needed for __stack_chk_guard.
18925
bc7e1c36
RM
189262011-09-19 Roland McGrath <roland@hack.frob.com>
18927
ecb1482f
RM
18928 * sysdeps/posix/spawni.c (script_execute): Always define it.
18929 It will be optimized away if unused.
18930 (maybe_script_execute): New function.
18931 (__spawni): Call it.
18932
bc7e1c36
RM
18933 * Makerules: Don't include tls.make.
18934 (config-tls): Always set to thread.
18935 * tls.make.c: File removed.
18936
1c3b002b
MF
189372011-09-19 Mike Frysinger <vapier@gentoo.org>
18938
18939 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18940 * config.make.in (CPPFLAGS-config): New substituted variable.
18941
2840865d
UD
189422011-09-15 Ulrich Drepper <drepper@gmail.com>
18943
88738eb6
UD
18944 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18945
cbf645a6 18946 [BZ #13192]
2840865d
UD
18947 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18948 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18949
b402e91a
RM
189502011-09-15 Roland McGrath <roland@hack.frob.com>
18951
18952 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18953 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18954 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18955 (CALL_FAIL): Likewise.
18956 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18957 (CALL_FAIL): Macro removed.
18958 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18959
4c1a1f71
UD
189602011-09-15 Ulrich Drepper <drepper@gmail.com>
18961
18962 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18963 for __FINITE_MATH_ONLY__ == 1.
18964
edc121be
AS
189652011-09-15 Andreas Schwab <schwab@redhat.com>
18966
18967 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18968 __ieee754_sqrt instead of sqrt.
18969 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18970 __ieee754_sqrtf instead of sqrtf.
18971 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18972 __floorf instead of floorf.
18973 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18974 __floorf, __truncf instead of floorf, truncf.
18975
cd205654
UD
189762011-09-14 Ulrich Drepper <drepper@gmail.com>
18977
ee4d0315
UD
18978 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18979
cd205654
UD
18980 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18981 __extern_always_inline.
18982 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18983 32-bit.
18984
48b67d71
AS
189852011-09-14 Andreas Schwab <schwab@redhat.com>
18986
18987 * elf/rtld.c (dl_main): Also relocate in dependency order when
18988 doing symbol dependency testing.
18989
1ae12c75
AS
189902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18991
18992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18993 Always define `refsym'.
18994
995a80df
AS
189952011-09-13 Andreas Schwab <schwab@redhat.com>
18996
e529793b
AS
18997 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18998 (__FD_ELT): Renamed from __FDELT.
18999 * misc/bits/select2.h (__FD_ELT): Likewise.
19000 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19001 __FD_MASK instead of __FDELT, __FDMASK.
19002 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19003 Likewise.
19004 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19005 Likewise.
19006
52d4fef8
AS
19007 * elf/Makefile (gen-ldd): Fix pattern.
19008
995a80df
AS
19009 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19010 (init_tls): Likewise.
19011
8682f8b0
UD
190122011-09-12 Ulrich Drepper <drepper@gmail.com>
19013
19014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19015
de82006d
AS
190162011-09-12 Andreas Schwab <schwab@redhat.com>
19017
a7c8e6a1
AS
19018 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19019 `struct cmsghdr *' instead of `void *'.
19020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19021 Likewise.
19022
0f31fe77
AS
190232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19024
19025 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19026 if non-absolute.
19027 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19028 ldd_rewrite_script.
0f31fe77 19029
32b4c839
UD
190302011-09-11 Ulrich Drepper <drepper@gmail.com>
19031
83cd1420
UD
19032 * configure.in: Remove --with-tls option.
19033 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19034 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19035 out in case it is missing.
19036 * sysdeps/ia64/elf/configure.in: Likewise.
19037 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19038 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19039 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19040 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19041 * sysdeps/sh/elf/configure.in: Likewise.
19042 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19043 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19044 * sysdeps/x86_64/elf/configure.in: Likewise.
19045 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19046 * sysdeps/mach/hurd/tls.h: Likewise.
19047
633f745d
UD
19048 [BZ #13067]
19049 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19050
f318beb8
UD
19051 [BZ #13090]
19052 * configure.in: Fix use of AC_INIT.
19053
32b4c839
UD
19054 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19055
3ce1f295
UD
190562011-09-10 Ulrich Drepper <drepper@gmail.com>
19057
bb016596
UD
19058 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19059 __set_errno.
8e58439c
UD
19060 * malloc/hooks.c: Likewise.
19061
aebae053 19062 [BZ #11929]
02d46fc4
UD
19063 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19064 variables statically.
19065 (narenas): Initialize.
19066 (list_lock): Initialize.
bb016596
UD
19067 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19068 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19069 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19070 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19071 Add initializers to main_arena and mp_.
19072 (malloc_state): Remove pagesize member. Change all users to use
19073 GLRO(dl_pagesize).
19074
19075 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19076 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19077 is always initialized.
19078
22a89187
UD
19079 * malloc/malloc.c: Removed unused configurations and dead code.
19080 * malloc/arena.c: Likewise.
19081 * malloc/hooks.c: Likewise.
02d46fc4 19082 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19083
d063d164
UD
19084 * include/tls.h: Removed. USE___THREAD must always be defined.
19085 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19086 * elf/dl-libc.c: Likewise.
19087 * elf/dl-tsd.c: Likewise.
19088 * include/errno.h: Likewise.
19089 * include/netdb.h: Likewise.
19090 * include/resolv.h: Likewise.
19091 * inet/herrno-loc.c: Likewise.
19092 * inet/herrno.c: Likewise.
19093 * malloc/arena.c: Likewise.
19094 * malloc/hooks.c: Likewise.
19095 * malloc/malloc.c: Likewise.
19096 * resolv/res-state.c: Likewise.
19097 * resolv/res_libc.c: Likewise.
19098 * sysdeps/i386/dl-machine.h: Likewise.
19099 * sysdeps/ia64/dl-machine.h: Likewise.
19100 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19101 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19102 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19103 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19104 * sysdeps/sh/dl-machine.h: Likewise.
19105 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19106 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19107 * sysdeps/unix/i386/sysdep.S: Likewise.
19108 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19109 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19110 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19112 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19114 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19115 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19118 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19119 * sysdeps/x86_64/dl-machine.h: Likewise.
19120 * tls.make.c: Likewise.
19121
3ce1f295
UD
19122 * configure.in: Remove --with-__thread option. Make tests for
19123 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19124 tls_model attribute fail if no support is available. Remove
19125 USE_IN_LIBIO.
19126 * Makeconfig: Adjust for dropped configure option. All features are
19127 now mandatory.
19128 * Makerules: Likewise.
19129 * Versions.def: Likewise.
19130 * argp/argp-fmtstream.c: Likewise.
19131 * argp/argp-fmtstream.h: Likewise.
19132 * argp/argp-help.c: Likewise.
19133 * assert/assert.c: Likewise.
19134 * config.h.in: Likewise.
19135 * config.make.in: Likewise.
19136 * configure: Likewise.
19137 * configure.in: Likewise.
19138 * csu/Versions: Likewise.
19139 * csu/init.c: Likewise.
19140 * elf/tst-audit2.c: Likewise.
19141 * elf/tst-tls10.c: Likewise.
19142 * elf/tst-tls10.h: Likewise.
19143 * elf/tst-tls11.c: Likewise.
19144 * elf/tst-tls12.c: Likewise.
19145 * elf/tst-tls14.c: Likewise.
19146 * elf/tst-tlsmod11.c: Likewise.
19147 * elf/tst-tlsmod12.c: Likewise.
19148 * elf/tst-tlsmod13.c: Likewise.
19149 * elf/tst-tlsmod13a.c: Likewise.
19150 * elf/tst-tlsmod14a.c: Likewise.
19151 * elf/tst-tlsmod15b.c: Likewise.
19152 * elf/tst-tlsmod16a.c: Likewise.
19153 * elf/tst-tlsmod16b.c: Likewise.
19154 * elf/tst-tlsmod7.c: Likewise.
19155 * elf/tst-tlsmod8.c: Likewise.
19156 * elf/tst-tlsmod9.c: Likewise.
19157 * gmon/gmon.c: Likewise.
19158 * grp/fgetgrent_r.c: Likewise.
19159 * grp/putgrent.c: Likewise.
19160 * hurd/fopenport.c: Likewise.
19161 * include/libc-symbols.h: Likewise.
19162 * include/tls.h: Likewise.
19163 * intl/gettextP.h: Likewise.
19164 * intl/loadinfo.h: Likewise.
19165 * locale/global-locale.c: Likewise.
19166 * locale/localeinfo.h: Likewise.
19167 * mach/devstream.c: Likewise.
19168 * malloc/arena.c: Likewise.
19169 * malloc/set-freeres.c: Likewise.
19170 * misc/err.c: Likewise.
19171 * misc/getttyent.c: Likewise.
19172 * misc/mntent_r.c: Likewise.
19173 * posix/getopt.c: Likewise.
19174 * posix/wordexp.c: Likewise.
19175 * pwd/fgetpwent_r.c: Likewise.
19176 * resolv/Versions: Likewise.
19177 * resolv/res_hconf.c: Likewise.
19178 * shadow/fgetspent_r.c: Likewise.
19179 * shadow/putspent.c: Likewise.
19180 * stdio-common/printf_fphex.c: Likewise.
19181 * stdio-common/tmpfile.c: Likewise.
19182 * stdlib/abort.c: Likewise.
19183 * stdlib/fmtmsg.c: Likewise.
19184 * sunrpc/auth_unix.c: Likewise.
19185 * sunrpc/clnt_perr.c: Likewise.
19186 * sunrpc/clnt_tcp.c: Likewise.
19187 * sunrpc/clnt_udp.c: Likewise.
19188 * sunrpc/clnt_unix.c: Likewise.
19189 * sunrpc/openchild.c: Likewise.
19190 * sunrpc/svc_simple.c: Likewise.
19191 * sunrpc/svc_tcp.c: Likewise.
19192 * sunrpc/svc_udp.c: Likewise.
19193 * sunrpc/svc_unix.c: Likewise.
19194 * sunrpc/xdr.c: Likewise.
19195 * sunrpc/xdr_array.c: Likewise.
19196 * sunrpc/xdr_rec.c: Likewise.
19197 * sunrpc/xdr_ref.c: Likewise.
19198 * sunrpc/xdr_stdio.c: Likewise.
19199
1248c1c4
PB
192002011-09-09 Ulrich Drepper <drepper@gmail.com>
19201
19202 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19203
192042011-07-03 Andreas Jaeger <aj@suse.de>
19205
19206 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19207 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19208 regenerate with gen-libm-tests.pl.
19209
192102010-05-12 Petr Baudis <pasky@suse.cz>
19211
19212 [BZ #11589]
19213 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19214 around j0() zero points by switching to j1().
19215 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19216 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19218 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19219
f22e1074
UD
192202011-09-09 Ulrich Drepper <drepper@gmail.com>
19221
f19009c1
UD
19222 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19223 instead of 0.
19224 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19225 instead of 0. .
19226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19227 Patch in part by Pavel Roskin <proski@gnu.org>.
19228
3f8cc204
UD
19229 [BZ #13138]
19230 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19231 realloc.
19232 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19233 Free memory block if necessary.
19234
f22e1074
UD
19235 [BZ #12847]
19236 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19237 be NULL. Don't lock in this case.
19238
0a2349f9
RM
192392011-09-09 Roland McGrath <roland@hack.frob.com>
19240
19241 * elf/elf.h (ELFOSABI_GNU): New macro.
19242 (ELFOSABI_LINUX): Define to that.
19243
f3cdd467
DZ
192442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19245
19246 * string/strncat.c (strncat): Undef the symbol in case it has been
19247 defined in bits/string.h.
19248
74718d13
UD
192492011-09-09 Ulrich Drepper <drepper@gmail.com>
19250
633e9e0f
UD
19251 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19252
0a2349f9 19253 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19254 link map.
19255
f9924780
AJ
192562011-08-17 Andreas Jaeger <aj@suse.de>
19257
19258 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19259
7f5517aa
PP
192602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19261 Ian Lance Taylor <iant@google.com>
19262
19263 * math/libm-test.inc (lround_test): New testcase.
19264 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19265
762011fe
UD
192662011-09-08 Ulrich Drepper <drepper@gmail.com>
19267
92963737
UD
19268 * Makefile: Remove support for automatic cvs check-ins.
19269 * Makerules: Likewise.
19270 * config.make.in: Likewise.
19271 * configure.in: Likewise.
19272 * intl/Makefile: Likewise.
19273 * locale/Makefile: Likewise.
19274 * po/Makefile: Likewise.
19275 * posix/Makefile: Likewise.
19276 * sysdeps/gnu/Makefile: Likewise.
19277 * sysdeps/mach/hurd/Makefile: Likewise.
19278 * sysdeps/sparc/sparc32/Makefile: Likewise.
19279
b0727fd8
JS
19280 [BZ #13118]
19281 * posix/Makefile (bug-regex32-ENV): Define.
19282 Patch by John Stanley <jpsinthemix@verizon.net>.
19283
a0f33f99
UD
19284 * misc/Makefile (headers): Add bits/select2.h.
19285 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19286 * misc/bits/select2.h: New file.
19287 * include/bits/select2.h: New file.
19288 * debug/Makefile (routines): Add fdelt_chk.
19289 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19290 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19291 FD_ISSET.
19292 * debug/fdelt_chk.c: New file.
19293
762011fe
UD
19294 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19295 * wcsmbs/test-wmemcmp.c: Likewise.
19296 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19297 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19298
192992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19300
19301 * string/Makefile (strop-tests): Add memcmp.
19302 * string/test-wmemcmp.c: New file.
19303 * string/test-memcmp.c: Add wmemcmp support.
19304
7f513ec8
RM
193052011-09-08 Roland McGrath <roland@hack.frob.com>
19306
0442afb4
RM
19307 [BZ #13153]
19308 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19309 2011-07-19 change.
19310
7f513ec8
RM
19311 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19312 garbage value in a __mach_port_mod_refs call in the cases of the
19313 task-self and thread-self ports.
19314
a12b2239
ST
193152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19316
19317 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19318
610f9ab4
AS
193192011-09-08 Andreas Schwab <schwab@redhat.com>
19320
7f513ec8 19321 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19322
48882a1a
LD
193232011-09-07 Ulrich Drepper <drepper@gmail.com>
19324
b49865be
UD
19325 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19326
fdc86bc9
UD
19327 * elf/dl-libc.c (dlerror_run): Pass back error code from
19328 dl_catch_error.
19329
c966526a
UD
19330 [BZ #13123]
19331 * elf/dl-load.c (lose): Free l_origin if it is valid.
19332
48882a1a
LD
19333 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19334 names.
19335 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19337 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19340 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19341
77a2a8b4
AZ
193422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19343
19344 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19345 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19346 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19347 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19348 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19349 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19350 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19351 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19352 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19353 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19354
24f579d8
AM
193552011-08-15 Alan Modra <amodra@gmail.com>
19356
19357 [BZ #13092]
19358 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19359 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19360 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19361 ppc_mcount to static-only-routines.
19362 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19363 __mcount_internal.
19364 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19365 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19366
3d4837df
UD
193672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19368
19369 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19370 for finite and infinity parameters.
19371
22700377
WS
193722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19373
19374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19375 and add nop instructions for throughput optimization.
19376 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19377
5025581e
WS
193782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19379
19380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19381 aligned copy for power7 with vector-scalar instructions.
19382 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19383
08a300c9
L
193842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19387 AVX check.
19388
59178ef9
AS
193892011-09-07 Andreas Schwab <schwab@redhat.com>
19390
19391 [BZ #13144]
19392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19393 last change.
19394
e38ba7ab
UD
193952011-09-07 Ulrich Drepper <drepper@gmail.com>
19396
19397 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19398 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19399 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19400 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19401 clock_gettime.
19402
d53a73ac
UD
194032011-09-06 Ulrich Drepper <drepper@gmail.com>
19404
fc8bffcc
UD
19405 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19406 Forgot to demangle the pointer.
19407
ceaa0c5d
UD
19408 * sysdeps/i386/sysdep.h: Define atom_text_section.
19409 * sysdeps/x86_64/sysdep.h: Likewise.
19410 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19411 section with atom_text_section.
19412 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19413 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19415 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19416 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19417
a77d3c17
UD
19418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19419 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19420 already be defined. Change to take two parameters and don't assign
19421 result to variable. Adjust all users.
19422 Define INTERNAL_GETTIME if not already defined.
19423 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19424 call.
19425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19426 HAVE_CLOCK_GETTIME_VSYSCALL.
19427 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19428
d53a73ac
UD
19429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19430 gettimeofday vsyscall, just use time.
19431
a8f84144
AS
194322011-09-06 Andreas Schwab <schwab@redhat.com>
19433
19434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19435 <errno.h>.
19436
ef606249
UD
194372011-09-06 Ulrich Drepper <drepper@gmail.com>
19438
19439 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19440 syscall on x86-64.
19441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19442 syscall.
19443 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19445 syscall if possible.
19446
6585cb60
UD
194472011-09-05 Ulrich Drepper <drepper@gmail.com>
19448
19449 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19450 e_ident. Don't pass to find_mapsXX.
19451 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19452
a5f524e4
LD
194532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19454
19455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19456 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19457 * sysdeps/x86_64/multiarch/strchr.S: Update.
19458 Check bit_slow_BSF bit.
19459 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19460 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19461 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19462
554881ef
UD
194632011-09-05 Ulrich Drepper <drepper@gmail.com>
19464
d96de963
UD
19465 [BZ #13134]
19466 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19467 before glibc 2.15.
19468 (tryshell): Define.
19469 (__spawni): Change last parameter to be flag. Test
19470 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19471 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19472 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19473 * posix/spawni.c: Likewise.
19474 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19475 * posix/spawnp.c: Likewise. Change normal version to use
19476 SPAWN_XFLAGS_USE_PATH.
19477 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19478 SPAWN_XFLAGS_TRY_SHELL.
19479
d48e5868
UD
19480 [BZ #13150]
19481 * posix/glob.h: Remove gcc 1.x support.
19482
554881ef
UD
19483 [BZ #13068]
19484 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19485
693fb948
LD
194862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19487
19488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19489 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19490 strrchr-sse2-bsf
19491 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19492 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19493 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19494 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19495 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19496 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19497
1b48c537
UD
194982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19499
49d42c37
UD
19500 * sysdeps/x86_64/wcscmp.S: New file.
19501
1b48c537
UD
19502 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19503 wcscmp-c wcscmp-sse2
19504 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19505 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19506 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19507 * wcsmbs/wcscmp.c: Allow renaming.
19508
15c95c5d
DM
195092011-09-05 David S. Miller <davem@davemloft.net>
19510
19511 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19512 stack slot, rather than the struct return pointer slot.
19513 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19514 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19516 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19517
2f0ad8f3
UD
195182011-09-05 Ulrich Drepper <drepper@gmail.com>
19519
d88ae418
UD
19520 * po/ja.po: Update from translation team.
19521
2f0ad8f3
UD
19522 [BZ #13144]
19523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19524 kernel in 64-bit binaries.
19525
5f4318d1
DM
195262011-09-01 David S. Miller <davem@davemloft.net>
19527
19528 * elf/elf.h (HWCAP_SPARC_*): Move to..
19529 * sysdeps/sparc/sysdep.h: this new file and add new values.
19530 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19531 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19532 _DL_HWCAP_COUNT to 24.
19533 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19534 entries.
19535 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19536 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19537 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19539 instead of magic constants.
19540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19541
3ba57516
DM
195422011-08-31 David S. Miller <davem@davemloft.net>
19543
19544 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19545 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19546 Reimplement to do errno handling inline.
19547 (SYSCALL_ERROR_HANDLER): New macro.
19548 (__SYSCALL_STRING): Do not do errno handling in asm.
19549 (__CLONE_SYSCALL_STRING): Delete.
19550 (__INTERNAL_SYSCALL_STRING): Delete.
19551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19552 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19553 (PSEUDO): Reimplement to do errno handling inline.
19554 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19555 (SYSCALL_ERROR_HANDLER): New macro.
19556 (__SYSCALL_STRING): Do not do errno handling in asm.
19557 (__CLONE_SYSCALL_STRING): Delete.
19558 (__INTERNAL_SYSCALL_STRING): Delete.
19559 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19560 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19561 i386.
19562 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19563 (inline_syscall*): Add 'err' argument.
19564 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19565 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19566 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19567 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19568
19569 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19570 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19571
2bc17433
AS
195722011-08-30 Andreas Schwab <schwab@redhat.com>
19573
19574 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19575
fbeb5f4d
JO
195762011-08-29 Jiri Olsa <jolsa@redhat.com>
19577
19578 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19579 directive.
19580
ad69cc26
DM
195812011-08-24 David S. Miller <davem@davemloft.net>
19582
19583 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19584
39dd69df
AS
195852011-08-24 Andreas Schwab <schwab@redhat.com>
19586
19587 * elf/Makefile: Add rules to build and run unload8 test.
19588 * elf/unload8.c: New file.
19589 * elf/unload8mod1.c: New file.
19590 * elf/unload8mod1x.c: New file.
19591 * elf/unload8mod2.c: New file.
19592 * elf/unload8mod3.c: New file.
19593
19594 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19595 it wasn't used.
19596
2c0b250a
DM
195972011-08-23 David S. Miller <davem@davemloft.net>
19598
19599 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19600 subtract stack bias.
19601 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19602 %sp not %fp in calculations.
19603 (_JMPBUF_UNWINDS_ADJ): Likewise.
19604
22044b48
DM
19605 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19606 (aio_suspend): Call it to force an exception region around the
19607 AIO_MISC_WAIT() invocation.
19608
2cae4995
AS
196092011-08-23 Andreas Schwab <schwab@redhat.com>
19610
19611 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19612 backslash.
19613
873a772e
AJ
196142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19615
19616 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19617 protection macro.
19618 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19619 and <dl-machine.h>.
19620 (Elf64_FuncDesc): Remove.
19621
25ad0df1
DM
196222011-08-22 David S. Miller <davem@davemloft.net>
19623
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19625 sigaltstack check, add missing cfi directives.
19626 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19627 missing cfi directives, and sigaltstack handling.
19628
e888bcbe
AS
196292011-08-16 Andreas Schwab <schwab@redhat.com>
19630
19631 [BZ #11724]
19632 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19633 object is seen twice.
19634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19635
19636 * elf/Makefile (distribute): Add tst-initorder2.c.
19637 (tests): Add tst-initorder2.
19638 (modules-names): Add tst-initorder2a tst-initorder2b
19639 tst-initorder2c tst-initorder2d. Add rules to build them.
19640 ($(objpfx)tst-initorder2.out): New rule.
19641 * elf/tst-initorder2.c: New file.
19642 * elf/tst-initorder2.exp: New file.
19643
87162f46
AS
196442011-08-22 Andreas Schwab <schwab@redhat.com>
19645
70538b7f
AS
19646 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19647
f55ffe58
AS
19648 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19649 dependencies back to end of function.
19650
87162f46
AS
19651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19652 $(elfobjdir)/ld.so.
19653
91b392a4
UD
196542011-08-21 Ulrich Drepper <drepper@gmail.com>
19655
19656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19657 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19659 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19660 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19661 of __vdso_gettimeofday.
19662 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19663 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19664 attribute_hidden.
19665 (_libc_vdso_platform_setup): Remove initialization of
19666 __vdso_gettimeofday and __vdso_time.
19667
5c43483f
UD
196682011-08-20 Ulrich Drepper <drepper@gmail.com>
19669
775a77e7
UD
19670 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19671 and fgetc_unlocked.
19672 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19673 getc_unlocked.
89f447ed 19674
49c74ba9
UD
19675 * elf/dl-open.c (add_to_global): Report additions to the global scope
19676 for LD_DEBUG=scopes.
19677 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19678 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19679
5c43483f
UD
19680 [BZ #13114]
19681 * stdio-common/Makefile (tests): Add bug24.
19682 * stdio-common/bug24.c: New file.
19683
a101b025
AJ
196842011-08-19 Andreas Jaeger <aj@suse.de>
19685
19686 [BZ #13114]
19687 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19688 non-existant file when using close-on-exec mode.
19689
c88f1766
UD
196902011-08-20 Ulrich Drepper <drepper@gmail.com>
19691
0276a718
UD
19692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19693 the very first instruction.
19694
c88f1766
UD
19695 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19696 the CFI state in the end.
19697 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19698 inclusion of dl-trampoline.h.
19699 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19700
51ccffa0
AS
197012011-08-19 Andreas Schwab <schwab@redhat.com>
19702
94d7165f
AS
19703 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19704 expectations for long double.
19705
51ccffa0
AS
19706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19707 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19708
fd708658 197092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19710
19711 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19712 artificual limit depends upon the system page size.
19713
44f0a71e
UD
197142011-08-17 Ulrich Drepper <drepper@gmail.com>
19715
19716 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19717 * resolv/Makefile: Define CFLAGS-libresolv.
19718
8de79a24
AS
197192011-08-17 Andreas Schwab <schwab@redhat.com>
19720
19721 * nss/makedb.c (compute_tables): Make variables used in nested
19722 function static.
19723
27724598
UD
197242011-08-17 Ulrich Drepper <drepper@gmail.com>
19725
c5305d88
UD
19726 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19727 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19728 if buffer was too small.
19729
27724598
UD
19730 * elf/pldd.c (main): Attach to all threads in the process.
19731 Rewrite /proc handling to use *at functions.
19732
076fe015
UD
197332011-08-16 Ulrich Drepper <drepper@gmail.com>
19734
174baab3
UD
19735 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19736 specifies first scope to show.
19737 (dl_open_worker): Update callers. Move printing scope of new
19738 object to before the relocation.
44f0a71e 19739 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19740 * sysdeps/generic/ldsodefs.h: Update declaration.
19741
076fe015
UD
19742 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19743 string for the scope number.
19744
a60df2c3
UD
197452011-08-14 Ulrich Drepper <drepper@gmail.com>
19746
19747 * nscd/servicescache.c (cache_addserv): Make sure written is always
19748 initialized.
19749
5e4287d1
RM
197502011-08-14 Roland McGrath <roland@hack.frob.com>
19751
85ae0589
RM
19752 * sysdeps/i386/i486/bits/atomic.h
19753 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19754 statement expression, so as to suppress "set but not used" warning.
19755 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19756
69f63097
RM
19757 * string/strncat.c (STRNCAT): Use prototype definition.
19758
675456ef
RM
19759 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19760 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19761 -Iprograms here.
19762 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19763 (localedef-modules): Add localedef.
19764 (locale-modules): Add locale.
19765
5e4287d1
RM
19766 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19767 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19768 to avoid a warning.
19769
9c96ff23
DM
197702011-08-14 David S. Miller <davem@davemloft.net>
19771
19772 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19773 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19774
f9ddf089
UD
197752011-08-13 Ulrich Drepper <drepper@gmail.com>
19776
44f0a71e 19777 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19778 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19779 * elf/rtld.c (dl_main): Set l_name of vDSO.
19780 Call _dl_show_scope when DL_DEBUG_SCOPES.
19781 (process_dl_debug): Recognize scopes flag and also set it for all.
19782 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19783 Declare _dl_show_scope.
19784
1dc27704
UD
19785 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19786 (do_dlopen): Pass caller_dlopen to dl_open.
19787 (__libc_dlopen_mode): Initialize caller_dlopen.
19788
f9ddf089
UD
19789 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19790 of libc. Make tolower call locale-independent. Optimize a bit by
19791 using isdigit instead of isalnum.
19792 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19793
9ac533d3
UD
197942011-08-12 Ulrich Drepper <drepper@gmail.com>
19795
19796 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19797 was a dependency or dynamically loaded.
19798
89edf2e9
UD
197992011-08-11 Ulrich Drepper <drepper@gmail.com>
19800
8e999d29
UD
19801 * intl/l10nflist.c: Allow architecture-specific pop function.
19802 * sysdeps/x86_64/l10nflist.c: New file.
19803
89edf2e9
UD
19804 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19805 classification.
19806
14d96785
AS
198072011-08-10 Andreas Schwab <schwab@redhat.com>
19808
19809 * include/dirent.h: Add libc_hidden_proto for scandirat and
19810 scandirat64. Don't declare __scandirat64.
19811 * dirent/scandirat.c: Add libc_hidden_def.
19812 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19813 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19814
6761ac04
DM
198152011-08-10 David S. Miller <davem@davemloft.net>
19816
19817 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19818 enum.
19819 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19821 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19822
c55fbd1e
UD
198232011-08-09 Ulrich Drepper <drepper@gmail.com>
19824
19825 * Versions.def [libc]: Add GLIBC_2.15.
19826 * dirent/Makefile (routines): Add scandirat and scandirat64.
19827 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19828 GLIBC_2.15.
19829 * dirent/dirent.h: Declare scandirat and scandirat64.
19830 * dirent/scandirat.c: New file.
19831 * dirent/scandirat64.c: New file.
19832 * sysdeps/wordsize-64/scandirat.c: New file.
19833 * sysdeps/wordsize-64/scandirat64.c: New file.
19834 * dirent/opendir.c: Define opendirat.
19835 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19836 using scandirat.
19837 * dirent/scandir64.c: Adjust for scandir.c change.
19838 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19839 __scandirat64, and __scandir_cancel_handler.
19840 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19841 additional parameter and use openat instead of open (outside of ld.so).
19842 Add new __opendir as wrapper around __opendirat.
19843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19844 here without requiring old scandirat implementation.
19845
879165f2
UD
198462011-08-08 Ulrich Drepper <drepper@gmail.com>
19847
19848 * dirent/scandir.c (cancel_handler): Renamed to
19849 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19850 defined. Adjust users.
19851 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19852 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19853
cb7e923b
UD
198542011-08-04 Ulrich Drepper <drepper@gmail.com>
19855
16292edd
UD
19856 * string/test-string.h (IMPL): Use __STRING to expand name and then
19857 stringify it.
19858
cb7e923b
UD
19859 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19860 of cleanups.
19861
cff82933
LD
198622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19863
19864 * string/Makefile: Update.
19865 (strop-tests): Append strncat.
19866 * string/test-wcscmp.c: New file.
19867 New comprehensive test for wcscmp.
19868 * string/test-strcmp.c: Update.
19869 (WIDE): New define.
19870
9be9bfcc
AS
198712011-07-22 Andreas Schwab <schwab@redhat.com>
19872
19873 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19874 line.
19875
2e96f1c7
AS
198762011-07-26 Andreas Schwab <schwab@redhat.com>
19877
19878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19879 encoding to ACE if AI_IDN.
19880
85188888
JJ
198812011-08-01 Jakub Jelinek <jakub@redhat.com>
19882
19883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19884 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19885
5fa16e9b
LD
198862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19887
19888 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19889 Fix overflow bug in strncat.
19890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19891
19892 * string/test-strncat.c: Update.
19893 Add new tests for checking overflow bugs.
19894
198952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19896
19897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19898 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19899 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19900 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19902 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19903 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19904 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19905 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19906
19907 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19908 (USE_AS_STRCAT): Define.
19909 Add strcat and strncat support.
19910 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19911
8c1a459f
AS
199122011-07-25 Andreas Schwab <schwab@redhat.com>
19913
19914 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19915 __n bigger than INT_MAX+1.
19916 (__strncmp_g): Likewise.
19917
bba33c28
UD
199182011-07-23 Ulrich Drepper <drepper@gmail.com>
19919
798be72d
UD
19920 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19921 * libio/stido.h: Likewise.
19922
8accd4dc
UD
19923 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19924 (AF_NFC): Define.
19925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19926 (AF_NFC): Define.
19927
cbff0d96
UD
19928 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19929 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19930 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19931 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19933
9191c04a
UD
19934 [BZ #13021]
19935 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19936 installed.
19937
bba33c28
UD
19938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19939 typo.
19940 (_dl_x86_64_save_sse): Likewise.
19941
90f139dd
UD
199422011-07-22 Ulrich Drepper <drepper@gmail.com>
19943
1aae088a
UD
19944 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19945 OSXSAVE.
19946 (_dl_x86_64_save_sse): Likewise.
19947
8e2045f5
UD
19948 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19949
90f139dd
UD
19950 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19951
1d002f25
AS
199522011-07-21 Andreas Schwab <schwab@redhat.com>
19953
19954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19955 change.
19956 (_dl_x86_64_save_sse): Use correct AVX check.
19957
21137f89
UD
199582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19959
19960 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19961 bug in strncpy/strncat.
19962 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19963
a65c0b7a
UD
199642011-07-21 Ulrich Drepper <drepper@gmail.com>
19965
19966 * string/tester.c (test_strcat): Add tests for different alignments
19967 of source and destination.
19968 (test_strncat): Likewise.
19969
6986b98a
UD
199702011-07-20 Ulrich Drepper <drepper@gmail.com>
19971
90bb2039
UD
19972 [BZ #12852]
19973 * posix/glob.c (glob): Check passed in values before using them in
19974 expressions to avoid some overflows.
19975 (glob_in_dir): Likewise.
19976
5644ef54
UD
19977 [BZ #13007]
19978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19979 check for AVX enablement so that we don't crash with old kernels and
19980 new hardware.
19981 * elf/tst-audit4.c: Add same checks here.
19982 * elf/tst-audit6.c: Likewise.
19983
19984 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19985
bfc9dc9b
AS
199862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19987
19988 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19989
702e64bb
UD
199902011-07-20 Ulrich Drepper <drepper@gmail.com>
19991
19992 * po/cs.po: Update from translation team.
19993 * po/bg.po: Likewise.
19994
295e904f
MP
199952011-07-12 Marek Polacek <mpolacek@redhat.com>
19996
19997 * misc/sys/cdefs.h: Add support for const attribute.
19998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19999 to gnu_dev_{major,minor,makedev} functions.
20000
3ff94596
MP
200012011-07-20 Marek Polacek <mpolacek@redhat.com>
20002
20003 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20004
28b59fca
AS
200052011-07-20 Andreas Schwab <schwab@redhat.com>
20006
20007 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20008 strlen results.
20009
19df733e
AK
200102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20011
20012 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20013 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20014 register in order to avoid conflicts with the soft frame pointer
20015 being held in r11 when necessary.
20016 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20017 (INTERNAL_VSYSCALL_NCS): Likewise.
20018
c8835729
MP
200192011-07-14 Marek Polacek <mpolacek@redhat.com>
20020
20021 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20022 * elf/dl-fini.c (_dl_fini): Adjust caller.
20023 * elf/dl-close.c (_dl_close_worker): Likewise.
20024 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20025
b902330c
MP
200262011-07-15 Marek Polacek <mpolacek@redhat.com>
20027
8991e135
MP
20028 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20029 "aux_cache->nlibs < 0".
20030
b902330c
MP
20031 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20032 in the reload-count case.
20033
99710781
LD
200342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20035
20036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20037 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20038 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20039 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20040 * sysdeps/x86_64/multiarch/strcat.S: New file.
20041 * sysdeps/x86_64/multiarch/strncat.S: New file.
20042 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20043 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20044 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20045 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20046 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20047 (USE_AS_STRCAT): Define.
20048 Add strcat and strncat support.
20049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20050 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20051 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20052 * string/strncat.c: Update.
20053 (USE_AS_STRNCAT): Define.
20054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20055 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20056 and i7.
20057 * sysdeps/x86_64/multiarch/init-arch.h
20058 (bit_Prefer_PMINUB_for_stringop): New.
20059 (index_Prefer_PMINUB_for_stringop): Likewise.
20060 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20061 bit_Prefer_PMINUB_for_stringop.
20062
7dc6bd90
UD
200632011-07-19 Ulrich Drepper <drepper@gmail.com>
20064
20065 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20066 buffer64.
20067 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20068 of casting of buffer.
20069 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20070 buffer32 and buffer64.
20071 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20072 writes instead of casting of buffer.
20073 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20074 buffer32.
20075 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20076 casting of buffer.
20077
e0e72284
AS
200782011-07-19 Andreas Schwab <schwab@redhat.com>
20079
20080 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20081
feb1eb0b
UD
200822011-07-19 Ulrich Drepper <drepper@gmail.com>
20083
20084 * nscd/nscd.c (termination_handler): Don't do anything for a database
20085 if it has not yet been initialized.
20086
298711ff
UD
200872011-07-18 Ulrich Drepper <drepper@gmail.com>
20088
20089 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20090
200912011-07-15 Marek Polacek <mpolacek@redhat.com>
20092
20093 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20094
f9d68389
UD
200952011-07-18 Ulrich Drepper <drepper@gmail.com>
20096
20097 * po/nl.po: Update from translation team.
20098 * po/sv.po: Likewise.
20099
db290cf5
RM
201002011-07-16 Roland McGrath <roland@hack.frob.com>
20101
20102 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20103 now disallowed by GCC.
5c550700 20104
fd5e21c7
RM
20105 * configure.in (use-default-link): Default to yes if a test -shared
20106 link meets our qualifications.
20107 * configure: Regenerated.
20108
5c550700
RM
20109 * config.make.in (output-format): New variable.
20110 * configure.in: Check for ld --print-output-format support.
20111 * configure: Regenerated.
20112 * Makerules ($(common-objpfx)format.lds)
20113 [$(output-format) != unknown]: Just use $(output-format),
20114 instead of the linker-script munging.
20115
9fa2c032
RM
201162011-07-14 Roland McGrath <roland@hack.frob.com>
20117
a6928d51
RM
20118 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20119 of $(common-objpfx)shlib.lds.
20120 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20121
661607b3
RM
20122 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20123 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20124
9fa2c032
RM
20125 * configure.in (-z relro check): Adjust test code to add a large
20126 writable data section after it.
20127 * configure: Regenerated.
20128
defe9061
RM
201292011-07-11 Roland McGrath <roland@hack.frob.com>
20130
20131 * configure.in (-z relro check): Fix test code to make the variable
20132 truly const.
20133 * configure: Regenerated.
20134
319b9ad4
UD
201352011-07-11 Ulrich Drepper <drepper@gmail.com>
20136
20137 * nscd/nscd.h (struct traced_file): Define.
20138 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20139 elements. Add traced_files.
20140 (inotify_fd): Declare.
20141 (register_traced_file): Declare.
20142 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20143 (inotify_fd): Export.
20144 (resolv_conf_descr): Remove.
20145 (nscd_init): Move inotify descriptor creation to main.
20146 Don't register files for notification here.
20147 (register_traced_file): New function.
20148 (invalidate_cache): Don't use reset_res to determine whether to call
20149 res_init, go through the list of registered files.
20150 (main_loop_poll): The inotify descriptors are now stored in the
20151 structures for the traced files.
20152 (main_loop_epoll): Likewise
20153 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20154 to __nss_disable_nscd.
20155 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20156 for a database anymore. Check the records for all the registered
20157 files instead.
20158 * nss/Makefile (libnss_files-routines): Add files-init.
20159 (libnss_db-routines): Add db-init.
20160 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20161 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20162 * nss/nss_db/db-init.c: New file.
20163 * nss/nss_files/files-init.c: New file.
20164 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20165 __nss_lookup_function.
20166 (__nss_lookup_function): Call nss_load_library.
20167 (nss_load_all_libraries): New function.
20168 (__nss_disable_nscd): Take parameter with callback function for files
20169 to register. Set is_nscd. Load all the DSOs for the NSS modules
20170 used for the cached services.
20171 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20172 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20173 options for features to all the files in nscd.
20174
20175 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20176
23bee3e8
RM
201772011-07-10 Roland McGrath <roland@hack.frob.com>
20178
20179 * csu/elf-init.c (__libc_csu_init): Comment typo.
20180
46a5b7f0
UD
201812011-07-09 Ulrich Drepper <drepper@gmail.com>
20182
20183 * po/pl.po: Update from translation team.
20184 * po/ja.po: Likewise.
20185 * po/ru.po: Likewise.
20186 * po/ko.po: Likewise.
20187 * po/fr.po: Likewise.
20188
d30cf5bb
RM
201892011-07-09 Roland McGrath <roland@hack.frob.com>
20190
113ddea4
RM
20191 * configure.in (.ctors/.dtors header and trailer check):
20192 Use an empirical test on a built program.
20193 * configure: Regenerated.
20194
574920b4
RM
20195 * configure.in (-z relro check): Use an empirical test on a built DSO.
20196 Detect, but do not require, on ia64.
20197 * configure: Regenerated.
20198
d30cf5bb
RM
20199 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20200 Update tests that use readelf to use $READELF instead.
20201 * configure: Regenerated.
20202
8538fdb3
UD
202032011-07-08 Ulrich Drepper <drepper@gmail.com>
20204
20205 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20206 if the result is not used.
20207
04d08991
AJ
202082011-07-05 Andreas Jaeger <aj@suse.de>
20209
20210 [BZ#9696]
20211 * stdlib/tst-strtod.c: Add testcase.
20212
de283087
AD
202132011-07-07 Ulrich Drepper <drepper@gmail.com>
20214
4e5f31c8 20215 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20216 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20217 The latter has a higher limit. Take additional parameter to pass to
20218 the new function.
20219 (__pathconf): Pass file to __statfs_link_max.
20220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20221 __statfs_link_max.
20222 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20223 __statfs_link_max.
20224
de283087
AD
20225 [BZ #12868]
20226 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20228 Handle Lustre.
20229 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20230 (__statfs_filesize_max): Likewise.
20231 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20232
c75fa153
AJ
202332011-07-05 Andreas Jaeger <aj@suse.de>
20234
20235 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20236
1a544854
UD
202372011-07-06 Marek Polacek <mpolacek@redhat.com>
20238
20239 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20240 `status' variable.
20241 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20242 Likewise.
20243
6f0eec67
UD
202442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20245
20246 * Makefile (strop-tests): Add strncat.
20247 * string/test-strncat.c: New file.
20248
aae30307
UD
202492011-06-30 Marek Polacek <mpolacek@redhat.com>
20250
20251 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20252
c0cfb5eb
UD
202532011-06-21 Andreas Jaeger <aj@suse.de>
20254
20255 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20256 Copy rule from iconvdata/Makefile.
20257
01636b21
UD
202582011-07-06 Ulrich Drepper <drepper@gmail.com>
20259
20260 [BZ #12922]
20261 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20262 but no long options are defined, just return 'W'.
20263
9895c8bc
UD
202642011-06-22 Marek Polacek <mpolacek@redhat.com>
20265
20266 [BZ #9696]
20267 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20268
5d4cf042
UD
202692011-07-06 Ulrich Drepper <drepper@gmail.com>
20270
20271 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20272 netgroups to read.
960e5535 20273 (innetgr): Likewise.
5d4cf042 20274
751eb97e
RM
202752011-07-05 Roland McGrath <roland@hack.frob.com>
20276
20277 * config.make.in (install_root): Default to $(DESTDIR).
20278
f15f1e45
UD
202792011-07-05 Ulrich Drepper <drepper@gmail.com>
20280
20281 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20282
4e34ac6a
RM
202832011-07-02 Roland McGrath <roland@hack.frob.com>
20284
5e9b6af4
RM
20285 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20286
84f9ea0f
RM
20287 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20288 containing directory rather than embedding absolute directory names.
20289
ea5ee9f7
RM
20290 * scripts/check-local-headers.sh: Rewritten using awk.
20291 Match by word, not by line. Print error messages for matches.
20292 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20293
1b74661a
RM
20294 * Makerules [shlib-lds-flags empty]:
20295 ($(common-objpfx)libc_pic.opts): New target.
20296 ($(common-objpfx)libc_pic.os.clean): New target.
20297 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20298
20299 * config.make.in (OBJCOPY): New variable.
20300 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20301 * configure: Regenerated.
20302
f781ef40
RM
20303 * config.make.in (use-default-link): New variable.
20304 * configure.in (use_default_link): Grok --with-default-link to set it.
20305 * configure: Regenerated.
20306 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20307 (shlib-lds, shlib-lds-flags): Define to empty.
20308
2d4fa81e
RM
20309 * Makerules (shlib-lds): New variable.
20310 (shlib-lds-flags): New variable.
20311 (build-shlib, build-moduile, build-module-asneeded): Use it.
20312 ($(common-objpfx)libc.so): Use $(shlib-lds).
20313 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20314 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20315
31fffa6b
RM
20316 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20317 DT_FLAGS/DT_FLAGS_1 with zero flags.
20318
4e34ac6a
RM
20319 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20320 linker script munging.
20321
fcfc776b
UD
203222011-07-02 Ulrich Drepper <drepper@gmail.com>
20323
20324 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20325 as 128-bit value.
20326 * crypt/sha512.c (sha512_process_block): Perform total addition using
20327 128-bit if possible.
20328 (__sha512_finish_ctx): Likewise.
20329 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20330 as 64-bit value.
20331 * crypt/sha256.c (SWAP64): Define.
20332 (sha256_process_block): Perform total addition using 64-bit if
20333 possible.
20334 (__sha256_finish_ctx): Likewise.
20335
99231d9a
UD
203362011-07-01 Ulrich Drepper <drepper@gmail.com>
20337
20338 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20340 * nscd/hstcache.c (cache_addhst): Likewise.
20341 * nscd/grpcache.c (cache_addgr): Likewise.
20342 * nscd/aicache.c (addhstaiX): Likewise
20343 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20344
445b4a53
TK
203452011-07-01 Thorsten Kukuk <kukuk@suse.de>
20346
20347 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20348 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20349 * nscd/hstcache.c (cache_addhst): Likewise.
20350 * nscd/grpcache.c (cache_addgr): Likewise.
20351 * nscd/aicache.c (addhstaiX): Likewise
20352
6d4d8e8e
AS
203532011-07-01 Andreas Schwab <schwab@redhat.com>
20354
20355 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20356 domain only when needed.
20357
89f654c5
AS
203582011-06-30 Andreas Schwab <schwab@redhat.com>
20359
20360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20361 is always restored.
20362
cf3b23ff
UD
203632011-06-29 Ulrich Drepper <drepper@gmail.com>
20364
20365 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20366 are re-adding the entry.
20367 * nscd/servicescache.c (cache_addserv): Likewise.
20368
751626f9
AJ
203692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20370
20371 * sysdeps/generic/dl-irel.h: fix protection against multiple
20372 inclusions.
20373 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20374
9113ea1f
UD
203752011-06-28 Ulrich Drepper <drepper@gmail.com>
20376
5c0b8d90
UD
20377 [BZ #12935]
20378 * malloc/memusage.sh: Fix quoting in message.
20379 * debug/xtrace.sh: Likewise.
20380
9113ea1f
UD
20381 * configure.in: Remove support for --experimental-malloc option, make
20382 it the default.
20383 * config.make.in: Likewise.
20384 * malloc/Makefile: Likewise.
20385
a4172181
AS
203862011-06-27 Andreas Schwab <schwab@redhat.com>
20387
20388 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20389 two-byte characters.
20390
78a7eee7
RM
203912011-06-27 Roland McGrath <roland@hack.frob.com>
20392
62bede13
RM
20393 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20394 AC_CACHE_CHECK invocation.
20395 * configure: Regenerated.
20396
78a7eee7
RM
20397 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20398
5ce33a62
UD
203992011-06-27 Ulrich Drepper <drepper@gmail.com>
20400
034807a9
UD
20401 [BZ #12350]
20402 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20403 bit from old_res_options.
20404
4902da17
UD
20405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20406
5ce33a62
UD
20407 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20408 value type for setfct.
20409
c2344f56
L
204102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20411
20412 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20413 __gettimeofday instead of gettimeofday.
20414
68468076
UD
204152011-06-26 Ulrich Drepper <drepper@gmail.com>
20416
20417 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20418
acb0d739
L
204192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20420
20421 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20422
20423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20424 info.
20425
8912479f
L
204262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20429 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20430 strcpy-sse2-unaligned strncpy-sse2-unaligned
20431 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20432 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20433 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20434 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20435 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20437 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20438 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20439 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20440 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20441 (STRCPY): Support SSE2 and SSSE3 versions.
20442
d5495a11
UD
204432011-06-24 Ulrich Drepper <drepper@gmail.com>
20444
20445 [BZ #12874]
20446 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20447 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20448 kernels which artificially limit size of requests.
20449
0b1cbaae
L
204502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20451
20452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20453 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20454 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20455 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20456 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20457 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20458 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20459 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20460 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20462 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20463 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20464 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20465 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20466 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20468 Enable unaligned load optimization for Intel Core i3, i5 and i7
20469 processors.
20470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20471 Define.
20472 (index_Fast_Unaligned_Load): Define.
20473 (HAS_FAST_UNALIGNED_LOAD): Define.
20474
07f494a0
MP
204752011-06-23 Marek Polacek <mpolacek@redhat.com>
20476
20477 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20478
fa3fc0fe
UD
204792011-06-22 Ulrich Drepper <drepper@gmail.com>
20480
20481 [BZ #12907]
20482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20483 until it is clear that the information is realy needed.
20484 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20485
e12df166
AS
204862011-06-22 Andreas Schwab <schwab@redhat.com>
20487
20488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20489
852eb34d
UD
204902011-06-22 Ulrich Drepper <drepper@gmail.com>
20491
84e2a551
UD
20492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20493 /sys/devices/system/cpu/online if it is usable.
20494
852eb34d
UD
20495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20496 reading the information from the /proc filesystem to once a second.
20497
6e502e19
UD
204982011-06-21 Andreas Jaeger <aj@suse.de>
20499
20500 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20501 NULL after inclusion of kernel headers.
20502
75d39ff2
UD
205032011-06-21 Ulrich Drepper <drepper@gmail.com>
20504
51f9aa6a
UD
20505 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20506 calls to internal_setent.
20507
c0244a9d
UD
20508 [BZ #12885]
20509 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20510 addresses using gethostbyname4_r ignore IPv4 addresses.
20511
c5e3c2ae
UD
20512 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20513 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20514
75d39ff2
UD
20515 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20516
42675c6f
DM
205172011-06-20 David S. Miller <davem@davemloft.net>
20518
20519 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20520 inclusions.
20521 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20522
20523 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20524 (elf_irel): Use it.
20525 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20526 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20527 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20528 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20529 * sysdeps/x86_64/dl-irel.h: Likewise.
20530
20531 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20532 * elf/dl-sym.c: Likewise.
20533
57912a71
UD
205342011-06-15 Ulrich Drepper <drepper@gmail.com>
20535
20536 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20537 need to dereference resplen2.
20538
ee22793d
AS
205392011-06-14 Andreas Schwab <schwab@redhat.com>
20540
20541 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20542
a9e836b0
UD
205432011-06-15 Ulrich Drepper <drepper@gmail.com>
20544
77fb9117
UD
20545 * Makeconfig: Define vardbdir and inst_vardbdir.
20546 * nss/Makefile: Add rules to install db-Makefile.
20547
40c1b22c
UD
20548 * nss/nss_db/db-XXX.c: Cleanup.
20549
9f2da732
UD
20550 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20551 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20552 GLIBC_PRIVATE.
20553 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20554 * nss/makedb.c: Implement -g option to specify that value strings
20555 are generated and should not be added to table iterated over for
20556 get*ent calls.
20557 * nss/nss_db/db-initgroups.c: New file.
20558
82e9a1f7
UD
20559 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20560 interface.
20561
c41af17e
UD
20562 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20563 (internal_getgrouplist): Adjust to name change.
20564 Update use_initgroups_entry if this is not the first call.
20565 * nss/databases.def: Add initgroups entry.
20566
a9e836b0
UD
20567 * nss/makedb.c (compute_tables): Check result of multiple hash table
20568 sizes to minimize maximum chain length.
20569
2666d441
UD
205702011-06-14 Ulrich Drepper <drepper@gmail.com>
20571
20572 * Versions.def: Add entry for libnss_db.
20573 * shlib-versions: Likewise.
20574 * nss/Makefile: Add rules to build libnss_db.
20575 * nss/Versions: Add libnss_db information. Organize libnss_files
20576 entries better.
20577 * nss/db-Makefile: Add gshadow support. Change rules for the new
20578 makedb progra. Some minor improvements to generate smaller files.
20579 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20580 here from...
20581 * nss/makedb.c: ...here.
20582 Improve database format to be smaller and require less memory at
20583 runtime.
20584 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20585 db anymore.
20586 * nss/nss_db/db-netgrp.c: Likewise.
20587 * nss/nss_db/db-open.c: Likewise.
20588 * nss/nss_files/flies-XXX.x: Adjust comments.
20589 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20590 * nss/nss_files/files-grp.c: Likewise.
20591 * nss/nss_files/files-hosts.c: Likewise.
20592 * nss/nss_files/files-network.c: Likewise.
20593 * nss/nss_files/files-proto.c: Likewise.
20594 * nss/nss_files/files-pwd.c: Likewise.
20595 * nss/nss_files/files-rpc.c: Likewise.
20596 * nss/nss_files/files-service.c: Likewise.
20597 * nss/nss_files/files-sgrp.c: Likewise.
20598 * nss/nss_files/files-spwd.c: Likewise.
20599 * nss/nss_db/db-alias.c: Removed.
20600 * nss/nss_db/dummy-db.h: Removed.
20601
9ee76b5a
UD
206022011-06-02 Ulrich Drepper <drepper@gmail.com>
20603
20604 * nss/makedb.c: Rewritten to not use database library.
20605 * nss/Makefile: Update to build new makedb program.
20606
c71ca1f8
AJ
206072011-06-14 Andreas Jaeger <aj@suse.de>
20608
20609 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20610 memset declaration.
20611
3154bfb8
UD
206122011-06-10 Andreas Schwab <schwab@redhat.com>
20613
20614 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20615 tmpbuf.
20616
b350afab
RM
206172011-06-10 Roland McGrath <roland@hack.frob.com>
20618
decd4e50
RM
20619 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20620 * elf/Makefile ($(objpfx)ld.so): Likewise.
20621
5615eaf2
RM
20622 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20623 Don't list ld.so twice in dependencies.
20624
20625 * posix/bug-regex31.c: Include <stdlib.h>.
20626
20627 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20628
20629 * nis/nss_compat/compat-spwd.c
20630 (getspent_next_nss_netgr): Remove unused variable.
20631 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20632
20633 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20634 nonmembers" output to use the right array.
20635
20636 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20637
20638 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20639
20640 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20641 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20642 * catgets/gencat.c (read_input_file): Likewise.
20643 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20644
20645 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20646 variable definition inside #if's controlling its use.
20647
20648 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20649
20650 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20651
20652 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20653
20654 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20655 unreachable code.
20656
20657 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20658
b68e08db
RM
20659 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20660 * configure: Regenerated.
20661
b350afab
RM
20662 * Makerules: Revert last change.
20663 * elf/Makefile: Likewise.
20664
28368601
RM
206652011-06-09 Roland McGrath <roland@hack.frob.com>
20666
20667 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20668 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20669 (reloc-link): Likewise.
20670
11988f8f
UD
206712011-06-09 Ulrich Drepper <drepper@gmail.com>
20672
20673 * elf/Makefile: Add rules to build pldd.
20674 * elf/pldd.c: New file.
20675 * elf/pldd-xx.c: New file.
20676
e80fab37
UD
206772011-06-07 Ulrich Drepper <drepper@gmail.com>
20678
20679 * version.h: Update for 2.15 development version.
20680
9b849836
DM
206812011-06-07 David S. Miller <davem@davemloft.net>
20682
20683 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20684 ifuncs.
20685 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20686 elf_machine_lazy_rel): Likewise.
20687 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20689 elf_machine_lazy_rel): Likewise.
20690 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20691 dl_hwcap via passed in argument.
20692 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20693 Likewise.
20694
5a31b283
AK
206952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20696
20697 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20698
069e52f8
RM
206992011-06-06 Roland McGrath <roland@hack.frob.com>
20700
20701 [BZ #12849]
20702 * manual/fdl-1.1.texi: New file, verbatim from:
20703 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20704 * manual/lgpl-2.1.texi: New file, verbatim from:
20705 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20706 * manual/Makefile (licenses): New variable, list those new file names.
20707 (texis): Use it.
20708 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20709
20710 * manual/fdl.texi: File removed.
20711 * manual/lesser.texi: File removed.
20712 * manual/libc.texinfo (Copying, Documentation License):
20713 Use new @include file names, put @appendix directive before @include.
20714
f16846a5
JJ
207152011-06-04 Jakub Jelinek <jakub@redhat.com>
20716
20717 [BZ #12841]
20718 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20719 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20720 (mq_open): Add __NTH.
20721
3d29045b
L
207222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20725 Assume Intel Core i3/i5/i7 processor if AVX is available.
20726
8c297311
UD
207272011-05-31 Ulrich Drepper <drepper@gmail.com>
20728
20729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20730 typo.
20731
c8fc0c91
UD
207322011-05-31 Andreas Schwab <schwab@redhat.com>
20733
20734 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20735 memory. Use alloca_account. Fix memory leak when retrying.
20736
5b27a807
UD
207372011-05-31 Ulrich Drepper <drepper@gmail.com>
20738
356f8bc6
UD
20739 * version.h (RELEASE): Bump for 2.14 release.
20740 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20741
5b27a807
UD
20742 * config.make.in (RANLIB): Remove entry.
20743
01f16ab0
UD
207442011-05-30 Ulrich Drepper <drepper@gmail.com>
20745
41fce8bd
UD
20746 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20747 (libc.pot): Work around missing support for .ksh extension in xgettext.
20748
4769ae77
UD
20749 [BZ #12684]
20750 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20751 if both request failed.
20752 (send_dg): In case of server errors clear resplen or *resplen2.
20753
6b1e7d19
UD
20754 [BZ #12454]
20755 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20756 when there are multiple maps.
20757 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20758 (_dl_fini): Remove test here.
20759
01f16ab0
UD
20760 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20761
b1ebd700
UD
207622011-05-29 Ulrich Drepper <drepper@gmail.com>
20763
7ae22829
UD
20764 [BZ #12350]
20765 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20766 bit from old_res_options.
20767 (gaih_inet): Likewise.
20768
553149f6 20769 [BZ #11099]
18a84741 20770 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20771 as signed.
20772
652ffab1
UD
20773 * resolv/res_init.c (res_setoptions): Make the code more compact.
20774
16985fd0
UD
20775 [BZ #11558]
20776 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20777 set RES_USEVC.
20778
0464f746
UD
20779 [BZ #11634]
20780 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20781
7d17596c
UD
20782 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20783
cf6bbbd7
UD
20784 [BZ #11781]
20785 * malloc/malloc.h: Declare malloc hook variables as volatile.
20786
13f1ab36
UD
20787 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20788 in last patch.
20789
b1ebd700
UD
20790 [BZ #11799]
20791 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20792 raise in the comment.
80e2212d
UD
20793 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20794 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20795 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20796
ce67228d
UD
207972011-05-28 Ulrich Drepper <drepper@gmail.com>
20798
8887a920
UD
20799 [BZ #12811]
20800 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20801 grow the buffers more if it already has to be sufficient.
20802 (build_wcs_upper_buffer): Likewise.
20803 * posix/regexec.c (check_matching): Likewise.
20804 (clean_state_log_if_needed): Likewise.
20805 (extend_buffers): Don't enlarge buffers beyond size of the input
20806 buffer.
20807 Patches mostly by Emil Wojak <emil@wojak.eu>.
20808 * posix/bug-regex32.c: New file.
20809 * posix/Makefile (tests): Add bug-regex32.
20810
4f031072
UD
20811 * locale/findlocale.c (_nl_find_locale): Return right away if
20812 _nl_explode_name failed.
20813 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20814
d0478f0c
UD
20815 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20816
de81b246
UD
20817 * debug/xtrace.sh: Unify messages.
20818 * malloc/memusage.sh: Likewise.
20819
c738465a
UD
20820 [BZ #12813]
20821 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20822 time symbol from vDSO. Substitute with vsyscall if not available.
20823 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20824 __vdso_time.
20825
f1f929d7
UD
20826 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20827 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20828 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20829 Add sendmmsg and internal_sendmmsg.
20830 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20831 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20832 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20833
ce67228d
UD
20834 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20835 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20836 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20837
e57420c6
UD
208382011-05-27 Ulrich Drepper <drepper@gmail.com>
20839
a8509ca5
UD
20840 [BZ #12813]
20841 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20842 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20843 available.
20844 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20845 __vdso_getcpu.
20846
e57420c6
UD
20847 [BZ #12814]
20848 * iconvdata/Makefile (tests): Add bug-iconv9.
20849 * iconvdata/bug-iconv9.c: New file.
20850
4d07db15
AS
208512011-05-27 Andreas Schwab <schwab@redhat.com>
20852
20853 [BZ #12814]
20854 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20855
ea486f69
JJ
208562011-05-25 Jakub Jelinek <jakub@redhat.com>
20857
20858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20859 (struct user_regs_struct): Change intcs field back to cs.
20860
6f038433
UD
208612011-05-25 Ulrich Drepper <drepper@gmail.com>
20862
20863 * po/ja.po: Update from translation team.
20864
67f86a25
UD
208652011-05-23 Ulrich Drepper <drepper@gmail.com>
20866
20867 [BZ #12795]
20868 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20869 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20870
def7fbd6
AS
208712011-05-20 Andreas Schwab <schwab@redhat.com>
20872
20873 * stdlib/longlong.h: Update from GCC.
20874
f50ef8f1
AS
208752011-05-23 Andreas Schwab <schwab@redhat.com>
20876
20877 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20878 parameter name.
20879 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20880 Add parameter name.
20881 (__sysconf): Pass it down.
20882
de7ce8f1
UD
208832011-05-22 Ulrich Drepper <drepper@gmail.com>
20884
f2962a71
UD
20885 [BZ #12671]
20886 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20887 some situations.
20888 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20889 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20890 add in in __libc_use_alloca calls. Adjust callers.
20891 (glob): Use malloc in some situations.
20892
de7ce8f1
UD
20893 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20894 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20895 pltexit.
20896
aec84f53
UD
208972011-05-21 Ulrich Drepper <drepper@gmail.com>
20898
05bb4a68
UD
20899 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20900 and CLOCK_BOOTTIME_ALARM.
20901
7ea72f99
UD
20902 [BZ #12782]
20903 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20904 is returned.
20905
7e4afad5
UD
20906 * string/_strerror.c (__strerror_r): Print negative errors as signed
20907 numbers.
20908
8e211fec
UD
20909 [BZ #12777]
20910 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20911 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20912 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20913
f7d82dc9
UD
20914 * configure.in: Fix typo in redirection and correct removal of test
20915 files in two cases.
20916
cc9e536d
UD
20917 [BZ #12788]
20918 * locale/setlocale.c (new_composite_name): Fix test to check for
20919 identical name of all categories.
20920
aec84f53
UD
20921 [BZ #12792]
20922 * libio/filedoalloc.c (local_isatty): New function.
20923 (_IO_file_doallocate): Use local_isatty.
20924 * stdio-common/perror.c (perror): In case a new stream is used
20925 forward the stream error.
20926 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20927 error flag.
20928
78e64fdc
RT
209292011-05-20 Ulrich Drepper <drepper@gmail.com>
20930
34a9094f
UD
20931 [BZ #11869]
20932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20933 alloca.
20934 * include/alloca.h (extend_alloca_account): Define.
20935
78e64fdc
RT
20936 [BZ #11857]
20937 * posix/regex.h: Fix comments with documentation of user-accessible
20938 fields after compilation and describe correct free'ing of pattern
20939 after re_compile_pattern.
20940 Patch by Reuben Thomas <rrt@sc3d.org>.
20941
457bddfc
RA
209422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20943
20944 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20945 and -mno-altivec to prevent the compiler from using Altivec and/or
20946 VSX instructions when the corresponding registers are not available.
20947
a4527b51
AS
209482011-05-19 Andreas Schwab <schwab@redhat.com>
20949
20950 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20951
ed690b2f
UD
209522011-05-19 Ulrich Drepper <drepper@gmail.com>
20953
20954 * libio/freopen.c (freopen): Use __dup2, not dup2.
20955 * libio/freopen64.c (freopen64): Likewise.
20956
8db73634
L
209572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20958
20959 [BZ #12775]
20960 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20961 * math/Makefile (tests): Add test-powl.
20962 (CFLAGS-test-powl.c): Define.
20963 * math/test-powl.c: New file.
20964
0a197a9d
L
209652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20968
ee30c380
UD
209692011-05-17 Ulrich Drepper <drepper@gmail.com>
20970
20971 [BZ #11837]
20972 * iconvdata/gb18030.c: Update to GB18020-2005.
20973
6ce75379
UD
209742011-05-16 Ulrich Drepper <drepper@gmail.com>
20975
a4b89fd8
AR
20976 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20977 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20978 Patch by Aharon Robbins <arnold@skeeve.com>.
20979
ea389b12
UD
20980 [BZ #11892]
20981 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20982 on the stack.
20983
68a3f91f
UD
20984 [BZ #11895]
20985 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20986 through underflows.
20987
15cc7dd1
UD
20988 [BZ #12766]
20989 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20990 point to strings before performing equality test for error_one_per_line
20991 mode.
20992
f3799213
UD
20993 [BZ #11697]
20994 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20995
d79a9c94
UD
20996 [BZ #11820]
20997 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20998 (struct user_fpregs_struct): Avoid __uint*_t types.
20999
56e5eb46
UD
21000 [BZ #6420]
21001 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21002 symbol info. Use it instead of calling _dl_addr locally.
21003 (lock_and_info): New function.
21004 (tr_freehook): Call lock_and_info and pass symbol info as additional
21005 parameter to tr_where.
21006 (tr_mallochook): Likewise.
21007 (tr_reallochook): Likewise.
21008 (tr_memalignhook): Likewise.
21009
6ce75379
UD
21010 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21011 used and couldn't be at all thread-safe.
21012
f8a3b5bf
UD
210132011-05-15 Ulrich Drepper <drepper@gmail.com>
21014
94b7cc37
UD
21015 * libio/freopen.c (freopen): Don't close old file descriptor
21016 before the new one is opened. Instead dup the new file descriptor
21017 to the old one after the new stream is created.
21018 * libio/freopen64.c (freopen64): Likewise.
21019 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21020 * libio/fileops.c (_IO_new_file_close_it): Handle new
21021 _IO_FLAGS2_NOCLOSE flag.
21022 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21023 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21024 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21025 _IO_FLAGS2_NOCLOSE flag.
21026 * include/unistd.h: Add hidden_proto for dup3.
21027 Define __have_dup3.
21028 * io/dup3.c: Define hidden symbol.
21029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21030
bd25564e
UD
21031 [BZ #7101]
21032 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21033 when an incomplete long option is used.
21034 * posix/tst-getopt_long1.c: New file.
21035 * posix/Makefile (tests): Add tst-getopt_long1.
21036
c84cfef4
UD
21037 [BZ #10138]
21038 * scripts/config.guess: Update from autoconf-2.68.
21039 * scripts/config.sub: Likewise.
21040
3b85df27
UD
21041 [BZ #10157]
21042 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21043 tests into ...
21044 (has_cpuclock): ...this. New function.
21045 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21046 macro here based on has_cpuclock code.
21047
15a856b1
UD
21048 [BZ #10149]
21049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21050 First byte (not low byte) is now always NUL.
21051 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21052
05f399e6
UD
21053 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21054 Use non-cancelable interfaces.
21055
10a52685 21056 [BZ #9809]
94ecc67d
UD
21057 * locale/iso-639.def: Add entry for Sorani.
21058
f8a3b5bf
UD
21059 [BZ #11901]
21060 * include/stdlib.h: Move include protection to the right place.
21061 Define abort_msg_s. Declare __abort_msg with it.
21062 * stdlib/abort.c (__abort_msg): Adjust type.
21063 * assert/assert.c (__assert_fail_base): New function. Majority
21064 of code from __assert_fail. Allocate memory for __abort_msg with
21065 mmap.
21066 (__assert_fail): Now call __assert_fail_base.
21067 * assert/assert-perr.c: Remove bulk of implementation. Use
21068 __assert_fail_base.
21069 * include/assert.hL Declare __assert_fail_base.
21070 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21071 mmap.
21072 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21073
1af4e298
UD
210742011-05-14 Ulrich Drepper <drepper@gmail.com>
21075
f8a3b5bf 21076 [BZ #11952]
d26dfc60
MG
21077 [BZ #12453]
21078 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21079 until all modules are registered in the DTV.
21080 * elf/Makefile: Add rules to build and run tst-tls19.
21081 * elf/tst-tls19.c: New file.
21082 * elf/tst-tls19mod1.c: New file.
21083 * elf/tst-tls19mod2.c: New file.
21084 * elf/tst-tls19mod3.c: New file.
21085 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21086
2fc54d6f
UD
21087 [BZ #12083]
21088 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21089 correctly.
21090
98d76b46
UD
21091 [BZ #12601]
21092 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21093 two-byte sequence errors.
21094 * iconvdata/Makefile (tests): Add bug-iconv8.
21095 * iconvdata/bug-iconv8.c: New file.
21096
da3c19ef
UD
21097 [BZ #12626]
21098 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21099 buf2 definition.
21100
ca408c15
UD
21101 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21102
d6f67f7d
UD
21103 [BZ #12432]
21104 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21105 (dummy_getcfa): New function.
21106 (init): Get _Unwind_GetCFA address, use dummy if not found.
21107 (backtrace_helper): In recursion check, also check whether CFA changes.
21108 (__backtrace): Completely initialize arg.
21109
1af4e298 21110 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21111 storing incomplete byte sequence in state object. Avoid testing for
21112 guaranteed too small input if we know there is enough data available.
1af4e298 21113
da62f81b
AS
211142011-05-11 Andreas Schwab <schwab@redhat.com>
21115
21116 * Makeconfig (+link-pie): Indent.
21117 * Rules (binaries-pie): Define if $(have-fpie) and
21118 $(build-shared).
21119 (binaries-shared): Also filter out $(binaries-pie).
21120 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21121 * nscd/Makefile (others-pie): Add nscd.
21122 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21123 ($(objpfx)nscd): Remove command override.
21124 * login/Makefile (others-pie): Add pt_chown.
21125 ($(objpfx)pt_chown): Remove command override.
21126 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21127 remove command overrides.
21128
fcabc0f8
UD
211292011-05-13 Ulrich Drepper <drepper@gmail.com>
21130
20030ae6
UD
21131 * libio/tst_putwc.c: Fix error messages.
21132
fcabc0f8
UD
21133 [BZ #12724]
21134 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21135 currently writing and seek to current position when not.
21136 * libio/Makefile (tests): Add bug-fclose1.
21137 * libio/bug-fclose1.c: New file.
21138
320a5dc0
PB
211392011-05-12 Ulrich Drepper <drepper@gmail.com>
21140
21141 [BZ #12511]
21142 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21143 don't set DF_1_NODELETE here.
21144 (do_lookup_x): When entering new entry test for copy relocation
21145 and if necessary set DF_1_NODELETE flag.
21146 * elf/tst-unique4.cc: New file.
21147 * elf/tst-unique4.h: New file.
21148 * elf/tst-unique4lib.cc: New file.
21149 * elf/Makefile: Add rules to build and run tst-unique4.
21150 Patch by Piotr Bury <pbury@goahead.com>.
21151
22836f52
UD
211522011-05-11 Ulrich Drepper <drepper@gmail.com>
21153
f574184a
UD
21154 [BZ #12052]
21155 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21156
e1fb097f
UD
21157 [BZ #12625]
21158 * misc/mntent_r.c (addmntent): Flush the stream after the output
21159
22836f52
UD
21160 [BZ #12393]
21161 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21162 (is_trusted_path_normalize): Skip initial colon. Append slash
21163 to empty buffer. Duplicate is_trusted_path code but allow
21164 constructed patch to be prefix.
21165 (is_dst): Allow $ORIGIN followed by /.
21166 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21167 Correct testing of result of is_trusted_path_normalize
21168 (decompose_rpath): Fix warning.
21169
7b3b0b2a
UD
211702011-05-10 Ulrich Drepper <drepper@gmail.com>
21171
21172 [BZ #11257]
21173 * grp/initgroups.c (internal_getgrouplist): When we found the service
21174 list through the initgroups entry in nsswitch.conf do not always
21175 continue on a successful lookup. Don't always use the
eac80ce2 21176 __nss_group_database value if it is set.
7b3b0b2a
UD
21177 * nss/nsswitch.conf (initgroups): Change action for successful db
21178 lookup to continue for compatibility.
21179
2a81eaa5
UD
211802011-05-09 Ulrich Drepper <drepper@gmail.com>
21181
be97a69e
UD
21182 [BZ #11532]
21183 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21184 and CP774 modules.
21185 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21186 and CP774 modules.
21187 * iconvdata/tst-tables.sh: Likewise.
21188 * iconvdata/cp770.c: New file.
21189 * iconvdata/cp771.c: New file.
21190 * iconvdata/cp772.c: New file.
21191 * iconvdata/cp773.c: New file.
21192 * iconvdata/cp774.c: New file.
21193 * iconvdata/testdata/CP770: New file.
21194 * iconvdata/testdata/CP770..UTF8: New file.
21195 * iconvdata/testdata/CP771: New file.
21196 * iconvdata/testdata/CP771..UTF8: New file.
21197 * iconvdata/testdata/CP772: New file.
21198 * iconvdata/testdata/CP772..UTF8: New file.
21199 * iconvdata/testdata/CP773: New file.
21200 * iconvdata/testdata/CP773..UTF8: New file.
21201 * iconvdata/testdata/CP774: New file.
21202 * iconvdata/testdata/CP774..UTF8: New file.
21203
21204 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21205 END CHARMAP line.
21206 * iconvdata/gen-8bit-gap.sh: Likewise.
21207 * iconvdata/gen-8bit.sh: Likewise.
21208
c1e9e399
UD
21209 * locale/iso-639.def: Add ary entry.
21210
24c55fb3 21211 [BZ #11258]
96b4b1b0
UD
21212 * locale/C-translit.h.in: Add U20A1 transliteration.
21213
bdc2f971
KB
21214 [BZ #12178]
21215 * locale/iso-639.def: Add wae entry.
21216 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21217
2952b117
UD
21218 [BZ #12545]
21219 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21220 for n.
21221
2a81eaa5
UD
21222 [BZ #12711]
21223 * locale/C-translit.h.in: Add entry for U20B9.
21224 Patch by pravin.d.s@gmail.com.
21225
28377d1b
UD
212262011-05-08 Ulrich Drepper <drepper@gmail.com>
21227
7fb90fb8
UD
21228 [BZ #12713]
21229 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21230 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21231 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21232 in rtld. Use *stat64.
7fb90fb8 21233 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21234 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21235 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21236 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21237 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21238 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21239 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21240 __fstatat64 macros.
7fb90fb8
UD
21241 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21242 * dirent/rewinddir.c: Add libc_hidden_def.
21243 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21244 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21245
28377d1b
UD
21246 * include/dirent.h (__alloc_dir): Add flags parameter.
21247 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21248 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21249 __alloc_dir.
21250 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21251 from fdopendir if O_CLOEXEC is already set.
21252
66bdbaa4
AM
212532011-03-15 Alan Modra <amodra@gmail.com>
21254
21255 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21256 l_tls_firstbyte_offset non-zero. Save padding offset in
21257 l_tls_firstbyte_offset for later use.
21258 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21259 freeing static tls block.
21260
95721191
JN
212612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21262
21263 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21264 where #ifdef was intended. The intent is to prevent ARG_MAX from
21265 being defined by the kernel headers.
21266
f87dfb1f
UD
212672011-05-07 Ulrich Drepper <drepper@gmail.com>
21268
21269 [BZ #12734]
21270 * resolv/resolv.h: Define RES_NOTLDQUERY.
21271 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21272 no-tld-query and set RES_NOTLDQUERY.
21273 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21274 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21275 modern BIND to search name as TLD unless forbidden.
21276
47c3cd7a
UD
212772011-05-07 Petr Baudis <pasky@suse.cz>
21278 Ulrich Drepper <drepper@gmail.com>
21279
21280 [BZ #12393]
21281 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21282 (is_trusted_path): ...to here.
c1e9ea35 21283 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21284 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21285 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21286
8a35c912
PP
212872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21288
21289 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21290 __BEGIN/__END_DECLS.
21291
acd41f47
UD
212922011-05-06 Ulrich Drepper <drepper@gmail.com>
21293
21294 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21295 NSS_STATUS_NOTFOUND if no record was found.
21296
597df647
AS
212972011-05-05 Andreas Schwab <schwab@redhat.com>
21298
21299 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21300 (headers-not-in-tirpc): Remove rpc/netdb.h
21301 * resolv/netdb.h: Revert last change.
21302
b9af1301
PP
213032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21304
21305 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21306 circular dependency between libgcc.a and libc.a.
21307
4e34d5f5
AS
213082011-05-05 Andreas Schwab <schwab@redhat.com>
21309
21310 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21311 * nis/Makefile: Don't install rpcsvc/*.
21312 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21313 instead of <rpc/types.h>.
21314 (MAXHOSTNAMELEN): Define.
21315
00ee369c
AS
213162011-05-03 Andreas Schwab <schwab@redhat.com>
21317
21318 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21319
0b592a30
MB
213202011-04-28 Maciej Babinski <mbabinski@google.com>
21321
21322 [BZ #12714]
21323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21324 gethostbyname4_r when IPv6 results are possible.
21325
6e04cbbe
UD
213262011-05-02 Ulrich Drepper <drepper@gmail.com>
21327
21328 [BZ #12723]
21329 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21330 _PC_PIPE_BUF handling.
21331
e4ecafe0
BH
213322011-04-30 Bruno Haible <bruno@clisp.org>
21333
21334 [BZ #12717]
21335 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21336 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21337 to 'int'.
21338 * inet/getnameinfo.c (getnameinfo): Likewise.
21339
125ee683
UD
213402011-04-29 Ulrich Drepper <drepper@gmail.com>
21341
21342 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21343 to groups setting in database lookup.
21344 * nss/nsswitch.conf: Add initgroups entry.
21345
b722481a
EB
213462011-04-22 Ulrich Drepper <drepper@gmail.com>
21347
21348 [BZ #12685]
21349 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21350 mode string.
21351 Patch by Eric Blake <eblake@redhat.com>.
21352
4df46dbd
L
213532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21354
21355 * sunrpc/Makefile (need-export-routines): Add svc_run.
21356 (routines): Remove svc_run.
21357 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21358 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21359 * sunrpc/svc_run.c (svc_run): Likewise.
21360 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21361
e84142d2
UD
213622011-04-21 Ulrich Drepper <drepper@gmail.com>
21363
21364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21365 problem in reallocation in last patch.
21366
877175d8
UD
213672011-04-20 Ulrich Drepper <drepper@gmail.com>
21368
21369 * sunrpc/Makefile: Move inclusion of Rules.
21370
ab8eed78
UD
213712011-04-19 Ulrich Drepper <drepper@gmail.com>
21372
21373 * nss/nss_files/files-initgroups.c: New file.
21374 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21375 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21376 _nss_files_initgroups_dyn.
21377
e3d8f584
RS
213782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21379
21380 * elf/elf.h (R_ARM_IRELATIVE): Define.
21381
af190f45
UD
213822011-04-19 Ulrich Drepper <drepper@gmail.com>
21383
21384 * po/ru.po: Update from translation team.
21385
53cf59ef
UD
213862011-04-17 Ulrich Drepper <drepper@gmail.com>
21387
21388 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21389 dependencies.
21390
4c559bcd
MF
213912011-02-06 Mike Frysinger <vapier@gentoo.org>
21392
21393 [BZ #12653]
21394 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21395 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21396 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21397 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21399
4420675c
AS
214002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21401
21402 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21403 differing bytes.
21404 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21406 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21407
75ea32ab
UD
214082011-04-17 Ulrich Drepper <drepper@gmail.com>
21409
21410 [BZ #12420]
21411 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21412 storing it.
21413 * stdlib/bug-getcontext.c: New file.
21414 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21415
27390476
AK
214162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21417
21418 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21419 instructions into .machine "z9-109".
21420 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21421 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21422
10442705
AK
214232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21424
21425 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21426 between environment variables and auxiliary vector.
21427
7b57bfe5
UD
214282011-04-16 Ulrich Drepper <drepper@gmail.com>
21429
21430 * Makefile: Add rules to build linkobj/libc.so.
21431 * include/libc-symbols.h: Define libc_hidden_nolink.
21432 * include/rpc/auth.h: Mark functions which are to be hidden.
21433 * include/rpc/auth_des.h: Likewise.
21434 * include/rpc/auth_unix.h: Likewise.
21435 * include/rpc/clnt.h: Likewise.
21436 * include/rpc/des_crypt.h: Likewise.
21437 * include/rpc/key_prot.h: Likewise.
21438 * include/rpc/pmap_clnt.h: Likewise.
21439 * include/rpc/pmap_prot.h: Likewise.
21440 * include/rpc/pmap_rmt.h: Likewise.
21441 * include/rpc/rpc_msg.h: Likewise.
21442 * include/rpc/svc.h: Likewise.
21443 * include/rpc/svc_auth.h: Likewise.
21444 * include/rpc/xdr.h: Likewise.
21445 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21446 * nss/Makefile: Likewise.
21447 * sunrpc/Makefile: Don't install headers. Build library with normal
21448 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21449 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21450 for the compat linking library. Remove use of INTDEF/INTUSE.
21451 * sunrpc/auth_none.c: Likewise.
21452 * sunrpc/auth_unix.c: Likewise.
21453 * sunrpc/authdes_prot.c: Likewise.
21454 * sunrpc/authuxprot.c: Likewise.
21455 * sunrpc/clnt_gen.c: Likewise.
21456 * sunrpc/clnt_perr.c: Likewise.
21457 * sunrpc/clnt_raw.c: Likewise.
21458 * sunrpc/clnt_simp.c: Likewise.
21459 * sunrpc/clnt_tcp.c: Likewise.
21460 * sunrpc/clnt_udp.c: Likewise.
21461 * sunrpc/clnt_unix.c: Likewise.
21462 * sunrpc/des_crypt.c: Likewise.
21463 * sunrpc/des_soft.c: Likewise.
21464 * sunrpc/get_myaddr.c: Likewise.
21465 * sunrpc/key_call.c: Likewise.
21466 * sunrpc/key_prot.c: Likewise.
21467 * sunrpc/netname.c: Likewise.
21468 * sunrpc/pm_getmaps.c: Likewise.
21469 * sunrpc/pm_getport.c: Likewise.
21470 * sunrpc/pmap_clnt.c: Likewise.
21471 * sunrpc/pmap_prot.c: Likewise.
21472 * sunrpc/pmap_prot2.c: Likewise.
21473 * sunrpc/pmap_rmt.c: Likewise.
21474 * sunrpc/publickey.c: Likewise.
21475 * sunrpc/rpc_cmsg.c: Likewise.
21476 * sunrpc/rpc_common.c: Likewise.
21477 * sunrpc/rpc_dtable.c: Likewise.
21478 * sunrpc/rpc_prot.c: Likewise.
21479 * sunrpc/rpc_thread.c: Likewise.
21480 * sunrpc/rtime.c: Likewise.
21481 * sunrpc/svc.c: Likewise.
21482 * sunrpc/svc_auth.c: Likewise.
21483 * sunrpc/svc_authux.c: Likewise.
21484 * sunrpc/svc_raw.c: Likewise.
21485 * sunrpc/svc_run.c: Likewise.
21486 * sunrpc/svc_simple.c: Likewise.
21487 * sunrpc/svc_tcp.c: Likewise.
21488 * sunrpc/svc_udp.c: Likewise.
21489 * sunrpc/svc_unix.c: Likewise.
21490 * sunrpc/svcauth_des.c: Likewise.
21491 * sunrpc/xcrypt.c: Likewise.
21492 * sunrpc/xdr.c: Likewise.
21493 * sunrpc/xdr_array.c: Likewise.
21494 * sunrpc/xdr_float.c: Likewise.
21495 * sunrpc/xdr_intXX_t.c: Likewise.
21496 * sunrpc/xdr_mem.c: Likewise.
21497 * sunrpc/xdr_rec.c: Likewise.
21498 * sunrpc/xdr_ref.c: Likewise.
21499 * sunrpc/xdr_sizeof.c: Likewise.
21500 * sunrpc/xdr_stdio.c: Likewise.
21501
e6c61494
UD
215022011-04-10 Ulrich Drepper <drepper@gmail.com>
21503
21504 [BZ #12650]
21505 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21506 * sysdeps/ia64/dl-tls.h: Likewise.
21507 * sysdeps/powerpc/dl-tls.h: Likewise.
21508 * sysdeps/s390/dl-tls.h: Likewise.
21509 * sysdeps/sh/dl-tls.h: Likewise.
21510 * sysdeps/sparc/dl-tls.h: Likewise.
21511 * sysdeps/x86_64/dl-tls.h: Likewise.
21512 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21513
34fe483e
AS
215142011-03-14 Andreas Schwab <schwab@redhat.com>
21515
21516 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21517 rpath element also skip the following colon.
21518 (expand_dynamic_string_token): Add is_path parameter and pass
21519 down to DL_DST_REQUIRED and _dl_dst_substitute.
21520 (decompose_rpath): Call expand_dynamic_string_token with
21521 non-zero is_path. Ignore empty rpaths.
21522 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21523 with zero is_path.
21524
f12a32e6
AS
215252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21526
21527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21528 Make cancelable.
21529
38a7d692
UD
215302011-04-09 Ulrich Drepper <drepper@gmail.com>
21531
21532 [BZ #12655]
21533 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21534 Patch by Filipe David Manana <fdmanana@apache.org>.
21535
e451d22b
AS
215362011-04-07 Andreas Schwab <schwab@redhat.com>
21537
21538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21539 Maintain aligned stack.
21540 (CHECK_RSP): Remove unused macro.
21541
dedc7c7b
UD
215422011-04-03 Ulrich Drepper <drepper@gmail.com>
21543
21544 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21545 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21546
94521213
UD
215472011-04-02 Ulrich Drepper <drepper@gmail.com>
21548
21549 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21550
8cb700c0 21551 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21552
0354e355
L
215532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21554
21555 [BZ #12518]
21556 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21557 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21558 * sysdeps/x86_64/memmove.c: New file.
21559 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21560 (memcpy): Renamed to ...
21561 (__new_memcpy): This.
21562 (memcpy): Provide GLIBC_2_14 memcpy.
21563 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21564 (memcpy): Provide GLIBC_2_2_5 memcpy.
21565
8593482f
UD
215662011-04-01 Ulrich Drepper <drepper@gmail.com>
21567
21568 [BZ #12631]
21569 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21570
81a5726b
AS
215712011-03-30 Andreas Schwab <schwab@redhat.com>
21572
21573 * misc/syncfs.c: New file.
21574 * misc/Makefile (routines): Add syncfs.
21575 * posix/unistd.h: Declare syncfs.
21576 * sysdeps/unix/syscalls.list: Add syncfs.
21577
00e5419f
AS
215782011-04-01 Andreas Schwab <schwab@redhat.com>
21579
21580 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21581 open_by_handle_at.
21582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21583 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21587 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21589
748876bf
UD
215902011-04-01 Ulrich Drepper <drepper@gmail.com>
21591
658e451d
UD
21592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21594 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21596 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21597 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21598 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21599
748876bf
UD
21600 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21601 sync_file_range.c with -fexceptions.
21602 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21603 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21604 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21605 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21606 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21607 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21608 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21609 sync_file_range as cancellation point
21610 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21611 now a wrapper around __call_sync_file_range with cancellation handling.
21612 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21613 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21614 function name to __call_sync_file_range.
21615 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21616 Add call_sync_file_range.
748876bf 21617
6e63d5e1
AS
216182011-04-01 Andreas Schwab <schwab@redhat.com>
21619
21620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21621 bits/timex.h.
6e63d5e1 21622
46998f74
UD
216232011-04-01 Ulrich Drepper <drepper@gmail.com>
21624
4c1423ed
UD
21625 * iconv/iconv.h: Fix typo in comment.
21626 * io/fcntl.h: Likewise.
21627 * libio/stdio.h: Likewise.
21628 * posix/spawn.h: Likewise.
21629 * posix/unistd.h: Likewise.
21630 * stdlib/stdlib.h: Likewise.
21631 * time/time.h: Likewise.
21632 * wcsmbs/wchar.h: Likewise.
21633
158648c0
UD
21634 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21635 open_by_handle): Add.
21636 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21637 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21638 Augment a few comments.
21639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21644 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21645 open_by_handle.
21646
46998f74
UD
21647 * io/fcntl.h (AT_EMPTY_PATH): Define.
21648
83fe108b
UD
216492011-03-30 Ulrich Drepper <drepper@gmail.com>
21650
21651 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21652 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21653 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21654 to...
21655 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21656 * Versions.def: Add GLIBC_2.14.
21657 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21658 Export.
83fe108b 21659
bb242059
UD
216602011-03-22 Ulrich Drepper <drepper@gmail.com>
21661
21662 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21663 round counter.
21664 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21665
c97a1282
L
216662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21667
21668 [BZ #12597]
21669 * string/test-strncmp.c (do_page_test): New function.
21670 (check2): Likewise.
21671 (test_main): Call check2.
21672 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21673
2a115601
UD
216742011-03-20 Ulrich Drepper <drepper@gmail.com>
21675
21676 [BZ #12587]
21677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21678 Handle cache information in CPU leaf 4.
21679 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21680
8126d904
UD
216812011-03-18 Ulrich Drepper <drepper@gmail.com>
21682
042c49c6 21683 [BZ #12583]
8126d904
UD
21684 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21685 character representation.
21686 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21687
ccfe366e
RA
216882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21689
21690 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21691 END(__isnan) to END(__isnanf) to match function entry point/label
21692 EALIGN(__isnanf,...).
21693
c6e13027
JJ
216942011-03-10 Jakub Jelinek <jakub@redhat.com>
21695
21696 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21697
33f85a3f
UD
216982011-03-10 Ulrich Drepper <drepper@gmail.com>
21699
028478fa
UD
21700 [BZ #12510]
21701 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21702 copy from the symbol referenced in the relocation to initialize the
21703 used variable.
21704 Patch by Piotr Bury <pbury@goahead.com>.
21705 * elf/Makefile: Add rules to build and tst-unique3.
21706 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21707 * elf/tst-unique3.cc: New file.
21708 * elf/tst-unique3.h: New file.
21709 * elf/tst-unique3lib.cc: New file.
21710 * elf/tst-unique3lib2.cc: New file.
21711
33f85a3f
UD
21712 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21713
03592fc7
MF
217142011-03-10 Mike Frysinger <vapier@gentoo.org>
21715
21716 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21717 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21718 to _start.
03592fc7 21719
6a5ee102
UD
217202011-03-06 Ulrich Drepper <drepper@gmail.com>
21721
21722 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21723 to-be-loaded object along a path to loader is ld.so.
21724
7e4ba49c
HJ
217252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21726 Ulrich Drepper <drepper@gmail.com>
21727
21728 * sysdeps/x86_64/memset.S: After aligning destination, code
21729 branches to different locations depending on the value of
21730 misalignment, when multiarch is enabled. Fix this.
21731
217322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21733
21734 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21735 Set _x86_64_preferred_memory_instruction for AMD processsors.
21736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21737 Set bit_Prefer_SSE_for_memop for AMD processors.
21738
13a804de
UD
217392011-03-04 Ulrich Drepper <drepper@gmail.com>
21740
21741 * libio/fmemopen.c (fmemopen): Optimize a bit.
21742
9d25c392
AS
217432011-03-03 Andreas Schwab <schwab@redhat.com>
21744
21745 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21746
a5543c6a
RM
217472011-03-03 Roland McGrath <roland@redhat.com>
21748
21749 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21750
012d35f7
DM
217512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21752
7e4ba49c 21753 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21754 __bzero_ultra1 instead of __memset_ultra1.
21755
4bff6e01
AS
217562011-02-23 Andreas Schwab <schwab@redhat.com>
21757 Ulrich Drepper <drepper@gmail.com>
21758
21759 [BZ #12509]
21760 * include/link.h (struct link_map): Add l_orig_initfini.
21761 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21762 returning unsuccessfully.
21763 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21764 close of a file loaded at startup, restore the original l_initfini
21765 list.
21766 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21767 list, store the pointer.
21768 * elf/Makefile ($(objpfx)noload-mem): New rule.
21769 (noload-ENV): Define.
21770 (tests): Add $(objpfx)noload-mem.
21771 * elf/noload.c: Include <memcheck.h>.
21772 (main): Call mtrace. Close all opened handles.
21773
f2092faf
AS
217742011-02-17 Andreas Schwab <schwab@redhat.com>
21775
21776 [BZ #12454]
21777 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21778 dependencies are missing.
21779
6c8a2e88
ST
217802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21781
f2092faf 21782 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21783 Hurd needs munmap.
21784 * sysdeps/mach/hurd/ifreq.h: New file.
21785
84a42118
PB
217862011-01-27 Petr Baudis <pasky@suse.cz>
21787 Ulrich Drepper <drepper@gmail.com>
21788
071f805e 21789 [BZ 12445]#
84a42118
PB
21790 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21791 to extend_alloca().
21792 * stdio-common/bug23.c: New file.
21793 * stdio-common/Makefile (tests): Add bug23.
21794
e23fe25b
AS
217952010-09-28 Andreas Schwab <schwab@redhat.com>
21796 Ulrich Drepper <drepper@gmail.com>
21797
21798 [BZ #12489]
21799 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21800 before performing relro protection. At old place add assertion
21801 to make sure nothing changed.
21802
d3f02e10
NS
218032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21804 Glauber de Oliveira Costa <glommer@gmail.com>
21805
21806 * elf/elf.h: Add new ARM TLS relocs.
21807
d55fd7a5
RA
218082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21809
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21811 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21812 cast from r3.
21813 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21814 'tests' variable.
21815 * sysdeps/wordsize-64/tst-writev.c: New file.
21816
2206397e
RA
218172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21818
21819 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21820 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21821 insns in _dl_start to prevent a TOC reference before relocs are
21822 resolved.
21823
e9433893
UD
218242011-02-15 Ulrich Drepper <drepper@gmail.com>
21825
21826 [BZ #12469]
21827 * Makeconfig: Remove RANLIB definition.
21828 * Makerules: Don't use RANLIB.
21829 * aclocal.m4: Remove ranlib test.
21830 * configure.in: No need to check for ranlib.
21831 * elf/rtld-Rules: Don't use RANLIB.
21832
f75286c6
ST
218332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21834
8e31c82d
ST
21835 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21836 protection macro.
21837 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21838 inclusion protection macro.
21839
f75286c6
ST
21840 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21841 SIGRTMIN and SIGRTMAX and print information in that case only when
21842 SIGRTMIN is defined.
21843
c1d0e639
JJ
218442011-02-11 Jakub Jelinek <jakub@redhat.com>
21845
21846 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21847 arginfo fn returning -1.
21848
21849 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21850 and thousands string is zero terminated.
21851
edf9294e
AS
218522011-02-03 Andreas Schwab <schwab@redhat.com>
21853
21854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21855 sysdeps/unix/sysv/linux/bits/socket.h.
21856
2b7e92df
ST
218572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21858
edf9294e
AS
21859 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21860 (__CPU_COUNT): Remove old macros.
21861 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21862 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21863 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21864 (__sched_cpualloc, __sched_cpufree): Add declarations.
21865
a4c7ea7b
UD
218662011-02-05 Ulrich Drepper <drepper@gmail.com>
21867
21868 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21869 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21870 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21871 (readdhstai): Return value of addhstaiX call.
21872 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21873 (addgrbyX): Return value returned by cache_addgr.
21874 (readdgrbyname): Return value returned by addgrbyX.
21875 (readdgrbygid): Likewise.
21876 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21877 (addpwbyX): Return value returned by cache_addpw.
21878 (readdpwbyname): Return value returned by addhstbyX.
21879 (readdpwbyuid): Likewise.
21880 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21881 (addservbyX): Return value returned by cache_addserv.
21882 (readdservbyname): Return value returned by addservbyX:
21883 (readdservbyport): Likewise.
21884 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21885 (addhstbyX): Return value returned by cache_addhst.
21886 (readdhstbyname): Return value returned by addhstbyX.
21887 (readdhstbyaddr): Likewise.
21888 (readdhstbynamev6): Likewise.
21889 (readdhstbyaddrv6): Likewise.
21890 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21891 (readdinitgroups): Return value returned by addinitgroupsX.
21892 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21893 (prune_cache): Keep track of timeout value of re-added entries.
21894 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21895 * nscd/nscd.h: Adjust prototypes of readd* functions.
21896
a0bf67cc
RM
218972011-02-04 Roland McGrath <roland@redhat.com>
21898
21899 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21900 (nis_stats): Likewise.
21901 * nis/nis_modify.c (nis_modify): Likewise.
21902 * nis/nis_remove.c (nis_remove): Likewise.
21903 * nis/nis_add.c (nis_add): Likewise.
21904
21905 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21906
21907 * posix/fnmatch_loop.c: Add some consts.
21908
21909 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21910
435b95eb
L
219112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21912
21913 [BZ #12460]
21914 * config.make.in (config-cflags-novzeroupper): Define.
21915 * configure.in: Substitute libc_cv_cc_novzeroupper.
21916 * elf/Makefile (AVX-CFLAGS): Define.
21917 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21918 (CFLAGS-tst-auditmod4a.c): Likewise.
21919 (CFLAGS-tst-auditmod4b.c): Likewise.
21920 (CFLAGS-tst-auditmod6b.c): Likewise.
21921 (CFLAGS-tst-auditmod6c.c): Likewise.
21922 (CFLAGS-tst-auditmod7b.c): Likewise.
21923 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21924
8517b15e
UD
219252011-02-02 Ulrich Drepper <drepper@gmail.com>
21926
21927 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21928 function to the callback.
21929 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21930
10a656fe
AS
219312011-02-02 Andreas Schwab <schwab@redhat.com>
21932
21933 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21934 of errno.
21935
968dad0a
UD
219362011-01-19 Ulrich Drepper <drepper@gmail.com>
21937
9f94d2ea 21938 [BZ #11724]
968dad0a
UD
21939 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21940 of constructors.
21941 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21942 of destructors.
21943 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21944
21945 [BZ #11724]
21946 * elf/Makefile: Add rules to build and run new test.
21947 * elf/tst-initorder.c: New file.
21948 * elf/tst-initorder.exp: New file.
21949 * elf/tst-initordera1.c: New file.
21950 * elf/tst-initordera2.c: New file.
21951 * elf/tst-initordera3.c: New file.
21952 * elf/tst-initordera4.c: New file.
21953 * elf/tst-initorderb1.c: New file.
21954 * elf/tst-initorderb2.c: New file.
21955 * elf/tst-order-a1.c: New file.
21956 * elf/tst-order-a2.c: New file.
21957 * elf/tst-order-a3.c: New file.
21958 * elf/tst-order-a4.c: New file.
21959 * elf/tst-order-b1.c: New file.
21960 * elf/tst-order-b2.c: New file.
21961 * elf/tst-order-main.c: New file.
21962 New test case by George Gensure <werkt0@gmail.com>.
21963
86e92359
UD
219642010-10-01 Andreas Schwab <schwab@redhat.com>
21965
21966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21967 decoding ACE if AI_CANONIDN.
21968
5d5732b0
UD
219692011-01-18 Ulrich Drepper <drepper@gmail.com>
21970
21971 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21972
a77e8cbc
UD
219732011-01-17 Ulrich Drepper <drepper@gmail.com>
21974
6392473f
UD
21975 * version.h (RELEASE): Bump for 2.13 release.
21976 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21977
620a0529
UD
21978 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21979
18ba70a5
UD
21980 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21981 MADV_NOHUGEPAGE.
32465c3e
UD
21982 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21983 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21985 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21986 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21987 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21988
c0dafcf1
UD
21989 * posix/getconf.c: Update copyright year.
21990 * catgets/gencat.c: Likewise.
21991 * csu/version.c: Likewise.
21992 * debug/catchsegv.sh: Likewise.
21993 * debug/xtrace.sh: Likewise.
21994 * elf/ldconfig.c: Likewise.
21995 * elf/ldd.bash.in: Likewise.
21996 * elf/sprof.c (print_version): Likewise.
21997 * iconv/iconv_prog.c: Likewise.
21998 * iconv/iconvconfig.c: Likewise.
21999 * locale/programs/locale.c: Likewise.
22000 * locale/programs/localedef.c: Likewise.
22001 * malloc/memusage.sh: Likewise.
22002 * malloc/mtrace.pl: Likewise.
22003 * nscd/nscd.c (print_version): Likewise.
22004 * nss/getent.c: Likewise.
22005
a77e8cbc
UD
22006 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22007 PF_CAIF, and PF_ALG.
22008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22009
77e8bddf
AS
220102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22011
1f20b93a
AS
22012 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22013 (modules-names): Use them.
22014 (ifunc-test-modules, ifunc-pie-tests): Define.
22015 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22016 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22017 (test-extras): Likewise.
22018 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22019 $(compile-command.c).
22020 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22021 (all-built-dso): Define.
22022 (check-textrel.out, check-execstack.out): Depend on it.
22023
77e8bddf
AS
22024 * configure.in: Don't override --enable-multi-arch.
22025
bc425b33
UD
220262011-01-15 Ulrich Drepper <drepper@gmail.com>
22027
22028 [BZ #6812]
22029 * nscd/hstcache.c (tryagain): Define.
22030 (cache_addhst): Return tryagain not notfound for temporary errors.
22031 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22032 failed.
22033
794c3ad3
UD
220342011-01-14 Ulrich Drepper <drepper@gmail.com>
22035
70181fdd
UD
22036 [BZ #10563]
22037 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22038 to make the syscall.
22039 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22040
794c3ad3
UD
22041 [BZ #12378]
22042 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22043 and fall back to matching as normal character if the string ends before
22044 the matching ']' is found. This is what POSIX requires.
22045 * posix/testfnm.c: Adjust test result.
22046 * posix/globtest.sh: Adjust test result. Add new test.
22047 * posix/tst-fnmatch.input: Likewise.
22048 * posix/tst-fnmatch2.c: Add new test.
22049
68dc9497
AS
220502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22051
22052 * elf/Makefile (check-execstack): Revert last change. Depend on
22053 check-execstack.h.
22054 (check-execstack.h): New target.
22055 (generated): Add check-execstack.h.
22056 * elf/check-execstack.c: Include "check-execstack.h".
22057 (main): Revert last change.
22058 (handle_file): Return zero if GNU_STACK is absent and
22059 DEFAULT_STACK_PERMS doesn't include PF_X.
22060
451f001b
UD
220612011-01-13 Ulrich Drepper <drepper@gmail.com>
22062
cfa28e56
UD
22063 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22064 in child fails because the descriptor is already closed.
8cf8ce17
UD
22065 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22066 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22067 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22068
1086d70d
UD
22069 [BZ #12397]
22070 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22071 syscall.
22072
451f001b
UD
22073 [BZ #10484]
22074 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22075 temporary buffer used to handle multi lookups locally.
a85b5cb4 22076 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22077
08769175
UD
220782011-01-12 Ulrich Drepper <drepper@gmail.com>
22079
22080 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22081 loader is ld.so.
22082
5e49c52e
UD
220832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22084
22085 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22086 alignment for SSE2.
22087
60522a5f
UD
220882011-01-12 Ulrich Drepper <drepper@gmail.com>
22089
22090 [BZ #12394]
22091 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22092 characters. When rounding increased number of integer digits recompute
22093 number of groups.
22094 * stdio-common/tst-grouping.c: New file.
22095 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22096
f257bbd7
UD
220972011-01-09 Ulrich Drepper <drepper@gmail.com>
22098
22099 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22100 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22101
22102 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22103 void.
22104 * bits/select.h: Likewise.
22105
fa9c15cb
UD
221062011-01-08 Ulrich Drepper <drepper@gmail.com>
22107
22108 * po/ja.po: Update from translation team.
22109
16c2895f
DM
221102011-01-04 David S. Miller <davem@sunset.davemloft.net>
22111
22112 [BZ #11155]
22113 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22114 implementation just like for lxstat, fxstatat, et al.
22115
2543fef2
JM
221162010-12-27 Jim Meyering <meyering@redhat.com>
22117
22118 [BZ #12348]
22119 * posix/regexec.c (build_trtable): Return failure indication upon
22120 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22121
98727dbe
UD
221222010-12-25 Ulrich Drepper <drepper@gmail.com>
22123
5bd6dc5c
UD
22124 [BZ #12201]
22125 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22126 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22127 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22128 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22129
97983464
UD
22130 [BZ #12207]
22131 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22132
98727dbe
UD
22133 [BZ #12204]
22134 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22135 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22136
4a531bb0
L
221372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22138
22139 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22140 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22141 script has SORT_BY_INIT_PRIORITY.
22142 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22143 NO_CTORS_DTORS_SECTIONS is defined.
22144 * elf/soinit.c: Likewise.
22145 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22146 NO_CTORS_DTORS_SECTIONS is defined.
22147 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22148 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22149 * sysdeps/sh/init-first.c: Likewise.
22150 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22151
07eb4b71
UD
221522010-12-24 Ulrich Drepper <drepper@gmail.com>
22153
22154 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22155 always use the slow path.
22156
30950a5f
RA
221572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22158
22159 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22160 similar rule which adds the sysdep directories to the header search in
22161 order to pick up the correct platform stackinfo.h.
22162 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22163 perform test if it is, otherwise return successfully without testing.
22164 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22165 DEFAULT_STACK_PERMS define in stackinfo.h.
22166 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22167 defined in stackinfo.h.
22168 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22169 DEFAULT_STACK_PERMS defined in stackinfo.h.
22170 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22171 * sysdeps/ia64/stackinfo.h: Likewise.
22172 * sysdeps/s390/stackinfo.h: Likewise.
22173 * sysdeps/sh/stackinfo.h: Likewise.
22174 * sysdeps/sparc/stackinfo.h: Likewise.
22175 * sysdeps/x86_64/stackinfo.h: Likewise.
22176 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22177 PF_X for powerpc64. Retain PF_X for powerpc32.
22178
db753e2c
UD
221792010-12-19 Ulrich Drepper <drepper@gmail.com>
22180
14b697f7
UD
22181 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22182 accurately.
db753e2c
UD
22183 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22184 GETDENTS_64BIT_ALIGNED.
22185
28300719
UD
221862010-12-14 Ulrich Drepper <dreper@gmail.com>
22187
14b697f7 22188 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22189
4f197237
AS
221902010-12-10 Andreas Schwab <schwab@redhat.com>
22191
dbb0472f
AS
22192 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22193 _GNU_SOURCE.
22194
4f197237
AS
22195 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22196 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22197 Remove __restrict.
22198 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22199 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22200
fb88ac72
UD
222012010-12-09 Ulrich Drepper <drepper@gmail.com>
22202
22203 [BZ #11655]
22204 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22205 are initialized.
22206
42acbb92
JJ
222072010-12-09 Jakub Jelinek <jakub@redhat.com>
22208
22209 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22210
c038d98d
UD
222112010-12-03 Ulrich Drepper <drepper@gmail.com>
22212
22213 * po/it.po: Update from translation team.
22214
3a4a2499
L
222152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22216
22217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22218 unused codes.
22219
1e24cf6e
UD
222202010-11-30 Ulrich Drepper <drepper@gmail.com>
22221
22222 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22223
a7690819
AS
222242010-11-24 Andreas Schwab <schwab@redhat.com>
22225
22226 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22227 specially.
22228 (gaih_getanswer_slice): Likewise.
22229
3bf8d1b1
JJ
222302010-10-20 Jakub Jelinek <jakub@redhat.com>
22231
22232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22233
6db52fbb
PB
222342010-05-31 Petr Baudis <pasky@suse.cz>
22235
22236 [BZ #11149]
22237 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22238 silently even in the chroot mode.
22239
eaca7569
UD
222402010-11-22 Ulrich Drepper <drepper@gmail.com>
22241
22242 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22243 last patch a bit. Pretty printing
22244
3056dcdb
UD
222452010-05-31 Petr Baudis <pasky@suse.cz>
22246
22247 [BZ #10085]
22248 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22249 initialization of skip_initgroups_dyn.
22250
cf7c9078
UD
222512010-11-19 Ulrich Drepper <drepper@gmail.com>
22252
22253 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22254 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22255
a1fb5e3e
UD
222562010-11-16 Ulrich Drepper <drepper@gmail.com>
22257
22258 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22259
3540d66b
AS
222602010-11-11 Andreas Schwab <schwab@redhat.com>
22261
22262 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22263 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22264 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22265 ($(objpfx)tst-fnmatch-mem): New rule.
22266 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22267 * posix/tst-fnmatch.c (main): Call mtrace.
22268
13b69574
L
222692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22270
22271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22272 Support Intel processor model 6 and model 0x2c.
22273
da93d214
LM
222742010-11-10 Luis Machado <luisgpm@br.ibm.com>
22275
22276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22277 signed comparison.
22278
8ca52c6e
L
222792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 [BZ #12205]
22282 * string/test-strncasecmp.c (check_result): New function.
22283 (do_one_test): Use it.
22284 (check1): New function.
22285 (test_main): Use it.
22286 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22287 Support strcasecmp and strncasecmp.
22288
69da074d
UD
222892010-11-08 Ulrich Drepper <drepper@gmail.com>
22290
22291 [BZ #12194]
22292 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22294
ff02d528
L
222952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22298 IFUNC support.
22299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22300 memset-x86-64.
22301 * sysdeps/x86_64/multiarch/bzero.S: New file.
22302 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22303 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22304 * sysdeps/x86_64/multiarch/memset.S: New file.
22305 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22307 Set bit_Prefer_SSE_for_memop for Intel processors.
22308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22309 Define.
22310 (index_Prefer_SSE_for_memop): Define.
22311 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22312
344d0b54
LM
223132010-11-04 Luis Machado <luisgpm@br.ibm.com>
22314
22315 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22316 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22317
c0dde15b
UD
223182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22319
22320 [BZ #12191]
22321 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22322 (__x86_64_raw_data_cache_size_half): Likewise.
22323 (__x86_64_raw_shared_cache_size): Likewise.
22324 (__x86_64_raw_shared_cache_size_half): Likewise.
22325
22326 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22327 (__x86_64_raw_data_cache_size_half): Likewise.
22328 (__x86_64_raw_shared_cache_size): Likewise.
22329 (__x86_64_raw_shared_cache_size_half): Likewise.
22330 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22331 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22332 and __x86_64_raw_shared_cache_size_half. Round
22333 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22334 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22335 to multiple of 256 bytes.
22336
0e516e0e
MS
223372010-11-03 Ulrich Drepper <drepper@gmail.com>
22338
22339 [BZ #12167]
22340 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22341 of inacessible symlinks. Verify result of symlink before returning it.
22342 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22343 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22344
0e012e87
ER
223452010-10-28 Erich Ritz <erichritz@gmail.com>
22346
22347 * math/math.h (isinf): Fix typo in comment.
22348
de0ff7bc
UD
223492010-11-01 Ulrich Drepper <drepper@gmail.com>
22350
22351 * po/da.po: Update from translation team.
22352
fa41c84d
UD
223532010-10-26 Ulrich Drepper <drepper@gmail.com>
22354
22355 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22356 is added to the list.
22357
f0967738
AK
223582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22359 Ulrich Drepper <drepper@gmail.com>
22360
22361 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22362 the global list here. Move code to...
22363 (_dl_add_to_namespace_list): ...here. New function.
22364 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22365 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22366 * elf/dl-load.c (lose): Don't remove the element from the list.
22367 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22368 (_dl_map_object): Likewise.
22369
223702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22371
22372 [BZ #12159]
22373 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22374 into all bytes of SSE register.
22375 Patch by Richard Li <richardpku@gmail.com>.
22376
f0967738 223772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22378
22379 [BZ #12140]
22380 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22381 perturbing.
22382
d0b9e94f
MB
223832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22384
22385 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22386 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22387 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22388 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22390 submachine.
22391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22392
8e9f92e9
AS
223932010-10-22 Andreas Schwab <schwab@redhat.com>
22394
22395 * include/dlfcn.h (__RTLD_SECURE): Define.
22396 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22397 mode & __RTLD_SECURE instead.
22398 (open_path): Rename preloaded parameter to secure.
22399 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22400 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22401 * elf/dl-deps.c (openaux): Likewise.
22402 * elf/rtld.c (struct map_args): Remove is_preloaded.
22403 (map_doit): Don't use it.
22404 (dl_main): Likewise.
22405 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22406 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22407
bc96fbda
AS
224082010-09-09 Andreas Schwab <schwab@redhat.com>
22409
22410 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22411 (sysd-rules-targets): Remove duplicates.
22412 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22413 rtld-%.$o dependency.
22414
22cd1c9b
AS
224152010-10-18 Andreas Schwab <schwab@redhat.com>
22416
22417 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22418 _dl_map_object do it.
22419
18edac48
UD
224202010-10-19 Ulrich Drepper <drepper@gmail.com>
22421
22422 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22423 fast fma builtins, define the macros in the C99 standard.
22424 (FP_FAST_FMAF): Likewise.
22425 (FP_FAST_FMAL): Likewise.
22426 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22427
22428 * bits/mathdef.h: Update copyright year.
22429 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22430
d2050124
MM
224312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22432
22433 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22434 builtins, define the macros in the C99 standard.
22435 (FP_FAST_FMAF): Likewise.
22436 (FP_FAST_FMAL): Likewise.
22437 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22438 multiply/add.
22439 (FP_FAST_FMAF): Likewise.
22440
475facd1
JJ
224412010-10-15 Jakub Jelinek <jakub@redhat.com>
22442
22443 [BZ #3268]
22444 * math/libm-test.inc (fma_test): Some new testcases.
22445 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22446 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22447 y and infinite z. Do multiplication by C already in long double.
22448 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22450 y and infinite z. Do bitwise or of inexact bit into u.d.
22451 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22452 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22453 * sysdeps/i386/fpu/s_fma.S: Removed.
22454 * sysdeps/i386/fpu/s_fmal.S: Removed.
22455
7c08a05c
JJ
224562010-10-16 Jakub Jelinek <jakub@redhat.com>
22457
22458 [BZ #3268]
22459 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22461 computation is not scheduled after fetestexcept. Fix value
22462 of minimum denormal long double.
22463
f3f7372d
JJ
224642010-10-14 Jakub Jelinek <jakub@redhat.com>
22465
22466 [BZ #3268]
22467 * math/libm-test.inc (fma_test): Add some more tests.
22468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22469 correctly.
22470
14d43591
AS
224712010-10-15 Andreas Schwab <schwab@redhat.com>
22472
22473 * scripts/data/localplt-s390-linux-gnu.data: New file.
22474 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22475
5e908464
JJ
224762010-10-13 Jakub Jelinek <jakub@redhat.com>
22477
22478 [BZ #3268]
22479 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22480 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22481 instead of dbl-64.
22482 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22483 inlines.
22484 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22486 if one of x and y is very large and the other is subnormal.
22487 * sysdeps/s390/fpu/s_fmaf.c: New file.
22488 * sysdeps/s390/fpu/s_fma.c: New file.
22489 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22490 * sysdeps/powerpc/fpu/s_fma.S: New file.
22491 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22492 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22493 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22494
224952010-10-12 Jakub Jelinek <jakub@redhat.com>
22496
22497 [BZ #3268]
22498 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22499 fma tests.
22500 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22501 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22502 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22503 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22504 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22505 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22507
b833d51f
UD
225082010-10-12 Ulrich Drepper <drepper@redhat.com>
22509
22510 [BZ #12078]
22511 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22512 * posix/bug-regex31.input: Add test case.
22513
1751705d
UD
225142010-10-11 Ulrich Drepper <drepper@gmail.com>
22515
e9b9cbf5
UD
22516 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22517 * posix/bug-regex31.input: New file.
22518
22519 [BZ #12078]
22520 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22521 (parse_sub_exp): Fix last change, use postorder.
22522
ef06edbe
UD
22523 * posix/bug-regex31.c: New file.
22524 * posix/Makefile: Add rules to build and run bug-regex31.
22525
a129c80d
UD
22526 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22527
22528 [BZ #12078]
22529 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22530
b76b818e
UD
22531 [BZ #12108]
22532 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22533 to have entries in sys_siglist.
22534
1751705d
UD
22535 [BZ #12093]
22536 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22537 be NULL.
22538
9ff8d36f
JJ
225392010-10-07 Jakub Jelinek <jakub@redhat.com>
22540
22541 [BZ #3268]
22542 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22543 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22544 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22545 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22546 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22547 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22548 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22549 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22550 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22551 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22552 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22553 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22554 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22555 * math/ftestexcept.c (fetestexcept): Likewise.
22556 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22557 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22558 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22559 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22560 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22561 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22562 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22563
af325969
UD
225642010-10-11 Ulrich Drepper <drepper@gmail.com>
22565
c579b202 22566 [BZ #12107]
af325969
UD
22567 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22568 newline.
22569
67a67b95
UD
225702010-10-06 Ulrich Drepper <drepper@gmail.com>
22571
22572 * string/bug-strstr1.c: New file.
22573 * string/Makefile: Add rules to build and run bug-strstr1.
22574
5fb308bc
EB
225752010-10-05 Eric Blake <eblake@redhat.com>
22576
22577 [BZ #12092]
22578 * string/str-two-way.h (two_way_long_needle): Always clear memory
22579 when skipping input due to the shift table.
22580
45db99c7
UD
225812010-10-03 Ulrich Drepper <drepper@gmail.com>
22582
3b111893
UD
22583 [BZ #12005]
22584 * malloc/mcheck.c: Handle large requests.
22585
45db99c7
UD
22586 [BZ #12077]
22587 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22588 for strncmp and strncasecmp.
22589 * string/stratcliff.c: Add tests for strcmp and strncmp.
22590 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22591
cf7a1eb8
NI
225922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22593
22594 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22595 __set_fpscr.
22596
6484ba5e
AJ
225972010-09-30 Andreas Jaeger <aj@suse.de>
22598
22599 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22600 (CGROUP_SUPER_MAGIC): Define.
22601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22602 Handle btrfs and cgroup file systems.
22603 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22604 Likewise.
22605
91c42559
LM
226062010-09-27 Luis Machado <luisgpm@br.ibm.com>
22607
22608 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22609 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22610
87a97932
AK
226112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22612
22613 [BZ #12067]
22614 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22615 trying to locate the ELF header.
22616
c21cc9bc
AS
226172010-09-27 Andreas Schwab <schwab@redhat.com>
22618
22619 [BZ #11611]
22620 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22621 Mask out sign-bit copies when constructing f_fsid.
22622
315970f6
PB
226232010-09-24 Petr Baudis <pasky@suse.cz>
22624
22625 * debug/stack_chk_fail_local.c: Add missing licence exception.
22626 * debug/warning-nop.c: Likewise.
22627
1ac7a2c7
JM
226282010-09-15 Joseph Myers <joseph@codesourcery.com>
22629
22630 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22631 implementing getdents64 using getdents syscall, set d_type if
22632 __ASSUME_GETDENTS32_D_TYPE.
22633
56801c50
AS
226342010-09-16 Andreas Schwab <schwab@redhat.com>
22635
22636 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22637 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22638
dda51327
UD
226392010-09-21 Ulrich Drepper <drepper@redhat.com>
22640
22641 [BZ #12037]
22642 * posix/unistd.h: Undo change of feature selection for ftruncate from
22643 2010-01-11.
22644
8ffcee4a
UD
226452010-09-20 Ulrich Drepper <drepper@redhat.com>
22646
a545ecd9 22647 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22648 detection.
22649
e24f0a8b
AS
226502010-09-20 Andreas Schwab <schwab@redhat.com>
22651
22652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22653 fanotify_mark.
22654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22655
7291c56f
AS
226562010-09-14 Andreas Schwab <schwab@redhat.com>
22657
22658 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22659 variables after CHECK_SP call.
22660 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22661
bc5fb037
AS
226622010-09-13 Andreas Schwab <schwab@redhat.com>
22663 Ulrich Drepper <drepper@redhat.com>
22664
22665 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22666 re-relocationg ld.so.
22667 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22668 _dl_init_paths call.
22669 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22670 here anymore.
22671
e66e7419
UD
226722010-09-14 Ulrich Drepper <drepper@redhat.com>
22673
22674 * resolv/res_init.c (__res_vinit): Count the default server we added.
22675
c044aa75
CLT
226762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22677 Ulrich Drepper <drepper@redhat.com>
22678
22679 [BZ #11968]
22680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22681 (____longjmp_chk): Use %ebx for saving value across system call.
22682 Add unwind info.
22683
32cf4069
AS
226842010-09-06 Andreas Schwab <schwab@redhat.com>
22685
22686 * manual/Makefile: Don't mix pattern rules with normal rules.
22687
817328ee
AS
226882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22689
22690 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22691 operation.
22692 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22693 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22694 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22695 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22697 Likewise.
22698
29fddf61
UD
226992010-09-04 Ulrich Drepper <drepper@redhat.com>
22700
22701 [BZ #11979]
22702 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22703 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22704
0959ffc9
UD
227052010-09-02 Ulrich Drepper <drepper@redhat.com>
22706
22707 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22708 * sysdeps/x86_64/addmul_1.S: Likewise.
22709 * sysdeps/x86_64/lshift.S: Likewise.
22710 * sysdeps/x86_64/mul_1.S: Likewise.
22711 * sysdeps/x86_64/rshift.S: Likewise.
22712 * sysdeps/x86_64/sub_n.S: Likewise.
22713 * sysdeps/x86_64/submul_1.S: Likewise.
22714
ece29840
ST
227152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22716
0959ffc9
UD
22717 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22718 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22719 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22720 * bits/sched.h [__need_schedparam]
ece29840 22721 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22722 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22723 (__defined_schedparam): Define to 1.
ece29840
ST
22724 (__sched_param): New structure, identical to sched_param.
22725 (__need_schedparam): Undefine.
22726
e53a31fe
MF
227272010-08-31 Mike Frysinger <vapier@gentoo.org>
22728
fdc0c10d
MF
22729 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22730 (epoll_create1): Declare.
22731
e53a31fe
MF
22732 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22733
a726d796
AS
227342010-08-31 Andreas Schwab <schwab@redhat.com>
22735
22736 [BZ #7066]
22737 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22738 shifting retval into place.
22739
2f3e3dc7
UD
227402010-09-01 Ulrich Drepper <drepper@redhat.com>
22741
f2933da9
UD
22742 * nis/rpcsvc/nis.h: Update copyright notice.
22743 * nis/rpcsvc/nis.x: Likewise.
22744 * nis/rpcsvc/nis_callback.h: Likewise.
22745 * nis/rpcsvc/nis_callback.x: Likewise.
22746 * nis/rpcsvc/nis_object.x: Likewise.
22747 * nis/rpcsvc/nis_tags.h: Likewise.
22748 * nis/rpcsvc/yp.h: Likewise.
22749 * nis/rpcsvc/yp.x: Likewise.
22750 * nis/rpcsvc/ypupd.h: Likewise.
22751 * nis/yp_xdr.c: Likewise.
22752 * nis/ypupdate_xdr.c: Likewise.
22753
2f3e3dc7
UD
22754 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22755 mainly the body of pmap_getport. Add parameters to specify timeouts.
22756 (pmap_getport): Use __libc_rpc_getport.
22757 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22758 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22759 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22760
f3dcc2f9
AS
227612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22762
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22764 fanotify_mark.
22765
6d34eb5b
RM
227662010-08-27 Roland McGrath <roland@redhat.com>
22767
22768 * sysdeps/i386/i686/multiarch/Makefile
22769 (CFLAGS-varshift.c): New variable.
22770
9ea3de11
UD
227712010-08-27 Ulrich Drepper <drepper@redhat.com>
22772
c96d23fc
UD
22773 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22774 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22775
9ea3de11
UD
22776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22777
22778 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22779
623aac7f
L
227802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22781
22782 * sysdeps/x86_64/strlen.S: Unroll the loop.
22783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22784 strlen-sse2 strlen-sse2-bsf.
22785 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22786 __strlen_no_bsf if bit_Slow_BSF is set.
22787 (__strlen_sse42): Removed.
22788 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22789 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22790
8b2b7715
RM
227912010-08-25 Roland McGrath <roland@redhat.com>
22792
22793 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22794 * sysdeps/x86_64/multiarch/varshift.c: New file.
22795 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22796 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22797 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22798 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22799
e73015f2
L
228002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22801
22802 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22803 strlen-sse2 strlen-sse2-bsf.
22804 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22805 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22806 (__strlen_sse2): Removed.
22807 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22808 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22810 bit_Slow_BSF for Atom.
22811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22812 (index_Slow_BSF): Define.
22813 (HAS_SLOW_BSF): Define.
22814
df24a73e
UD
228152010-08-25 Ulrich Drepper <drepper@redhat.com>
22816
22817 [BZ #10851]
22818 * resolv/res_init.c (__res_vinit): When no server address at all
22819 is given default to loopback.
22820
f2ac4868
RM
228212010-08-24 Roland McGrath <roland@redhat.com>
22822
09055553
RM
22823 * configure.in: Remove config-name.h generation.
22824 * configure: Regenerated.
22825 * config-name.in: File removed.
22826 * scripts/config-uname.sh: New file.
22827 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22828 ($(objdir)config-name.h): New target.
22829
f2ac4868
RM
22830 * sunrpc/rpc_parse.h: Avoid nested comment.
22831
73f27d5e
RH
228322010-08-24 Richard Henderson <rth@redhat.com>
22833 Ulrich Drepper <drepper@redhat.com>
22834 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22838 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22839 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22840 _mm_alignr_epi8 with _mm_loadu_si128.
22841 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22842 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22843 (__m128i_shift_right): Removed.
22844 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22845 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22846 * sysdeps/x86_64/multiarch/varshift.h: New file.
22847 * sysdeps/x86_64/multiarch/varshift.S: New file.
22848
84b9230c
MF
228492010-08-21 Mike Frysinger <vapier@gentoo.org>
22850
22851 * configure.in: Move assembler checks to before sysdep dir checking.
22852
9bbd0ddc
PB
228532010-08-20 Petr Baudis <pasky@suse.cz>
22854
22855 * LICENSES: Sync the sunrpc license.
22856
9da4bb31
UD
228572010-08-19 Ulrich Drepper <drepper@redhat.com>
22858
a7ab6ec8
UD
22859 * sunrpc/auth_des.c: Update copyright notice once again.
22860 * sunrpc/auth_none.c: Likewise.
22861 * sunrpc/auth_unix.c: Likewise.
22862 * sunrpc/authdes_prot.c: Likewise.
22863 * sunrpc/authuxprot.c: Likewise.
22864 * sunrpc/bindrsvprt.c: Likewise.
22865 * sunrpc/clnt_gen.c: Likewise.
22866 * sunrpc/clnt_perr.c: Likewise.
22867 * sunrpc/clnt_raw.c: Likewise.
22868 * sunrpc/clnt_simp.c: Likewise.
22869 * sunrpc/clnt_tcp.c: Likewise.
22870 * sunrpc/clnt_udp.c: Likewise.
22871 * sunrpc/clnt_unix.c: Likewise.
22872 * sunrpc/des_crypt.c: Likewise.
22873 * sunrpc/des_soft.c: Likewise.
22874 * sunrpc/get_myaddr.c: Likewise.
22875 * sunrpc/getrpcport.c: Likewise.
22876 * sunrpc/key_call.c: Likewise.
22877 * sunrpc/key_prot.c: Likewise.
22878 * sunrpc/openchild.c: Likewise.
22879 * sunrpc/pm_getmaps.c: Likewise.
22880 * sunrpc/pm_getport.c: Likewise.
22881 * sunrpc/pmap_clnt.c: Likewise.
22882 * sunrpc/pmap_prot.c: Likewise.
22883 * sunrpc/pmap_prot2.c: Likewise.
22884 * sunrpc/pmap_rmt.c: Likewise.
22885 * sunrpc/rpc/auth.h: Likewise.
22886 * sunrpc/rpc/auth_unix.h: Likewise.
22887 * sunrpc/rpc/clnt.h: Likewise.
22888 * sunrpc/rpc/des_crypt.h: Likewise.
22889 * sunrpc/rpc/key_prot.h: Likewise.
22890 * sunrpc/rpc/netdb.h: Likewise.
22891 * sunrpc/rpc/pmap_clnt.h: Likewise.
22892 * sunrpc/rpc/pmap_prot.h: Likewise.
22893 * sunrpc/rpc/pmap_rmt.h: Likewise.
22894 * sunrpc/rpc/rpc.h: Likewise.
22895 * sunrpc/rpc/rpc_des.h: Likewise.
22896 * sunrpc/rpc/rpc_msg.h: Likewise.
22897 * sunrpc/rpc/svc.h: Likewise.
22898 * sunrpc/rpc/svc_auth.h: Likewise.
22899 * sunrpc/rpc/types.h: Likewise.
22900 * sunrpc/rpc/xdr.h: Likewise.
22901 * sunrpc/rpc_clntout.c: Likewise.
22902 * sunrpc/rpc_cmsg.c: Likewise.
22903 * sunrpc/rpc_common.c: Likewise.
22904 * sunrpc/rpc_cout.c: Likewise.
22905 * sunrpc/rpc_dtable.c: Likewise.
22906 * sunrpc/rpc_hout.c: Likewise.
22907 * sunrpc/rpc_main.c: Likewise.
22908 * sunrpc/rpc_parse.c: Likewise.
22909 * sunrpc/rpc_parse.h: Likewise.
22910 * sunrpc/rpc_prot.c: Likewise.
22911 * sunrpc/rpc_sample.c: Likewise.
22912 * sunrpc/rpc_scan.c: Likewise.
22913 * sunrpc/rpc_scan.h: Likewise.
22914 * sunrpc/rpc_svcout.c: Likewise.
22915 * sunrpc/rpc_tblout.c: Likewise.
22916 * sunrpc/rpc_util.c: Likewise.
22917 * sunrpc/rpc_util.h: Likewise.
22918 * sunrpc/rpcinfo.c: Likewise.
22919 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22920 * sunrpc/rpcsvc/key_prot.x: Likewise.
22921 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22922 * sunrpc/rpcsvc/mount.x: Likewise.
22923 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22924 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22925 * sunrpc/rpcsvc/rex.x: Likewise.
22926 * sunrpc/rpcsvc/rstat.x: Likewise.
22927 * sunrpc/rpcsvc/rusers.x: Likewise.
22928 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22929 * sunrpc/rpcsvc/spray.x: Likewise.
22930 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22931 * sunrpc/rtime.c: Likewise.
22932 * sunrpc/svc.c: Likewise.
22933 * sunrpc/svc_auth.c: Likewise.
22934 * sunrpc/svc_authux.c: Likewise.
22935 * sunrpc/svc_raw.c: Likewise.
22936 * sunrpc/svc_run.c: Likewise.
22937 * sunrpc/svc_simple.c: Likewise.
22938 * sunrpc/svc_tcp.c: Likewise.
22939 * sunrpc/svc_udp.c: Likewise.
22940 * sunrpc/svc_unix.c: Likewise.
22941 * sunrpc/svcauth_des.c: Likewise.
22942 * sunrpc/xcrypt.c: Likewise.
22943 * sunrpc/xdr.c: Likewise.
22944 * sunrpc/xdr_array.c: Likewise.
22945 * sunrpc/xdr_float.c: Likewise.
22946 * sunrpc/xdr_mem.c: Likewise.
22947 * sunrpc/xdr_rec.c: Likewise.
22948 * sunrpc/xdr_ref.c: Likewise.
22949 * sunrpc/xdr_sizeof.c: Likewise.
22950 * sunrpc/xdr_stdio.c: Likewise.
22951
9da4bb31
UD
22952 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22953 handling.
22954
bdaa77bc
AS
229552010-08-19 Andreas Schwab <schwab@redhat.com>
22956
22957 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22958
fe2f79db
LM
229592010-08-19 Luis Machado <luisgpm@br.ibm.com>
22960
22961 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22962 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22963 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22964 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22965 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22966 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22967 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22968 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22969 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22970 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22971 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22972 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22973 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22974 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22975
b9b42ee0
AB
229762010-07-26 Anton Blanchard <anton@samba.org>
22977
22978 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22979 * malloc/arena.c (heap_trim): Likewise.
22980
1c06ba31
UD
229812010-08-16 Ulrich Drepper <drepper@redhat.com>
22982
22983 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22984 here. Not...
22985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22986 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22987
f8392f40
L
229882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22989
22990 * sysdeps/i386/elf/Makefile: New file.
22991
3162f12e
AS
229922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22993
22994 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22995 from fanotify_init.
22996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22997 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22998
28c90b2c
UD
229992010-08-15 Ulrich Drepper <drepper@redhat.com>
23000
23001 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23002 of strncasecmp_l.
1feccb6c 23003 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23004
ca6bb004
UD
230052010-08-14 Ulrich Drepper <drepper@redhat.com>
23006
e9f82e0d
UD
23007 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23008 strncase_l-nonascii.
23009 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23010 Add strncase_l-ssse3.
23011 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23012 * sysdeps/x86_64/strcmp.S: Likewise.
23013 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23014 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23015 * sysdeps/x86_64/strncase.S: New file.
23016 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23017 * sysdeps/x86_64/strncase_l.S: New file.
23018 * string/Makefile (strop-tests): Add strncasecmp.
23019 * string/test-strncasecmp.c: New file.
23020
23021 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23022 warning.
23023
ca6bb004
UD
23024 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23025 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23026
052fa7b3
AS
230272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23028
23029 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23030
962dba78
UD
230312010-08-12 Ulrich Drepper <drepper@redhat.com>
23032
23033 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23034 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23035 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23036
bebff237
AM
230372010-05-01 Alan Modra <amodra@gmail.com>
23038
23039 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23040 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23041 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23042 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23043 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23044 tidying. Don't tail-call __sigjmp_save for static lib.
23045 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23046 save location.
23047 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23048 (CALL_MCOUNT): Add eh info, and nop after bl.
23049 (TAIL_CALL_SYSCALL_ERROR): New macro.
23050 (PSEUDO_RET): Use it.
23051 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23052 Correct save location of integer regs and cr.
23053 (_dl_profile_resolve): Correct cr save location. Delete nops
23054 after bl when SHARED. Reduce cfi size a little by better
23055 placement of cfi directives.
23056 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23057 make a stack frame. Instead use parm save area as a temp.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23059 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23061 Don't make a stack frame for parent, use parm save area.
23062 Increase child stack frame to 112 bytes. Don't save unused reg,
23063 and adjust reg usage. Set up cfi on error recovery and
23064 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23066 (__makecontext): Add dummy nop after jump to exit.
23067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23068 Use correct parm save area and cr save, reduce stack frame.
23069 Correct cfi for possible PSEUDO_RET frame setup.
23070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23071 Branch to local label emitted by PSEUDO_RET rather than
23072 __syscall_error.
23073
02637374
AS
230742010-08-12 Andreas Schwab <schwab@redhat.com>
23075
23076 [BZ #11904]
23077 * locale/programs/locale.c (print_assignment): New function.
23078 (show_locale_vars): Use it.
23079
c3e2f19b
UD
230802010-08-11 Ulrich Drepper <drepper@redhat.com>
23081
3cdaa6ad
UD
23082 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23083 field.
23084 (struct statfs64): Likewise.
23085 (_STATFS_F_FLAGS): Define.
23086 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23087 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23088 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23089 (ST_VALID): Define locally.
23090 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23091 __statvfs_getflags, use the provided value.
23092 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23093 __ASSUME_STATFS_F_FLAGS.
23094
754f7da3
UD
23095 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23096
10b3bedc
UD
23097 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23098 Add sys/fanotify.h.
23099 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23100 fanotify_mask for GLIBC_2.13.
23101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23102 fanotify_init and fanotify_mark.
23103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23104 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23105
c08fb0d7
UD
23106 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23107 Add prlimit.
23108 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23109 prlimit64 for GLIBC_2.13.
23110 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23111 prlimit64.
23112 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23113 syscall.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23115 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23117 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23119 add prlimit alias.
23120 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23121
15bac72b
UD
23122 [BZ #11903]
23123 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23124 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23125
c3e2f19b
UD
23126 * nss/Makefile: Add rules to build and run tst-nss-test1.
23127 * shlib-versions: Add entry for libnss_test1.
23128 * nss/nss_test1.c: New file.
23129 * nss/tst-nss-test1.c: New file.
23130
23131 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23132 (__nss_configure_lookup): Set appropriate entry in
23133 __nss_configure_lookup to true.
23134 * nss/nsswitch.h: Define enum with indeces of databases in
23135 databases and __nss_database_custom arrays. Declare
23136 __nss_database_custom.
23137 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23138 to avoid using nscd when custom rules are installed.
23139 * nss/getXXbyYY_r.c: Likewise.
23140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23141
23142 * nss/nss_files/files-parse.c: Whitespace fixes.
23143
f15ce4d8
UD
231442010-08-09 Ulrich Drepper <drepper@redhat.com>
23145
23146 [BZ #11883]
23147 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23148 * posix/fnmatch_loop.c: Likewise.
23149
d22e4cc9
AK
231502010-07-17 Andi Kleen <ak@linux.intel.com>
23151
23152 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23153 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23154 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23155 * Versions.def [GLIBC_2.13]: Add.
23156
805bc17d
UD
231572010-08-06 Ulrich Drepper <drepper@redhat.com>
23158
23159 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23160 Also fail if tpwd after pwuid call is NULL.
23161
5a42321d
ST
231622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23163
23164 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23165 when converting to ms.
23166
fd3ebeda
ST
231672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23168
23169 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23170 EOPNOTSUPP errors with ENOTTY.
23171 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23172 EOPNOTSUPP errors with ENOTTY.
23173
73507d3a
UD
231742010-07-31 Ulrich Drepper <drepper@redhat.com>
23175
23176 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23177 Add strcasecmp_l-ssse3.
23178 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23179 strcasecmp.
23180 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23181 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23182 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23183
fe36dd02
UD
231842010-07-30 Ulrich Drepper <drepper@redhat.com>
23185
66f6765a
UD
23186 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23187
42e08a54
UD
23188 * string/Makefile (strop-tests): Add strcasecmp.
23189 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23190 strcasecmp_l-nonascii.
23191 (gen-as-const-headers): Add locale-defines.sym.
23192 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23193 * sysdeps/x86_64/strcasecmp.S: New file.
23194 * sysdeps/x86_64/strcasecmp_l.S: New file.
23195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23196 * sysdeps/x86_64/locale-defines.sym: New file.
23197 * string/test-strcasecmp.c: New file.
23198
fe36dd02
UD
23199 * string/test-strcasestr.c: Test both ends of the range of characters.
23200 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23201
48cbc0d6
RM
232022010-07-29 Roland McGrath <roland@redhat.com>
23203
76e6d6bc 23204 [BZ #11856]
48cbc0d6
RM
23205 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23206
880113d9
UD
232072010-07-27 Ulrich Drepper <drepper@redhat.com>
23208
23209 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23210 for ld.so.
23211
deb9cabb
AS
232122010-07-27 Andreas Schwab <schwab@redhat.com>
23213
23214 * manual/memory.texi (Malloc Tunable Parameters): Document
23215 M_PERTURB.
23216
1c7570ff
RM
232172010-07-26 Roland McGrath <roland@redhat.com>
23218
23219 [BZ #11840]
23220 * configure.in (-fgnu89-inline check): Set and substitute
23221 gnu89_inline, not libc_cv_gnu89_inline.
23222 * configure: Regenerated.
23223 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23224
24fb0f88
UD
232252010-07-26 Ulrich Drepper <drepper@redhat.com>
23226
23227 * string/test-strnlen.c: New file.
23228 * string/Makefile (strop-tests): Add strnlen.
23229 * string/tester.c (test_strnlen): Add a few more test cases.
23230 * string/tst-strlen.c: Better error reporting.
23231
23232 * sysdeps/x86_64/strnlen.S: New file.
23233
8e96b93a
UD
232342010-07-24 Ulrich Drepper <drepper@redhat.com>
23235
23236 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23237 lower-latency instructions.
23238
dbc676d4
UD
232392010-07-23 Ulrich Drepper <drepper@redhat.com>
23240
23241 * string/test-strcasestr.c: New file.
23242 * string/test-strstr.c: New file.
23243 * string/Makefile (strop-tests): Add strstr and strcasestr.
23244 * string/str-two-way.h: Don't undefine MAX.
23245 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23246
f6a31e0e
AS
232472010-07-21 Andreas Schwab <schwab@redhat.com>
23248
23249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23250 strcasestr-nonascii.
23251 (CFLAGS-strcasestr-nonascii.c): Define.
23252 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23253 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23254 Remove unused attribute.
23255
5dbc3b6c
RM
232562010-07-20 Roland McGrath <roland@redhat.com>
23257
23258 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23259 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23260 ld.so.cache was broken. With it, there is no way to disable dsocaps
23261 like LD_HWCAP_MASK can disable hwcaps.
23262
23d101d8
EPM
232632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23264
23265 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23266
cc9f2e47
UD
232672010-07-16 Ulrich Drepper <drepper@redhat.com>
23268
23269 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23270 call in strcasestr.
23271 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23272 __strcasestr_sse42_nonascii.
23273 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23274 strcasestr-nonascii.c.
23275 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23276
77c1b069
LM
232772010-06-15 Luis Machado <luisgpm@br.ibm.com>
23278
23279 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23280 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23281 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23283
440566c3
UD
232842010-07-09 Ulrich Drepper <drepper@redhat.com>
23285
23286 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23287 fcntl.
23288
5be9d05d
AS
232892010-07-06 Andreas Schwab <schwab@redhat.com>
23290
c30b7ee2 23291 [BZ #11577]
5be9d05d
AS
23292 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23293 dl_signal_cerror.
23294
8a492a67
UD
232952010-07-06 Ulrich Drepper <drepper@redhat.com>
23296
23297 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23298 _PC_PIPE_BUF using F_GETPIPE_SZ.
23299
713df3d5
RM
233002010-07-05 Roland McGrath <roland@redhat.com>
23301
23302 * manual/arith.texi (Rounding Functions): Fix rint description
23303 implicit in round description.
23304
702e8f14
UD
233052010-07-02 Ulrich Drepper <drepper@redhat.com>
23306
23307 * elf/Makefile: Fix linking for a few tests to make recent linker
23308 happy.
23309
52ed8be9
AS
233102010-06-30 Andreas Schwab <schwab@redhat.com>
23311
23312 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23313 $(common-objpfx)libc_nonshared.a.
23314
f47c9a11
LM
233152010-06-21 Luis Machado <luisgpm@br.ibm.com>
23316
23317 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23318 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23319 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23320 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23321 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23322 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23323 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23324 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23339 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23340 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23341 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23342 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23343 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23344 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23345 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23346 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23347 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23348 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23349 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23350 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23365
6fb8cbcb
L
233662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23367
23368 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23369 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23370 * string/memmove.c (memmove): Renamed to ...
23371 (MEMMOVE): ...this. Default to memmove.
23372 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23373 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23374 (END_CHK): Define.
23375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23376 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23377 mempcpy-ssse3-back memmove-ssse3-back.
23378 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23381 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23382 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23383 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23384 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23385 * sysdeps/x86_64/multiarch/memmove.c: New file.
23386 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23387 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23388 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23389 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23390 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23391 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23392 Define.
23393 (index_Fast_Copy_Backward): Define.
23394 (HAS_ARCH_FEATURE): Define.
23395 (HAS_FAST_REP_STRING): Define.
23396 (HAS_FAST_COPY_BACKWARD): Define.
23397
4e733bac 233982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23399
23400 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23401 Restore proper fallback handling.
23402
63c4ed22
UD
234032010-06-19 Ulrich Drepper <drepper@redhat.com>
23404
ac2b484c
UD
23405 [BZ #11701]
23406 * posix/group_member.c (__group_member): Correct checking loop.
23407
63c4ed22
UD
23408 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23409 OOM in getpwuid_r correctly. Return error number when the caller
23410 should return, otherwise -1.
23411 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23412 call returning > 0 value.
23413 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23414
765ade4b
AS
234152010-06-07 Andreas Schwab <schwab@redhat.com>
23416
23417 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23418 libc_nonshared.a from targets in modules-names.
23419
80da2e09
KS
234202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23421
23422 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23423 requires it.
23424
158db122
LM
234252010-06-10 Luis Machado <luisgpm@br.ibm.com>
23426
23427 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23428 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23429 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23431
caa78cf8
AS
234322010-06-02 Andreas Schwab <schwab@redhat.com>
23433
23434 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23435
b2ef2c01
UD
234362010-06-14 Ulrich Drepper <drepper@redhat.com>
23437
23438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23439 and F_GETPIPE_SZ.
23440 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23444 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23445 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23446
fbd643b6
RM
234472010-06-14 Roland McGrath <roland@redhat.com>
23448
23449 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23450
f32f2869
JJ
234512010-06-07 Jakub Jelinek <jakub@redhat.com>
23452
23453 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23454 __REDIRECT followed by __THROW.
23455 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23456 * posix/getopt.h (getopt): Likewise.
23457
2a50c078
EPM
234582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23459
23460 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23461 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23462 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23463 in AT_FLAGS.
23464 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23465 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23466
eb5ad2eb
LM
234672010-05-28 Luis Machado <luisgpm@br.ibm.com>
23468
23469 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23470
3c88fe1e
L
234712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 [BZ #11640]
23474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23475 Properly check family and model.
23476
d2f73151
TY
234772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23478
23479 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23480
ebd2e13d
LM
234812010-05-24 Luis Machado <luisgpm@br.ibm.com>
23482
23483 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23484
b32b8b45
UD
234852010-05-21 Ulrich Drepper <drepper@redhat.com>
23486
23487 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23488 symbol reference.
23489
9acbe24d
AS
234902010-05-19 Andreas Schwab <schwab@redhat.com>
23491
23492 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23493 symbol reference.
23494
f0ccf6ea
AS
234952010-05-21 Andreas Schwab <schwab@redhat.com>
23496
3d04ff3a
AS
23497 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23498 and internal_recvmmsg.
23499 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23500 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23501 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23502 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23503
f0ccf6ea
AS
23504 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23505 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23506 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23507
5b08ac57
AS
235082010-05-20 Andreas Schwab <schwab@redhat.com>
23509
23510 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23511
4828935d
LM
235122010-05-17 Luis Machado <luisgpm@br.ibm.com>
23513
23514 POWER7 optimizations.
23515 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23516 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23517
373d545e
UD
235182010-05-19 Ulrich Drepper <drepper@redhat.com>
23519
23520 * version.h: Update for 2.13 development version.
23521
21a2b1ae
AS
235222010-05-12 Andrew Stubbs <ams@codesourcery.com>
23523
23524 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23525 exceptions. Return 0.
23526
3f7dcb2b
RM
235272010-05-07 Roland McGrath <roland@redhat.com>
23528
23529 * elf/ldconfig.c (main): Add a const.
23530
5f24d53a 235312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23532
a160f8d8
UD
23533 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23534 (args_options): Add no-idn option.
23535 (ahosts_keys_int): Add idn_flags to ai_flags.
23536 (parse_option): Handle 'i' option to clear idn_flags.
23537
5f24d53a
UD
23538 * malloc/malloc.c (_int_free): Possible race in the most recently
23539 added check. Only act on the data if no current modification
23540 happened.
265bb1ce
UD
23541
23542See ChangeLog.17 for earlier changes.
This page took 3.036537 seconds and 5 git commands to generate.