]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix ChangeLog entry
[glibc.git] / ChangeLog
CommitLineData
8e051029
DM
12013-01-01 David S. Miller <davem@davemloft.net>
2
3 * po/ca.po: Update from translation team.
4
f4cf5f2d
JM
52013-01-01 Joseph Myers <joseph@codesourcery.com>
6
7 * scripts/update-copyrights: New file.
8 * Makeconfig: Reformat copyright notice.
9 * ctype/ctype.h: Likewise.
10 * debug/swprintf_chk.c: Likewise.
11 * elf/dl-cache.c: Likewise.
12 * elf/dl-debug.c: Likewise.
13 * elf/dl-object.c: Likewise.
14 * grp/initgroups.c: Likewise.
15 * hurd/Makefile: Likewise.
16 * hurd/hurd/signal.h: Likewise.
17 * hurd/hurdfault.c: Likewise.
18 * hurd/hurdioctl.c: Likewise.
19 * hurd/hurdlookup.c: Likewise.
20 * hurd/intr-msg.c: Likewise.
21 * iconv/gconv_open.c: Likewise.
22 * libio/swprintf.c: Likewise.
23 * locale/lc-ctype.c: Likewise.
24 * locale/nl_langinfo.c: Likewise.
25 * mach/Machrules: Likewise.
26 * mach/Makefile: Likewise.
27 * malloc/obstack.h: Likewise.
28 * manual/Makefile: Likewise.
29 * manual/tsort.awk: Likewise.
30 * misc/bits/stab.def: Likewise.
31 * nis/nis_print_group_entry.c: Likewise.
32 * nis/nis_table.c: Likewise.
33 * nis/nss_compat/compat-pwd.c: Likewise.
34 * nis/nss_compat/compat-spwd.c: Likewise.
35 * po/Makefile: Likewise.
36 * posix/fnmatch.c: Likewise.
37 * posix/regex.h: Likewise.
38 * resolv/Makefile: Likewise.
39 * resolv/nss_dns/dns-network.c: Likewise.
40 * resolv/res_hconf.c: Likewise.
41 * scripts/gen-sorted.awk: Likewise.
42 * soft-fp/soft-fp.h: Likewise.
43 * stdio-common/printf.h: Likewise.
44 * stdlib/monetary.h: Likewise.
45 * stdlib/random.c: Likewise.
46 * stdlib/random_r.c: Likewise.
47 * sysdeps/generic/Makefile: Likewise.
48 * sysdeps/gnu/Makefile: Likewise.
49 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
64 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
74 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
76 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
77 * sysdeps/mach/hurd/errnos.awk: Likewise.
78 * sysdeps/mach/hurd/fork.c: Likewise.
79 * sysdeps/mach/hurd/getcwd.c: Likewise.
80 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
81 * sysdeps/mach/hurd/mmap.c: Likewise.
82 * sysdeps/mach/hurd/utimes.c: Likewise.
83 * sysdeps/mach/hurd/xmknod.c: Likewise.
84 * sysdeps/posix/profil.c: Likewise.
85 * sysdeps/posix/readdir_r.c: Likewise.
86 * sysdeps/powerpc/bits/mathdef.h: Likewise.
87 * sysdeps/powerpc/bits/setjmp.h: Likewise.
88 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
89 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
90 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
91 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
92 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
93 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
94 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
95 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
96 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
97 * sysdeps/pthread/lio_listio.c: Likewise.
98 * sysdeps/sparc/dl-procinfo.h: Likewise.
99 * sysdeps/unix/i386/sysdep.S: Likewise.
100 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
101 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
102 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
103 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
107 * sysdeps/unix/sysv/linux/speed.c: Likewise.
108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
109 * sysdeps/wordsize-32/divdi3.c: Likewise.
110 * time/sys/time.h: Likewise.
111 * wcsmbs/Makefile: Likewise.
112
0549fbba
DM
1132013-01-01 David S. Miller <davem@davemloft.net>
114
a141f1a7
DM
115 * po/fr.po: Update from translation team.
116
0549fbba
DM
117 * catgets/gencat.c: Update copyright year.
118 * csu/version.c: Likewise.
119 * debug/catchsegv.sh: Likewise.
120 * debug/pcprofiledump.c: Likewise.
121 * debug/xtrace.sh: Likewise.
122 * elf/ldconfig.c: Likewise.
123 * elf/ldd.bash.in: Likewise.
124 * elf/pldd.c: Likewise.
125 * elf/sotruss.ksh: Likewise.
126 * elf/sprof.c: Likewise.
127 * iconv/iconv_prog.c: Likewise.
128 * iconv/iconvconfig.c: Likewise.
129 * locale/programs/locale.c: Likewise.
130 * locale/programs/localedef.c: Likewise.
131 * login/programs/pt_chown.c: Likewise.
132 * malloc/memusage.sh: Likewise.
133 * malloc/memusagestat.c: Likewise.
134 * malloc/mtrace.pl: Likewise.
135 * nscd/nscd.c: Likewise.
136 * nss/getent.c: Likewise.
137 * nss/makedb.c: Likewise.
138 * posix/getconf.c: Likewise.
139
18ea052c
SP
1402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
141
142 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
143 numbers.
144
9c89fca6
MF
1452012-12-30 Mike Frysinger <vapier@gentoo.org>
146
147 * math/bits/mathcalls.h (modf): Use __nonnull.
148
085ec079
SP
1492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
152 (split): Use macro CN instead of the bare value.
153 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
154 could be used.
155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
156 instead of the bare value.
157 (power1): Likewise.
158
6d9f97e1
SP
1592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
160
d63f73be
SP
161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
162 __ATAN_TWOM.
163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
164
6d9f97e1
SP
165 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
166 their values.
167 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
169 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
171
4c4febf5
AJ
1722012-12-28 Andreas Jaeger <aj@suse.de>
173
af5843ef
AJ
174 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
175 values are from Linux 3.7.
176
4c4febf5
AJ
177 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
178 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
179
99136f82
SP
1802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
181
2f216c3c 182 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
183 TRUE case.
184
99136f82
SP
185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
186 (norm): Likewise.
187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
188 variables with preprocessor constants.
189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
192
7fffbdff
BH
1932012-12-27 Bruno Haible <bruno@clisp.org>
194
195 [BZ #14317]
196 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
197 only if needed.
198
b76eb5f0
SP
1992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
200
31a7fe5c
SP
201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
202 and use variable directly.
203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
204
b76eb5f0
SP
205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
206 MPONE.
207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
209 variable MPONE.
210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
212 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
213 include directive. Remove local variable MPONE.
214 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
215 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
217
2c8bfe7d
DM
2182012-12-25 David S. Miller <davem@davemloft.net>
219
220 * version.h (RELEASE): Set to "development".
221 (VERSION): Set to "2.17.90".
222 * NEWS: Add 2.18 section.
223
147d03b0
DM
2242012-12-21 David S. Miller <davem@davemloft.net>
225
226 * po/hr.po: Update from translation team.
227
a8ebb2b9
AK
2282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
229
230 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
231
95b4f1b6
SE
2322012-12-19 Steve Ellcey <sellcey@mips.com>
233
b2d94007 234 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 235
cedb2a90
MS
2362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
237
238 * manual/contrib.texi (Contributors): Spelling correction.
239
bbf527d6
DM
2402012-12-15 David S. Miller <davem@davemloft.net>
241
242 * po/ru.po: Update from translation team.
243
bc38c906
DM
2442012-12-13 David S. Miller <davem@davemloft.net>
245
85429b1a
DM
246 * NEWS: Mention IFUNC testsuite enhancements.
247
d283e353
DM
248 * po/pl.po: Update from translation team.
249 * po/bg.po: Likewise.
250
bc38c906
DM
251 * manual/contrib.texi (Contributors): Update entries for Hongjiu
252 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
253
a181b0d7
DM
2542012-12-11 David S. Miller <davem@davemloft.net>
255
4641d57e
DM
256 * po/sv.po: Update from translation team.
257
f7bc6495
DM
258 * po/vi.po: Update from translation team.
259
6fc9048f
DM
260 * po/cs.po: Update from translation team.
261
a181b0d7
DM
262 * po/de.po: Update from translation team.
263 * po/eo.po: Likewise.
264 * po/nl.po: Likewise.
265
f70bfe80
SP
2662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
267
3c8b4190
SP
268 [BZ #14246]
269 * manual/argp.texi (Argp Helper Functions): Move node to follow
270 Argp Parsing State.
271
f70bfe80
SP
272 [BZ #14872]
273 * manual/conf.texi (Limits on File System Capacity): Mention if
274 terminating null is included in the max size.
275
188f0adf
AJ
2762012-12-10 Andreas Jaeger <aj@suse.de>
277
278 * po/cs.po: Update from translation team.
279
56e7d3ad
SP
2802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
281
282 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
283 void pointer and cast to uintptr_t.
284 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
285 path.
286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
287 * sysdeps/s390/s390-64/memset.S: Likewise.
288
76f2d2ea 2892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
290
291 [BZ #14833]
292 * menual/message.texi (Message Translation): Fix typos.
293 (Helper programs for gettext): Likewise.
294
67cbf9a2
AS
2952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
296
297 [BZ #14898]
298 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
299 Change to -1.
300
682d0e9a
DM
3012012-12-07 David S. Miller <davem@davemloft.net>
302
303 * po/libc.pot: Update.
304
573cd484
RH
3052012-12-07 Richard Henderson <rth@redhat.com>
306
7e9da188 307 [BZ #10114]
573cd484
RH
308 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
309 normal/normal case to before the switch.
310 (_FP_DIV): Likewise.
311
e933a943
MF
3122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
313 Mike Frysinger <vapier@gentoo.org>
314
315 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
316 check for __NR_fadvise64_64.
317
82123268
CM
3182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
319
320 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
321 0, not just to plain "0" as a statement.
322 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
323 with cw.
324
d9814526
JM
3252012-12-06 Joseph Myers <joseph@codesourcery.com>
326
327 * NEWS: Use sourceware.org in Bugzilla URL.
328
7728c574
SP
3292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
330
f16946dd
SP
331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
333
5704bbcb
SP
334 * stdio-common/tst-put-error.c (do_test): Add newline to the
335 padded test to ensure flush.
336
17aa0516
JL
3372012-12-05 Jeff Law <law@redhat.com>
338
339 * sunrpc/etc.rpc (fedfs_admin): Add entry.
340
363313b5
JM
3412012-12-05 Joseph Myers <joseph@codesourcery.com>
342
effbd42a
JM
343 * README: Don't refer to ports add-on as distributed separately.
344 Mention AArch64 in list of systems supported in the ports add-on.
345
87600365
JM
346 * LICENSES: Add more non-FSF copyright and license notices.
347
a0d7066a
JM
348 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
349 ((unused)).
350
66ca5a5b
JM
351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
352
363313b5
JM
353 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
354 10000 as width of padded output.
355
b37984ad
JM
3562012-12-04 Joseph Myers <joseph@codesourcery.com>
357
9003570a
JM
358 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
359
b37984ad
JM
360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
361 variable LX with __attribute__ ((unused)).
362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
363 Likewise.
364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
367 with __attribute__ ((unused)).
368
c8df52ec
DM
3692012-12-04 David S. Miller <davem@abraco.davemloft.net>
370
371 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
372
b3b099af
JM
3732012-12-04 Joseph Myers <joseph@codesourcery.com>
374
c33aa6e3
JM
375 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
376 (CFLAGS-nldbl-acos.c): New variable.
377 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
378 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
379 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
380 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
381 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
382 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
383 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
384 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
385 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
386 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
387 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
388 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
389 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
390 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
391 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
392 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
393 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
394 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
395 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
396 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
397 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
398 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
399 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
400 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
401 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
402 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
403 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
404 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
405 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
406 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
407 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
408 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
409 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
410 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
411 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
412 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
413 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
414 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
415 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
416 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
417 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
418 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
419 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
420 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
421 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
422 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
423 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
424 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
425 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
426 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
427 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
428 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
429 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
430 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
431 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
432 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
433 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
434 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
435 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
436 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
437 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
438 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
439 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
440 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
441 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
442 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
443 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
444 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
445 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
446 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
447 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
448 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
449 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
450 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
451 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
452 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
453 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
454 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
455 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
456 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
457 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
458 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
459 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
460 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
461 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
462 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
463 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
464 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
465 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
466 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
467 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
468 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
469 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
470 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
471 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
472 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
473 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
474
20f0018d
JM
475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
477
b3b099af
JM
478 [BZ #14914]
479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
480 whole low double instead of just low 47 bits when splitting values
481 into two parts.
482
029264d1
AM
4832012-12-03 Allan McRae <allan@archlinux.org>
484
485 * manual/stdio.texi (Predefined Printf Handlers): Remove
486 @hsep and @vsep usage.
487
c9d6789e
MF
4882012-12-03 Mike Frysinger <vapier@gentoo.org>
489
490 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
491 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
492
4b7634a5
JL
4932012-12-03 Jeff Law <law@redhat.com>
494
495 * time/sys/time.h (settimeofday): Do not mark TV argument
496 as __nonnull.
497
eb6cbd24
MF
4982012-12-01 Mike Frysinger <vapier@gentoo.org>
499
500 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
501 when currently writing and seek to current position when not.
502 * libio/Makefile (tests): Remove bug-fclose1.
503 * libio/bug-fclose1.c: Delete.
504
f638872a
JM
5052012-12-01 Joseph Myers <joseph@codesourcery.com>
506
507 * manual/arith.texi (feenableexcept): Fix typo.
508 (fedisableexcept): Likewise.
509
48085d14
RM
5102012-11-30 Roland McGrath <roland@hack.frob.com>
511
512 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
513 second, differently-typed declaration, rather than a cast.
514
1a538b9f
SP
5152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
516
517 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
518 * include/rpc/svc.h: ... here.
519
d07f2ff1 5202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
521
522 [BZ #13013]
523 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
524 depending n and resplen2 to catch cases where answer
525 equals answerp2.
526
c93ec1f0
CD
5272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
528
529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
530 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
531
37db69de
MF
5322012-11-29 Mike Frysinger <vapier@gentoo.org>
533
534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
535
e10c4e4f
RM
5362012-11-29 Roland McGrath <roland@hack.frob.com>
537
538 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
539
2af1b328
JL
5402012-11-28 Jeff Law <law@redhat.com>
541
542 [BZ #13761]
543 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
544 dataset_temporary. Track alloca usage into alloca_used.
545 If dataset is large allocate and release it via malloc/free.
546
111db5b1
FW
5472012-06-04 Florian Weimer <fweimer@redhat.com>
548
f06cc227 549 [BZ #14197]
111db5b1
FW
550 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
551
dd694abd
DM
5522012-11-28 David S. Miller <davem@davemloft.net>
553
554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
555
9984dd01
JM
5562012-11-28 Joseph Myers <joseph@codesourcery.com>
557
558 [BZ #14803]
559 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
560 of pi/2 rounded to nearest to 64 bits.
561 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
562 nearest to 64 bits.
563 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
564 bits.
565
14bc93a9
JL
5662012-11-28 Jeff Law <law@redhat.com>
567 Martin Osvald <mosvald@redhat.com>
568
569 [BZ #14889]
570 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
571 * sunrpc/svc.c: Include time.h.
572 (__svc_accept_failed): New function.
573 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
574 any reason other than EINTR, call __svc_accept_failed.
575 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
576 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
577
e3c6aa3a
AS
5782012-11-28 Andreas Schwab <schwab@suse.de>
579
580 * scripts/abilist.awk: Also handle indirect functions in .opd
581 section.
582
1bead169
JM
5832012-11-28 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #13881]
586 * sysdeps/x86/fpu/powl_helper.c: New file.
587 * sysdeps/x86/fpu/Makefile: Likewise.
588 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
589 (p3): New object.
590 (__ieee754_powl): Use __powl_helper for finite arguments except
591 integer exponents below 8.
592 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
593 (p3): New object.
594 (__ieee754_powl): Use __powl_helper for finite arguments except
595 integer exponents below 8.
596 * math/libm-test.inc (pow_test): Add more tests and enable some
597 previously disabled tests.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
600
0817d63d
SP
6012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
602 Carlos O'Donell <carlos_odonell@mentor.com>
603
604 * nss/makedb.c (is_prime): Assert that input is odd and greater
605 than 4. Note that fact in a comment too.
606 (next_prime): Add 4 to input.
607
de2fd463
SP
6082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
609
610 [BZ #11741]
611 * libio/Makefile (tests): Add test case tst-fwrite-error.
612 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
613 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
614 * libio/tst-fwrite-error.c: New test case.
615
c515fb51
L
6162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
617
618 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
619 before casting to void *.
620 * include/libc-internal.h (__pointer_type): New macro.
621 (__integer_if_pointer_type_sub): Likewise.
622 (__integer_if_pointer_type): Likewise.
623 (cast_to_integer): Likewise.
624 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
625 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
626 before casting to atomic64_t.
627 (atomic_exchange_acq): Likewise.
628 (__arch_exchange_and_add_body): Likewise.
629 (__arch_add_body): Likewise.
630 (atomic_add_negative): Likewise.
631 (atomic_add_zero): Likewise.
632
4cf77aa9
JM
6332012-11-26 Joseph Myers <joseph@codesourcery.com>
634
635 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
636 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
637 (add_fdes): Likewise.
638 (linear_search_fdes): Likewise.
639 (binary_search_unencoded_fdes): Likewise.
640
d260b3b4
AS
6412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
642
643 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
644
67060746
AC
6452012-11-24 Adam Conrad <adconrad@0c3.net>
646
647 * configure.in: Autodetect C++ header directories.
648 * configure: Regenerated.
649
800938a1
MF
6502012-11-23 Mike Frysinger <vapier@gentoo.org>
651
652 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
653
4e6e34e6
AS
6542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
655
656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
657
7c7feb47
JM
6582012-11-22 Joseph Myers <joseph@codesourcery.com>
659
7184dcdf
JM
660 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
661 LDBL_MANT_DIG == 106]: Disable some tests.
662 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
663 Likewise.
664 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
665 Likewise.
666
0a42601f
JM
667 [BZ #14871]
668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
669 input for small inputs. Return +/- pi/2 for large inputs.
670 * math/libm-test.inc (atan_test): Add more tests.
671
79c9b9fe
JM
672 * sysdeps/generic/unwind-dw2-fde-glibc.c
673 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
674 __attribute__ ((unused)).
675
c60d3bf2
JM
676 [BZ #14645]
677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
678 x * y if x and y are nonzero and z is zero.
679
ef1e0867
JM
680 [BZ #14811]
681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
682 nonzero exponents with absolute value below 0x1p-117 to +/-
683 0x1p-117.
684
1468ded3
JM
685 [BZ #14869]
686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
687 up arguments below 2**-450, not just those below 2**-500.
688 * math/libm-test.inc (hypot_test): Add another test.
689
8e27e3cc
JM
690 [BZ #14868]
691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
692 Return a+b for ratio over 2**120, not 2**60.
693 * math/libm-test.inc (hypot_test): Add another test.
694
c9c0279b
JM
695 * math/libm-test.inc (clog_test): Use
696 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
697 (clog10_test): Likewise.
698
7c7feb47
JM
699 [BZ #6778]
700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
701
fff1530e
AS
7022012-11-22 Andreas Schwab <schwab@suse.de>
703
704 * sysdeps/i386/fpu/libm-test-ulps: Update.
705
94558d30
PT
7062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
707
708 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
709 printf output with newline.
710
7e1be741
L
7112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
712
6bfea974
L
713 [BZ #14865]
714 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
715 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
716 -z nodlopen, -z initfirst and -z execstack support.
717 * configure: Regenerated.
718
7e1be741
L
719 * elf/elf.h (DF_1_NODIRECT): New macro.
720 (DF_1_IGNMULDEF): Likewise.
721 (DF_1_NOKSYMS): Likewise.
722 (DF_1_NOHDR): Likewise.
723 (DF_1_EDITED): Likewise.
724 (DF_1_NORELOC): Likewise.
725 (DF_1_SYMINTPOSE): Likewise.
726 (DF_1_GLOBAUDIT): Likewise.
727 (DF_1_SINGLETON): Likewise.
728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
729 DT_1_SUPPORTED_MASK bits.
730 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
731
105ce2ce
CD
7322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
733
734 * sysdeps/unix/make-syscalls.sh: Document prefixes.
735
123be9de
TS
7362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
737
d072f3f7
TS
738 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
739 macro.
740
123be9de
TS
741 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
742 (sendmmsg): Move declarations...
743 * socket/sys/socket.h: ... here.
744 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
745 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
746 include it from...
747 * socket/recvmmsg.c: ... this new file.
748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
749 (sendmmsg): Rename to __sendmmsg, create weak alias and make
750 definition of __sendmmsg hidden.
751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
752 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
753 Move ENOSYS stub into and include it from...
754 * socket/sendmmsg.c: ... this new file.
755 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
756 (sysdep_routines): Move recvmmsg and sendmmsg...
757 * socket/Makefile (routines): ... here.
758 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
759 (GLIBC_PRIVATE): Add __sendmmsg.
760 * include/sys/socket.h (__sendmmsg): Add declarations.
761 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
762 sendmmsg.
763
cf9a5d18
JM
7642012-11-20 Joseph Myers <joseph@codesourcery.com>
765
766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
767 variable I1 with __attribute__ ((unused)).
768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
769
ecd4caf9
JM
7702012-11-19 Joseph Myers <joseph@codesourcery.com>
771
be14d48f
JM
772 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
773 DUMMY variables with __attribute__ ((unused)).
774
ecd4caf9
JM
775 * bits/byteswap.h: Include <bits/types.h>.
776 (__bswap_64): Use __uint64_t instead of unsigned long long int.
777
986cab95
PT
7782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
779
780 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
781 string_t. Do not manually set errno.
782 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
783 length with __strnlen. Make sure to both set errno and return it on
784 failure.
785
6d33cc9d
DM
7862012-11-19 David S. Miller <davem@davemloft.net>
787
788 With help from Joseph Myers.
789 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
790 very large arguments properly.
791 * math/libm-test.inc (atan_test): New tests.
792 (atan2_test): New tests.
793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
795
ee663277
JM
7962012-11-19 Joseph Myers <joseph@codesourcery.com>
797
877f2d8e
JM
798 [BZ #14856]
799 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
800 Define to 3.
801
116fc08a
JM
802 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
803 [POSIX] (EADDRNOTAVAIL): Likewise.
804 [POSIX] (EAFNOSUPPORT): Likewise.
805 [POSIX] (EALREADY): Likewise.
806 [POSIX] (ECONNABORTED): Likewise.
807 [POSIX] (ECONNREFUSED): Likewise.
808 [POSIX] (ECONNRESET): Likewise.
809 [POSIX] (EDESTADDRREQ): Likewise.
810 [POSIX] (EDQUOT): Likewise.
811 [POSIX] (EHOSTUNREACH): Likewise.
812 [POSIX] (EIDRM): Likewise.
813 [POSIX] (EISCONN): Likewise.
814 [POSIX] (ELOOP): Likewise.
815 [POSIX] (EMULTIHOP): Likewise.
816 [POSIX] (ENETDOWN): Likewise.
817 [POSIX] (ENETUNREACH): Likewise.
818 [POSIX] (ENOBUFS): Likewise.
819 [POSIX] (ENODATA): Likewise.
820 [POSIX] (ENOLINK): Likewise.
821 [POSIX] (ENOMSG): Likewise.
822 [POSIX] (ENOPROTOOPT): Likewise.
823 [POSIX] (ENOSR): Likewise.
824 [POSIX] (ENOSTR): Likewise.
825 [POSIX] (ENOTCONN): Likewise.
826 [POSIX] (ENOTSOCK): Likewise.
827 [POSIX] (EOPNOTSUPP): Likewise.
828 [POSIX] (EOVERFLOW): Likewise.
829 [POSIX] (EPROTO): Likewise.
830 [POSIX] (EPROTONOSUPPORT): Likewise.
831 [POSIX] (EPROTOTYPE): Likewise.
832 [POSIX] (ESTALE): Likewise.
833 [POSIX] (ETIME): Likewise.
834 [POSIX] (ETXTBSY): Likewise.
835 [POSIX] (EWOULDBLOCK): Likewise.
836 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
837 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
838 [POSIX] (SEEK_CUR): Likewise.
839 [POSIX] (SEEK_END): Likewise.
840 [POSIX || UNIX98] (mode_t): Do not require.
841 [POSIX] (off_t): Likewise.
842 [POSIX] (pid_t): Likewise.
843 [POSIX] (sys/stat.h): Do not allow header.
844 [POSIX] (unistd.h): Likewise.
845 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
846 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
847 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
848 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
849 require.
850 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
851 sigevent): Specify elements.
852 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
853 entry.
854 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
855 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
856
a483863f
JM
857 * conform/data/cpio.h-data [POSIX]: Disable whole file.
858 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
859 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
860 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
861 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
862 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
863 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
865 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
867 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
869 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
871 Likewise.
872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
873 Likewise.
874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
875 Likewise.
876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
877 Likewise.
878 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
882 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
883 Specify lower bound on value.
884 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
885 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
886 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
887 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
888 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
890 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
891 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
892 value.
893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
894 as optional.
895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
896 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
897 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
898 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
899 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
900 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
905 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
906 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
907 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
908 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
909 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
911 entry.
912 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
913 optional.
914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
916 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
917 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
918 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
920 Likewise.
921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
923 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
924 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
925 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
926 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
928 as optional.
929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
932 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
933 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
934 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
935 specify as optional.
936 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
937 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
940 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
941 [XPG3] (NL_LANGMAX): Likewise.
942 [POSIX || XPG3] (NL_MSGMAX): Likewise.
943 [POSIX || XPG3] (NL_NMAX): Likewise.
944 [POSIX || XPG3] (NL_SETMAX): Likewise.
945 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
946 [XPG3] (NZERO): Likewise.
947 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
948 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
949 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
950 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
951 (REG_ERANGE): Expect.
952 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
953 optional-constant.
954 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
955 Use (void) in prototype.
956 [POSIX] (*_t): Allow.
957 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
958 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
959 (WRDE_BADVAL): Expect.
960
5ba924e3
JM
961 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
962 expect.
963 [XPG3 || XPG4] (O_RSYNC): Likewise.
964 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
965 Likewise.
966 [XPG3 || XPG4] (pthread_sigmask): Likewise.
967 [XPG3 || XPG4] (sigqueue): Likewise.
968 [XPG3 || XPG4] (sigtimedwait): Likewise.
969 [XPG3 || XPG4] (sigwaitinfo): Likewise.
970 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
971 [XPG3 || XPG4] (vsnprintf): Likewise.
972 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
973 Likewise.
974 [XPG3 || XPG4] (blksize_t): Likewise.
975 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
976 Likewise.
977 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
978 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
979 [XPG3 || XPG4] (struct itimerspec): Likewise.
980 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
981 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
982 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
983 [XPG3 || XPG4] (clockid_t): Likewise.
984 [XPG3 || XPG4] (timer_t): Likewise.
985 [XPG3 || XPG4] (clock_getres): Likewise.
986 [XPG3 || XPG4] (clock_gettime): Likewise.
987 [XPG3 || XPG4] (clock_settime): Likewise.
988 [XPG3 || XPG4] (nanosleep): Likewise.
989 [XPG3 || XPG4] (timer_create): Likewise.
990 [XPG3 || XPG4] (timer_delete): Likewise.
991 [XPG3 || XPG4] (timer_gettime): Likewise.
992 [XPG3 || XPG4] (timer_getoverrun): Likewise.
993 [XPG3 || XPG4] (timer_settime): Likewise.
994 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
995 [XPG3 || XPG4] (getlogin_r): Likewise.
996 [XPG3 || XPG4] (pread): Likewise.
997 [XPG3 || XPG4] (pthread_atfork): Likewise.
998 [XPG3 || XPG4] (pwrite): Likewise.
999
ee663277
JM
1000 [BZ #14835]
1001 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1002 <bits/siginfo.h>.
1003
942caa16
PT
10042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1005
e19af380
PT
1006 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1007 finalizing MALLSTREAM.
1008
942caa16
PT
1009 * sysdeps/mach/hurd/syncfs.c: New file.
1010
cfde9b46
SP
10112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1012
1013 [BZ #14719]
1014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1015 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1017 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1018 (_nss_dns_gethostbyname4_r): Likewise.
1019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1020 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1021
f6da27e5
PH
10222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1023
1024 [BZ #13763]
1025 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1026
6665d4a2
SM
10272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1028
1f51ee92
SM
1029 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1030 * elf/cache.c (print_entry): Print ",AArch64" for
1031 FLAG_AARCH64_LIB64
1032
6665d4a2
SM
1033 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1034 * elf/cache.c (print_entry): Print ",hard-float" for
1035 FLAG_ARM_LIBHF.
1036
05b227bd
DM
10372012-11-18 David S. Miller <davem@davemloft.net>
1038
1039 With help from Joseph Myers.
1040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1041 cutoff to 2**-13.
1042 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1043 cutoff to 2**-25.
1044 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1045 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1046 small.
1047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1048 * math/libm-test.inc (y0_test): New tests.
1049 (y1_test): New tests.
1050 * sysdeps/i386/fpu/libm-test-ulps: Update.
1051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1053
786b0b67
AS
10542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1055
1056 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1057 64-bit targets.
1058 * configure: Regenerated.
1059
8e18b86d
DM
10602012-11-17 David S. Miller <davem@davemloft.net>
1061
1062 [BZ #14811]
1063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1064 nonzero exponents with absolute value below 0x1p-128 to +/-
1065 0x1p-128.
1066
531f1ae0
JM
10672012-11-17 Joseph Myers <joseph@codesourcery.com>
1068
12df29e2
JM
1069 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1070
150dc1a0
JM
1071 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1072
531f1ae0
JM
1073 * posix/getconf-speclist.c: New file.
1074 * posix/posix-envs.def: Likewise.
1075 * posix/confstr.c (START_ENV_GROUP): New macro.
1076 (END_ENV_GROUP): Likewise.
1077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1078 (KNOWN_PRESENT_ENV_STRING): Likewise.
1079 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1080 (UNKNOWN_ENVIRONMENT): Likewise.
1081 (confstr): Include posix-envs.def instead of handling
1082 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1083 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1084 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1085 (END_ENV_GROUP): Likewise.
1086 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1088 (UNKNOWN_ENVIRONMENT): Likewise.
1089 (__sysconf): Include posix-envs.def instead of handling associated
1090 cases directly here.
1091 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1092 preprocessing getconf-speclist.c rather than running getconf or
1093 generating empty file.
1094
a93f9cbc
PT
10952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1096
1097 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1098
d64d9f87
AL
10992012-11-16 Andrej Lajovic <natrij@gmail.com>
1100
1101 [BZ #14672]
1102 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1103
447885eb
DM
11042012-11-16 David S. Miller <davem@davemloft.net>
1105
1106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1107 smaller than LDBL_EPSILON/2.0L, just return xm1.
1108
bcbf9830
L
11092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * elf/tst-array1.c (init): Set constructor priority to 1000.
1112 (fini): Set destructor priority to 1000.
1113 * elf/tst-array2dep.c: Likewise.
1114
2b766585
SP
11152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1116
1117 [BZ #11741]
1118 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1119 (_IO_new_file_xsputn): Also return EOF if none of the input
1120 data was written when overflow failed.
1121 * libio/iopadn.c (_IO_padn): Likewise.
1122 * libio/iowpadn.c (_IO_wpadn): Likewise.
1123 * stdio-common/tst-put-error.c: Add copyright notice.
1124 (do_test): Add case for printing padded string.
1125 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1126 _IO_padn returned error.
1127 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1128 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1129 return EOF.
1130
b1848fde
SP
11312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1132
1133 * libio/libioP.h: Add comment note that the references to C++
1134 bits are now obsolete.
1135
2fd89785
MS
11362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1137
1138 * math/libm-test.inc (check_complex): Use asprintf.
1139
e3ea5409
JM
11402012-11-14 Joseph Myers <joseph@codesourcery.com>
1141
1142 * debug/pcprofiledump.c (print_version): Update copyright year.
1143 * malloc/memusagestat.c (print_version): Likewise.
1144
2e64d265
L
11452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 [BZ #14831]
1148 * elf/Makefile (tests): Add tst-audit8.
1149 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1150 ($(objpfx)tst-audit8.out): New target.
1151 (tst-audit8-ENV): New variable.
1152 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1153 audit if l_reloc_result is NULL.
1154 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1155 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1156 * elf/tst-audit8.c: New file.
1157
c485e4d2
MS
11582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1159
1160 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1161 * misc/Makefile (CFLAGS-select.c): Define.
1162 * posix/Makefile (CFLAGS-pause.c): Define.
1163
3a0d900a
DM
11642012-11-13 David S. Miller <davem@davemloft.net>
1165
1166 * crypt/Makefile: Move test targets after toplevel Rules
1167 inclusion. Grab any necessary sysdep routines when linking.
1168 * crypt/md5.c (md5_process_block): Remove define, we will always
1169 name it __md5_process_block.
1170 (md5_finish_ctx): Update md5_process_block call.
1171 (md5_stream): Likewise.
1172 (md5_process_bytes): Likewise.
1173 (md5_process_block): Rename to __md5_process_block and move to ...
1174 * crypt/md5-block.c: ... here.
1175 * crypt/sha256.c (sha256_process_block): Move to ...
1176 * crypt/sha256-block.c: ... here.
1177 * crypt/sha512.c (sha512_process_block): Move to ...
1178 * crypt/sha512-block.c: ... here.
1179 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1180 path.
1181 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1182 * sysdeps/sparc/sparc64/multiarch/Makefile
1183 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1184 crypt subdir.
1185 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1187 multiarch changes.
1188 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1189 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1190 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1191 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1192 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1193 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1197 file.
1198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1200 file.
1201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1202
8ca89318
JM
12032012-11-13 Joseph Myers <joseph@codesourcery.com>
1204
e27d476a
JM
1205 * timezone/tzselect.ksh: Update from tzcode git revision
1206 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1207 * timezone/zdump.c: Likewise.
1208 * timezone/zic.c: Likewise.
1209 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1210 in TZVERSION setting, not $(PKGVERSION).
1211 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1212 REPORT_BUGS_TO settings.
1213
8ca89318
JM
1214 [BZ #14838]
1215 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1216 macro.
1217
47594329
MS
12182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1219
1220 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1221 detection to immediately after _FP_ROUND().
1222 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1223 bits are 0.
1224
640ac3f1
DM
12252012-11-11 David S. Miller <davem@davemloft.net>
1226
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1228 inttypes.h
1229 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1230 __close rather than their public counterparts.
1231
3d2577bb
JM
12322012-11-10 Joseph Myers <joseph@codesourcery.com>
1233
1234 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1235 file.
1236 [UNIX98] (sem_timedwait): Do not expect.
1237 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1238 [XPG4 || UNIX98] (sockatmark): Do not expect.
1239 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1240 (clock_getcpuclockid): Do not expect.
1241 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1242 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1243 Do not expect.
1244 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1245 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1246 [UNIX98] (vwscanf): Likewise.
1247 [UNIX98] (vswscanf): Likewise.
1248
fb1ae1ee
JM
12492012-11-09 Joseph Myers <joseph@codesourcery.com>
1250
9ec6f8bd
JM
1251 * timezone/version.h: Remove file.
1252 * timezone/README: Do not refer to version.h.
1253 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1254 $(objpfx)version.h.
1255 ($(objpfx)zdump.o): Likewise.
c3f81911 1256 ($(objpfx)version.h): New target.
9ec6f8bd 1257
0aa8f8a1
JM
1258 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1259 2012i.
1260 * timezone/README: Don't mention modification to tzselect.ksh.
1261 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1262 work on unmodified tzselect.ksh. Substitute version numbers in
1263 tzselect.ksh.
1264
4e87147f
JM
1265 * Makefile (format-me): Remove.
1266 (INSTALL): Adjust indentation. Use commands directly instead of
1267 using $(format-me).
1268
8b748aed
JM
1269 * aclocal.m4 (ACX_PKGVERSION): New macro.
1270 (ACX_BUGURL): Likewise.
1271 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1272 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1273 (REPORT_BUGS_TO): Likewise.
1274 * configure: Regenerated.
1275 * config.h.in (PKGVERSION): New macro.
1276 (REPORT_BUGS_TO): Likewise.
1277 * config.make.in (PKGVERSION): New variable.
1278 (PKGVERSION_TEXI): Likewise.
1279 (REPORT_BUGS_TO): Likewise.
1280 (REPORT_BUGS_TEXI): Likewise.
1281 * Makefile (format-me): Use -I$(common-objpfx)manual.
1282 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1283 ($(common-objpfx)manual/%): New target.
1284 (manual/%): Remove target.
1285 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1286 (print_version): Use PKGVERSION.
1287 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1288 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1289 and REPORT_BUGS_TO.
1290 ($(objpfx)xtrace): Likewise.
1291 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1292 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1293 (print_version): Use PKGVERSION.
1294 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1295 (do_version): Use PKGVERSION.
1296 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1297 REPORT_BUGS_TO.
1298 (common-ldd-rewrite): Likewise.
1299 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1300 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1301 (print_version): Use PKGVERSION.
1302 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1303 * elf/pldd.c (argp_program_bug_address): Remove variable.
1304 (more_help): New function.
1305 (argp): Use more_help.
1306 (print_version): Use PKGVERSION.
1307 * elf/sln.c (main): Use PKGVERSION.
1308 (usage): Use REPORT_BUGS_TO.
1309 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1310 (top level): Use PKGVERSION.
1311 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1312 (print_version): Use PKGVERSION.
1313 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1314 (print_version): Use PKGVERSION.
1315 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1316 (print_version): Use PKGVERSION.
1317 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1318 (print_version): Use PKGVERSION.
1319 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1320 (print_version): Use PKGVERSION.
1321 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1322 (print_version): Use PKGVERSION.
1323 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1324 and BUGURL.
1325 ($(objpfx)memusage): Likewise.
1326 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1327 (do_version): Use PKGVERSION.
1328 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1329 (print_version): Use PKGVERSION.
1330 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1331 ($PKGVERSION): New variable.
1332 ($REPORT_BUGS_TO): Likewise.
1333 (usage): Use $REPORT_BUGS_TO.
1334 (top level): Use $PKGVERSION.
1335 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1336 ($(objpfx)pkgvers.texi): New rule.
1337 ($(objpfx)stamp-pkgvers): Likewise.
1338 * manual/install.texi: Include pkgvers.texi.
1339 (--with-pkgversion): Document new configure option.
1340 (--with-bugurl): Likewise.
1341 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1342 than necessarily for this particular distribution. Use
1343 REPORT_BUGS_TO for where to report bugs.
1344 * INSTALL: Regenerated.
1345 * manual/libc.texinfo: Include pkgvers.texi.
1346 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1347 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1348 (print_version): Use PKGVERSION.
1349 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1350 (print_version): Use PKGVERSION.
1351 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1352 (print_version): Use PKGVERSION.
1353 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1354 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1355 macro.
1356 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1357 (print_version): Use PKGVERSION.
1358 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1359 (print_version): Use PKGVERSION.
1360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1361 and PKGVERSION.
1362
92e4b6a9
JM
1363 * timezone/checktab.awk: Update from tzcode 2012i.
1364 * timezone/ialloc.c: Likewise.
1365 * timezone/private.h: Likewise.
1366 * timezone/scheck.c: Likewise.
1367 * timezone/tzfile.h: Likewise.
1368 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1369 (TZVERSION): Hardcode tzcode version number.
1370 * timezone/zdump.c: Update from tzcode 2012i.
1371 * timezone/zic.c: Likewise.
1372 * timezone/version.h: New file.
1373 * timezone/README: Describe version.h. Update upstream location.
1374
9bde902c
JM
1375 [BZ #14824]
1376 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1377 (mktemp): Enable declaration.
1378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1382 Likewise.
1383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1384 Likewise.
1385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1386 Likewise.
1387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1388 Likewise.
1389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1390 Likewise.
1391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1392 Likewise.
1393
fb1ae1ee
JM
1394 [BZ #14821]
1395 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1396 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1397 for copies of such integer values.
1398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1400
2c1adbcb
AJ
14012012-11-09 Andreas Jaeger <aj@suse.de>
1402
1403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1404 definitions and declarations that are provided by
1405 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1406
d0f8457e
AK
14072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1408
1409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1410 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1411 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1412 definition.
1413
57241e26
MS
14142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1415
1416 * elf/elf.h: Update comment before AArch64 relocations.
1417
60e8270d
DM
14182012-11-07 David S. Miller <davem@davemloft.net>
1419
1420 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1422 (__start_context): Declare.
1423 (__makecontext_ret): Delete.
1424 (__makecontext): Hook up __start_context instead of
1425 __makecontext_ret.
1426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1427 (sysdep_routines): Add __start_context when in stdlib.
1428
0fbb0fbc
JM
14292012-11-07 Joseph Myers <joseph@codesourcery.com>
1430
1431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1432 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1433 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1434 hardcoded "nm".
1435 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1436 (READELF): New variable. Use it instead of hardcoded "readelf".
1437
eb48db7e
L
14382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1439
1440 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1441 * sysdeps/x86/Makefile: Here.
1442 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1443 * sysdeps/x86/tst-xmmymm.sh: This.
1444
05bcf62a
JM
14452012-11-07 Joseph Myers <joseph@codesourcery.com>
1446
c4b6cf53
JM
1447 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1448 expectations.
1449 [UNIX98] (pthread_barrier_t): Do not expect.
1450 [UNIX98] (pthread_barrierattr_t): Likewise.
1451 [UNIX98] (pthread_spinlock_t): Likewise.
1452 [UNIX98] (pthread_barrier_destroy): Likewise.
1453 [UNIX98] (pthread_barrier_init): Likewise.
1454 [UNIX98] (pthread_barrier_wait): Likewise.
1455 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1456 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1457 [UNIX98] (pthread_barrierattr_init): Likewise.
1458 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1459 [UNIX98] (pthread_getcpuclockid): Likewise.
1460 [UNIX98] (pthread_mutex_timedlock): Likewise.
1461 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1462 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1463 [UNIX98] (pthread_sigmask): Likewise.
1464 [UNIX98] (pthread_spin_destroy): Likewise.
1465 [UNIX98] (pthread_spin_init): Likewise.
1466 [UNIX98] (pthread_spin_lock): Likewise.
1467 [UNIX98] (pthread_spin_trylock): Likewise.
1468 [UNIX98] (pthread_spin_unlock): Likewise.
1469 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1470 Do not expect.
1471 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1472 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1473 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1474 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1475 [XPG3 || XPG4] (pthread_key_t): Likewise.
1476 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1477 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1478 [XPG3 || XPG4] (pthread_once_t): Likewise.
1479 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1480 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1481 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1482 [XPG3 || XPG4] (pthread_t): Likewise.
1483
cbe6e120
JM
1484 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1485 not expect.
1486 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1487
1b126443
JM
1488 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1489 Change function return type to int.
1490
b961a573
JM
1491 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1492 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1493 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1494 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1495 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1496 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1497 [!POSIX] (posix_madvise): Likewise.
1498 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1499 && !UNIX98].
1500 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1501 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1502 (mode_t): Likewise.
1503 (posix_mem_offset): Likewise.
1504 (posix_typed_mem_get_info): Likewise.
1505 (posix_typed_mem_open): Likewise.
1506
9e188909
JM
1507 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1508 Change condition to [XOPEN2K8].
1509
05bcf62a
JM
1510 * conform/conformtest.pl: Preprocess allow-header data with -x c
1511 instead of from stdin.
1512 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1513 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1514 [C99-based standards] (cerfc): Likewise.
1515 [C99-based standards] (cexp2): Likewise.
1516 [C99-based standards] (cexpm1): Likewise.
1517 [C99-based standards] (clog10): Likewise.
1518 [C99-based standards] (clog1p): Likewise.
1519 [C99-based standards] (clog2): Likewise.
1520 [C99-based standards] (clgamma): Likewise.
1521 [C99-based standards] (ctgamma): Likewise.
1522 [C99-based standards] (cerff): Likewise.
1523 [C99-based standards] (cerfcf): Likewise.
1524 [C99-based standards] (cexp2f): Likewise.
1525 [C99-based standards] (cexpm1f): Likewise.
1526 [C99-based standards] (clog10f): Likewise.
1527 [C99-based standards] (clog1pf): Likewise.
1528 [C99-based standards] (clog2f): Likewise.
1529 [C99-based standards] (clgammaf): Likewise.
1530 [C99-based standards] (ctgammaf): Likewise.
1531 [C99-based standards] (cerfl): Likewise.
1532 [C99-based standards] (cerfcl): Likewise.
1533 [C99-based standards] (cexp2l): Likewise.
1534 [C99-based standards] (cexpm1l): Likewise.
1535 [C99-based standards] (clog10l): Likewise.
1536 [C99-based standards] (clog1pl): Likewise.
1537 [C99-based standards] (clog2l): Likewise.
1538 [C99-based standards] (clgammal): Likewise.
1539 [C99-based standards] (ctgammal): Likewise.
1540 * conform/data/inttypes.h-data [C99-based standards]: Include
1541 stdint.h-data. Remove all expectations for stdint.h contents.
1542 [C99-based standards] (PRI*): Do not allow.
1543 [C99-based standards] (SCN*): Likewise.
1544 [C99-based standards] (*_t): Likewise.
1545 [C99-based-standards] (PRId8): Expect macro.
1546 [C99-based-standards] (PRIi8): Likewise.
1547 [C99-based-standards] (PRIo8): Likewise.
1548 [C99-based-standards] (PRIu8): Likewise.
1549 [C99-based-standards] (PRIx8): Likewise.
1550 [C99-based-standards] (PRIX8): Likewise.
1551 [C99-based-standards] (SCNd8): Likewise.
1552 [C99-based-standards] (SCNi8): Likewise.
1553 [C99-based-standards] (SCNo8): Likewise.
1554 [C99-based-standards] (SCNu8): Likewise.
1555 [C99-based-standards] (SCNx8): Likewise.
1556 [C99-based-standards] (PRIdLEAST8): Likewise.
1557 [C99-based-standards] (PRIiLEAST8): Likewise.
1558 [C99-based-standards] (PRIoLEAST8): Likewise.
1559 [C99-based-standards] (PRIuLEAST8): Likewise.
1560 [C99-based-standards] (PRIxLEAST8): Likewise.
1561 [C99-based-standards] (PRIXLEAST8): Likewise.
1562 [C99-based-standards] (SCNdLEAST8): Likewise.
1563 [C99-based-standards] (SCNiLEAST8): Likewise.
1564 [C99-based-standards] (SCNoLEAST8): Likewise.
1565 [C99-based-standards] (SCNuLEAST8): Likewise.
1566 [C99-based-standards] (SCNxLEAST8): Likewise.
1567 [C99-based-standards] (PRIdFAST8): Likewise.
1568 [C99-based-standards] (PRIiFAST8): Likewise.
1569 [C99-based-standards] (PRIoFAST8): Likewise.
1570 [C99-based-standards] (PRIuFAST8): Likewise.
1571 [C99-based-standards] (PRIxFAST8): Likewise.
1572 [C99-based-standards] (PRIXFAST8): Likewise.
1573 [C99-based-standards] (SCNdFAST8): Likewise.
1574 [C99-based-standards] (SCNiFAST8): Likewise.
1575 [C99-based-standards] (SCNoFAST8): Likewise.
1576 [C99-based-standards] (SCNuFAST8): Likewise.
1577 [C99-based-standards] (SCNxFAST8): Likewise.
1578 [C99-based-standards] (PRId16): Likewise.
1579 [C99-based-standards] (PRIi16): Likewise.
1580 [C99-based-standards] (PRIo16): Likewise.
1581 [C99-based-standards] (PRIu16): Likewise.
1582 [C99-based-standards] (PRIx16): Likewise.
1583 [C99-based-standards] (PRIX16): Likewise.
1584 [C99-based-standards] (SCNd16): Likewise.
1585 [C99-based-standards] (SCNi16): Likewise.
1586 [C99-based-standards] (SCNo16): Likewise.
1587 [C99-based-standards] (SCNu16): Likewise.
1588 [C99-based-standards] (SCNx16): Likewise.
1589 [C99-based-standards] (PRIdLEAST16): Likewise.
1590 [C99-based-standards] (PRIiLEAST16): Likewise.
1591 [C99-based-standards] (PRIoLEAST16): Likewise.
1592 [C99-based-standards] (PRIuLEAST16): Likewise.
1593 [C99-based-standards] (PRIxLEAST16): Likewise.
1594 [C99-based-standards] (PRIXLEAST16): Likewise.
1595 [C99-based-standards] (SCNdLEAST16): Likewise.
1596 [C99-based-standards] (SCNiLEAST16): Likewise.
1597 [C99-based-standards] (SCNoLEAST16): Likewise.
1598 [C99-based-standards] (SCNuLEAST16): Likewise.
1599 [C99-based-standards] (SCNxLEAST16): Likewise.
1600 [C99-based-standards] (PRIdFAST16): Likewise.
1601 [C99-based-standards] (PRIiFAST16): Likewise.
1602 [C99-based-standards] (PRIoFAST16): Likewise.
1603 [C99-based-standards] (PRIuFAST16): Likewise.
1604 [C99-based-standards] (PRIxFAST16): Likewise.
1605 [C99-based-standards] (PRIXFAST16): Likewise.
1606 [C99-based-standards] (SCNdFAST16): Likewise.
1607 [C99-based-standards] (SCNiFAST16): Likewise.
1608 [C99-based-standards] (SCNoFAST16): Likewise.
1609 [C99-based-standards] (SCNuFAST16): Likewise.
1610 [C99-based-standards] (SCNxFAST16): Likewise.
1611 [C99-based-standards] (PRId32): Likewise.
1612 [C99-based-standards] (PRIi32): Likewise.
1613 [C99-based-standards] (PRIo32): Likewise.
1614 [C99-based-standards] (PRIu32): Likewise.
1615 [C99-based-standards] (PRIx32): Likewise.
1616 [C99-based-standards] (PRIX32): Likewise.
1617 [C99-based-standards] (SCNd32): Likewise.
1618 [C99-based-standards] (SCNi32): Likewise.
1619 [C99-based-standards] (SCNo32): Likewise.
1620 [C99-based-standards] (SCNu32): Likewise.
1621 [C99-based-standards] (SCNx32): Likewise.
1622 [C99-based-standards] (PRIdLEAST32): Likewise.
1623 [C99-based-standards] (PRIiLEAST32): Likewise.
1624 [C99-based-standards] (PRIoLEAST32): Likewise.
1625 [C99-based-standards] (PRIuLEAST32): Likewise.
1626 [C99-based-standards] (PRIxLEAST32): Likewise.
1627 [C99-based-standards] (PRIXLEAST32): Likewise.
1628 [C99-based-standards] (SCNdLEAST32): Likewise.
1629 [C99-based-standards] (SCNiLEAST32): Likewise.
1630 [C99-based-standards] (SCNoLEAST32): Likewise.
1631 [C99-based-standards] (SCNuLEAST32): Likewise.
1632 [C99-based-standards] (SCNxLEAST32): Likewise.
1633 [C99-based-standards] (PRIdFAST32): Likewise.
1634 [C99-based-standards] (PRIiFAST32): Likewise.
1635 [C99-based-standards] (PRIoFAST32): Likewise.
1636 [C99-based-standards] (PRIuFAST32): Likewise.
1637 [C99-based-standards] (PRIxFAST32): Likewise.
1638 [C99-based-standards] (PRIXFAST32): Likewise.
1639 [C99-based-standards] (SCNdFAST32): Likewise.
1640 [C99-based-standards] (SCNiFAST32): Likewise.
1641 [C99-based-standards] (SCNoFAST32): Likewise.
1642 [C99-based-standards] (SCNuFAST32): Likewise.
1643 [C99-based-standards] (SCNxFAST32): Likewise.
1644 [C99-based-standards] (PRId64): Likewise.
1645 [C99-based-standards] (PRIi64): Likewise.
1646 [C99-based-standards] (PRIo64): Likewise.
1647 [C99-based-standards] (PRIu64): Likewise.
1648 [C99-based-standards] (PRIx64): Likewise.
1649 [C99-based-standards] (PRIX64): Likewise.
1650 [C99-based-standards] (SCNd64): Likewise.
1651 [C99-based-standards] (SCNi64): Likewise.
1652 [C99-based-standards] (SCNo64): Likewise.
1653 [C99-based-standards] (SCNu64): Likewise.
1654 [C99-based-standards] (SCNx64): Likewise.
1655 [C99-based-standards] (PRIdLEAST64): Likewise.
1656 [C99-based-standards] (PRIiLEAST64): Likewise.
1657 [C99-based-standards] (PRIoLEAST64): Likewise.
1658 [C99-based-standards] (PRIuLEAST64): Likewise.
1659 [C99-based-standards] (PRIxLEAST64): Likewise.
1660 [C99-based-standards] (PRIXLEAST64): Likewise.
1661 [C99-based-standards] (SCNdLEAST64): Likewise.
1662 [C99-based-standards] (SCNiLEAST64): Likewise.
1663 [C99-based-standards] (SCNoLEAST64): Likewise.
1664 [C99-based-standards] (SCNuLEAST64): Likewise.
1665 [C99-based-standards] (SCNxLEAST64): Likewise.
1666 [C99-based-standards] (PRIdFAST64): Likewise.
1667 [C99-based-standards] (PRIiFAST64): Likewise.
1668 [C99-based-standards] (PRIoFAST64): Likewise.
1669 [C99-based-standards] (PRIuFAST64): Likewise.
1670 [C99-based-standards] (PRIxFAST64): Likewise.
1671 [C99-based-standards] (PRIXFAST64): Likewise.
1672 [C99-based-standards] (SCNdFAST64): Likewise.
1673 [C99-based-standards] (SCNiFAST64): Likewise.
1674 [C99-based-standards] (SCNoFAST64): Likewise.
1675 [C99-based-standards] (SCNuFAST64): Likewise.
1676 [C99-based-standards] (SCNxFAST64): Likewise.
1677 [C99-based-standards] (PRIdMAX): Likewise.
1678 [C99-based-standards] (PRIiMAX): Likewise.
1679 [C99-based-standards] (PRIoMAX): Likewise.
1680 [C99-based-standards] (PRIuMAX): Likewise.
1681 [C99-based-standards] (PRIxMAX): Likewise.
1682 [C99-based-standards] (PRIXMAX): Likewise.
1683 [C99-based-standards] (SCNdMAX): Likewise.
1684 [C99-based-standards] (SCNiMAX): Likewise.
1685 [C99-based-standards] (SCNoMAX): Likewise.
1686 [C99-based-standards] (SCNuMAX): Likewise.
1687 [C99-based-standards] (SCNxMAX): Likewise.
1688 [C99-based-standards] (PRIdPTR): Likewise.
1689 [C99-based-standards] (PRIiPTR): Likewise.
1690 [C99-based-standards] (PRIoPTR): Likewise.
1691 [C99-based-standards] (PRIuPTR): Likewise.
1692 [C99-based-standards] (PRIxPTR): Likewise.
1693 [C99-based-standards] (PRIXPTR): Likewise.
1694 [C99-based-standards] (SCNdPTR): Likewise.
1695 [C99-based-standards] (SCNiPTR): Likewise.
1696 [C99-based-standards] (SCNoPTR): Likewise.
1697 [C99-based-standards] (SCNuPTR): Likewise.
1698 [C99-based-standards] (SCNxPTR): Likewise.
1699 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1700 allow.
1701 * conform/data/stdint.h-data: Update comments to clarify
1702 requirements.
1703 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1704 type.
1705 [C99-based standards] (INT8_MAX): Likewise.
1706 [C99-based standards] (INT16_MIN): Likewise.
1707 [C99-based standards] (INT16_MAX): Likewise.
1708 [C99-based standards] (INT32_MIN): Likewise.
1709 [C99-based standards] (INT32_MAX): Likewise.
1710 [C99-based standards] (INT64_MIN): Likewise.
1711 [C99-based standards] (INT64_MAX): Likewise.
1712 [C99-based standards] (UINT8_MAX): Likewise.
1713 [C99-based standards] (UINT16_MAX): Likewise.
1714 [C99-based standards] (UINT32_MAX): Likewise.
1715 [C99-based standards] (UINT64_MAX): Likewise.
1716 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1717 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1718 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1719 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1720 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1721 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1722 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1723 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1724 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1725 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1726 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1727 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1728 [C99-based standards] (INT_FAST8_MIN): Likewise.
1729 [C99-based standards] (INT_FAST8_MAX): Likewise.
1730 [C99-based standards] (INT_FAST16_MIN): Likewise.
1731 [C99-based standards] (INT_FAST16_MAX): Likewise.
1732 [C99-based standards] (INT_FAST32_MIN): Likewise.
1733 [C99-based standards] (INT_FAST32_MAX): Likewise.
1734 [C99-based standards] (INT_FAST64_MIN): Likewise.
1735 [C99-based standards] (INT_FAST64_MAX): Likewise.
1736 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1737 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1738 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1739 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1740 [C99-based standards] (INTPTR_MIN): Likewise.
1741 [C99-based standards] (INTPTR_MAX): Likewise.
1742 [C99-based standards] (UINTPTR_MAX): Likewise.
1743 [C99-based standards] (INTMAX_MIN): Likewise.
1744 [C99-based standards] (INTMAX_MAX): Likewise.
1745 [C99-based standards] (UINTMAX_MAX): Likewise.
1746 [C99-based standards] (PTRDIFF_MIN): Likewise.
1747 [C99-based standards] (PTRDIFF_MAX): Likewise.
1748 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1749 [C99-based standards] (SIZE_MAX): Likewise.
1750 [C99-based standards] (WCHAR_MAX): Likewise.
1751 [C99-based standards] (WINT_MAX): Likewise.
1752 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1753 constraint on value.
1754 [C99-based standards] (WCHAR_MIN): Likewise.
1755 [C99-based standards] (WINT_MIN): Likewise.
1756 [C99-based standards] (*_t): Allow.
1757 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1758 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1759 Include math.h-data and complex.h-data. Remove all expectations
1760 of math.h and complex.h contents.
1761 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1762 at end of line.
1763 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1764 (struct tm): Expect tag.
1765 [C99-based-standards] (wcstof): Expect function.
1766 [C99-based-standards] (wcstold): Likewise.
1767 [C99-based-standards] (wcstoll): Likewise.
1768 [C99-based-standards] (wcstoull): Likewise.
1769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1770 macro-int-constant. Specify type.
1771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1772 constraint on value.
1773 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1774 Specify type.
1775 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1776 Specify value.
1777 [ISO C standards]: Do not allow headers.
1778 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1779 wcs[abcdefghijklmnopqrstuvwxyz]*.
1780 [ISO C standards] (*_t): Do not allow.
1781 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1782 Expect function.
1783 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1784 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1785 Specify type.
1786 [ISO C standards]: Do not allow headers.
1787 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1788 is[abcdefghijklmnopqrstuvwxyz]*.
1789 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1790 to[abcdefghijklmnopqrstuvwxyz]*.
1791 [ISO C standards] (*_t): Do not allow.
1792 * conform/data/stdalign.h-data: New file.
1793 * conform/data/stdbool.h-data: Likewise.
1794 * conform/data/stdnoreturn.h-data: Likewise.
1795
7514feb8
RM
17962012-11-07 Roland McGrath <roland@hack.frob.com>
1797
1798 [BZ #14815]
1799 * manual/filesys.texi (Directory Entries): Typo fix.
1800 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1801
19b2ecfc
MS
18022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1803
1804 * elf/elf.h (EM_AARCH64): New macro.
1805 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1806 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1807 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1808 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1809 (R_AARCH64_TLSDESC): Likewise.
1810 (NT_ARM_TLS): Likewise.
1811 (NT_ARM_HW_BREAK): Likewise.
1812 (NT_ARM_HW_WATCH): Likewise.
1813
60e235ee
JM
18142012-11-07 Joseph Myers <joseph@codesourcery.com>
1815
1816 [BZ #14811]
1817 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1818 (__ieee754_powl): Saturate nonzero exponents with absolute value
1819 below 0x1p-79 to +/- 0x1p-79.
1820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1821 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1823 nonzero exponents with absolute value below 0x1p-32 to +/-
1824 0x1p-32.
1825 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1826 (__ieee754_powl): Saturate nonzero exponents with absolute value
1827 below 0x1p-79 to +/- 0x1p-79.
1828 * math/libm-test.inc (pow_test): Add more tests.
1829
0ab234b7
AK
18302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1831
1832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1833 _dl_s390_cap_flags with kernel. Increase string length.
1834 (_dl_s390_platforms): Add z196 and zEC12.
1835
45832f74
JM
18362012-11-07 Joseph Myers <joseph@codesourcery.com>
1837
1838 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1839 Change XOPEN21K to XOPEN2K.
1840
19218757
MK
18412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1842
1843 * string/memmove.c: Use memcpy when possible.
1844
c5f45721
AJ
18452012-11-06 Andreas Jaeger <aj@suse.de>
1846
1847 * po/eo.po: Update from translation team.
1848
82477c28
JM
18492012-11-06 Joseph Myers <joseph@codesourcery.com>
1850
1851 [BZ #14793]
1852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1853 exponent and small x and y exponents, scale x or y up. Increase
1854 by 2 the exponent used in scaling up.
1855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1857 * math/libm-test.inc (fma_test): Add more tests.
1858 (fma_test_towardzero): Likewise.
1859 (fma_test_downward): Likewise.
1860 (fma_test_upward): Likewise.
1861
99252c8c
JM
18622012-11-05 Joseph Myers <joseph@codesourcery.com>
1863
acfa885f
JM
1864 [BZ #14805]
1865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1866 fenv_t *.
1867
99252c8c
JM
1868 [BZ #14801]
1869 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1870 namespace for names of struct fields.
1871 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1872 fenv_t fields.
1873 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1874 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1875
d6d98dea
ST
18762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1877
1878 [BZ #3665]
1879 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1880
e10bb107
TS
18812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1882
1883 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1884 PTR_DEMANGLE.
1885
1886 [BZ #5246]
1887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1888 PTR_DEMANGLE.
1889
a0c2940d
JM
18902012-11-04 Joseph Myers <joseph@codesourcery.com>
1891
1892 [BZ #14797]
1893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1894 definitely overflow as x * y not x * y + z.
1895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1897 * math/libm-test.inc (fma_test): Add more tests.
1898 (fma_test_towardzero): Likewise.
1899 (fma_test_downward): Likewise.
1900 (fma_test_upward): Likewise.
1901
b830319d
TS
19022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1903
1904 [BZ #157]
1905
1906 * include/stub-tag.h: Remove file.
1907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1908 '#include' of it.
1909 * manual/maint.texi (Porting): Don't reference it.
1910 * Makerules ($(objpfx)stubs): Likewise.
1911 * dirent/closedir.c: Don't include <stub-tag.h>.
1912 * dirent/dirfd.c: Likewise.
1913 * dirent/fdopendir.c: Likewise.
1914 * dirent/getdents.c: Likewise.
1915 * dirent/getdents64.c: Likewise.
1916 * dirent/opendir.c: Likewise.
1917 * dirent/readdir.c: Likewise.
1918 * dirent/readdir64.c: Likewise.
1919 * dirent/readdir64_r.c: Likewise.
1920 * dirent/readdir_r.c: Likewise.
1921 * dirent/rewinddir.c: Likewise.
1922 * dirent/seekdir.c: Likewise.
1923 * dirent/telldir.c: Likewise.
1924 * gmon/profil.c: Likewise.
1925 * grp/setgroups.c: Likewise.
1926 * inet/if_index.c: Likewise.
1927 * io/access.c: Likewise.
1928 * io/chdir.c: Likewise.
1929 * io/chmod.c: Likewise.
1930 * io/chown.c: Likewise.
1931 * io/close.c: Likewise.
1932 * io/dup.c: Likewise.
1933 * io/dup2.c: Likewise.
1934 * io/dup3.c: Likewise.
1935 * io/euidaccess.c: Likewise.
1936 * io/faccessat.c: Likewise.
1937 * io/fchdir.c: Likewise.
1938 * io/fchmod.c: Likewise.
1939 * io/fchmodat.c: Likewise.
1940 * io/fchown.c: Likewise.
1941 * io/fchownat.c: Likewise.
1942 * io/fcntl.c: Likewise.
1943 * io/flock.c: Likewise.
1944 * io/fstatfs.c: Likewise.
1945 * io/fstatfs64.c: Likewise.
1946 * io/fstatvfs.c: Likewise.
1947 * io/fstatvfs64.c: Likewise.
1948 * io/futimens.c: Likewise.
1949 * io/fxstat.c: Likewise.
1950 * io/fxstat64.c: Likewise.
1951 * io/fxstatat.c: Likewise.
1952 * io/fxstatat64.c: Likewise.
1953 * io/getcwd.c: Likewise.
1954 * io/isatty.c: Likewise.
1955 * io/lchmod.c: Likewise.
1956 * io/lchown.c: Likewise.
1957 * io/link.c: Likewise.
1958 * io/linkat.c: Likewise.
1959 * io/lseek.c: Likewise.
1960 * io/lseek64.c: Likewise.
1961 * io/lxstat64.c: Likewise.
1962 * io/mkdir.c: Likewise.
1963 * io/mkdirat.c: Likewise.
1964 * io/mkfifo.c: Likewise.
1965 * io/mkfifoat.c: Likewise.
1966 * io/open.c: Likewise.
1967 * io/open64.c: Likewise.
1968 * io/openat.c: Likewise.
1969 * io/openat64.c: Likewise.
1970 * io/pipe.c: Likewise.
1971 * io/pipe2.c: Likewise.
1972 * io/poll.c: Likewise.
1973 * io/posix_fadvise.c: Likewise.
1974 * io/posix_fadvise64.c: Likewise.
1975 * io/posix_fallocate.c: Likewise.
1976 * io/posix_fallocate64.c: Likewise.
1977 * io/read.c: Likewise.
1978 * io/readlink.c: Likewise.
1979 * io/readlinkat.c: Likewise.
1980 * io/rmdir.c: Likewise.
1981 * io/sendfile.c: Likewise.
1982 * io/sendfile64.c: Likewise.
1983 * io/statfs.c: Likewise.
1984 * io/statfs64.c: Likewise.
1985 * io/statvfs.c: Likewise.
1986 * io/statvfs64.c: Likewise.
1987 * io/symlink.c: Likewise.
1988 * io/symlinkat.c: Likewise.
1989 * io/ttyname.c: Likewise.
1990 * io/ttyname_r.c: Likewise.
1991 * io/umask.c: Likewise.
1992 * io/unlink.c: Likewise.
1993 * io/unlinkat.c: Likewise.
1994 * io/utime.c: Likewise.
1995 * io/utimensat.c: Likewise.
1996 * io/write.c: Likewise.
1997 * io/xmknod.c: Likewise.
1998 * io/xmknodat.c: Likewise.
1999 * io/xstat.c: Likewise.
2000 * io/xstat64.c: Likewise.
2001 * login/getpt.c: Likewise.
2002 * login/grantpt.c: Likewise.
2003 * login/unlockpt.c: Likewise.
2004 * math/e_acoshl.c: Likewise.
2005 * math/e_acosl.c: Likewise.
2006 * math/e_asinl.c: Likewise.
2007 * math/e_atan2l.c: Likewise.
2008 * math/e_atanhl.c: Likewise.
2009 * math/e_coshl.c: Likewise.
2010 * math/e_expl.c: Likewise.
2011 * math/e_fmodl.c: Likewise.
2012 * math/e_gammal_r.c: Likewise.
2013 * math/e_hypotl.c: Likewise.
2014 * math/e_j0l.c: Likewise.
2015 * math/e_j1l.c: Likewise.
2016 * math/e_jnl.c: Likewise.
2017 * math/e_lgammal_r.c: Likewise.
2018 * math/e_log10l.c: Likewise.
2019 * math/e_log2l.c: Likewise.
2020 * math/e_logl.c: Likewise.
2021 * math/e_powl.c: Likewise.
2022 * math/e_rem_pio2l.c: Likewise.
2023 * math/e_sinhl.c: Likewise.
2024 * math/e_sqrtl.c: Likewise.
2025 * math/fclrexcpt.c: Likewise.
2026 * math/fedisblxcpt.c: Likewise.
2027 * math/feenablxcpt.c: Likewise.
2028 * math/fegetenv.c: Likewise.
2029 * math/fegetexcept.c: Likewise.
2030 * math/fegetround.c: Likewise.
2031 * math/feholdexcpt.c: Likewise.
2032 * math/fesetenv.c: Likewise.
2033 * math/fesetround.c: Likewise.
2034 * math/feupdateenv.c: Likewise.
2035 * math/fgetexcptflg.c: Likewise.
2036 * math/fraiseexcpt.c: Likewise.
2037 * math/fsetexcptflg.c: Likewise.
2038 * math/ftestexcept.c: Likewise.
2039 * math/k_cosl.c: Likewise.
2040 * math/k_rem_pio2l.c: Likewise.
2041 * math/k_sinl.c: Likewise.
2042 * math/k_tanl.c: Likewise.
2043 * math/s_asinhl.c: Likewise.
2044 * math/s_atanl.c: Likewise.
2045 * math/s_cbrtl.c: Likewise.
2046 * math/s_erfl.c: Likewise.
2047 * math/s_expm1l.c: Likewise.
2048 * math/s_log1pl.c: Likewise.
2049 * math/s_tanhl.c: Likewise.
2050 * misc/acct.c: Likewise.
2051 * misc/brk.c: Likewise.
2052 * misc/chflags.c: Likewise.
2053 * misc/chroot.c: Likewise.
2054 * misc/fchflags.c: Likewise.
2055 * misc/fgetxattr.c: Likewise.
2056 * misc/flistxattr.c: Likewise.
2057 * misc/fremovexattr.c: Likewise.
2058 * misc/fsetxattr.c: Likewise.
2059 * misc/fsync.c: Likewise.
2060 * misc/ftruncate.c: Likewise.
2061 * misc/futimes.c: Likewise.
2062 * misc/futimesat.c: Likewise.
2063 * misc/getdomain.c: Likewise.
2064 * misc/getdtsz.c: Likewise.
2065 * misc/gethostid.c: Likewise.
2066 * misc/gethostname.c: Likewise.
2067 * misc/getloadavg.c: Likewise.
2068 * misc/getpagesize.c: Likewise.
2069 * misc/getsysstats.c: Likewise.
2070 * misc/getxattr.c: Likewise.
2071 * misc/gtty.c: Likewise.
2072 * misc/ioctl.c: Likewise.
2073 * misc/lgetxattr.c: Likewise.
2074 * misc/listxattr.c: Likewise.
2075 * misc/llistxattr.c: Likewise.
2076 * misc/lremovexattr.c: Likewise.
2077 * misc/lsetxattr.c: Likewise.
2078 * misc/lutimes.c: Likewise.
2079 * misc/madvise.c: Likewise.
2080 * misc/mincore.c: Likewise.
2081 * misc/mlock.c: Likewise.
2082 * misc/mlockall.c: Likewise.
2083 * misc/mmap.c: Likewise.
2084 * misc/mprotect.c: Likewise.
2085 * misc/msync.c: Likewise.
2086 * misc/munlock.c: Likewise.
2087 * misc/munlockall.c: Likewise.
2088 * misc/munmap.c: Likewise.
2089 * misc/preadv.c: Likewise.
2090 * misc/preadv64.c: Likewise.
2091 * misc/ptrace.c: Likewise.
2092 * misc/pwritev.c: Likewise.
2093 * misc/pwritev64.c: Likewise.
2094 * misc/readv.c: Likewise.
2095 * misc/reboot.c: Likewise.
2096 * misc/remap_file_pages.c: Likewise.
2097 * misc/removexattr.c: Likewise.
2098 * misc/revoke.c: Likewise.
2099 * misc/select.c: Likewise.
2100 * misc/setdomain.c: Likewise.
2101 * misc/setegid.c: Likewise.
2102 * misc/seteuid.c: Likewise.
2103 * misc/sethostid.c: Likewise.
2104 * misc/sethostname.c: Likewise.
2105 * misc/setregid.c: Likewise.
2106 * misc/setreuid.c: Likewise.
2107 * misc/setxattr.c: Likewise.
2108 * misc/sstk.c: Likewise.
2109 * misc/stty.c: Likewise.
2110 * misc/swapoff.c: Likewise.
2111 * misc/swapon.c: Likewise.
2112 * misc/sync.c: Likewise.
2113 * misc/syncfs.c: Likewise.
2114 * misc/syscall.c: Likewise.
2115 * misc/truncate.c: Likewise.
2116 * misc/ualarm.c: Likewise.
2117 * misc/usleep.c: Likewise.
2118 * misc/ustat.c: Likewise.
2119 * misc/utimes.c: Likewise.
2120 * misc/vhangup.c: Likewise.
2121 * misc/writev.c: Likewise.
2122 * posix/_exit.c: Likewise.
2123 * posix/alarm.c: Likewise.
2124 * posix/execve.c: Likewise.
2125 * posix/fexecve.c: Likewise.
2126 * posix/fork.c: Likewise.
2127 * posix/fpathconf.c: Likewise.
2128 * posix/getaddrinfo.c: Likewise.
2129 * posix/getegid.c: Likewise.
2130 * posix/geteuid.c: Likewise.
2131 * posix/getgid.c: Likewise.
2132 * posix/getgroups.c: Likewise.
2133 * posix/getlogin.c: Likewise.
2134 * posix/getlogin_r.c: Likewise.
2135 * posix/getpgid.c: Likewise.
2136 * posix/getpid.c: Likewise.
2137 * posix/getppid.c: Likewise.
2138 * posix/getresgid.c: Likewise.
2139 * posix/getresuid.c: Likewise.
2140 * posix/getsid.c: Likewise.
2141 * posix/getuid.c: Likewise.
2142 * posix/glob64.c: Likewise.
2143 * posix/nanosleep.c: Likewise.
2144 * posix/pathconf.c: Likewise.
2145 * posix/pause.c: Likewise.
2146 * posix/posix_madvise.c: Likewise.
2147 * posix/pread.c: Likewise.
2148 * posix/pread64.c: Likewise.
2149 * posix/pwrite.c: Likewise.
2150 * posix/pwrite64.c: Likewise.
2151 * posix/sched_getaffinity.c: Likewise.
2152 * posix/sched_getp.c: Likewise.
2153 * posix/sched_gets.c: Likewise.
2154 * posix/sched_primax.c: Likewise.
2155 * posix/sched_primin.c: Likewise.
2156 * posix/sched_rr_gi.c: Likewise.
2157 * posix/sched_setaffinity.c: Likewise.
2158 * posix/sched_setp.c: Likewise.
2159 * posix/sched_sets.c: Likewise.
2160 * posix/sched_yield.c: Likewise.
2161 * posix/setgid.c: Likewise.
2162 * posix/setlogin.c: Likewise.
2163 * posix/setpgid.c: Likewise.
2164 * posix/setresgid.c: Likewise.
2165 * posix/setresuid.c: Likewise.
2166 * posix/setsid.c: Likewise.
2167 * posix/setuid.c: Likewise.
2168 * posix/sleep.c: Likewise.
2169 * posix/spawni.c: Likewise.
2170 * posix/sysconf.c: Likewise.
2171 * posix/times.c: Likewise.
2172 * posix/wait.c: Likewise.
2173 * posix/wait3.c: Likewise.
2174 * posix/wait4.c: Likewise.
2175 * posix/waitpid.c: Likewise.
2176 * resolv/gai_sigqueue.c: Likewise.
2177 * resource/getpriority.c: Likewise.
2178 * resource/getrlimit.c: Likewise.
2179 * resource/getrusage.c: Likewise.
2180 * resource/nice.c: Likewise.
2181 * resource/setpriority.c: Likewise.
2182 * resource/setrlimit.c: Likewise.
2183 * resource/ulimit.c: Likewise.
2184 * rt/aio_cancel.c: Likewise.
2185 * rt/aio_fsync.c: Likewise.
2186 * rt/aio_read.c: Likewise.
2187 * rt/aio_sigqueue.c: Likewise.
2188 * rt/aio_suspend.c: Likewise.
2189 * rt/aio_write.c: Likewise.
2190 * rt/clock_getres.c: Likewise.
2191 * rt/clock_gettime.c: Likewise.
2192 * rt/clock_nanosleep.c: Likewise.
2193 * rt/clock_settime.c: Likewise.
2194 * rt/lio_listio.c: Likewise.
2195 * rt/mq_close.c: Likewise.
2196 * rt/mq_getattr.c: Likewise.
2197 * rt/mq_notify.c: Likewise.
2198 * rt/mq_open.c: Likewise.
2199 * rt/mq_receive.c: Likewise.
2200 * rt/mq_send.c: Likewise.
2201 * rt/mq_setattr.c: Likewise.
2202 * rt/mq_timedreceive.c: Likewise.
2203 * rt/mq_timedsend.c: Likewise.
2204 * rt/mq_unlink.c: Likewise.
2205 * rt/shm_open.c: Likewise.
2206 * rt/shm_unlink.c: Likewise.
2207 * rt/timer_create.c: Likewise.
2208 * rt/timer_delete.c: Likewise.
2209 * rt/timer_getoverr.c: Likewise.
2210 * rt/timer_gettime.c: Likewise.
2211 * rt/timer_settime.c: Likewise.
2212 * setjmp/__longjmp.c: Likewise.
2213 * setjmp/setjmp.c: Likewise.
2214 * signal/kill.c: Likewise.
2215 * signal/killpg.c: Likewise.
2216 * signal/raise.c: Likewise.
2217 * signal/sigaction.c: Likewise.
2218 * signal/sigaltstack.c: Likewise.
2219 * signal/sigblock.c: Likewise.
2220 * signal/sigignore.c: Likewise.
2221 * signal/sigintr.c: Likewise.
2222 * signal/signal.c: Likewise.
2223 * signal/sigpause.c: Likewise.
2224 * signal/sigpending.c: Likewise.
2225 * signal/sigqueue.c: Likewise.
2226 * signal/sigreturn.c: Likewise.
2227 * signal/sigset.c: Likewise.
2228 * signal/sigsetmask.c: Likewise.
2229 * signal/sigstack.c: Likewise.
2230 * signal/sigsuspend.c: Likewise.
2231 * signal/sigtimedwait.c: Likewise.
2232 * signal/sigvec.c: Likewise.
2233 * signal/sigwait.c: Likewise.
2234 * signal/sigwaitinfo.c: Likewise.
2235 * signal/sysv_signal.c: Likewise.
2236 * socket/accept.c: Likewise.
2237 * socket/accept4.c: Likewise.
2238 * socket/bind.c: Likewise.
2239 * socket/connect.c: Likewise.
2240 * socket/getpeername.c: Likewise.
2241 * socket/getsockname.c: Likewise.
2242 * socket/getsockopt.c: Likewise.
2243 * socket/isfdtype.c: Likewise.
2244 * socket/listen.c: Likewise.
2245 * socket/recv.c: Likewise.
2246 * socket/recvfrom.c: Likewise.
2247 * socket/recvmsg.c: Likewise.
2248 * socket/send.c: Likewise.
2249 * socket/sendmsg.c: Likewise.
2250 * socket/sendto.c: Likewise.
2251 * socket/setsockopt.c: Likewise.
2252 * socket/shutdown.c: Likewise.
2253 * socket/sockatmark.c: Likewise.
2254 * socket/socket.c: Likewise.
2255 * socket/socketpair.c: Likewise.
2256 * stdio-common/ctermid.c: Likewise.
2257 * stdio-common/cuserid.c: Likewise.
2258 * stdio-common/remove.c: Likewise.
2259 * stdio-common/rename.c: Likewise.
2260 * stdio-common/renameat.c: Likewise.
2261 * stdio-common/tempname.c: Likewise.
2262 * stdlib/getcontext.c: Likewise.
2263 * stdlib/makecontext.c: Likewise.
2264 * stdlib/setcontext.c: Likewise.
2265 * stdlib/swapcontext.c: Likewise.
2266 * stdlib/system.c: Likewise.
2267 * streams/fattach.c: Likewise.
2268 * streams/fdetach.c: Likewise.
2269 * streams/getmsg.c: Likewise.
2270 * streams/getpmsg.c: Likewise.
2271 * streams/putmsg.c: Likewise.
2272 * streams/putpmsg.c: Likewise.
2273 * sysdeps/unix/bsd/getpt.c: Likewise.
2274 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2275 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2278 Likewise.
2279 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2280 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2281 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2282 * sysvipc/msgctl.c: Likewise.
2283 * sysvipc/msgget.c: Likewise.
2284 * sysvipc/msgrcv.c: Likewise.
2285 * sysvipc/msgsnd.c: Likewise.
2286 * sysvipc/semctl.c: Likewise.
2287 * sysvipc/semget.c: Likewise.
2288 * sysvipc/semop.c: Likewise.
2289 * sysvipc/semtimedop.c: Likewise.
2290 * sysvipc/shmat.c: Likewise.
2291 * sysvipc/shmctl.c: Likewise.
2292 * sysvipc/shmdt.c: Likewise.
2293 * sysvipc/shmget.c: Likewise.
2294 * termios/tcdrain.c: Likewise.
2295 * termios/tcflow.c: Likewise.
2296 * termios/tcflush.c: Likewise.
2297 * termios/tcgetattr.c: Likewise.
2298 * termios/tcgetpgrp.c: Likewise.
2299 * termios/tcsendbrk.c: Likewise.
2300 * termios/tcsetattr.c: Likewise.
2301 * termios/tcsetpgrp.c: Likewise.
2302 * time/adjtime.c: Likewise.
2303 * time/clock.c: Likewise.
2304 * time/getitimer.c: Likewise.
2305 * time/gettimeofday.c: Likewise.
2306 * time/setitimer.c: Likewise.
2307 * time/settimeofday.c: Likewise.
2308 * time/stime.c: Likewise.
2309 * time/time.c: Likewise.
2310
23112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2312
a20492cf
PT
2313 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2314 /usr/old/bin.
2315
72e182e3
PT
2316 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2317 instead of spaces.
2318 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2319
fbeafede
JM
23202012-11-03 Joseph Myers <joseph@codesourcery.com>
2321
5b5b04d6
JM
2322 [BZ #14796]
2323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2324 FE_TONEAREST before applying Dekker multiplication and Knuth
2325 addition. Clear inexact exceptions and check for exact zero
2326 results afterwards.
2327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2330 * math/libm-test.inc (fma_test): Add more tests.
2331 (fma_test_towardzero): Likewise.
2332 (fma_test_downward): Likewise.
2333 (fma_test_upward): Likewise.
2334 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2335 function.
2336 (libc_fesetround): New macro.
2337 (libc_fesetroundf): Likewise.
2338 (libc_fesetroundl): Likewise.
2339 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2340 function.
2341 (libc_fesetround_387): Likewise.
2342 (libc_fesetroundf): New macro.
2343 (libc_fesetround): Likewise.
2344 (libc_fesetroundl): Likewise.
2345 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2346 function.
2347 (libc_fesetroundf): New macro.
2348 (libc_fesetround): Likewise.
2349 (libc_fesetroundl): Likewise.
2350 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2351 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2352 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2353 libm_hidden_ver.
2354 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2355 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2356 libm_hidden_def.
2357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2358 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2359 libm_hidden_ver.
2360 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2361 libm_hidden_def.
2362
fbeafede
JM
2363 [BZ #3439]
2364 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2365 integer constant usable in #if and use that to give value to enum
2366 constant.
2367 (FE_DIVBYZERO): Likewise.
2368 (FE_UNDERFLOW): Likewise.
2369 (FE_OVERFLOW): Likewise.
2370 (FE_INVALID): Likewise.
2371 (FE_INVALID_SNAN): Likewise.
2372 (FE_INVALID_ISI): Likewise.
2373 (FE_INVALID_IDI): Likewise.
2374 (FE_INVALID_ZDZ): Likewise.
2375 (FE_INVALID_IMZ): Likewise.
2376 (FE_INVALID_COMPARE): Likewise.
2377 (FE_INVALID_SOFTWARE): Likewise.
2378 (FE_INVALID_SQRT): Likewise.
2379 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2380 (FE_TONEAREST): Likewise.
2381 (FE_TOWARDZERO): Likewise.
2382 (FE_UPWARD): Likewise.
2383 (FE_DOWNWARD): Likewise.
2384 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2385 (FE_DIVBYZERO): Likewise.
2386 (FE_OVERFLOW): Likewise.
2387 (FE_UNDERFLOW): Likewise.
2388 (FE_INEXACT): Likewise.
2389 (FE_TONEAREST): Likewise.
2390 (FE_DOWNWARD): Likewise.
2391 (FE_UPWARD): Likewise.
2392 (FE_TOWARDZERO): Likewise.
2393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2394 (FE_UNDERFLOW): Likewise.
2395 (FE_OVERFLOW): Likewise.
2396 (FE_DIVBYZERO): Likewise.
2397 (FE_INVALID): Likewise.
2398 (FE_TONEAREST): Likewise.
2399 (FE_TOWARDZERO): Likewise.
2400 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2401 (FE_OVERFLOW): Likewise.
2402 (FE_UNDERFLOW): Likewise.
2403 (FE_DIVBYZERO): Likewise.
2404 (FE_INEXACT): Likewise.
2405 (FE_TONEAREST): Likewise.
2406 (FE_TOWARDZERO): Likewise.
2407 (FE_UPWARD): Likewise.
2408 (FE_DOWNWARD): Likewise.
2409 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2410 (FE_DIVBYZERO): Likewise.
2411 (FE_OVERFLOW): Likewise.
2412 (FE_UNDERFLOW): Likewise.
2413 (FE_INEXACT): Likewise.
2414 (FE_TONEAREST): Likewise.
2415 (FE_DOWNWARD): Likewise.
2416 (FE_UPWARD): Likewise.
2417 (FE_TOWARDZERO): Likewise.
2418
105ca950
CM
24192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2420
2421 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2422
a542b389
AS
24232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2424
2425 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2426 commands. Quote $PWD.
2427 (blacklist_exports): Don't use remove_newlines. Replace "declare
2428 -x" by "export".
2429 (remove_newlines): Remove.
2430
f62c8abc
L
24312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2432
2433 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2434 * stdlib/stdlib.h (atof): Moved to ...
2435 * include/bits/stdlib-float.h: Here. New file.
2436 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2437 * stdlib/bits/stdlib-float.h: New file.
2438 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2439 -mno-sse -mno-mmx.
2440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2441 <xmmintrin.h>.
2442
0155d5b2
JM
24432012-11-02 Joseph Myers <joseph@codesourcery.com>
2444
a68d0680
JM
2445 * conform/conformtest.pl (@headers): Add fenv.h.
2446 * conform/data/fenv.h-data: New file.
2447 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2448 include of <math/fenv.h>.
2449
caf7f573
JM
2450 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2451 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2452 && !UNIX98]. Enables tests for XOPEN2K8.
2453 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2454 POSIX2008]: Likewise.
2455
6c073ad6
JM
2456 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2457 (struct rusage): Do not expect type or its members.
2458
0155d5b2
JM
2459 [BZ #3439]
2460 * math/math.h (FP_NAN): Define macro to integer constant usable in
2461 #if and use that to give value to enum constant.
2462 (FP_INFINITE): Likewise.
2463 (FP_ZERO): Likewise.
2464 (FP_SUBNORMAL): Likewise.
2465 (FP_NORMAL): Likewise.
2466
b5dcacb4
AS
24672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2468
2469 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2470 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2471 arguments.
2472
f7934be8
RM
24732012-11-02 Roland McGrath <roland@hack.frob.com>
2474
2475 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2476 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2477 autoconf-time if not.
2478 * configure.in: Remove AC_PREREQ.
2479
d7d08bde
TMQMF
24802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2481
2482 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2483 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2484 of the internal implementation.
2485
dcdae19a
JM
24862012-11-02 Joseph Myers <joseph@codesourcery.com>
2487
2488 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2489 except include of <misc/sys/syslog.h>.
2490
d6cffd3e
AS
24912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2492
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2494 function returns with a NULL context exit with zero.
2495
b3563932
TMQMF
24962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2497
2498 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2499
b288a93d
L
25002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2501
2502 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2503 (run_program_cmd): This.
2504 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2505 (tst_langinfo): New variable. Use it.
2506
a2421a68
SAS
25072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2508
2509 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2510 floating point opcodes.
2511
6f796e1b
TS
25122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2513
7402596b
TS
2514 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2515 variable.
2516
d0d4f868
TS
2517 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2518
6f796e1b
TS
2519 * sysdeps/mach/hurd/powerpc: Remove directory.
2520 * sysdeps/mach/powerpc: Likewise.
2521
4da224a2
AS
25222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2523
2524 * scripts/check-local-headers.sh: Ignore c++ headers.
2525
341dd673
TS
25262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2527
2528 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2529 __libc_cleanup_region_start argument.
2530
473611b2
JM
25312012-11-01 Joseph Myers <joseph@codesourcery.com>
2532
2533 [BZ #14784]
2534 [BZ #14785]
2535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2536 x * y using scaling, not as x * y + z.
2537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2539 * math/libm-test.inc (fma_test): Add more tests.
2540 (fma_test_towardzero): Likewise.
2541 (fma_test_downward): Likewise.
2542 (fma_test_upward): Likewise.
2543
4078da3d
TS
25442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2545
2546 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2547
903252aa
JM
25482012-10-31 Joseph Myers <joseph@codesourcery.com>
2549
2550 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2551 New variable.
2552
cbc818d0
TS
25532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2554
2555 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2556
5a03cb1e
AS
25572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2558
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2560 Fix sort order.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2562 Likewise.
2563
90aff2ff
TMQMF
25642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2565
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2567 Fix the order of the list for glibc 2.17.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2569 Likewise.
2570
1818fcb7
AS
25712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2572
2573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2574
ef82f4da
JM
25752012-10-31 Joseph Myers <joseph@codesourcery.com>
2576
16a0e2ec
JM
2577 [BZ #14610]
2578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2579 for low part of x being zero before using __atanl (y).
2580 * math/libm-test.inc (atan2_test): Add another test.
2581
0eb69512
JM
2582 * manual/install.texi (Configuring and compiling): Document
2583 general use of test-wrapper and test-wrapper-env.
2584 * INSTALL: Regenerated.
2585
ef82f4da
JM
2586 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2587 (__fma): Do not extract and scale down low bits on after-rounding
2588 systems when result rounded to normal precision would have normal
2589 exponent.
2590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2591 (__fmal): Do not extract and scale down low bits on after-rounding
2592 systems when result rounded to normal precision would have normal
2593 exponent.
2594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2595 (__fmal): Do not extract and scale down low bits on after-rounding
2596 systems when result rounded to normal precision would have normal
2597 exponent.
2598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2599 macro.
2600 (fma_test): Add more tests.
2601 (fma_test_towardzero): Likewise.
2602 (fma_test_downward): Likewise.
2603 (fma_test_upward): Likewise.
2604
954ef0d9
L
26052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2606
2607 * sysdeps/i386/tininess.h: Renamed to ...
2608 * sysdeps/x86/tininess.h: This.
2609 * sysdeps/x86_64/tininess.h: Removed.
2610
df61ffb2
JM
26112012-10-30 Joseph Myers <joseph@codesourcery.com>
2612
2613 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2614 input. Use $(build-program-cmd).
2615 ($(objpfx)tst-array1-static.out): Likewise.
2616 ($(objpfx)tst-array2.out): Likewise.
2617 ($(objpfx)tst-array3.out): Likewise.
2618 ($(objpfx)tst-array4.out): Likewise.
2619 ($(objpfx)tst-array5.out): Likewise.
2620 ($(objpfx)tst-array5-static.out): Likewise.
2621
01767843
CM
26222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2623
47cc1490
CM
2624 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2625 if defined.
2626
01767843
CM
2627 * nss/nsswitch.h (nss_interface_function): Provide new
2628 macro for use with NSS functions.
2629 * grp/initgroups.c: Use new macro.
2630 * nss/getXXbyYY.c: Likewise.
2631 * nss/getXXbyYY_r.c: Likewise.
2632 * nss/getXXent.c: Likewise.
2633 * nss/getXXent_r.c: Likewise.
2634 * sysdeps/posix/getaddrinfo.c: Likewise.
2635
8321aa97
AJ
26362012-10-30 Andreas Jaeger <aj@suse.de>
2637
2638 * po/ru.po: Update Russion translation from translation project.
2639
2a27fd6d
JM
26402012-10-30 Joseph Myers <joseph@codesourcery.com>
2641
8627a232
JM
2642 [BZ #14152]
2643 [BZ #14783]
2644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2645 result and shift together with sticky bit instead of replicating
2646 round-to-nearest rounding.
2647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2649 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2650 missing underflow exceptions.
2651 (fma_test_towardzero): Add more tests.
2652 (fma_test_downward): Likewise.
2653 (fma_test_upward): Likewise.
2654
2a27fd6d
JM
2655 [BZ #14047]
2656 * sysdeps/generic/tininess.h: New file.
2657 * sysdeps/i386/tininess.h: Likewise.
2658 * sysdeps/sh/tininess.h: Likewise.
2659 * sysdeps/x86_64/tininess.h: Likewise.
2660 * stdlib/tst-strtod-underflow.c: Likewise.
2661 * stdlib/tst-tininess.c: Likewise.
2662 * stdlib/strtod_l.c: Include <tininess.h>.
2663 (round_and_return): Do not set errno for exact underflow cases.
2664 Force an underflow exception when setting errno for underflow.
2665 Determine underflow based on rounding to normal precision if
2666 TININESS_AFTER_ROUNDING.
2667 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2668 ERANGE for exact underflow cases.
2669 * stdlib/Makefile (tests): Add tst-tininess and
2670 tst-strtod-underflow.
2671 ($(objpfx)tst-tininess): Use $(link-libm).
2672 ($(objpfx)tst-strtod-underflow): Likewise.
2673
e7170363
AJ
26742012-10-30 Andreas Jaeger <aj@suse.de>
2675
e5088dc6
AJ
2676 [BZ#14767]
2677 * elf/Makefile (tests): Remove conditional for have-initfini-array
2678 since this is now always required and the variable does not exist
2679 anymore.
2680 (tests-static): Likewise.
2681 (modules-names): Likewise.
2682
e7170363 2683 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2684
2685 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2686 merged with constructor/destructor.
2687 (init_array): Likewise.
2688 * elf/tst-array2dep.c (fini_array): Likewise.
2689 (init_array): Likewise.
2690
60457d8a
MF
26912012-10-29 Mike Frysinger <vapier@gentoo.org>
2692
2693 * manual/message.texi: Delete @cartouche tags.
2694
8bece752
PT
26952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2696
94ce799f
PT
2697 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2698 EOPNOTSUPP.
2699 * sysdeps/mach/hurd/fsync.c: Likewise.
2700
8bece752
PT
2701 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2702 [_POSIX_REALTIME_SIGNALS]: Change condition to
2703 [_POSIX_REALTIME_SIGNALS > 0].
2704
86ebe6b1
AJ
27052012-10-27 Andreas Jaeger <aj@suse.de>
2706
2707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2708 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2710 [__WORDSIZE != 64]: Likewise.
2711
54399c08
L
27122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 * iconvdata/tst-table.sh: Remove ${SHELL}.
2715 * iconvdata/tst-tables.sh: Likewise.
2716
e2211bed
DM
27172012-10-25 David S. Miller <davem@davemloft.net>
2718
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2720 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2721 of strtoull.
2722
f303f97c
DM
2723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2724 ifunc-impl-list.c
2725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2726 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2728 file.
2729
1e9d84cd
RM
27302012-10-25 Roland McGrath <roland@hack.frob.com>
2731
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2733 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2734 __getdirentries.
2735
df381762
JM
27362012-10-25 Joseph Myers <joseph@codesourcery.com>
2737 Jim Blandy <jimb@codesourcery.com>
2738
2739 * scripts/cross-test-ssh.sh: New file.
2740 * manual/install.texi (Configuring and compiling): Document use of
2741 cross-test-ssh.sh.
2742 * INSTALL: Regenerated.
2743
bff64913
PT
27442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2745
2746 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2747 EOPNOTSUPP.
2748
25fe8932
JM
27492012-10-25 Joseph Myers <joseph@codesourcery.com>
2750
2751 * Makeconfig (run-program-prefix): Fix comment.
2752
cc1290d0
JM
27532012-10-24 Joseph Myers <joseph@codesourcery.com>
2754 Jim Blandy <jimb@codesourcery.com>
2755
2756 * Makeconfig (test-wrapper): New variable,
2757 (test-wrapper-env): Likewise.
2758 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2759 (run-built-tests): Define to yes.
2760 (run-program-prefix): Use $(test-wrapper).
2761 (built-program-cmd): Likewise.
2762 * Rules (make-test-out): Use $(test-wrapper-env) and
2763 $(host-built-program-cmd).
2764 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2765 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2766 tst-pathopt.sh.
2767 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2768 $(test-wrapper-env) to tst-rtld-load-self.sh.
2769 ($(objpfx)order2.out): Use $(test-wrapper).
2770 ($(objpfx)tst-initorder.out): Likewise.
2771 ($(objpfx)tst-initorder2.out): Likewise.
2772 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2773 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2774 (test_wrapper_env): New variable. Use it to run ld.so.
2775 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2776 Use it to run ld.so.
2777 (test_wrapper_env): Likewise.
2778 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2779 $(test-wrapper) to run-iconv-test.sh.
2780 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2781 (ICONV): Use $test_wrapper.
2782 * posix/Makefile ($(objpfx)globtest.out): Pass
2783 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2784 globtest.sh, not $(run-program-prefix).
2785 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2786 (test_wrapper): Likewise.
2787 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2788 set together with run_via_rtld_prefix.
2789 (run_program_prefix): Define in terms of test_wrapper and
2790 run_via_rtld_prefix.
2791
6e6249d0
RM
27922012-10-24 Roland McGrath <roland@hack.frob.com>
2793
2794 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2795 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2796 Targets removed.
2797
2798 [BZ #14743]
2799 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2800 Declare __clock_getres, __clock_gettime, __clock_settime,
2801 __clock_nanosleep, and __clock_getcpuclockid.
2802 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2803 Remove librt_hidden_def (clock_gettime).
2804 * sysdeps/unix/clock_gettime.c: Likewise.
2805 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2807 * rt/clock_getres.c: Define __clock_getres as an alias.
2808 * sysdeps/posix/clock_getres.c: Likewise.
2809 * rt/clock_settime.c: Define __clock_settime as an alias.
2810 * sysdeps/unix/clock_settime.c: Likewise.
2811 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2812 * sysdeps/unix/clock_nanosleep.c: Likewise.
2813 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2814 * rt/clock-compat.c: New file.
2815 * rt/Makefile (librt-routines): Add clock-compat and move
2816 $(clock-routines) to ...
2817 (routines): ... here, new variable.
2818 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2819 Don't add get_clockfreq here.
2820 * rt/Versions (libc: GLIBC_2.17): New version set.
2821 Add clock_* symbols here.
2822 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2824 (GLIBC_2.17): Add clock_* symbols.
2825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2829 Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2836 * NEWS: Mention the move.
2837
2838 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2839 Use __open, __read, __close rather than their public counterparts.
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2841 (__get_clockfreq_via_cpuinfo): Likewise.
2842 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2843 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2844
2845 * config.h.in (HAVE_IFUNC): New #undef.
2846 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2847 was successful.
2848 * configure: Regenerated.
2849
0cae3f4b
MF
28502012-10-24 Mike Frysinger <vapier@gentoo.org>
2851
2852 * configure.in: Move READELF check to start of file.
2853 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2854 libc_cv_asm_gnu_indirect_function in the process.
2855 * configure: Regenerated.
2856
8175a253
MF
28572012-10-24 Mike Frysinger <vapier@gentoo.org>
2858
2859 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2860 send the output to /dev/null.
2861 (libc_cv_cc_with_libunwind): Likewise.
2862 (libc_cv_as_noexecstack): Likewise.
2863 * configure: Regenerate.
2864
0708a7d1
JM
28652012-10-24 Joseph Myers <joseph@codesourcery.com>
2866
10b40d85
JM
2867 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2868
0708a7d1
JM
2869 * posix/globtest.sh (TMPDIR): Do not set.
2870 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2871 (testout): Likewise.
2872
9fddec1a
AJ
28732012-10-24 Andreas Jaeger <aj@suse.de>
2874
3a8db22f
AJ
2875 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2876 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2877 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2878 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2879 posix_fadvise64, posix_fallocate64.
2880
9fddec1a
AJ
2881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2882 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2883 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2884 Likewise.
2885 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2886 Likewise.
2887 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2888
2889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2890 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2891 <bits/fcntl-linux.h>.
2892 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2893
2894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2895 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2896 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2897 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2898 [__WORDSIZE != 64]: Likewise.
2899
ebfd1bbd
JM
29002012-10-23 Joseph Myers <joseph@codesourcery.com>
2901
03ac099f
JM
2902 * Makeconfig (run-built-tests): New variable.
2903 * Rules [$(cross-compiling) = yes]: Change condition to
2904 [$(run-built-tests) = no].
2905 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2906 to [$(run-built-tests) = yes].
2907 * elf/Makefile [$(cross-compiling) = no]: Likewise
2908 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2909 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2910 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2911 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2912 * io/Makefile [$(cross-compiling) = no]: Likewise.
2913 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2914 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2915 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2916 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2917 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2918 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2919 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2920 * string/Makefile [$(cross-compiling) = no]: Likewise.
2921
ebfd1bbd
JM
2922 * posix/Makefile ($(objpfx)globtest.out): Pass
2923 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2924 $(rtld-installed-name).
2925 * posix/globtest.sh (elf_objpfx): Remove variable.
2926 (rtld_installed_name): Likewise.
2927 (library_path): Likewise.
2928 (run_program_prefix): New variable. Use for running globtest
2929 binary.
2930
166bca24
JB
29312012-10-23 Jim Blandy <jimb@codesourcery.com>
2932 Joseph Myers <joseph@codesourcery.com>
2933
2934 * Makeconfig (host-built-program-cmd): New variable.
2935 * elf/Makefile (tst-stackguard1-ARGS): Use
2936 $(host-built-program-cmd).
2937 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2938 (tst-spawn-ARGS): Likewise.
2939 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2940
88866099
JM
29412012-10-23 Joseph Myers <joseph@codesourcery.com>
2942 Jim Blandy <jimb@codesourcery.com>
2943
2944 * Makeconfig (run-via-rtld-prefix): New variable.
2945 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2946 (built-program-cmd): Likewise.
2947
b4b4c296
AJ
29482012-10-22 Andreas Jaeger <aj@suse.de>
2949
2950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2951 __O_RSYNC if it exists, otherwise to O_SYNC.
2952
6fb54a22
JB
29532012-10-22 Jim Blandy <jimb@codesourcery.com>
2954 Joseph Myers <joseph@codesourcery.com>
2955
2956 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2957 /dev/null.
2958 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2959 from /dev/null
2960 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2961 /dev/null.
2962
481b90b9
AJ
29632012-10-22 Andreas Jaeger <aj@suse.de>
2964
2a0e2669
AJ
2965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2966 Define always.
2967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2968
76e38f9a
AJ
2969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2970 bits/fcntl-linux.h.
2971
7cd37b43
AJ
2972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2973 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2974
481b90b9
AJ
2975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2976 to __O_LARGEFILE.
2977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2978 to __O_LARGEFILE.
2979
aba75984
JB
29802012-10-21 Jim Blandy <jimb@codesourcery.com>
2981 Joseph Myers <joseph@codesourcery.com>
2982
2983 * config.make.in (NM): New variable.
2984
88d4247f
AJ
29852012-10-21 Andreas Jaeger <aj@suse.de>
2986
2987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2988 definitions and declarations that are provided by
2989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2990
f2eed205
L
29912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2992
2993 [BZ #14683]
2994 * elf/Makefile (tests-static): Add tst-leaks1-static.
2995 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2996 ($(objpfx)tst-leaks1-static): New rule.
2997 ($(objpfx)tst-leaks1-static-mem): Likewise.
2998 (tst-leaks1-static-ENV): New macro.
2999 * elf/dl-open.c (dl_open_worker): Check the main application
3000 only if SHARED is defined.
3001 * elf/tst-leaks1-static.c: New file.
3002
335e6931
AJ
30032012-10-20 Andreas Jaeger <aj@suse.de>
3004
3005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3006 generic values for Linux.
3007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3008 and declarations that are provided by <bits/fcntl-linux.h> and
3009 include <bits/fcntl-linux.h>.
3010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3012
ac5c94d3
RM
30132012-10-20 Roland McGrath <roland@hack.frob.com>
3014
3015 * io/fcntl.h: Move include of <bits/types.h> to the top and
3016 include it unconditionally.
3017
de54b33a
L
30182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3019
228cfb01
L
3020 * wcsmbs/Makefile (tests-ifunc): New variable.
3021 (tests): Add $(tests-ifunc).
3022 * wcsmbs/test-wcschr-ifunc.c: New file.
3023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3028
69f07e5f
L
3029 * string/Makefile (tests-ifunc): New variable.
3030 (tests): Add $(tests-ifunc).
3031 * string/test-memccpy.c (TEST_NAME): New macro.
3032 * string/test-memchr.c (TEST_NAME): Likewise.
3033 * string/test-memcmp.c (TEST_NAME): Likewise.
3034 * string/test-memcpy.c (TEST_NAME): Likewise.
3035 * string/test-memmem.c (TEST_NAME): Likewise.
3036 * string/test-memmove.c (TEST_NAME): Likewise.
3037 * string/test-memset.c (TEST_NAME): Likewise.
3038 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3039 * string/test-stpcpy.c (TEST_NAME): Likewise.
3040 * string/test-stpncpy.c (TEST_NAME): Likewise.
3041 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3042 * string/test-strcasestr.c (TEST_NAME): Likewise.
3043 * string/test-strcat.c (TEST_NAME): Likewise.
3044 * string/test-strchr.c (TEST_NAME): Likewise.
3045 * string/test-strcmp.c(TEST_NAME): Likewise.
3046 * string/test-strcpy.c (TEST_NAME): Likewise.
3047 * string/test-strcspn.c (TEST_NAME): Likewise.
3048 * string/test-strlen.c (TEST_NAME): Likewise.
3049 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3050 * string/test-strncmp.c (TEST_NAME): Likewise.
3051 * string/test-strncpy.c (TEST_NAME): Likewise.
3052 * string/test-strnlen.c (TEST_NAME): Likewise.
3053 * string/test-strpbrk.c (TEST_NAME): Likewise.
3054 * string/test-strrchr.c (TEST_NAME): Likewise.
3055 * string/test-strspn.c (TEST_NAME): Likewise.
3056 * string/test-strstr.c (TEST_NAME): Likewise.
3057 * string/test-bcopy-ifunc.c: New file.
3058 * string/test-bzero-ifunc.c: Likewise.
3059 * string/test-memccpy-ifunc.c: Likewise.
3060 * string/test-memchr-ifunc.c: Likewise.
3061 * string/test-memcmp-ifunc.c: Likewise.
3062 * string/test-memcpy-ifunc.c: Likewise.
3063 * string/test-memmem-ifunc.c: Likewise.
3064 * string/test-memmove-ifunc.c: Likewise.
3065 * string/test-mempcpy-ifunc.c: Likewise.
3066 * string/test-memset-ifunc.c: Likewise.
3067 * string/test-rawmemchr-ifunc.c: Likewise.
3068 * string/test-stpcpy-ifunc.c: Likewise.
3069 * string/test-stpncpy-ifunc.c: Likewise.
3070 * string/test-strcasecmp-ifunc.c: Likewise.
3071 * string/test-strcasestr-ifunc.c: Likewise.
3072 * string/test-strcat-ifunc.c: Likewise.
3073 * string/test-strchr-ifunc.c: Likewise.
3074 * string/test-strchrnul-ifunc.c: Likewise.
3075 * string/test-strcmp-ifunc.c: Likewise.
3076 * string/test-strcpy-ifunc.c: Likewise.
3077 * string/test-strcspn-ifunc.c: Likewise.
3078 * string/test-strlen-ifunc.c: Likewise.
3079 * string/test-strncasecmp-ifunc.c: Likewise.
3080 * string/test-strncat-ifunc.c: Likewise.
3081 * string/test-strncmp-ifunc.c: Likewise.
3082 * string/test-strncpy-ifunc.c: Likewise.
3083 * string/test-strnlen-ifunc.c: Likewise.
3084 * string/test-strpbrk-ifunc.c: Likewise.
3085 * string/test-strrchr-ifunc.c: Likewise.
3086 * string/test-strspn-ifunc.c: Likewise.
3087 * string/test-strstr-ifunc.c: Likewise.
3088
de54b33a
L
3089 * debug/Makefile (tests-ifunc): New variable.
3090 (tests): Add $(tests-ifunc).
3091 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3092 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3093 * debug/test-stpcpy_chk-ifunc.c: New file.
3094 * debug/test-strcpy_chk-ifunc.c: Likewise.
3095
88481c16
SP
30962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3097
3098 [BZ #13601]
3099 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3100 header is not read in.
3101
135948bd
JM
31022012-10-19 Joseph Myers <joseph@codesourcery.com>
3103
89f1c388
JM
3104 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3105 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3106 directly. Pass built executable to script as
3107 $(built-program-cmd).
3108 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3109 $testprogram without using LD_LIBRARY_PATH and $ldso.
3110
e40a0d21
JM
3111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3112 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3113 $(rtld-installed-name).
3114 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3115 (rtld_installed_name): Likewise.
3116 (library_path): Likewise.
3117 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3119 $(run-program-prefix) to tst-tables.sh.
3120 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3121 it to run tst-table-from and tst-table-to.
3122 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3123 Pass it to tst-table.sh.
3124 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3125 $(run-program-prefix) to tst-gettext.sh.
3126 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3127 tst-translit.sh.
3128 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3129 tst-gettext2.sh.
3130 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3131 to run tst-gettext.
3132 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3133 to run tst-gettext2.
3134 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3135 to run tst-translit.
3136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3137 $(run-program-prefix) to tst-mtrace.sh.
3138 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3139 to run tst-mtrace.
3140 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3141 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3142 $(rtld-installed-name).
3143 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3144 (rtld_installed_name): Likewise.
3145 (run_program_prefix): New variable. Use it to run wordexp-test.
3146
728e272a
JM
3147 * Makeconfig (ARCH): Remove all definitions.
3148 (machine): Likewise.
3149 [ARCH]: Remove conditional code.
3150 [!objdir]: Give error.
3151 [!objdir] (objpfx): Remove.
3152 [!objdir] (common-objpfx): Likewise.
3153 [!objdir] (common-objdir): Likewise.
3154 * configure.in (config_makefile): Remove. Hardcode Makefile in
3155 AC_CONFIG_FILES call.
3156 * configure: Regenerated.
3157
d528cdcf
JM
3158 [BZ #13888]
3159 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3160 or TMPDIR.
3161 (testout): Likewise.
3162
135948bd
JM
3163 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3164 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3165 $(rtld-installed-name).
3166 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3167 (rtld_installed_name): Likwise.
3168 (runit): Remove function.
3169 (run_getconf): New variable, Use it for running getconf binary.
3170
38c78296
L
31712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3172
3173 [BZ #14716]
3174 * string/test-memmem.c (check_result): New function.
3175 (do_one_test): Use it.
3176 (check1): New function.
3177 (test_main): Use it.
3178
d077f65f
MT
31792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3180
3181 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3182
ced52c71
JM
31832012-10-18 Joseph Myers <joseph@codesourcery.com>
3184
3185 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3186 (_G_LSEEK64): Likewise.
3187 (_G_MMAP64): Likewise.
3188 (_G_FSTAT64): Likewise.
3189 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3190 (_G_LSEEK64): Likewise.
3191 (_G_MMAP64): Likewise.
3192 (_G_FSTAT64): Likewise.
3193 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3194 unconditional. Call __mmap64 directly.
3195 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3196 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3197 __lseek64 directly.
3198 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3199 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3200 __mmap64 directly.
3201 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3202 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3203 __lseek64 directly.
3204 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3205 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3206 __lseek64 directly.
3207 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3208 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3209 __lseek64 directly.
3210 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3211 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3212 __fxstat64 directly.
3213 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3214 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3215 unconditional.
3216 (freopen64) [!_G_OPEN64]: Remove conditional code.
3217 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3218 unconditional.
3219 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3220 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3221 unconditional.
3222 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3223 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3224 unconditional.
3225 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3226 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3227 unconditional.
3228 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3229 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3230 unconditional.
3231 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3232 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3233 unconditional.
3234 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3235 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3236 unconditional.
3237 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3238
b741de23
SP
32392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3240
3241 [BZ #12140]
3242 * manual/memory.texi (Malloc Tunable Parameters): Add note
3243 about free list pointers overwriting some perturb bytes.
3244 Wording suggested by Roland McGrath.
3245
f9b9d9c9
JM
32462012-10-17 Joseph Myers <joseph@codesourcery.com>
3247
3248 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3249 (lgamma_test): Likewise.
3250 (tgamma_test): Likewise.
3251
172a631a
FW
32522012-10-16 Florian Weimer <fweimer@redhat.com>
3253
3254 [BZ #14700]
3255 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3256 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3257
e9f37252
MK
32582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3259
3260 * NEWS: Mention BZ #14716.
3261 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3262 when removing AVAILABLE1_USES_J macro.
3263
d394eb74
L
32642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3265
3266 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3267 (__bswap_64): __uint64_t for unsigned 64-bit int.
3268
ca38dc17
AS
32692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3270
3271 * include/string.h (memmem): Declare libc hidden alias.
3272 * string/memmem.c (memmem): Define libc hidden alias.
3273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3274 __read, __close instead of open, read, close.
3275
9a387d1f
L
32762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3277
ac49ecaf
L
3278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3279 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3280 global and hidden.
3281 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3283 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3284 Likewise.
3285 (__rawmemchr_sse2): Likewise.
3286 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3288 (__strchr_sse2): Likewise.
3289 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3290 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3291 (__strcasecmp_sse2): Likewise.
3292 (__strncasecmp_sse2): Likewise.
3293 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3294 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3295 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3296 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3297 (__strrchr_sse2): Likewise.
3298 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3299 ifunc-impl-list.c.
3300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3303 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3308 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3309 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3310 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3311 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3318 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3319 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3320 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3321 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3322 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3324 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3326 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3328 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3330
b090e8ea
L
3331 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3332 global and hidden.
3333 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3334 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3335 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3336 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3337 Likewise.
3338 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3339 Likewise.
3340 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3341 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3342 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3343 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3344 ifunc-impl-list.c.
3345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3362 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3371 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3372 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3386
11dd4af6
L
3387 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3388 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3389 * include/ifunc-impl-list.h: New file.
3390 * misc/ifunc-impl-list.c: Likewise.
3391 * misc/Makefile (routines): Add ifunc-impl-list.
3392 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3393 * string/test-string.h: Include <ifunc-impl-list.h>.
3394 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3395 impl_array): New variables.
3396 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3397 are defined.
3398 (test_init): Call __libc_ifunc_impl_list to initialize
3399 func_list if TEST_IFUNC and TEST_NAME are defined.
3400
9a387d1f
L
3401 * string/Makefile (strop-tests): Add bcopy and bzero.
3402 * string/test-bcopy.c: New file.
3403 * string/test-bzero.c: Likewise.
3404 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3405 defined.
3406 * string/test-memset.c: Support bzero test if TEST_BZERO is
3407 defined.
3408 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3409 __libc_memmove.
3410 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3411 __libc_memset.
3412 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3413 of memset.
3414
472371b9
JM
34152012-10-10 Joseph Myers <joseph@codesourcery.com>
3416
1e4a9536
JM
3417 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3418 * configure: Regenerated.
3419
d173d12e
JM
3420 * Makeconfig (+link-static-before-libc): Don't include
3421 $(link-static-libc).
3422
472371b9
JM
3423 * libio/libio.h (_IO_pos_t): Remove.
3424
89a3ad0b
AO
34252012-10-10 Alexandre Oliva <aoliva@redhat.com>
3426
3427 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3428 McGrath.
3429
e7451425
AO
34302012-10-10 Alexandre Oliva <aoliva@redhat.com>
3431
3432 * crypt/crypt-entry.c: Include fips-private.h.
3433 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3434 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3435 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3436 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3437
4ba74a35
AO
34382012-10-10 Alexandre Oliva <aoliva@redhat.com>
3439
3440 * crypt/crypt-private.h: Include stdbool.h.
3441 (_ufc_setup_salt_r): Return bool.
3442 * crypt/crypt-entry.c: Include errno.h.
3443 (__crypt_r): Return NULL with EINVAL for bad salt.
3444 * crypt/crypt_util.c (bad_for_salt): New.
3445 (_ufc_setup_salt_r): Check that salt is long enough and within
3446 the specified alphabet.
3447 * crypt/badsalttest.c: New file.
3448 * crypt/Makefile (tests): Add it.
3449 ($(objpfx)badsalttest): New.
3450
f96f1242
MK
34512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3452
3453 * NEWS: Add entry for BZ #14602.
3454
0e8e0c1c
JM
34552012-10-09 Joseph Myers <joseph@codesourcery.com>
3456
3457 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3458 type-generic.
3459 * math/libm-test.inc: Update comment listing what functions and
3460 macros are tested.
3461 (isgreater_test): New function.
3462 (isgreaterequal_test): Likewise.
3463 (isless_test): Likewise.
3464 (islessequal_test): Likewise.
3465 (islessgreater_test): Likewise.
3466 (isunordered_test): Likewise.
3467 (main): Call the new functions.
3468
273edc5e
RM
34692012-10-09 Roland McGrath <roland@hack.frob.com>
3470
b8493de0
RM
3471 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3472 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3473 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3474 * sysdeps/i386/configure: Regenerated.
3475 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3476 * sysdeps/mach/configure: Regenerated.
3477 * sysdeps/mach/hurd/configure: Regenerated.
3478 * sysdeps/powerpc/configure: Regenerated.
3479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3481 * sysdeps/s390/s390-32/configure: Regenerated.
3482 * sysdeps/s390/s390-64/configure: Regenerated.
3483 * sysdeps/sh/configure: Regenerated.
3484 * sysdeps/sparc/configure: Regenerated.
3485 * sysdeps/unix/sysv/linux/configure: Regenerated.
3486 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3487 * sysdeps/x86_64/configure: Regenerated.
3488
273edc5e
RM
3489 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3490 defined. Don't check if MAP is NULL.
3491
c8450f70
JM
34922012-10-09 Joseph Myers <joseph@codesourcery.com>
3493
3494 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3495 (_G_stat64): Likewise.
3496 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3497 (_G_stat64): Likewise.
3498 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3499 instead of struct _G_stat64.
3500 * libio/fileops.c (mmap_remap_check): Likewise.
3501 (decide_maybe_mmap): Likewise.
3502 (_IO_new_file_seekoff): Likewise.
3503 (_IO_file_stat): Likewise.
3504 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3505 _G_off64_t.
3506 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3507 instead of struct _G_stat64.
3508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3509
57e605ba
MK
35102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3511
3512 [BZ #14602]
3513 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3514 Replace with ...
3515 (CHECK_EOL): New macro.
3516 (two_way_short_needle): Check beginning of haystack for EOL. Use
3517 CHECK_EOL.
3518 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3519 Replace with CHECK_EOL.
3520 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3521 Replace with CHECK_EOL.
3522
ef1bb361
JM
35232012-10-08 Joseph Myers <joseph@codesourcery.com>
3524
3525 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3526 type-generic.
3527 * math/libm-test.inc: Update comment listing what functions and
3528 macros are tested.
3529 (finite_test): New function.
3530 (isinf_test): Likewise.
3531 (isnan_test): Likewise.
3532 (fpclassify_test): Test subnormal input.
3533 (isfinite_test): Likewise.
3534 (isnormal_test): Likewise.
3535 (main): Call the new functions.
3536
55f11534
JN
35372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3538
3539 [BZ #14660]
3540 * Makerules (%.dynsym): Force C locale when running
3541 $(OBJDUMP) --dynamic-syms.
3542
1ab29350
AS
35432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3544
3545 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3546 <stdint.h>.
3547
f1ecb7ef
DM
35482012-10-06 David S. Miller <davem@davemloft.net>
3549
3550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3551 upper 32-bits of the length value in %o2 since we use branch-on-register
3552 tests which consider the entire 64-bit register.
3553
5d41d91a
L
35542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * string/test-strstr.c (check2): Add a test for page boundary.
3557
3baddb72
DM
35582012-10-05 David S. Miller <davem@davemloft.net>
3559
3560 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3562 file.
3563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3564 sysdep_routines.
3565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3566 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3567 and bzero when HWCAP_SPARC_CRYPTO is present.
3568
9cee5585
L
35692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3570
d7e0dab9
L
3571 [BZ #14602]
3572 * string/test-strstr.c (check2): New function.
3573 (test_main): Call check2.
3574
03759f47
L
3575 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3576 and bug-strchr1.
3577 * string/bug-strcasestr1.c (do_test): Moved to ...
3578 * string/test-strcasestr.c (check1): Here. New function.
3579 (do_one_test): Break out result checking code into ...
3580 (check_result): This. New function.
3581 (do_one_test): Call check_result.
3582 (test_main): Call check1.
3583 * string/bug-strchr1.c (do_test): Moved to ...
3584 * string/test-strchr.c (check1): Here. New function.
3585 (do_one_test): Break out result checking code into ...
3586 (check_result): This. New function.
3587 (do_one_test): Call check_result.
3588 (test_main): Call check1.
3589 * string/bug-strstr1.c (main): Moved to ...
3590 * string/test-strchr.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-strcasestr1.c: Removed.
3596 * string/bug-strchr1.c: Likewise.
3597 * string/bug-strstr1.c: Likewise.
3598
53cea63e
L
3599 * elf/Makefile (dl-routines): Add hwcaps.
3600 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3601 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3602 (_dl_important_hwcaps): Moved to ...
3603 * elf/dl-hwcaps.c: Here. New file.
3604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3605
9cee5585 3606 [BZ #14557]
bb859b06
L
3607 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3608 if IS_IN_rtld isn't defined.
3609
9cee5585
L
3610 * elf/dl-support.c (_dl_sysinfo_map): New.
3611 Include "get-dynamic-info.h" and "setup-vdso.h".
3612 (_dl_non_dynamic_init): Call setup_vdso.
3613 * elf/dynamic-link.h: Don't include <assert.h>.
3614 (elf_get_dynamic_info): Moved to ...
3615 * elf/get-dynamic-info.h: Here. New file.
3616 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3617 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3618 * elf/setup-vdso.h: Here. New file.
3619 * elf/rtld.c: Include "setup-vdso.h".
3620 (dl_main): Call setup_vdso.
3621
23c31b76
JM
36222012-10-05 Joseph Myers <joseph@codesourcery.com>
3623
28234b07
JM
3624 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3625 creal in comment listing functions tested. List finite, isinf,
3626 isnan, isless, islessequal, isgreater, isgreaterequal,
3627 islessgreater, isunordered, lgamma_r and pow10 as functions and
3628 macros not tested. Mention which functions not tested are aliases
3629 for other functions. Fix typo. Note that signs of NaNs are not
3630 tested.
3631
23c31b76
JM
3632 * scripts/config.guess: Update from config.git.
3633 * scripts/config.sub: Likewise.
3634
9043e228
RM
36352012-10-04 Roland McGrath <roland@hack.frob.com>
3636
3637 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3638 * misc/madvise.c (madvise): Renamed to __madvise.
3639 Make madvise a weak alias.
3640 * include/sys/mman.h: Declare __madvise.
3641 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3642 * sysdeps/unix/syscalls.list
3643 (madvise): Make __madvise the strong name, and madvise a weak alias.
3644 * sysdeps/unix/sysv/linux/syscalls.list
3645 (madvise, mmap): Remove redundant entries.
3646 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3647 * malloc/malloc.c (mtrim): Likewise.
3648 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3649
f57f8055
RM
36502012-10-03 Roland McGrath <roland@hack.frob.com>
3651
3652 * sysdeps/mach/hurd/dl-cache.c: File removed.
3653 * config.h.in (USE_LDCONFIG): New #undef.
3654 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3655 * configure: Regenerated.
3656 * elf/Makefile (dl-routines): Add dl-cache only under
3657 [$(use-ldconfig) = yes].
3658 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3659 cache on [USE_LDCONFIG].
3660 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3661 [USE_LDCONFIG].
3662 * elf/rtld.c (dl_main): Likewise.
3663
5bb0c10a
PT
36642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3665
3666 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3667 _SC_LEVEL4_CACHE_LINESIZE.
3668
010188c6
RM
36692012-10-03 Roland McGrath <roland@hack.frob.com>
3670
3671 * sysdeps/unix/bsd/confstr.h: File removed.
3672
b6c5ec07
AO
36732012-10-02 Alexandre Oliva <aoliva@redhat.com>
3674
3675 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3676 sys/sdt-config.h.
3677
408223d4
RM
36782012-10-02 Roland McGrath <roland@hack.frob.com>
3679
3680 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3681 Make 'mapoff' field ElfW(Off) rather than off_t.
3682
bb9510dc
DL
36832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3684
fc997c6e
DL
3685 * nscd/Makefile: Remove nscd-cflags and all its users.
3686 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3687 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3688
bb9510dc
DL
3689 [BZ #10631]
3690 * malloc.c (malloc_printerr): Clarify error message.
3691
05699367
L
36922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3693
3694 [BZ #14648]
3695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3696 Set bit_FMA_Usable if FMA is supported.
3697 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3698 macro.
3699 (bit_FMA4_Usable): Updated.
3700 (index_FMA_Usable): New macro.
3701 (CPUID_FMA): Likewise
3702 (HAS_FMA): Defined with bit_FMA_Usable.
3703
51367701
RM
37042012-10-01 Roland McGrath <roland@hack.frob.com>
3705
3706 * bits/types.h (__swblk_t): Type removed.
3707 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3708 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3710 (__SWBLK_T_TYPE): Likewise.
3711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3712 (__SWBLK_T_TYPE): Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3714 (__SWBLK_T_TYPE): Likewise.
3715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3716 (__SWBLK_T_TYPE): Likewise.
3717
4d57bf63 37182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3719 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3720
3721 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3722 (xdr_mapname): Use YPMAXMAP as maxsize.
3723 (xdr_peername): Use YPMAXPEER as maxsize.
3724 (xdr_keydat): Use YPAXRECORD as maxsize.
3725 (xdr_valdat): Use YPMAXRECORD as maxsize.
3726
93c65d43
RM
37272012-10-01 Roland McGrath <roland@hack.frob.com>
3728
497a03d6
RM
3729 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3730
93c65d43
RM
3731 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3732 * csu/init-first.c: ... here.
3733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3737 * sysdeps/i386/init-first.c: File removed.
3738 * sysdeps/sh/init-first.c: File removed.
3739
bec749fd
JM
37402012-10-01 Joseph Myers <joseph@codesourcery.com>
3741
3742 [BZ #14645]
3743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3744 if x * y might underflow to zero and z is zero.
3745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3747 * math/libm-test.inc (min_subnorm_value): New variable.
3748 (fma_test): Add more tests.
3749 (fma_test_towardzero): Likewise.
3750 (fma_test_downward): Likewise
3751 (fma_test_upward): Likewise.
3752 (initialize): Set min_subnorm_value.
3753
8ec5b013
JM
37542012-09-29 Joseph Myers <joseph@codesourcery.com>
3755
3756 [BZ #14638]
3757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3758 0 + 0.
3759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3760 mode for addition resulting in exact zero.
3761 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3763 exact 0 + 0.
3764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3766 * math/libm-test.inc (fma_test): Add more tests.
3767 (fma_test_towardzero): New function.
3768 (fma_test_downward): Likewise.
3769 (fma_test_upward): Likewise.
3770 (main): Call the new functions.
3771
b1fa802e
DM
37722012-09-28 David S. Miller <davem@davemloft.net>
3773
3774 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3775
d3b9fd9e
RM
37762012-09-28 Roland McGrath <roland@hack.frob.com>
3777
ea4d37b3
RM
3778 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3779 instead of SIGALRM.
3780
ac51c949
RM
3781 * sysdeps/gnu/_G_config.h: Moved to ...
3782 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3783 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3784 * sysdeps/generic/_G_config.h: ... here.
3785
28c195f7
RM
3786 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3787
848917f9
RM
3788 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3789
6bacf05b
RM
3790 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3791 Conditionalize target on [libnss_test1.so-version].
3792
91363dbb
RM
3793 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3794
cc87f7d8
RM
3795 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3796 (elfobjdir): Move out of conditionals.
3797
b1c608fe
RM
3798 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3799 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3800 (__nss_lookup_function): Conditionalize label remove_from_tree on
3801 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3802
1d9a6d96
DM
38032012-09-28 David S. Miller <davem@davemloft.net>
3804
3805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3807 file.
3808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3809 sysdep_routines.
3810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3812 when HWCAP_SPARC_CRYPTO is present.
3813
72581615
PT
38142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3815
3816 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3817
715a900c
JL
38182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3819
3820 [BZ #6530]
3821 * stdio-common/vfprintf.c (process_string_arg): Revert
3822 2000-07-22 change.
3823
38242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3825
3826 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3827 for testcase.
3828 * stdio-common/tst-sprintf.c: Include <locale.h>
3829 (main): Test sprintf's handling of incomplete multibyte
3830 characters.
3831
9bac1d86
L
38322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3833
3834 * elf/dl-runtime.c (VERSYMIDX): Removed.
3835 * elf/dl-version.c (VERSYMIDX): Likewise.
3836 * elf/do-rel.h (VERSYMIDX): Likewise.
3837 (VALIDX): Likewise.
3838 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3839 * elf/rtld.c (VALIDX): Likewise.
3840 (ADDRIDX): Likewise.
9bac1d86
L
3841 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3842 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3843 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3844 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3845 (VALIDX): Likewise.
3846 (ADDRIDX): Likewise.
9bac1d86 3847
b31606c0
PT
38482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3849
3850 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3851
11541177
JL
38522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3853
3854 [BZ #11438]
3855 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3856 to global scope.
3857 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3858 addresses are in the same scope as 192.0.2/24.
3859 * posix/gai.conf: Document new scope table defaults.
3860
adb26fae
SP
38612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3862
3863 [BZ #5298]
3864 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3865 for ftell. Compute offsets from write pointers instead.
3866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3867
4573c6b0
SP
38682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3869
3870 [BZ #14543]
3871 * libio/Makefile (tests): New test case tst-fseek.
3872 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3873 combination works in wide mode.
3874 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3875 state when the external buffer state changes.
3876
aa9bbfe6
DM
38772012-09-27 David S. Miller <davem@davemloft.net>
3878
3879 [BZ #14376]
3880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3881 pass reloc->r_addend in as the 'high' argument to
3882 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3883
784421e7
DM
3884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3885
c39bc8b8
PT
38862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3887
3888 * rt/tst-aio2.c: Include <pthread.h>.
3889 * rt/tst-aio3.c: Likewise.
3890
1ccc2399
SE
38912012-09-27 Steve Ellcey <sellcey@mips.com>
3892
3893 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3894
31ed4153
L
38952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3896
25f5f885
L
3897 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3898 contents on [SHARED].
31ed4153 3899
b7bfe116
MP
39002012-09-26 Marek Polacek <polacek@redhat.com>
3901
3902 [BZ #14530]
3903 [BZ #13741]
3904 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3905 for C++ and GCC <4.3 as well as for non GCC compilers.
3906
43c4edba
MT
39072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3908
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3910
6a1bf82f
RM
39112012-09-25 Roland McGrath <roland@hack.frob.com>
3912
3913 * Makefile.in (all, install): Declare with .PHONY.
3914 Reported by Michael Hope <michael.hope@linaro.org>.
3915
8ad11b9a
TMQMF
39162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3917
3918 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3919 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3920 system header.
3921 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3922 Likewise.
3923 (sydep_routines): Add the new and the internal functions.
3924 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3925 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3927 (GLIBC_2.17): Add the new function.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3929 (GLIBC_2.17): Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3931 (GLIBC_2.17): Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3933 (GLIBC_2.17): Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3935
7e2fca8d
AM
39362012-09-25 Alan Modra <amodra@gmail.com>
3937
3938 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3939 Add release barrier before setting once_control to say
3940 initialisation is done. Add hints on lwarx. Use macro in
3941 place of isync.
3942 (clear_once_control): Add release barrier.
3943
b87c4b24
JM
39442012-09-25 Joseph Myers <joseph@codesourcery.com>
3945
d032e0d2
JM
3946 [BZ #13629]
3947 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3948 specially.
3949 * math/s_clog10.c (__clog10): Likewise.
3950 * math/s_clog10f.c (__clog10f): Likewise.
3951 * math/s_clog10l.c (__clog10l): Likewise.
3952 * math/s_clogf.c (__clogf): Likewise.
3953 * math/s_clogl.c (__clogl): Likewise.
3954 * math/Makefile (libm-calls): Add x2y2m1.
3955 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3956 (__x2y2m1): Likewise.
3957 (__x2y2m1l): Likewise.
3958 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3959 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3964 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3965 * sysdeps/i386/fpu/libm-test-ulps: Update.
3966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3967
b87c4b24
JM
3968 [BZ #14621]
3969 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3970 int as type of variable DEPTH.
3971 (glob): Use size_t instead of int as type of variables NEWCOUNT
3972 and OLD_PATHC.
3973
6d3bf199
LD
39742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3975
22bf5c17
LD
3976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3977 Add s_sincosf-sse2.
3978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3980 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3981 macros for using routine as __sincosf_ia32.
3982 Use macro for function declaration and weak_alias.
3983 * sysdeps/i386/fpu/libm-test-ulps: Update.
3984
3985 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3987
3988 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3989 subnormal argument.
3990 * math/s_cexpf.c (__cexpf): Likewise.
3991 * math/s_csinf.c (__csinf): Likewise.
3992 * math/s_csinhf.c (__csinhf): Likewise.
3993 * math/s_ctanf.c (__ctanf): Likewise.
3994 * math/s_ctanhf.c (__ctanhf): Likewise.
3995 * math/s_ccosh.c (__ccoshf): Likewise.
3996 * math/s_cexp.c (__cexpl): Likewise.
3997 * math/s_csin.c (__csin): Likewise.
3998 * math/s_csinh.c (__csinh): Likewise.
3999 * math/s_ctan.c (__ctan): Likewise.
4000 * math/s_ctanh.c (ctanh): Likewise.
4001 * math/s_ccoshl.c (__ccoshl): Likewise.
4002 * math/s_cexpl.c (__cexpl): Likewise.
4003 * math/s_csinl.c (__csinl): Likewise.
4004 * math/s_csinhl.c (__csinhl): Likewise.
4005 * math/s_ctanl.c (__ctanl): Likewise.
4006 * math/s_ctanhl.c (__ctanhl): Likewise.
4007
203e5603
JM
40082012-09-25 Joseph Myers <joseph@codesourcery.com>
4009
4010 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4011 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4012 (_IO_off_t): Define to __off_t, not _G_off_t.
4013 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4014 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4015 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4016 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4017 type of __dummy and __dummy2 fields.
4018 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4019 (_G_ssize_t): Likewise.
4020 (_G_off_t): Likewise.
4021 (_G_pid_t): Likewise.
4022 (_G_uid_t): Likewise.
4023 (_G_wchar_t): Likewise.
4024 (_G_wint_t): Likewise.
4025 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4026 (_G_ssize_t): Likewise.
4027 (_G_off_t): Likewise.
4028 (_G_pid_t): Likewise.
4029 (_G_uid_t): Likewise.
4030 (_G_wchar_t): Likewise.
4031 (_G_wint_t): Likewise.
4032 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4033 (_G_ssize_t): Likewise.
4034 (_G_off_t): Likewise.
4035 (_G_pid_t): Likewise.
4036 (_G_uid_t): Likewise.
4037 (_G_wchar_t): Likewise.
4038 (_G_wint_t): Likewise.
4039
9fab36eb
SP
40402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 * malloc/arena.c: Include malloc-sysdep.h.
4043 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4044 is sufficient to shrink the heap or an unmap is needed.
4045 * sysdeps/generic/malloc-sysdep.h: New file. Define
4046 new function check_may_shrink_heap.
4047 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4048 new function check_may_shrink_heap.
4049
2b4f00d1
SP
40502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4051
4052 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4053 comments.
4054
9a9028b1
DL
40552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4056
57c69bef
DL
4057 * catgets/test-gencat.sh: Add "set -e".
4058 * elf/tst-pathopt.sh: Likewise.
4059 * grp/tst_fgetgrent.sh: Likewise.
4060 * iconvdata/run-iconv-test.sh: Likewise.
4061 * intl/tst-gettext.sh: Likewise.
4062 * intl/tst-gettext2.sh: Likewise.
4063 * intl/tst-gettext4.sh: Likewise.
4064 * intl/tst-gettext6.sh: Likewise.
4065 * intl/tst-translit.sh: Likewise.
4066 * io/ftwtest-sh: Likewise.
4067 * libio/test-freopen.sh: Likewise.
4068 * malloc/tst-mtrace.sh: Likewise.
4069 * posix/globtest.sh: Likewise.
4070 * posix/tst-getconf.sh: Likewise.
4071 * posix/wordexp-tst.sh: Likewise.
4072 * stdio-common/tst-printf.sh: Likewise.
4073 * stdio-common/tst-unbputc.sh: Likewise.
4074 * stdlib/tst-fmtmsg.sh: Likewise.
4075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4076 * catgets/Makefile: Do not specify -e option when running
4077 testsuite shell scripts.
4078 * elf/Makefile: Likewise.
4079 * grp/Makefile: Likewise.
4080 * iconvdata/Makefile: Likewise.
4081 * intl/Makefile: Likewise.
4082 * io/Makefile: Likewise.
4083 * libio/Makefile: Likewise.
4084 * malloc/Makefile: Likewise.
4085 * posix/Makefile: Likewise.
4086 * stdio-common/Makefile: Likewise.
4087 * stdlib/Makefile: Likewise.
4088 * sysdeps/x86_64/Makefile: Likewise.
4089
9a9028b1
DL
4090 * io/ftwtest-sh: Add copyright header.
4091 * posix/globtest.sh: Likewise.
4092 * posix/tst-getconf.sh: Likewise.
4093 * posix/wordexp-tst.sh: Likewise.
4094 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4095
ced6f16e
L
40962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4097
94b32c39
L
4098 [BZ #13679]
4099 * Makeconfig (+link): Defined as $(+link-static) if
4100 $(build-shared) isn't yes.
4101 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4102 isn't yes.
4103 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4104
189e935b
L
4105 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4106
ced6f16e
L
4107 [BZ #14562]
4108 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4109 new chunk size with MALLOC_ALIGN_MASK.
4110
a9f8e53a
JM
41112012-09-24 Joseph Myers <joseph@codesourcery.com>
4112
4113 [BZ #5044]
4114 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4115 <rounding-mode.h>.
4116 (__printf_fphex): Determine rounding using get_rounding_mode and
4117 round_away.
4118 * stdio-common/tst-printf-round.c (struct hex_test): New
4119 structure.
4120 (hex_tests): New variable.
4121 (test_hex_in_one_mode): New function.
4122 (do_test): Also run tests for hex float output.
4123
43153109
JM
41242012-09-21 Joseph Myers <joseph@codesourcery.com>
4125
4126 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4128 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4129 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4131 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4132 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4134
8a26625d
JM
41352012-09-20 Joseph Myers <joseph@codesourcery.com>
4136
4137 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4138 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4139 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4140 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4141
f3fd569c
DL
41422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4143
4144 [BZ #14579]
4145 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4146 mode only.
4147 * elf/tst-rtld-load-self.sh: New test.
4148 * elf/Makefile: Run it.
4149
63bbedd4
JM
41502012-09-18 Joseph Myers <joseph@codesourcery.com>
4151
4152 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4153 (tst-writev-ENV): Remove.
4154 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4155
626f8b6a
CM
41562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4157
4158 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4159
b7aaa4d6
JM
41602012-09-17 Joseph Myers <joseph@codesourcery.com>
4161
4162 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4163 unconditional.
4164 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4165 Likewise.
4166 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4167 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4169 Likewise.
4170
65513990
L
41712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ #14587]
4174 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4175 * config.make.in (have-cpp-asm-debuginfo): Removed.
4176 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4177 * configure: Regenerated.
4178
784761be
JM
41792012-09-14 Joseph Myers <joseph@codesourcery.com>
4180
4181 [BZ #5044]
4182 * stdio-common/printf_fp.c: Include <stdbool.h> and
4183 <rounding-mode.h>.
4184 (___printf_fp): Determine rounding using get_rounding_mode and
4185 round_away.
4186 * stdio-common/tst-printf-round.c: New file.
4187 * stdio-common/Makefile (tests): Add tst-printf-round.
4188 (link-libm): New variable.
4189 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4190
9503345f
L
41912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 [BZ #14576]
4194 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4195 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4196 Likewise.
4197 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4198 Likewise.
4199
ad35fc00
JM
42002012-09-13 Joseph Myers <joseph@codesourcery.com>
4201
4202 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4203 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4204 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4205 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4206
6c9b0f68
JM
42072012-09-12 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #14518]
4210 * include/rounding-mode.h: New file.
4211 * sysdeps/generic/get-rounding-mode.h: Likewise.
4212 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4213 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4214 (MAX_VALUE): New macro.
4215 (MIN_VALUE): Likewise.
4216 (overflow_value): New function.
4217 (underflow_value): Likewise.
4218 (round_and_return): Use overflow_value and underflow_value to
4219 determine return values in overflow and underflow cases. Use
4220 round_away to determine rounding depending on rounding mode.
4221 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4222 determine return values in overflow and underflow cases.
4223 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4224 (struct test_results): New structure.
4225 (struct test): Use struct test_results to store expected results
4226 for all rounding modes.
4227 (TEST): Include expected results for all rounding modes.
4228 (test_in_one_mode): New function.
4229 (do_test): Use test_in_one_mode to compute and check results.
4230 Check results for all rounding modes.
4231 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4232 $(link-libm).
4233
19fcedd5
AM
42342012-12-09 Allan McRae <allan@archlinux.org>
4235
1e9d84cd 4236 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4237
8bbfd2f1
JM
42382012-09-11 Joseph Myers <joseph@codesourcery.com>
4239
4240 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4241 (_G_int32_t): Likewise.
4242 (_G_uint16_t): Likewise.
4243 (_G_uint32_t): Likewise.
4244 (_G_HAVE_BOOL): Likewise.
4245 (_G_HAVE_ATEXIT): Likewise.
4246 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4247 (_G_HAVE_IO_FILE_OPEN): Likewise.
4248 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4249 (_G_int32_t): Likewise.
4250 (_G_uint16_t): Likewise.
4251 (_G_uint32_t): Likewise.
4252 (_G_HAVE_BOOL): Likewise.
4253 (_G_HAVE_ATEXIT): Likewise.
4254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4255 (_G_HAVE_IO_FILE_OPEN): Likewise.
4256 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4257 (_G_int32_t): Likewise.
4258 (_G_uint16_t): Likewise.
4259 (_G_uint32_t): Likewise.
4260 (_G_HAVE_BOOL): Likewise.
4261 (_G_HAVE_ATEXIT): Likewise.
4262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4263 (_G_HAVE_IO_FILE_OPEN): Likewise.
4264
b1dc5912
L
42652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4266
4267 * csu/libc-tls.c: Update copyright years.
4268
0e886ef9
JM
42692012-09-10 Joseph Myers <joseph@codesourcery.com>
4270
28361c5e
JM
4271 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4272 [!_G_USING_THUNKS]: Remove conditional code.
4273 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4274 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4275
0e886ef9
JM
4276 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4277 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4278 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4279 (_G_VTABLE_LABEL_PREFIX): Likewise.
4280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4281 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4283 (_G_VTABLE_LABEL_PREFIX): Likewise.
4284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4285 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4287 (_G_VTABLE_LABEL_PREFIX): Likewise.
4288 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4289
bcba7aa2
L
42902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * libio/Makefile: Include ../Makeconfig before tests.
4293 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4294 only if $(build-shared) is yes.
4295
06585ee8
L
4296 * iconv/gconv_db.c: Update copyright years.
4297
80ccd52c
LD
42982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4299
4300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4301 unwind info if defined PIC. Fix special cases description.
4302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4303
4304 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4305 DP_HI_MASK entry.
4306 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4307
691bc9c1
L
43082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4309
3d9b46b3
L
4310 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4311
de2139a9
L
4312 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4313 is NULL.
4314
5ca78dd0
L
4315 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4316 (LDLIBS-tst-chk4): This.
4317 (LDFLAGS-tst-chk5): Renamed to ...
4318 (LDLIBS-tst-chk5): This.
4319 (LDFLAGS-tst-chk6): Renamed to ...
4320 (LDLIBS-tst-chk6): This.
4321 (LDFLAGS-tst-lfschk4): Renamed to ...
4322 (LDLIBS-tst-lfschk4): This.
4323 (LDFLAGS-tst-lfschk5): Renamed to ...
4324 (LDLIBS-tst-lfschk5): This.
4325 (LDFLAGS-tst-lfschk6): Renamed to ...
4326 (LDLIBS-tst-lfschk6): This.
4327
691bc9c1
L
4328 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4329 on $(common-objpfx)soversions.mk.
4330
65cafb1c
JM
43312012-09-07 Joseph Myers <joseph@codesourcery.com>
4332
4333 [BZ #10014]
4334 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4335 example host name.
4336
c78ab094
SP
43372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4338
4339 * malloc/arena.c (arena_get_retry): New function that gets
4340 another arena for the caller to try its request on.
4341 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4342 current arena cannot fulfill the request.
4343 (__libc_memalign): Likewise.
4344 (__libc_memalign): Likewise.
4345 (__libc_pvalloc): Likewise.
4346 (__libc_calloc): Likewise.
4347
01f49f59
JT
43482012-09-05 John Tobey <john.tobey@gmail.com>
4349
4350 [BZ #13542]
4351 * manual/arith.texi (Operations on Complex): Fix description
4352 of carg branch cut.
4353
4c23fed5
JM
43542012-09-06 Joseph Myers <joseph@codesourcery.com>
4355
1d3c8572
JM
4356 [BZ #10014]
4357 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4358 host name.
4359
4c23fed5
JM
4360 [BZ #10038]
4361 * manual/memory.texi (Memory): Make order of menu items match
4362 order of sections.
4363
04570aaa
L
43642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4365
4366 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4367 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4368 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4369
b80af2f4
L
43702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 * csu/libc-tls.c (static_dtv): Renamed to ...
4373 (_dl_static_dtv): This. Make it global.
4374 (_dl_initial_dtv): Removed.
4375 (__libc_setup_tls): Updated.
4376 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4377 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4378 DL_INITIAL_DTV.
4379
2abe9f15
PM
43802012-09-06 Petr Machata <pmachata@redhat.com>
4381
4382 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4383 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4384 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4385 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4386
0948c3af
L
43872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 [BZ #14545]
4390 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4391 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4392 freeing dtv[-1].
4393
a5055ad1
L
43942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 [BZ #14544]
4397 * Makeconfig (link-static-before-libc): Replace $(+prector)
4398 with $(+prectorT).
4399 (link-static-after-libc): Replace $(+postctor) with
4400 $(+postctorT).
4401 (link-bounded): Replace $(+prector)/$(+postctor) with
4402 $(+prectorT)/$(+postctorT).
4403 (+prectorT): New macro.
4404 (+postctorT): Likewise.
4405
ed8c2ecd
JM
44062012-09-06 Joseph Myers <joseph@codesourcery.com>
4407
4408 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4409 (round_str): Handle values above the maximum for IBM long double
4410 as inexact.
4411 * stdlib/tst-strtod-round.c (tests): Regenerated.
4412
14c996c8
AK
44132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4414
4415 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4416 assembler flag.
4417 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4418 zarch_nohighgprs around the zarch optimized routines.
4419 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4420 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4421 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4422 for zarch.
4423
430d6ce6
DM
44242012-09-05 David S. Miller <davem@davemloft.net>
4425
4426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4427
ff04dda4
DM
4428 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4429 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4430 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4432 entries.
4433
24d4e01b
AO
44342012-09-05 Alexandre Oliva <aoliva@redhat.com>
4435
4436 * malloc/arena.c: Fold copyright years.
4437 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4438
61d58174
AO
44392012-09-05 Alexandre Oliva <aoliva@redhat.com>
4440
4441 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4442
20196a5e
AO
44432012-09-05 Alexandre Oliva <aoliva@redhat.com>
4444
4445 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4446
5c447383
AO
44472012-09-05 Alexandre Oliva <aoliva@redhat.com>
4448
4449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4450 change internal state upon failure.
4451
fad64255
AO
44522012-09-05 Alexandre Oliva <aoliva@redhat.com>
4453
4454 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4455 * malloc/memusage.c (mmap): Likewise.
4456 (mmap64, mremap): Likewise. Adjust name in comment.
4457
1ffb8c90
SP
44582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4459
4460 * libio/fileops.c: Fix typos in comments.
4461 * libio/oldfileops.c: Likewise.
4462 * libio/wfileops.c: Likewise.
4463
6ef9cc37
SP
44642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4465
4466 [BZ #1349]
4467 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4468 (tst-malloc-usable-ENV): Set environment for test case.
4469 * malloc/hooks.c (malloc_check_get_size): New function to get
4470 requested size.
4471 * malloc/malloc.c (musable): Use malloc_check_get_size.
4472 * malloc/tst-malloc-usable.c: New test case.
4473
4d038ae3
AS
44742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4475
4476 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4477
c4e85184
AM
44782012-09-05 Allan McRae <allan@archlinux.org>
4479
b9dafc56 4480 [BZ #13966]
c4e85184
AM
4481 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4482 determine header location.
4483 * configure: Regenerated.
4484
e1343020
AS
44852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4486
4487 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4488 float format.
4489 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4490 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4491 format.
e1343020
AS
4492 (test): Regenerate.
4493
0a9f1987
DM
44942012-09-04 David S. Miller <davem@davemloft.net>
4495
4496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4499
29237804
FW
45002012-09-04 Florian Weimer <fweimer@redhat.com>
4501
4502 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4503 failures.
4504
edb3cb88
FW
4505 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4506
60160d83
JM
45072012-09-04 Joseph Myers <joseph@codesourcery.com>
4508
4509 [BZ #9914]
4510 * libio/iogetdelim.c: Include <limits.h>.
4511 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4512 + len + 1 would overflow.
4513
bcd6c8dc
AJ
45142012-09-03 Andreas Jaeger <aj@suse.de>
4515
4516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4517 * sysdeps/i386/fpu/libm-test-ulps: Update.
4518
4ffffbd2
LD
45192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4520
4521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4522 Add s_sinf-sse2, s_conf-sse2.
4523
4524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4527 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4528
4529 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4530 for using routine as __sinf_ia32.
4531 Use macro for function declaration and weak_alias.
4532 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4533 for using routine as __cosf_ia32.
4534 Use macro for function declaration and weak_alias.
4535
4536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4538
4539 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4540 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4542
4543 * math/libm-test.inc (cos_test): Add more test cases.
4544 (sin_test): Likewise.
4545 (sincos_test): Likewise.
4546
511fa286
AK
45472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4548
4549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4550 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4551 hidden.
4552 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4553
5f30cfec
L
45542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 [BZ #14538]
4557 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4558 first element of the GOT.
4559 (elf_machine_load_address): Return the difference between
4560 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4561
0786794f
AM
45622012-09-01 Allan McRae <allan@archlinux.org>
4563
5f30cfec
L
4564 [BZ #13412]
4565 * configure.in (AWK): Require gawk version 3.0 or later.
4566 * configure: Regenerated.
0786794f 4567
26889eac
JM
45682012-09-01 Joseph Myers <joseph@codesourcery.com>
4569
4570 * sysdeps/unix/sysv/linux/kernel-features.h
4571 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4573 [__NR_clock_getres]: Make code unconditional.
4574 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4575 (clock_getcpuclockid): Remove code left unreachable by removal of
4576 conditionals.
4577 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4578 code unconditional.
4579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4581 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4582 Make code unconditional.
4583 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4584 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4585 * sysdeps/unix/sysv/linux/clock_settime.c
4586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4587 conditional code.
4588 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4590
d22e28b0
L
45912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4592
4593 [BZ #14476]
4594 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4595 scripts/test-installation.pl.
4596
4597 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4598 and $ld_so_version if it is set.
4599
050af9c4
SP
46002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4601
4602 [BZ #14516]
4603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4604 failure if reading from procfs failed.
4605 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4606
ad845c0b
JM
46072012-08-27 Joseph Myers <joseph@codesourcery.com>
4608
4609 * sysdeps/unix/sysv/linux/kernel-features.h
4610 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4611 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4612 Remove conditional code.
4613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4614 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4615 Remove conditional code.
4616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4617 * sysdeps/unix/sysv/linux/i386/fxstat.c
4618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4620 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4623 * sysdeps/unix/sysv/linux/i386/lxstat.c
4624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4626 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4627 Remove conditional code.
4628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4629 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4630 Remove conditional code.
4631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4633 <kernel-features.h>.
4634 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4635 Remove.
4636 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4637 Remove conditional code.
4638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4639 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4640 Remove conditional.
4641
5dbf56af
MF
46422012-08-27 Mike Frysinger <vapier@gentoo.org>
4643
4644 [BZ #5400]
4645 * NEWS: Add fixed bug number.
4646
d6e70f43
JM
46472012-08-27 Joseph Myers <joseph@codesourcery.com>
4648
7efb4737
JM
4649 [BZ #14519]
4650 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4651 underflowing exponent in case of negative sign.
4652 * stdlib/tst-strtod-round-data: Add more tests.
4653 * stdlib/tst-strtod-round.c (tests): Regenerated.
4654
af92131a
JM
4655 [BZ #3479]
4656 * stdlib/strtod_l.c (NDIG): Remove.
4657 (HEXNDIG): Likewise.
4658 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4659 smallest representable value.
4660 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4661 lie within an exact representation of 1/2 ulp of the result.
4662 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4663 unconditionally.
4664 (TENS_P9_IDX): Define unconditionally.
4665 (TENS_P9_SIZE): Likewise.
4666 (TENS_P10_IDX): Likewise.
4667 (TENS_P10_SIZE): Likewise.
4668 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4669 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4671 entries for 10^2^13 and 10^2^14.
4672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4673 (TENS_P13_IDX): Define.
4674 (TENS_P13_SIZE): Likewise.
4675 (TENS_P14_IDX): Likewise.
4676 (TENS_P14_SIZE): Likewise.
4677 (_fpioconst_pow10): Change array size to
4678 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4679 unconditional.
4680 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4681 1024]: Add entries for 10^2^13 and 10^2^14.
4682 [LAST_POW10 > _LAST_POW10]: Remove #error.
4683 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4684 (_fpioconst_pow10): Change array size to
4685 FPIOCONST_POW10_ARRAY_SIZE.
4686 * stdlib/gen-fpioconst.c: New file.
4687 * stdlib/gen-tst-strtod-round.c: Likewise.
4688 * stdlib/tst-strtod-round-data: Likewise.
4689 * stdlib/tst-strtod-round.c: Likewise.
4690 * stdlib/Makefile (tests): Add tst-strtod-round.
4691
d6e70f43
JM
4692 [BZ #14459]
4693 * stdlib/strtod_l.c: Include <stdint.h>.
4694 (NDEBUG): Do not define.
4695 (round_and_return): Change EXPONENT parameter to type intmax_t.
4696 Rearrange calculations to avoid internal overflow possibilities.
4697 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4698 Rearrange calculations to avoid internal overflow possibilities.
4699 Assert that number fits inside MPNSIZE limbs.
4700 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4701 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4702 calculations and add assertions to avoid internal overflow
4703 possibilities. Add casts to avoid signed/unsigned operations.
4704 * stdlib/tst-strtod-overflow.c: New file.
4705 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4706
1f529f7d
MP
47072012-08-25 Marek Polacek <polacek@redhat.com>
4708
4709 * time/time.h: Fix some typos in comments.
4710
59a629f1
RM
47112012-08-23 Roland McGrath <roland@hack.frob.com>
4712
4713 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4714 * posix/tst-rfc3484-2.c: Likewise.
4715 * posix/tst-rfc3484-3.c: Likewise.
4716
d3bafbc9
SM
47172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4718
4719 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4720 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4721
4efcc022
JM
47222012-08-23 Joseph Myers <joseph@codesourcery.com>
4723
4724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4725 #include of fxstatat64.c.
4726
3cc3ef96
RM
47272012-08-22 Roland McGrath <roland@hack.frob.com>
4728
f04e2132
RM
4729 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4730 * shadow/getspent_r.c: Likewise.
4731 * shadow/getspnam.c: Likewise.
4732 * shadow/getspnam_r.c: Likewise.
4733 * gshadow/getsgent.c: Likewise.
4734 * gshadow/getsgent_r.c: Likewise.
4735 * gshadow/getsgnam.c: Likewise.
4736 * gshadow/getsgnam_r.c: Likewise.
4737 * inet/getnetbyad.c: Likewise.
4738 * inet/getnetbyad_r.c: Likewise.
4739 * inet/getnetbynm.c: Likewise.
4740 * inet/getnetbynm_r.c: Likewise.
4741 * inet/getnetent.c: Likewise.
4742 * inet/getnetent_r.c: Likewise.
4743 * inet/getproto.c: Likewise.
4744 * inet/getproto_r.c: Likewise.
4745 * inet/getprtent.c: Likewise.
4746 * inet/getprtent_r.c: Likewise.
4747 * inet/getprtname.c: Likewise.
4748 * inet/getprtname_r.c: Likewise.
4749 * inet/getrpcbyname.c: Likewise.
4750 * inet/getrpcbyname_r.c: Likewise.
4751 * inet/getrpcbynumber.c: Likewise.
4752 * inet/getrpcbynumber_r.c: Likewise.
4753 * inet/getrpcent.c: Likewise.
4754 * inet/getrpcent_r.c: Likewise.
4755 * inet/getaliasent.c: Likewise.
4756 * inet/getaliasent_r.c: Likewise.
4757 * inet/getaliasname.c: Likewise.
4758 * inet/getaliasname_r.c: Likewise.
4759 * nscd/getgrgid_r.c: Likewise.
4760 * nscd/getgrnam_r.c: Likewise.
4761 * nscd/gethstbyad_r.c: Likewise.
4762 * nscd/gethstbynm3_r.c: Likewise.
4763 * nscd/getpwnam_r.c: Likewise.
4764 * nscd/getpwuid_r.c: Likewise.
4765 * nscd/getsrvbynm_r.c: Likewise.
4766 * nscd/getsrvbypt_r.c: Likewise.
4767 * nscd/gai.c: Likewise.
4768
c53d909c
RM
4769 * configure.in (build_nscd): New substituted variable, set
4770 by --disable-build-nscd and defaults to $use_nscd.
4771 * configure: Regenerated.
4772 * config.make.in (build-nscd): New substituted variable.
4773 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4774 Change conditional to require [$(build-nscd) = yes] as well.
4775 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4776
3cc3ef96
RM
4777 [BZ# 13696]
4778 * configure.in (use_nscd): New substituted variable, set by
4779 --disable-nscd. If enabled, define USE_NSCD.
4780 * configure: Regenerated.
4781 * config.h.in: Add USE_NSCD.
4782 * config.make.in (use-nscd): New substituted variable.
4783 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4784 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4785 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4786 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4787 (CFLAGS-getgrnam_r.c): Likewise.
4788 (CFLAGS-initgroups.c): Likewise.
4789 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4790 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4791 Variables removed.
4792 * inet/getnetgrent_r.c
4793 (nscd_setnetgrent): New function, broken out of ...
4794 (setnetgrent): ... here. Call it.
4795 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4796 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4797 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4798 * nscd/Makefile (routines, aux): Move definitions after include of
4799 Makeconfig. Conditionalize on [$(use-nscd) != no].
4800 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4801 Conditionalize on [USE_NSCD].
4802 (is_nscd, nscd_init_cb): Likewise.
4803 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4804 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4805 * nss/nss_db/db-init.c: Likewise.
4806 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4807 [USE_NSCD].
4808 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4809 (make_request): Use it.
4810 (cache_valid_p): New function.
4811 (__check_pf): Use it.
4812 * NEWS: Add item for --disable-nscd.
4813
07e51550
DL
48142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4815
4816 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4817 to support sed >= 4.2.1-20-ga9bf076.
4818 * configure: Regenerated.
4819
35a5b08b
RM
48202012-08-22 Roland McGrath <roland@hack.frob.com>
4821
4822 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4823 Conditionalize whole body on [IREL].
4824
8479f23a
JL
48252012-08-22 Jeff Law <law@redhat.com>
4826
4827 [BZ #14505]
4828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4829 if the family is PF_UNSPEC.
4830
48da0b21
MF
48312012-08-22 Mike Frysinger <vapier@gentoo.org>
4832
4833 * Makerules (lib-version): Rename from V.
4834 (install-lib-nosubdir): Change V to lib-version.
4835
15d0da8c
WS
48362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4837
4838 [BZ #14252]
4839 * powerpc32/power6/wcschr.c: New file.
4840 * powerpc32/power6/wcscpy.c: New file.
4841 * powerpc32/power6/wcsrchr.c: New file.
4842 * powerpc64/power6/wcschr.c: New file.
4843 * powerpc64/power6/wcscpy.c: New file.
4844 * powerpc64/power6/wcsrchr.c: New file.
4845
bcca0895
MK
48462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4847
4848 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4849 (two_way_short_needle): Use it.
5a4aaa33
RM
4850 * string/strstr.c (AVAILABLE1_USES_J): Define.
4851 * string/strcasestr.c: Likewise.
99677e57
MK
4852
4853 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4854 array references.
4855 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4856
400726de
MK
4857 [BZ #11607]
4858 * NEWS: Add an entry.
4859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4860 define their defaults.
4861 (two_way_short_needle): Detect end-of-string on-the-fly.
4862 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4863 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4864 * string/bug-strcasestr1.c: New test.
4865 * string/Makefile: Run it.
4866
20a71f2c
MK
48672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4868
4869 [BZ #11607]
4870 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4871 the first character.
4872
21ad0558
RM
48732012-08-21 Roland McGrath <roland@hack.frob.com>
4874
4875 * csu/elf-init.c (__libc_csu_irel): Function removed.
4876 * csu/libc-start.c (apply_irel): New function.
4877 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4878
0e1d9911
JM
48792012-08-21 Joseph Myers <joseph@codesourcery.com>
4880
4881 * sysdeps/unix/sysv/linux/kernel-features.h
4882 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4884 <kernel-features.h>.
4885 [__NR_fadvise64_64]: Make code unconditional.
4886 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4887 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4888 !__NR_fadvise64_64)]: Likewise.
4889 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4890 !__NR_fadvise64_64))]: Likewise.
4891 [__NR_fadvise64]: Make code unconditional.
4892 [!__NR_fadvise64]: Remove conditional code.
4893 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4894 <kernel-features.h>.
4895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4896 unconditional.
4897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4898 conditional code.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4900 not include <kernel-features.h>.
4901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4902 unconditional.
4903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4904 conditional code.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4906 include <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
14a50c9d
WS
49122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4913
4914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4915 slight instruction rearrangements per scrollpipe analysis.
4916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4917
c0f4faf0
RM
49182012-08-20 Roland McGrath <roland@hack.frob.com>
4919
696da859
RM
4920 * manual/syslog.texi (syslog; vsyslog, closelog):
4921 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4922 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4923
c0f4faf0
RM
4924 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4925 DSOCAPS to match condition on defining it.
4926
348363b2
JM
49272012-08-20 Joseph Myers <joseph@codesourcery.com>
4928
a35cbf28
JM
4929 * sysdeps/unix/sysv/linux/kernel-features.h
4930 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4940
445f7ecd
JM
4941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4942 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4943
348363b2
JM
4944 * sysdeps/unix/sysv/linux/kernel-features.h
4945 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4946 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4947 unconditional.
4948 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4949 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4953 Make code unconditional.
4954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4955 (__mmap64) [!__NR_mmap2]: Likewise.
4956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4960 [__NR_mmap2]: Make code unconditional.
4961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4962 (__mmap64) [!__NR_mmap2]: Likewise.
4963
bc5bc0e5
AK
49642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4965
4966 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4967
88d506de
AJ
49682012-08-18 Andreas Jaeger <aj@suse.de>
4969
4970 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4971
493387d2
MF
49722012-08-18 Mike Frysinger <vapier@gentoo.org>
4973
4974 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4975 * include/unistd.h (__have_sock_cloexec): Likewise.
4976 (__have_pipe2): Likewise.
4977 (__have_dup3): Likewise.
4978
a277af22
MF
49792012-08-18 Mike Frysinger <vapier@gentoo.org>
4980
4981 [BZ #9685]
4982 * include/unistd.h (__have_pipe2): Change define into an extern int.
4983 (__have_dup3): Likewise.
4984 * socket/have_sock_cloexec.c: Include fcntl.h.
4985 (__have_pipe2): New variable.
4986 (__have_dup3): Likewise.
4987
fdab8fd3
MF
49882012-08-17 Mike Frysinger <vapier@gentoo.org>
4989
4990 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4991
31035e80
MP
49922012-08-17 Marek Polacek <polacek@redhat.com>
4993
4994 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4995 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4996
3bd9e993
RM
49972012-08-17 Roland McGrath <roland@hack.frob.com>
4998
c91c505f
RM
4999 * configure.in: Add AC_SUBST for sysheaders.
5000 * configure: Regenerated.
5001 * config.make.in (sysheaders): New substituted variable.
5002
7c6f9d53
RM
5003 * sysdeps/unix/mkfifo.c: Moved ...
5004 * sysdeps/posix/mkfifo.c: ... here.
5005 * sysdeps/unix/mkfifoat.c: Moved ...
5006 * sysdeps/posix/mkfifoat.c: ... here.
5007
5008 * sysdeps/unix/utime.c: Moved ...
5009 * sysdeps/posix/utime.c: ... here.
5010
5011 * sysdeps/unix/time.c: Moved ...
5012 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5013 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5014 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5015
5016 * sysdeps/unix/nice.c: Moved ...
5017 * sysdeps/posix/nice.c: ... here.
5018
5019 * sysdeps/unix/alarm.c: Moved ...
5020 * sysdeps/posix/alarm.c: ... here.
5021
3bd9e993
RM
5022 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5023
d1f09384
JL
50242012-08-17 Jeff Law <law@redhat.com>
5025
5026 * intl/Makefile (codeset_mo): New variable.
5027 ($(codeset_mo)): New target.
5028 (tst-codeset.out): Depend on that. Remove explicit rule.
5029 (tst-gettext3.out, tst-gettext5.out): Likewise.
5030 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5031 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5032 * intl/tst-codeset.sh: Remove.
5033 * intl/tst-gettext3.sh: Likewise.
5034 * intl/tst-gettext5.sh: Likewise.
5035
2ae1ae5c
RM
50362012-08-17 Roland McGrath <roland@hack.frob.com>
5037
c31fdb83
RM
5038 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5039 * sysdeps/unix/syscalls.list: ... here.
5040
a0844057
RM
5041 * sysdeps/posix/getaddrinfo.c
5042 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5043 (gaiconf_init, gaiconf_reload): Use them.
5044 [!_STATBUF_ST_NSEC]
5045 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5046 Define using time_t rather than struct timespec.
5047
750c1f2a
RM
5048 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5049 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5050 Macros removed.
5051 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5052 [!NO_THREADS].
5053 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5054 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5055 Likewise.
5056
2ae1ae5c
RM
5057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5058 __libc_cleanup_push argument.
5059
e66a42f5
RM
5060 * bits/param.h: New file.
5061 * misc/sys/param.h: New file.
5062 * include/sys/param.h: New file.
5063 * misc/Makefile (headers): Add bits/param.h.
5064 * sysdeps/generic/sys/param.h: File removed.
5065 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5066 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5067 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5068 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5069
b7c08a66
RM
5070 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5071 last change.
5072
b2e1c562
RM
5073 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5074 [_IO_MTSAFE_IO].
5075 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5076 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5077 New macros.
5078
c75ccd4c
RM
5079 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5080 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5081 rather than -D_IO_MTSAFE_IO conditionally.
5082 * stdio-common/Makefile (CPPFLAGS): Likewise.
5083 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5084 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5085 Use $(libio-mtsafe).
5086 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5087 of -D_IO_MTSAFE_IO.
5088 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5089 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5090 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5091 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5092 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5093 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5094 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5095 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5096 (CFLAGS-fread_u_chk.c): Likewise.
5097 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5098 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5099 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5100 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5101 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5102 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5103 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5104 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5105 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5106
5107 * libio/Makefile: Test [$(libc-reentrant) = yes]
5108 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5109
5110 * Makeconfig
5111 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5112 * sysdeps/pthread/configure: File removed.
5113 * sysdeps/pthread/Makeconfig: New file.
5114 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5115 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5116
d9195db8
GB
51172012-08-16 Gary Benson <gbenson@redhat.com>
5118
5119 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5120 unmapping the first object in a namespace.
5121
86466cd9
RM
51222012-08-16 Roland McGrath <roland@hack.frob.com>
5123
5124 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5125 (__internal_setnetgrent): ... this. Add internal_function to
5126 definition. Add libc_hidden_def.
5127 (setnetgrent): Update caller.
5128 (internal_endnetgrent): Renamed to ...
5129 (__internal_endnetgrent): ... this. Add internal_function to
5130 definition. Add libc_hidden_def.
5131 (endnetgrent): Update caller.
5132 (internal_getnetgrent_r): Renamed to ...
5133 (__internal_getnetgrent_r): ... this. Add internal_function to
5134 definition. Add libc_hidden_def.
5135 (__getnetgrent_r): Update caller.
5136 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5137
c3c8283c
JM
51382012-08-16 Joseph Myers <joseph@codesourcery.com>
5139
5140 * stdlib/longlong.h: Update from GCC.
5141
db1ee0a8
RM
51422012-08-16 Roland McGrath <roland@hack.frob.com>
5143
5144 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5145 on _QL, which is set by umul_ppmm but never used.
5146 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5147 variables, which are set by GMP macros but never used.
5148 * stdio-common/_itowa.c (_itowa): Likewise.
5149 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5150 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5151
30f69637
CD
51522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5153
5154 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5155 struct La_sh_regs is not constant.
5156 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5157 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5158 and struct La_sparc64_regs are not constant.
5159
93a78ac4
JM
51602012-08-16 Joseph Myers <joseph@codesourcery.com>
5161
5162 * sysdeps/unix/sysv/linux/kernel-features.h
5163 (__ASSUME_POSIX_TIMERS): Remove.
5164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5166 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5167 Make code unconditional.
5168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5170 Make code unconditional.
5171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5172 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5173 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5175 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5176 Make code unconditional.
5177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5179 (__libc_missing_posix_timers): Remove.
5180
dd924cd7
RM
51812012-08-15 Roland McGrath <roland@hack.frob.com>
5182
4b4f2771
RM
5183 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5184 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5185
601c888b
RM
5186 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5187
176790a7
RM
5188 * elf/dl-sym.c: Include <stdlib.h>.
5189
329bc018
RM
5190 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5191 constants, which avoids warnings in 32-bit builds.
5192
e04e272d
RM
5193 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5194 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5195
952bf94a
RM
5196 * misc/lseek.c: File moved to ...
5197 * io/lseek.c: ... here.
5198
7c99b50a
RM
5199 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5200
dd924cd7
RM
5201 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5202 shifting LEN more than 31 bits at once.
5203
b3f479a8
LD
52042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5205
5206 [BZ #14195]
8c4ae0d4
RM
5207 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5208 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5209 * string/test-strncasecmp.c (check1): Renamed to...
5210 (bz12205): ...this.
5211 (bz14195): Add new testcase for two empty input strings and N > 0.
5212 (test_main): Call new testcase, adapt for renamed function.
5213
9c55864e
AJ
52142012-08-15 Andreas Jaeger <aj@suse.de>
5215
5216 [BZ #14090]
5217 * crypt/md5test2.c: New test, based on test supplied by Serge
5218 Belyshev <belyshev@depni.sinp.msu.ru>.
5219 * crypt/Makefile (xtests): Add md5test-giant..
5220 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5221
02dcb6c5
PE
52222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5223
5224 [BZ #14090]
5225 * crypt/md5.c (md5_process_block): Don't assume the buffer
5226 length is less than 2**32.
5227 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5228 length is less than 2**64.
5229
a3f95dcc
RM
52302012-08-15 Roland McGrath <roland@hack.frob.com>
5231
be75d758
RM
5232 * string/str-two-way.h: Include <sys/param.h>.
5233 (MAX): Macro removed.
5234
7312ca90
RM
5235 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5236 Move #define and #undef of memmove to just before and after
5237 including <string.h>.
5238
9a0a5486
RM
5239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5240 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5241 and after including <string.h>. Move declarations of
5242 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5243 to before #include "string/memmove.c".
5244
67cc348d
RM
5245 * include/dirent.h: Declare __getdirentries.
5246
a3f95dcc
RM
5247 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5248 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5249
ca98e171
MF
52502012-08-14 Mike Frysinger <vapier@gentoo.org>
5251
5252 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5253 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5254 * sysdeps/i386/configure: Regenerated.
5255 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5256 STABS_CURRENT_FILE, and STABS_FUN.
5257 (END): Remove call to STABS_FUN_END.
5258 (STABS_CURRENT_FILE1): Delete.
5259 (STABS_CURRENT_FILE): Likewise.
5260 (STABS_FUN): Likewise.
5261 (STABS_FUN_END): Likewise.
5262 (STABS_FUN2): Likewise.
5263 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5264 * sysdeps/x86_64/configure: Regenerated.
5265
5908bf46
RM
52662012-08-14 Roland McGrath <roland@hack.frob.com>
5267
5268 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5269 * elf/dl-lookup.c: Likewise.
5908bf46 5270
f2c05b9e
JM
52712012-08-14 Joseph Myers <joseph@codesourcery.com>
5272
5273 * sysdeps/unix/sysv/linux/kernel-features.h
5274 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5275 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5276 unconditionally.
5277 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5278 unconditionally.
5279 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5280 condition on __ASSUME_CLONE_THREAD_FLAGS.
5281
e11f5155
AJ
52822012-08-14 Andreas Jaeger <aj@suse.de>
5283
5284 * sysdeps/i386/fpu/libm-test-ulps: Update.
5285
51a9ba86
MK
52862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5287
2fdd4f78
AJ
5288 * include/atomic.h (atomic_exchange_and_add): Split into ...
5289 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5290 New atomic macros.
51a9ba86 5291
ba6cba9e
MT
52922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5293
5294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5295
42443a47
JL
52962012-08-13 Jeff Law <law@redhat.com>
5297
5298 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5299 null byte in the output string.
5300
121dce05
JM
53012012-08-10 Joseph Myers <joseph@codesourcery.com>
5302
5303 * sysdeps/unix/sysv/linux/kernel-features.h
5304 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5305 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5306 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5308 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5309 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5310 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5311
bf51f568
JL
53122012-08-09 Jeff Law <law@redhat.com>
5313
5314 [BZ #13939]
5315 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5316 When avoid_arena is set, don't retry in the that arena. Pick the
5317 next one, whatever it might be.
5318 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5319 (arena_lock): Pass in new parameter to arena_get2.
5320 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5321 arena_get2.
5322 (__libc_malloc): Unify retrying after main arena failure with
5323 __libc_memalign version.
5324 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5325
f85fa270
L
53262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5327
5328 [BZ #14166]
5329 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5330 to __redirect_strstr.
5331 (__strstr_sse42): Use typeof __redirect_strstr.
5332 (__strstr_ia32): Likewise.
5333 (__libc_strstr): New prototype.
5334 (strstr): Renamed to ...
5335 (__libc_strstr): This.
5336 (strstr): New strong alias of __libc_strstr.
5337 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5338 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5339 __redirect_time.
5340 Include <time.h>.
5341 (__libc_time): New prototype.
5342 (time_ifunc): Replace time with __libc_time.
5343 (time): New strong alias and hidden definition of __libc_time.
5344 (__GI_time): Remove strong alias.
5345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5346 Include <stddef.h>.
5347 (memmove): Redefined to __redirect_memmove.
5348 (__memmove_sse2): Use typeof __redirect_memmove.
5349 (__memmove_ssse3): Likewise.
5350 (__memmove_ssse3_back): Likewise.
5351 (__libc_memmove): New prototype.
5352 (memmove): Renamed to ...
5353 (__libc_memmove): This.
5354 (memmove): New strong alias of __libc_memmove.
5355
33b4a91e
MS
53562012-08-08 Mark Salter <msalter@redhat.com>
5357
5358 * elf/elf.h
5359 (R_MN10300_TLS_GD): Define.
5360 (R_MN10300_TLS_LD): Likewise.
5361 (R_MN10300_TLS_LDO): Likewise.
5362 (R_MN10300_TLS_GOTIE): Likewise.
5363 (R_MN10300_TLS_IE): Likewise.
5364 (R_MN10300_TLS_LE): Likewise.
5365 (R_MN10300_TLS_DTPMOD): Likewise.
5366 (R_MN10300_TLS_DTPOFF): Likewise.
5367 (R_MN10300_TLS_TPOFF): Likewise.
5368 (R_MN10300_SYM_DIFF): Likewise.
5369 (R_MN10300_ALIGN): Likewise.
5370 (R_MN10300_NUM): Update.
5371
b36137f1
JM
53722012-08-08 Joseph Myers <joseph@codesourcery.com>
5373
5374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5375 Remove.
5376
cdd915fd
RM
53772012-08-08 Roland McGrath <roland@hack.frob.com>
5378
a2433aac
RM
5379 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5380
cdd915fd
RM
5381 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5382 sysdeps/unix -> sysdeps/posix move.
5383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5384
bf9b740a
AM
53852012-08-07 Allan McRae <allan@archlinux.org>
5386
5387 [BZ #14303]
5388 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5389 (SUNOS_CPP): Likewise.
5390 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5391 not found.
5392 (open_input): Call CPP using execvp.
5393
93df14ee
JM
53942012-08-07 Joseph Myers <joseph@codesourcery.com>
5395
5396 * sysdeps/unix/sysv/linux/kernel-features.h
5397 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5400 (__ASSUME_WAITID_SYSCALL): Likewise.
5401 * sysdeps/unix/sysv/linux/dl-execstack.c
5402 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5403 code unconditional.
5404 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5405 conditional code.
5406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5407 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5408 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5409 code.
5410 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5411 unconditional.
5412 [__ASSUME_WAITID_SYSCALL]: Likewise.
5413 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5414
d34689de
RM
54152012-08-07 Roland McGrath <roland@hack.frob.com>
5416
a281decc
RM
5417 * sysdeps/unix/closedir.c: Renamed to ...
5418 * sysdeps/posix/closedir.c: ... here.
5419 * sysdeps/unix/dirfd.c: Renamed to ...
5420 * sysdeps/posix/dirfd.c: ... here.
5421 * sysdeps/unix/dirstream.h: Renamed to ...
5422 * sysdeps/posix/dirstream.h: ... here.
5423 * sysdeps/unix/fdopendir.c: Renamed to ...
5424 * sysdeps/posix/fdopendir.c: ... here.
5425 * sysdeps/unix/opendir.c: Renamed to ...
5426 * sysdeps/posix/opendir.c: ... here.
5427 * sysdeps/unix/readdir.c: Renamed to ...
5428 * sysdeps/posix/readdir.c: ... here.
5429 * sysdeps/unix/readdir_r.c: Renamed to ...
5430 * sysdeps/posix/readdir_r.c: ... here.
5431 * sysdeps/unix/rewinddir.c: Renamed to ...
5432 * sysdeps/posix/rewinddir.c: ... here.
5433 * sysdeps/unix/seekdir.c: Renamed to ...
5434 * sysdeps/posix/seekdir.c: ... here.
5435 * sysdeps/unix/telldir.c: Renamed to ...
5436 * sysdeps/posix/telldir.c: ... here.
5437 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5438 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5440 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5441
22895b47
RM
5442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5443 * bits/fcntl.h: ... here.
5444
707a53b6
RM
5445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5446 not 0.
5447 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5448 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5449 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5450 (struct flock): Move l_start, l_len to the beginning.
5451 Use __pid_t for l_pid.
5452 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5453 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5454 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5455 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5456 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5457 [__USE_LARGEFILE64] (struct flock64): New type.
5458 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5459
f0bd3e25
RM
5460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5461 * bits/dirent.h: ... here.
5462
d34689de
RM
5463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5464 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5465
6dad2c06
JM
54662012-08-07 Joseph Myers <joseph@codesourcery.com>
5467
5468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5469 Change from 2.6.0 to 2.6.16.
5470 * sysdeps/unix/sysv/linux/configure: Regenerated.
5471 * sysdeps/unix/sysv/linux/kernel-features.h
5472 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5473 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5474 version.
5475 (__ASSUME_UTIMES): Likewise.
5476 (__ASSUME_CLONE_STOPPED): Remove.
5477 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5478 architectures, not kernel version.
5479 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5482 (__ASSUME_WAITID_SYSCALL): Likewise.
5483 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5484 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5485 * README: State 2.6.16 as minimum Linux kernel version. Do not
5486 refer to older versions.
5487
03af9520
RM
54882012-08-06 Roland McGrath <roland@hack.frob.com>
5489
8e49df1d
RM
5490 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5491 Define alphasort64 as an alias.
5492 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5493 Define versionsort64 as an alias.
5494 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5495 Define scandir64 as an alias.
5496 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5497 Define scandirat64 as an alias.
5498 * dirent/alphasort64.c (alphasort64):
5499 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5500 * dirent/versionsort64.c: Likewise.
5501 * dirent/scandir64.c: Likewise.
5502 * dirent/scandirat64.c: Likewise.
5503 * sysdeps/wordsize-64/alphasort.c: File removed.
5504 * sysdeps/wordsize-64/alphasort64.c: File removed.
5505 * sysdeps/wordsize-64/scandir.c: File removed.
5506 * sysdeps/wordsize-64/scandir64.c: File removed.
5507 * sysdeps/wordsize-64/scandirat.c: File removed.
5508 * sysdeps/wordsize-64/scandirat64.c: File removed.
5509 * sysdeps/wordsize-64/versionsort.c: File removed.
5510 * sysdeps/wordsize-64/versionsort64.c: File removed.
5511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5519
5520 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5522 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5524 [defined __arch64__ || defined __sparcv9]
5525 (__INO_T_MATCHES_INO64_T): New macro.
5526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5527 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5528 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5529 * sysdeps/unix/sysv/linux/bits/dirent.h
5530 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5531 (_DIRENT_MATCHES_DIRENT64): New macro.
5532
03af9520
RM
5533 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5534 Define lockf64 as an alias.
5535 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5536 Define fseeko64 as an alias.
5537 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5538 Define ftello64 as an alias.
5539 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5540 Define _IO_fgetpos64 and fgetpos64 as aliases.
5541 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5542 Define _IO_fsetpos64 and fsetpos64 as aliases.
5543 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5544 Conditionalize body on this.
5545 * libio/fseeko64.c: Likewise.
5546 * libio/ftello64.c: Likewise.
5547 * libio/iofgetpos64.c: Likewise.
5548 * libio/iofsetpos64.c: Likewise.
5549 * sysdeps/wordsize-64/lockf.c: File removed.
5550 * sysdeps/wordsize-64/lockf64.c: File removed.
5551 * sysdeps/wordsize-64/fseeko.c: File removed.
5552 * sysdeps/wordsize-64/fseeko64.c: File removed.
5553 * sysdeps/wordsize-64/ftello.c: File removed.
5554 * sysdeps/wordsize-64/ftello64.c: File removed.
5555 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5556 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5557 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5558 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5569
5570 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5572 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5574 [defined __arch64__ || defined __sparcv9]
5575 (__OFF_T_MATCHES_OFF64_T): New macro.
5576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5577 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5579 (__OFF_T_MATCHES_OFF64_T): New macro.
5580
c5757acd
L
55812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * stdlib/secure-getenv.c (__secure_getenv): Replace
5584 GLIBC_2_16 with GLIBC_2_17.
5585
3a31811e
L
55862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5587
5588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5590
faa2bccb
DM
55912012-08-03 David S. Miller <davem@davemloft.net>
5592
5593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5594
85fe1997
JM
55952012-08-03 Joseph Myers <joseph@codesourcery.com>
5596
5597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5598 Remove.
5599 (__ASSUME_CORRECT_SI_PID): Likewise.
5600 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5601 (__ASSUME_TMPFS_NAME): Likewise.
5602 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5603 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5604 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5605 (HAVE_AUX_SECURE): Make definition unconditional.
5606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5607 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5608
4f75b7a0
RM
56092012-08-03 Roland McGrath <roland@hack.frob.com>
5610
5611 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5612 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5613 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5615 __eloop_threshold instead of SYMLOOP_MAX.
5616
5617 * sysdeps/generic/eloop-threshold.h: New file.
5618 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5619 of MAXSYMLINKS.
5620 * elf/chroot_canon.c (chroot_canon): Likewise.
5621
7aab07e4
JM
56222012-08-03 Joseph Myers <joseph@codesourcery.com>
5623
5624 [BZ #13717]
5625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5626 Change to 2.6.0 everywhere.
5627 * sysdeps/unix/sysv/linux/configure: Regenerated.
5628 * sysdeps/unix/sysv/linux/kernel-features.h
5629 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5630 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5631 kernel versions.
5632 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5633 (__ASSUME_FUTEX_REQUEUE): Remove.
5634 (__ASSUME_STATFS64): Define unconditionally.
5635 (__ASSUME_AT_SECURE): Likewise.
5636 (__ASSUME_CORRECT_SI_PID): Likewise.
5637 (__ASSUME_TGKILL): Define without depending on kernel version for
5638 i386.
5639 (__ASSUME_UTIMES): Likewise.
5640 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5641 kernel version.
5642 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5643 (__ASSUME_TMPFS_NAME): Likewise.
5644 * README: Update reference to Linux kernel versions.
5645
b67e9372
MP
56462012-08-02 Marek Polacek <polacek@redhat.com>
5647
1f529f7d 5648 [BZ# 14150]
b67e9372
MP
5649 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5650 libc_cv_asm_type_prefix with %.
5651 * configure: Regenerated.
d2441631
RM
5652 * include/libc-symbols.h: Remove comment about
5653 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5654 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5655 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5656 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5657 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5658 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5661 * elf/tst-unique2mod1.c: Likewise.
5662 * elf/tst-unique1mod2.c: Likewise.
5663 * elf/tst-unique1mod1.c: Likewise.
5664 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5665 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5666 Replace ASM_TYPE_DIRECTIVE with .type.
5667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5668 * sysdeps/i386/sysdep.h: Likewise.
5669 * sysdeps/x86_64/sysdep.h: Likewise.
5670 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5672 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5673 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5674 * sysdeps/powerpc/powerpc32/sysdep.h:
5675 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5677 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5678 * sysdeps/i386/fpu/e_powf.S: Likewise.
5679 * sysdeps/i386/fpu/e_expl.S: Likewise.
5680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5681 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5682 * sysdeps/i386/fpu/e_pow.S: Likewise.
5683 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5685 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5686 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5687 * sysdeps/i386/fpu/e_log2.S: Likewise.
5688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5690 * sysdeps/i386/fpu/e_powl.S: Likewise.
5691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5693 * sysdeps/i386/fpu/e_logl.S: Likewise.
5694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5695 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5696 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5698 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5699 * sysdeps/i386/fpu/e_log.S: Likewise.
5700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5701 * sysdeps/i386/fpu/e_logf.S: Likewise.
5702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5705 * sysdeps/i386/fpu/e_log10.S: Likewise.
5706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5713 * sysdeps/i386/i686/strtok.S: Likewise.
5714 * sysdeps/i386/i386-mcount.S: Likewise.
5715 * sysdeps/i386/strtok.S: Likewise.
5716 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5722 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5723 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5724 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5725 * sysdeps/x86_64/_mcount.S: Likewise.
5726 * sysdeps/x86_64/strtok.S: Likewise.
5727 * sysdeps/sh/_mcount.S: Likewise.
5728
2747bf9a
RM
57292012-08-01 Roland McGrath <roland@hack.frob.com>
5730
5731 * libio/iofopen.c: Include <fcntl.h>.
5732 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5733 (_IO_fopen64, fopen64): Define as aliases.
5734 * libio/iofopen64.c: Include <fcntl.h>.
5735 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5736 Conditionalize body on this.
5737 * sysdeps/wordsize-64/iofopen.c: File removed.
5738 * sysdeps/wordsize-64/iofopen64.c: File removed.
5739
3fb791b8
MP
57402012-08-01 Marek Polacek <polacek@redhat.com>
5741
5742 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5743 Use dlfcn directly instead of a variable.
5744 (binfmt-subdir): Do not define.
5745 (dlfcn): Likewise.
5746
a9f1039f
JM
57472012-08-01 Joseph Myers <joseph@codesourcery.com>
5748
23bddc06
JM
5749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5750 Remove all definitions.
5751 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5752 <kernel-features.h>.
5753 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5754 (miss_F_GETOWN_EX): Remove all definitions.
5755 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5756 macro definition.
5757 [!__ASSUME_FCNTL64]: Remove conditional code.
5758 [__ASSUME_FCNTL64]: Make code unconditional.
5759 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5760 <kernel-features.h>.
5761 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5762 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5763 (lockf64) [__NR_fcntl64]: Make code unconditional.
5764 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5765
a9f1039f
JM
5766 * sysdeps/unix/sysv/linux/kernel-features.h
5767 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5768 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5769 Make code unconditional.
5770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5773 [__NR_vfork]: Make code unconditional.
5774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5777 [__NR_vfork]: Make code unconditional.
5778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5780
09c0ee5f
RM
57812012-08-01 Roland McGrath <roland@hack.frob.com>
5782
48aec5b9
RM
5783 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5784 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5785
cd97c966
RM
5786 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5787 Define mkstemp64 as an alias.
3f55550c
RM
5788 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5789 Define mkstemps64 as an alias.
cd97c966
RM
5790 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5791 Define mkostemp64 as an alias.
b8625cfc
RM
5792 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5793 Define mkostemps64 as an alias.
cd97c966
RM
5794 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5795 Conditionalize body on this.
5796 * misc/mkostemp64.c: Likewise.
b8625cfc 5797 * misc/mkostemps64.c: Likewise.
3f55550c 5798 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5799 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5800 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5801 * sysdeps/wordsize-64/mkostemp.c: File removed.
5802 * sysdeps/wordsize-64/mkstemp.c: File removed.
5803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5807
09c0ee5f
RM
5808 [BZ #14138]
5809 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5811 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5812 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5813
5814 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5815 compat_symbol macros from <shlib-compat.h> rather than the underlying
5816 default_symbol_version and symbol_version macros, so that DEFAULT
5817 lines in shlib-versions are respected.
5818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5819
7e66ee51
FW
58202012-08-01 Florian Weimer <fweimer@redhat.com>
5821
5822 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5823 Declare with warn_unused_result.
5824 (setgid, setregid, setegid, setresgid): Likewise.
5825 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5826 Likewise.
5827 * WUR-REPORT: Remove set*id functions.
5828
d2a54255
PT
58292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5830
5831 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5832
7ecdb005
RM
58332012-07-31 Roland McGrath <roland@hack.frob.com>
5834
789bd351
RM
5835 * include/sys/socket.h (__libc_accept, __libc_accept4):
5836 Add attribute_hidden.
5837 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5838
40ce302d
RM
5839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5840 use of PTR_MANGLE.
5841 * inet/getnetgrent_r.c (setup): Likewise.
5842
7ecdb005
RM
5843 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5844
e2eabb2c
DM
58452012-07-31 David S. Miller <davem@davemloft.net>
5846
5847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5848
d0419dbf
JM
58492012-07-31 Joseph Myers <joseph@codesourcery.com>
5850
5851 [BZ #13629]
5852 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5853 value between 1.0 and 2.0 and smaller part has absolute value less
5854 than 1.0.
5855 * math/s_clog10.c (__clog10): Likewise.
5856 * math/s_clog10f.c (__clog10f): Likewise.
5857 * math/s_clog10l.c (__clog10l): Likewise.
5858 * math/s_clogf.c (__clogf): Likewise.
5859 * math/s_clogl.c (__clogl): Likewise.
5860 * math/libm-test.inc (clog_test): Add more tests.
5861 (clog10_test): Likewise.
5862 * sysdeps/i386/fpu/libm-test-ulps: Update.
5863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5864
2bc13872
FW
58652012-07-31 Florian Weimer <fweimer@redhat.com>
5866
5867 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5868 Exit with zero in case no suitable GID is found, and write a
5869 message to standard error.
5870
bea9b193
RM
58712012-07-30 Roland McGrath <roland@hack.frob.com>
5872
5873 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5874 rather than to 1.
5875 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5876 (MAXPATHLEN): Removed.
5877 (NOGROUP, NODEV): New macros.
5878 (setbit, clrbit, isset, isclr): New macros.
5879 (howmany, roundup, powerof2): New macros.
5880 (DEV_BSIZE): New macro.
5881
5882 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5883 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5884
5885 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5886 definition on [!__NO_LONG_DOUBLE_MATH].
5887
5888 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5889 PTR_MANGLE and PTR_DEMANGLE.
5890
5891 * socket/accept4.c (accept4): Rename to __libc_accept4.
5892 Define accept4 as a weak alias.
5893
5894 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5895 on [_DIRENT_HAVE_D_TYPE].
5896 * io/ftw.c (ftw_dir): Likewise.
5897
5898 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5899
5900 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5901
5902 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5903 Use the BSD numbers rather than the arbitrary ones we had.
5904 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5905 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5906 (SIGXCPU, SIGXFSZ): New macros.
5907 (_NSIG): Now 32.
5908
5909 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5910 initializer on [_LIBC_REENTRANT].
5911
5912 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5913 definitions inside [_POSIX_MAPPED_FILES].
5914
5915 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5916
5917 * dirent/opendir.c: Include <fcntl.h>.
5918
5919 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5920 (__libc_getspecific): Likewise.
5921 (__libc_key_create): Likewise.
5922
5923 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5924 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5925 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5926 (tmpfile64): Define as alias.
5927 * sysdeps/wordsize-64/tmpfile.c: File removed.
5928 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5931
5932 * stdio-common/vfscanf.c: Include <stdbool.h>.
5933 * nss/makedb.c: Likewise.
5934 * stdio-common/_i18n_number.h: Likewise.
5935 * argp/argp-help.c: Likewise.
5936 * posix/wordexp.c: Likewise.
5937 * sysdeps/posix/spawni.c: Likewise.
5938 * nss/nss_files/files-initgroups.c: Likewise.
5939 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5940 * nss/nss_files/files-initgroups.c: Likewise.
5941 * nss/nss_db/db-netgrp.c: Likewise.
5942 * nss/nss_db/db-initgroups.c: Likewise.
5943 * io/fchmodat.c: Include <sys/stat.h>.
5944
5945 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5946 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5947
5948 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5949 [HAVE_MMAP].
5950
5951 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5952 Add multiple inclusion protection.
5953
e5abc686
DM
59542012-07-27 David S. Miller <davem@davemloft.net>
5955
5956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5957
815e6fa3
GB
59582012-07-27 Gary Benson <gbenson@redhat.com>
5959
5960 [BZ #14298]
5961 * elf/rtld.c: Include <stap-probe.h>.
5962 (dl_main): Added static probes "init_start" and "init_complete".
5963 * elf/dl-load.c: Include <stap-probe.h>.
5964 (lose): Take new parameter "nsid".
5965 Added static probe "map_failed".
5966 (_dl_map_object_from_fd): Pass namespace id to lose.
5967 Added static probe "map_start".
5968 (open_verify): Pass namespace id to lose.
5969 * elf/dl-open.c: Include <stap-probe.h>.
5970 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5971 and "reloc_complete".
5972 * elf/dl-close.c: Include <stap-probe.h>.
5973 (_dl_close_worker): Added static probes "unmap_start" and
5974 "unmap_complete".
5975 * elf/rtld-debugger-interface.txt: New file documenting the above.
5976
9f98c16c
RM
59772012-07-26 Roland McGrath <roland@hack.frob.com>
5978
5979 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5980 rather than a string variable.
5981 * sunrpc/rpc_main.c (h_output): Likewise.
5982 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5983
f3c22df3
PT
59842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5985
5986 * inet/check_native.c: New file.
5987
3129cfc6
JM
59882012-07-26 Joseph Myers <joseph@codesourcery.com>
5989
da865e95
JM
5990 [BZ #13629]
5991 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5992 if larger part has absolute value 1.0.
5993 * math/s_clog10.c (__clog10): Likewise.
5994 * math/s_clog10f.c (__clog10f): Likewise.
5995 * math/s_clog10l.c (__clog10l): Likewise.
5996 * math/s_clogf.c (__clogf): Likewise.
5997 * math/s_clogl.c (__clogl): Likewise.
5998 * math/libm-test.inc (clog_test): Add more tests.
5999 (clog10_test): Likewise.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002
3129cfc6
JM
6003 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6004 (pltexit): Likewise.
6005 (La_regs): Likewise.
6006 (La_retval): Likewise.
6007 (int_retval): Likewise.
6008 Update #error for removed macros to refer only to definitions in
6009 tst-audit.h.
6010 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6011 macro.
6012 (pltexit): Likewise.
6013 (La_regs): Likewise.
6014 (La_retval): Likewise.
6015 (int_retval): Likewise.
6016 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6017 macro.
6018 (pltexit): Likewise.
6019 (La_regs): Likewise.
6020 (La_retval): Likewise.
6021 (int_retval): Likewise.
6022 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
6041 macro.
6042 (pltexit): Likewise.
6043 (La_regs): Likewise.
6044 (La_retval): Likewise.
6045 (int_retval): Likewise.
6046 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6047 macro definitions in tst-audit.h.
6048 * sysdeps/i386/tst-audit.h: New file.
6049 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6050 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6051 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6052 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6053 * sysdeps/sh/tst-audit.h: Likewise.
6054 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6055 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6056 * sysdeps/x86_64/tst-audit.h: Likewise.
6057
bfc07087
AJ
60582012-07-26 Andreas Jaeger <aj@suse.de>
6059
b1b2aaf8
AJ
6060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6061 ptrace.
6062
6063 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6064 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6065 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6066 PTRACE_O_MASK.
6067 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6068 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6070
bfc07087
AJ
6071 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6072 value.
6073
6074 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6075 _sigsys.
6076 (si_call_addr, si_syscall, si_arch): Define new macro.
6077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6078 _sigsys.
6079 (si_call_addr, si_syscall, si_arch): Define new marcro.
6080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6081 _sigsys.
6082 (si_call_addr, si_syscall, si_arch): Define new macro.
6083 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6084 _sigsys.
6085 (si_call_addr, si_syscall, si_arch): Define new macro.
6086
89b4b02f
JM
60872012-07-25 Joseph Myers <joseph@codesourcery.com>
6088
6089 [BZ #13717]
6090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6091 Change to 2.4.21 where previously 2.4.1.
6092 * sysdeps/unix/sysv/linux/configure: Regenerated.
6093 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6094 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6095 Linux kernel version.
6096 (__ASSUME_STD_AUXV): Remove.
6097 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6098 kernel version.
6099 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6100 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6101 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6102 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6103 (__ASSUME_NETLINK_SUPPORT): Likewise.
6104 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6105 (__no_netlink_support): Remove conditional definition.
6106 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6107 Remove.
6108 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6109 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6110 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6111 (if_nameindex_ioctl): Remove.
6112 (if_nameindex_netlink): Do not handle __no_netlink_support.
6113 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6114 code.
6115 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6116 Remove conditional code.
6117 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6118 code.
6119 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6120 unconditional.
6121 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6122 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6123 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6124 Remove.
6125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6126 [!__ASSUME_STD_AUXV]: Remove conditional code.
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6128 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6129 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6131 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6133 code.
6134 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6138 conditional code.
6139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6142 code.
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6145 conditional code.
6146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6147 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6148 code unconditional.
6149 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6150 conditional code.
6151 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6152 unconditional.
6153 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6154 conditional code.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6156 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6157 unconditional.
6158 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6159 conditional code.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6161 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6162 code unconditional.
6163 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6164 conditional code.
6165 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6166 unconditional.
6167 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6168 conditional code.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6170 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6171 code unconditional.
6172 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6173 conditional code.
6174 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6175 unconditional.
6176 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6177 conditional code.
6178
842a39cd
AS
61792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6180
6181 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6184 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6185 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6189 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6190 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6191 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6192 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6193 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6197 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6199 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6201 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6204
84b3fd84
FW
62052012-07-25 Florian Weimer <fweimer@redhat.com>
6206
6207 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6208 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6209 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6210 Introduce __libc_secure_getenv.
0c7936d5
FW
6211 * stdlib/Versions (2.17): Add secure_getenv
6212 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6213 * stdlib/secure-getenv.c: Rename __secure_getenv to
6214 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6215 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6216 * stdlib/tst-secure-getenv.c: New.
6217 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6218 * manual/startup.texi (Environment Access): Document
6219 secure_getenv.
84b3fd84
FW
6220 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6221 __libc_secure_getenv.
6222 * inet/ruserpass.c (ruserpass): Likewise.
6223 * malloc/mtrace.c (mtrace): Likewise.
6224 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6225 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6226 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6227 * sysdeps/posix/tempname.c: Likewise. Evaluate
6228 HAVE_SECURE_GETENV.
6229 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6230 __secure_getenv to __libc_secure_getenv.
84b3fd84 6231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6233 Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6235 Likewise.
6236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6243
56e49b71
JM
62442012-07-25 Joseph Myers <joseph@codesourcery.com>
6245
6246 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6247 (struct La_i86_retval): Likewise.
6248 (struct La_x86_64_regs): Likewise.
6249 (struct La_x86_64_retval): Likewise.
6250 (struct La_x32_regs): Likewise.
6251 (struct La_x32_retval): Likewise.
6252 (struct La_ppc32_regs): Likewise.
6253 (struct La_ppc32_retval): Likewise.
6254 (struct La_ppc64_regs): Likewise.
6255 (struct La_ppc64_retval): Likewise.
6256 (struct La_sh_regs): Likewise.
6257 (struct La_sh_retval): Likewise.
6258 (struct La_s390_32_regs): Likewise.
6259 (struct La_s390_32_retval): Likewise.
6260 (struct La_s390_64_regs): Likewise.
6261 (struct La_s390_64_retval): Likewise.
6262 (struct La_sparc32_regs): Likewise.
6263 (struct La_sparc32_retval): Likewise.
6264 (struct La_sparc64_regs): Likewise.
6265 (struct La_sparc64_retval): Likewise.
6266 (struct audit_ifaces): Remove architecture-specific pltenter and
6267 pltexit members.
6268 * sysdeps/i386/ldsodefs.h: New file.
6269 * sysdeps/powerpc/ldsodefs.h: Likewise.
6270 * sysdeps/s390/ldsodefs.h: Likewise.
6271 * sysdeps/sh/ldsodefs.h: Likewise.
6272 * sysdeps/sparc/ldsodefs.h: Likewise.
6273 * sysdeps/x86_64/ldsodefs.h: Likewise.
6274
354691b7
MP
62752012-07-25 Marek Polacek <polacek@redhat.com>
6276
6277 [BZ #6808]
6278 * math/libm-test.inc (yn_test): Add another test.
6279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6280 to ERANGE when the result is +-Inf.
6281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6285
bf9e2071
JM
62862012-07-24 Joseph Myers <joseph@codesourcery.com>
6287
6288 * conform/data/time.h-data (NULL): Use macro-constant. Require
6289 equal to 0.
6290 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6291 clock_t.
6292 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6293
57633811
TS
62942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6295
6296 * configure.in <sysdeps resolving>: Correct printing
6297 Implies_before.
6298 * configure: Regenerate.
6299
c23c33b0
TS
63002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6301
6302 * math/w_ilogb.c: Include <limits.h>.
6303 * math/w_ilogbl.c: Likewise.
6304
b5982523
JM
63052012-07-20 Joseph Myers <joseph@codesourcery.com>
6306
6307 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6308 va_copy. Document allowing for unavailable va_copy only as
6309 pre-C99 compatibility.
6310 * manual/string.texi (Copying and Concatenation): Use va_copy
6311 instead of __va_copy in concat example.
6312
ac4ea442
PT
63132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6314
6315 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6316 (__sendto): Use create_address_port. Initialize APORT and deallocate
6317 it if not null.
6318
f98eafbd
PT
6319 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6320 with O_NOLINK passed to __file_name_lookup.
6321
898c7aab
PT
6322 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6323 with O_NOLINK passed to __file_name_lookup.
6324
0ced335a
PT
6325 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6326 negative N or less than NGIDS.
6327
b3404dbd
PT
6328 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6329 type to string_t. Set ERANGE as errno and return it if NAME is not big
6330 enough. Use memcpy instead of strncpy.
6331
0f48659e
JM
63322012-07-20 Joseph Myers <joseph@codesourcery.com>
6333
6334 * elf/Makefile (check-data): Remove.
6335 (localplt.data): New vpath directive.
6336 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6337 instead of $(check-data).
6338 * scripts/data/localplt-generic.data: Move to ...
6339 * sysdeps/generic/localplt.data: ... here.
6340 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6342 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6344 ... here.
6345 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6347 ... here.
6348 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6350 ... here.
6351 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6353 ... here.
6354 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6356 ... here.
6357 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6359 ... here.
6360
d37cbdaa
AZ
63612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6362
6363 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6364 PPC32 and PPC64 files.
6365 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6366 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6367
46f85fc2
AK
63682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6369
6370 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6371 __makecontext_ret to ...
6372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6373 ... here and call exit if uc_link is NULL. New file.
6374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6375 __makecontext_ret.S.
6376 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6377 __makecontext_ret to ...
6378 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6379 ... here and call exit if uc_link is NULL. New file.
6380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6381 __makecontext_ret.S.
6382
08f43f9b
AK
63832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6384
6385 * elf/elf.h (R_390_IRELATIVE): New definition.
6386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6387 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6388 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6390 (elf_machine_lazy_rel): Likewise.
6391 * sysdeps/s390/dl-irel.h: New file.
6392 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6393 * sysdeps/s390/s390-64/memset.S: New asm code.
6394 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6395 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6396 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6397 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6398 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6399 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6401 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6402 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6403 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6404 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6405 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6406 * sysdeps/s390/s390-32/memset.S: New asm code.
6407 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6408
3b05db33
MP
64092012-07-17 Marek Polacek <polacek@redhat.com>
6410
6411 [BZ #14349]
6412 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6413 * sysdeps/s390/s390-64/configure.in: Likewise.
6414 * sysdeps/sparc/configure.in: Likewise.
6415 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6416 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6417 * sysdeps/i386/configure.in: Likewise.
6418 * sysdeps/x86_64/configure.in: Likewise.
6419 * sysdeps/sh/configure.in: Likewise.
6420 * sysdeps/s390/s390-32/configure: Regenerated.
6421 * sysdeps/s390/s390-64/configure: Likewise.
6422 * sysdeps/x86_64/configure: Likewise.
6423 * sysdeps/sh/configure: Likewise.
6424 * sysdeps/powerpc/powerpc64/configure: Likewise.
6425 * sysdeps/powerpc/powerpc32/configure: Likewise.
6426 * sysdeps/sparc/configure: Likwise.
6427 * sysdeps/i386/configure: Likewise.
6428
a66877c6
MP
6429 * elf/dl-open.c: Comment fixes.
6430
cfc82fd8
JM
64312012-07-17 Joseph Myers <joseph@codesourcery.com>
6432
bd29910a
JM
6433 * Makefile [CXX] (check-data): Remove.
6434 [CXX] (c++-types.data): New vpath directive.
6435 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6436 vpath. Do not allow for C++ type data being missing.
6437 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6438 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6439 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6440 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6441 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6442 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6443 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6445 ... here.
6446 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6448 ... here.
6449 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6451 ... here.
6452 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6454 ... here.
6455 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6457 ... here.
6458 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6460 ... here.
6461 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6463 ... here.
6464 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6466
cfc82fd8
JM
6467 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6468 definitions to architecture-specific files.
6469 (TLS_IE): Likewise.
6470 (TLS_LD): Likewise.
6471 (TLS_GD): Likewise.
6472 * sysdeps/i386/tls-macros.h: New file.
6473 * sysdeps/powerpc/tls-macros.h: Likewise.
6474 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6475 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6476 * sysdeps/sh/tls-macros.h: Likewise.
6477 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6478 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6479 * sysdeps/x86_64/tls-macros.h: Likewise.
6480
f7db3170
TS
64812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6482
07cbfc23
TS
6483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6484 zero value for regular exit case.
6485
f7db3170
TS
6486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6487 (__start_context): Preserve zero value for regular exit case.
6488
dc97c227
TS
64892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6490 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6491
6492 * manual/setjmp.texi (setcontext): Clarify normal process
6493 termination when uc_link is the null pointer.
6494 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6495 exit call.
6496
d0cd7d02
AS
64972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6498
6499 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6500 preprocessor. Test for each exception mask separately.
6501
dd318934
AJ
65022012-07-16 Andreas Jaeger <aj@suse.de>
6503
6504 * po/ru.po: Update from translation team.
6505
8048311a
JM
65062012-07-15 Joseph Myers <joseph@codesourcery.com>
6507
6508 * conform/data/string.h-data (NULL): Use macro-constant. Require
6509 equal to 0.
6510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6512 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6513 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6515
b637d46e
AJ
65162012-07-13 Andreas Jaeger <aj@suse.de>
6517
6518 * po/fr.po: Update from translation team.
6519
541428fe
MP
65202012-07-12 Marek Polacek <polacek@redhat.com>
6521
6522 [BZ #14173]
6523 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6525 loop condition.
6526
ec332e94
JM
65272012-07-12 Joseph Myers <joseph@codesourcery.com>
6528
6529 [BZ #13717]
6530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6531 Change to 2.4.1 where previously 2.4.0.
6532 * sysdeps/unix/sysv/linux/configure: Regenerated.
6533 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6534 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6535 version.
6536 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6537 (__ASSUME_AT_CLKTCK): Remove.
6538 (__ASSUME_AT_PAGESIZE): Likewise.
6539 (__ASSUME_AT_XID): Likewise.
6540 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6541 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6542 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6543 unconditionally.
6544 (HAVE_AUX_PAGESIZE): Likewise.
6545 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6546 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6547 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6548
7b6e99be
JB
65492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6550
6551 [BZ #14307]
6552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6553 the temporary buffer used to invoke __gethostbyname2_r,
6554 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6555 host_data / struct gaih_addrtuple.
6556 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6557 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6558 header file nss/nsswitch.h.
6559 * nss/nsswitch.h (global scope): Add definition of implementation
6560 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6561 resolv/nss_dns/dns-host.c).
6562
608404eb
AJ
65632012-07-11 Andreas Jaeger <aj@suse.de>
6564
6565 * po/fr.po: Update from translation team.
6566
71220aca
AJ
6567 * po/sv.po: Update from translation team
6568 * po/fr.po: Another update from translation team.
6569
28cfe843
AZ
65702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6571
6572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6573 for subnormals or multiply small sinh result by itself.
6574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6576
6b90f981
DM
65772012-07-11 David S. Miller <davem@davemloft.net>
6578
6579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6580
c6825772
AS
65812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6582
6583 [BZ #14347]
6584 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6585 (INTERNAL_MARK): Shift it here.
6586
7b8e0d49
MP
65872012-07-10 Marek Polacek <polacek@redhat.com>
6588
6589 [BZ #14151]
6590 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6591 libc_cv_asm_global_directive with .globl.
6592 * configure: Regenerated.
6593 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6594 with .globl.
6595 * sysdeps/i386/configure: Regenerated.
6596 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6597 with .globl.
6598 * sysdeps/x86_64/configure: Regenerated.
6599 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6600 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6601 * elf/tst-unique2mod2.c: Likewise.
6602 * elf/tst-unique2mod1.c: Likewise.
6603 * elf/tst-unique1mod2.c: Likewise.
6604 * elf/tst-unique1mod1.c: Likewise.
6605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6608 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6609 * sysdeps/mach/sysdep.h: Likewise.
6610 * sysdeps/i386/sysdep.h: Likewise.
6611 * sysdeps/i386/i386-mcount.S: Likewise.
6612 * sysdeps/x86_64/_mcount.S: Likewise.
6613 * sysdeps/x86_64/sysdep.h: Likewise.
6614 * sysdeps/sh/_mcount.S: Likewise.
6615 * sysdeps/sh/sysdep.h: Likewise.
6616 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6622 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6623 * locale/localeinfo.h: Likewise.
6624 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6625 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6626
6c55cda3
RM
66272012-07-09 Roland McGrath <roland@hack.frob.com>
6628
6629 [BZ #14336]
6630 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6631 system".
6632 * manual/message.texi (The Uniforum approach): Likewise.
6633 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6634 (glibc iconv Implementation): Likewise.
6635
638a572e
JM
66362012-07-09 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #14337]
6639 * math/s_clog.c (__clog): Avoid scaling a value down where that
6640 could result in underflow.
6641 * math/s_clog10.c (__clog10): Likewise.
6642 * math/s_clog10f.c (__clog10f): Likewise.
6643 * math/s_clog10l.c (__clog10l): Likewise.
6644 * math/s_clogf.c (__clogf): Likewise.
6645 * math/s_clogl.c (__clogl): Likewise.
6646 * math/libm-test.inc (clog_test): Add more tests.
6647 (clog10_test): Likewise.
6648 * sysdeps/i386/fpu/libm-test-ulps: Update.
6649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6650
261f4859
AS
66512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6652
0abaf3e4
AS
6653 [BZ #14283]
6654 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6655 by 7 not 8 to examine high bit of fractional part.
6656
261f4859
AS
6657 [BZ #14042]
6658 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6659 for call to __mcount_internal.
6660 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6661 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6662 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6663
f17ac40d
JM
66642012-07-06 Joseph Myers <joseph@codesourcery.com>
6665
9ad63c23
JM
6666 [BZ #14154]
6667 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6668 approximation for values within 0x1p-13f of an odd multiple of
6669 pi/4.
6670 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6671 exception. Add more tests.
6672 * sysdeps/i386/fpu/libm-test-ulps: Update.
6673
f17ac40d
JM
6674 [BZ #6778]
6675 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6676 inputs and return -1 for them. Do not check for +Inf in case not
6677 reachable for +Inf.
6678 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6679 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6681 and return -1 for them. Do not check for +Inf in case not
6682 reachable for +Inf.
6683 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6684 define.
6685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6686 and return -1 for them. Do not check for +Inf in case not
6687 reachable for +Inf.
6688 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6689 spurious underflow.
6690 * sysdeps/i386/fpu/libm-test-ulps: Update.
6691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6692
fb21f89b
MF
66932012-07-06 Mike Frysinger <vapier@gentoo.org>
6694
6695 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6696
cdfe2c5e
JM
66972012-07-05 Joseph Myers <joseph@codesourcery.com>
6698
6699 [BZ #14157]
6700 [BZ #14331]
6701 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6702 could result in spurious underflow. Scale down values above
6703 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6704 * math/s_csqrtf.c (__csqrtf): Likewise.
6705 * math/s_csqrtl.c (__csqrtl): Likewise.
6706 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6707 spurious underflow.
6708 * sysdeps/i386/fpu/libm-test-ulps: Update.
6709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710
70d35b67
AS
67112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6712
704bc459
AS
6713 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6714 xopen-msg.sed.
6715 * catgets/xopen-msg.awk: New file.
6716 * catgets/xopen-msg.sed: Removed.
6717
70d35b67
AS
6718 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6719 po2text.sed.
6720 * intl/po2test.awk: New file.
6721 * intl/po2test.sed: Removed.
6722
ca61cf32
JM
67232012-07-04 Joseph Myers <joseph@codesourcery.com>
6724
6725 [BZ #14328]
6726 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6727 or multiply small sinh result by itself.
6728 * math/s_ctanf.c (__ctanf): Likewise.
6729 * math/s_ctanh.c (__ctanh): Likewise.
6730 * math/s_ctanhf.c (__ctanhf): Likewise.
6731 * math/s_ctanhl.c (__ctanhl): Likewise.
6732 * math/s_ctanl.c (__ctanl): Likewise.
6733 * math/libm-test.inc (ctan_test_tonearest): New function.
6734 (ctan_test_towardzero): Likewise.
6735 (ctan_test_downward): Likewise.
6736 (ctan_test_upward): Likewise.
6737 (ctanh_test_tonearest): Likewise.
6738 (ctanh_test_towardzero): Likewise.
6739 (ctanh_test_downward): Likewise.
6740 (ctanh_test_upward): Likewise.
6741 (main): Call these new functions.
6742 * sysdeps/i386/fpu/libm-test-ulps: Update.
6743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6744
ca48a46a
MF
67452012-07-03 Mike Frysinger <vapier@gentoo.org>
6746
6747 * .gitignore: Delete /ports entry.
6748
9d63d37d
AJ
67492012-07-03 Andreas Jaeger <aj@suse.de>
6750
6751 * po/bg.po: Update from translation team.
6752 * po/cs.po: Likewise.
6753 * po/de.po: Likewise.
6754 * po/hr.po: Likewise.
6755 * po/nl.pl: Likewise.
6756 * po/pl.po: Likewise.
6757 * po/vi.po: Likewise.
6758
370ca3d2
JM
67592012-07-03 Joseph Myers <joseph@codesourcery.com>
6760
95f5a9a8
JM
6761 * Makeconfig [!+link] (+link-before-libc): New variable.
6762 [!+link] (+link-after-libc): Likewise.
6763 [!+link] (+link-tests): Likewise.
6764 [!+link] (+link): Define in terms of $(+link-before-libc) and
6765 $(+link-after-libc).
6766 [!+link-static] (+link-static-before-libc): New variable.
6767 [!+link-static] (+link-static-after-libc): Likewise.
6768 [!+link-static] (+link-static-tests): Likewise.
6769 [!+link-static] (+link-static): Define in terms of
6770 $(+link-static-before-libc) and $(+link-static-after-libc).
6771 [build-shared] (link-libc-before-gnulib): New variable.
6772 [build-shared] (link-libc-tests): Likewise.
6773 [build-shared] (link-libc): Define in terms of
6774 $(link-libc-before-gnulib).
6775 [!build-shared] (link-libc-tests): New variable.
6776 (link-libc-static-tests): New variable.
6777 [!gnulib] (gnulib-arch): New variable.
6778 [!gnulib] (gnulib-tests): Likewise.
6779 [!gnulib] (static-gnulib-arch): Likewise.
6780 [!gnulib] (static-gnulib-tests): Likewise.
6781 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6782 Define with "=" instead of ":=".
6783 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6784 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6785 * Rules (binaries-all-notests): New variable.
6786 (binaries-all-tests): Likewise.
6787 (binaries-static-notests): Likewise.
6788 (binaries-static-tests): Likewise.
6789 (binaries-all): Define using $(binaries-all-notests) and
6790 $(binaries-all-tests).
6791 (binaries-static): Define using $(binaries-static-notests) and
6792 $(binaries-static-tests).
6793 (binaries-shared-tests): New variable.
6794 (binaries-shared-notests): Likewise.
6795 (binaries-shared): Remove variable.
6796 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6797 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6798 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6799 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6800 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6801 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6802 * elf/Makefile (sln-modules): New variable.
6803 (extra-objs): Add $(sln-modules:=.o).
6804 (ldconfig-modules): Add static-stubs.
6805 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6806 * elf/static-stubs.c: New file.
6807
7a845b2c
JM
6808 [BZ #14283]
6809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6810 by 7 not 8 to examine high bit of fractional part. Use volatile
6811 variables when splitting into final array of floats if
6812 __FLT_EVAL_METHOD__ != 0.
6813 * math/libm-test.inc (cos_test): Add another test.
6814 (sin_test): Likewise.
6815 * sysdeps/i386/fpu/libm-test-ulps: Update.
6816
e2283f38
JM
6817 [BZ #14273]
6818 * math/libm-test.inc (cosh_test): Add more tests.
6819
370ca3d2
JM
6820 * version.h (RELEASE): Set to "development".
6821 (VERSION): Set to "2.16.90".
6822
ee9247c3
CD
68232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6824
6825 * NEWS: Update copyright. Remove last-updated date.
6826 Mention math library bug fixes and timezone data changes.
6827 * README: Mention GNU/Hurd, x32, and HPPA support status.
6828
4648c381
TS
68292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6830
6831 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6832
aac78a43
AJ
68332012-06-27 Andreas Jaeger <aj@suse.de>
6834
6835 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6836
ed3dbfad
AJ
68372012-06-25 Andreas Jaeger <aj@suse.de>
6838
6839 * sysdeps/s390/fpu/libm-test-ulps: Update.
6840
4d0ee855
AS
68412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6842 Thomas Schwinge <thomas@codesourcery.com>
6843
6844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6845 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6847 fanotify_mark.
6848
af1bce34
TS
68492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6850
a9fa33ba
TS
6851 * sysdeps/mach/start.c: Remove file.
6852 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6853 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6854 * sysdeps/sh/init-first.c: Likewise.
6855
58f902b8
TS
6856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6857 registers for frame unwinding purposes, add CFI directives.
6858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6860 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6861 Likewise.
6862
1518f58b
TS
6863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6864 __fortify_fail returning.
6865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6866
db9b5059
TS
6867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6868 sysdeps/sh/____longjmp_chk.S.
6869 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6870 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6871 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6872 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6873
967705fe
TS
6874 * sysdeps/sh/abort-instr.h: New file.
6875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6876 process in case exit returns.
6877
a9def8c4
TS
6878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6879 initialize the GOT register before use.
6880
2a649725
TS
6881 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6882 calculation of ARGC > 4.
6883
af1bce34
TS
6884 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6885 meaningful names to some local labels.
6886
d230f50a
KK
68872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6888 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6889
6890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6891 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6892 (__arch_compare_and_exchange_val_16_acq): Likewise.
6893 (__arch_compare_and_exchange_val_32_acq): Likewise.
6894 (atomic_exchange_and_add): Fix gUSA sequence.
6895 (atomic_add): Likewise.
6896 (atomic_add_negative): Likewise.
6897 (atomic_add_zero): Likewise.
6898 (atomic_bit_test_set): Likewise.
6899
0479b305
AS
69002012-06-22 Andreas Schwab <schwab@redhat.com>
6901
6902 [BZ #13579]
6903 * include/link.h (struct link_map): Add l_free_initfini.
6904 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6905 l_initfini.
6906 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6907 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6908 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6909 set.
6910
0e3933b9
CD
69112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6912
6913 * configure.in: Use AC_LANG_SOURCE.
6914 * configure: Regenerate.
6915
4248b1b1
RM
69162012-06-22 Roland McGrath <roland@hack.frob.com>
6917
6918 * configure.in (libc_cv_localstatedir): New substituted variable.
6919 * configure: Regenerated.
6920 * config.make.in (localstatedir): New variable, substituted from
6921 libc_cv_localstatedir.
6922 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6923 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6924 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6925 * sysdeps/gnu/configure: Regenerated.
6926
006dd861
JL
69272012-06-21 Jeff Law <law@redhat.com>
6928
6929 [BZ #14277]
6930 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6931 free. Simplify list management for _LIBC case.
6932
79662d42
JM
69332012-06-21 Joseph Myers <joseph@codesourcery.com>
6934
b7abb4bf
JM
6935 [BZ #14273]
6936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6937 Clear sign bit of 64-bit integer value before comparing against
6938 overflow value.
6939
79662d42
JM
6940 * sysdeps/mach/configure: Regenerated.
6941
1f150908
L
69422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 [BZ #14278]
6945 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6946
28363bbf
JL
69472012-06-21 Jeff Law <law@redhat.com>
6948
6949 [BZ #13882]
6950 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6951 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6953 * elf/dl-open.c (dl_open_worker): Likewise.
6954
09615db4
CD
69552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6956
6957 * scripts/list-sources.sh: Scan PORTS for translations.
6958 * po/libc.pot: Regenerated.
6959
2174c6dd
AJ
69602012-06-21 Andreas Jaeger <aj@suse.de>
6961
6962 [BZ #12194]
6963 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6964 warning.
6965 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6966 * bits/byteswap-16.h (__bswap_16): Likewise.
6967 * bits/byteswap.h (__bswap_constant_16): Likewise.
6968
3ee947b1
L
69692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6970
6971 [BZ #14117]
a2f34833
L
6972 * sysdeps/i386/fpu_control.h: Removed.
6973 * sysdeps/x86_64/fpu_control.h: Moved to ...
6974 * sysdeps/x86/fpu_control.h: Here.
6975
3ee947b1
L
6976 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6977 (_FPU_SETCW): Likewise.
6978
ed1825f8
L
69792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6980
25f1282a
L
6981 [BZ #14117]
6982 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6983 * sysdeps/x86/fpu/bits/mathinline.h: This.
6984 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6985
ed1825f8
L
6986 [BZ #14050]
6987 [BZ #14117]
6988 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6989 functions if __x86_64__ is defined.
6990
36d54b74
CLT
69912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6992
6993 * string/endian.h: Add !__ASSEMBLER__ condition for including
6994 conversion interfaces.
6995
10285c21
JM
69962012-06-15 Joseph Myers <joseph@codesourcery.com>
6997
6998 [BZ #14241]
6999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7000 of ABS(x) in calculating zero to negative powers other than odd
7001 integers.
7002 * math/libm-test.inc (pow_test): Add more tests.
7003
06c5abbd
AJ
70042012-06-15 Andreas Jaeger <aj@suse.de>
7005
7006 * manual/contrib.texi (Contributors): Update entry of Liubov
7007 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7008 Machado Filho.
7009
a3aeac40
CH
70102012-06-15 Cyril Hrubis <metan@ucw.cz>
7011
7012 * string/string.h: Add __wur to GNU version of strerror_r.
7013
49bdf4c1
L
70142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7015
7016 [BZ #14229]
7017 * string/Makefile (tests): Add tst-strtok_r.
7018 * string/tst-strtok_r.c: New file.
7019 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7020 RAX_LP/RDX_LP on SAVE_PTR.
7021
834f9b8d
RM
70222012-06-14 Roland McGrath <roland@hack.frob.com>
7023
7024 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7025
75fa1921
JM
70262012-06-14 Joseph Myers <joseph@codesourcery.com>
7027
7028 * libm_test.inc (csqrt_test): Allow more spurious underflow
7029 exceptions.
7030 (j0_test): Likewise.
7031 (j1_test): Likewise.
7032 (y0_test): Likewise.
7033 (y1_test): Likewise.
7034
771766df
CD
70352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7036
7037 * po/Makefile (libc.pot): Use UTF-8 charset.
7038
ceb9e56b
PP
70392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7040
7041 [BZ #14210]
7042 Suppress sign-conversion warning from FD_SET.
7043 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7044 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7045 not unsigned long int.
7046 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7047
ddb28975
L
70482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 [BZ #14050]
7051 [BZ #14117]
7052 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7053 __extern_always_inline instead of __extern_inline.
7054 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7055 (__signbit): Likewise.
7056 (__signbitl): Support C++ namespace.
7057 (lrintf): New inline function.
7058 (lrint): Likewise.
7059 (llrintf): Likewise.
7060 (llrint): Likewise.
7061 (fmaxf): Likewise.
7062 (fmax): Likewise.
7063 (fminf): Likewise.
7064 (fmin): Likewise.
7065 (rint): Likewise.
7066 (rintf): Likewise.
7067 (ceil): Likewise.
7068 (ceilf): Likewise.
7069 (floor): Likewise.
7070 (floorf): Likewise.
7071 (nearbyint): Likewise.
7072 (nearbyintf): Likewise.
7073
d7b4fb26
TS
70742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7075
7076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7077 non-default versions.
7078
eb55f5c2
RM
70792012-06-11 Roland McGrath <roland@hack.frob.com>
7080
7081 [BZ #14218]
7082 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7083
366af02c
TS
70842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7085
99ff6e5c
TS
7086 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7087 (FE_UPWARD, FE_DOWNWARD): Don't define.
7088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7090
366af02c
TS
7091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7092 reading it.
7093 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7095
793ea851
KK
70962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7097
7098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7102
a728a38f
L
71032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 [BZ #14117]
c08010c7
L
7106 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7107 * sysdeps/i386/fpu/Implies: New file.
7108 * sysdeps/x86_64/fpu/Implies: Likewise.
7109 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7110 * sysdeps/x86/fpu/bits/fenv.h: This.
7111
a728a38f
L
7112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7113 __SSE_MATH__.
7114
6e230d11
SP
71152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7116
7117 [BZ #14134]
7118 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7119 character 0xffff that matches the last element of the
7120 conversion table.
7121
1b671feb
AZ
71222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7123
7124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7125 fmodl commit.
7126
6043738b
AZ
71272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7128
7129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7130 values higher than 25.6283.
7131
34ae0b32
AZ
71322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7133
7134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7135 subnormal exponent extraction and add some __builtin_expect.
7136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7137 Fix for subnormal mantissa calculation.
7138
1214ec8f
MF
71392012-06-04 Mike Frysinger <vapier@gentoo.org>
7140
7141 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7142 cpu2 is -1 and errno is not ENOSYS.
7143
f3d1f93c
L
71442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7145
7146 [BZ #14117]
0e4a3cd7
L
7147 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7148 * sysdeps/x86/bits/string.h: This.
7149 * sysdeps/x86_64/bits/string.h: Removed.
7150
6704c645
L
7151 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7152 if not compiling for x86-64, but compiling for >= i486.
7153
48495318
L
7154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7155 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7156
14adcbfc
L
7157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7158 New macro from Linux kernel 3.4.0.
7159 (FP_XSTATE_MAGIC2): Likewise.
7160 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7161 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7162 (struct _fpx_sw_bytes): New struct.
7163 (struct _xsave_hdr): Likewise.
7164 (struct _ymmh_state): Likewise.
7165 (struct _xstate): Likewise.
7166
68e408ab
L
7167 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7168 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7170 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7172 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7173
f3d1f93c
L
7174 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7176 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7177 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7178 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7179 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7180
d9dc34cd
TMQMF
71812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7182
7183 [BZ #13743]
7184 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7185 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7186 (sysdep_headers): Include sys/platform/ppc.h.
7187 * sysdeps/powerpc/test-gettimebase.c: Test for
7188 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7189 * manual/Makefile (appendices): Include platform.texi.
7190 * manual/contrib.texi (Contributors): Update @node pointers.
7191 * manual/maint.texi (Maintenance): Likewise.
7192 (Platform): New node.
7193 * manual/platform.texi: New file. Document the new features.
7194
4af3879c
SP
71952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7196 Jakub Jelinek <jakub@redhat.com>
7197
7198 [BZ #14188]
7199 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7200 where __builtin_expect is unavailable.
7201
2fd6ff13
DM
72022012-06-03 David S. Miller <davem@davemloft.net>
7203
7204 * stdlib/longlong.h: Updated from GCC.
7205
173f7220
AS
72062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7207
7208 [BZ #14042]
7209 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7210 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7211 __mcount_internal.
7212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7213 (GLIBC_2.16): Likewise.
7214
f34a1c6f
L
72152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7216
7217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7218
88a4576f
JM
72192012-06-01 Joseph Myers <joseph@codesourcery.com>
7220
ea32bcdd
JM
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7222 (default-abi): New variable.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7224 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7225 variable.
7226 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7227 Likewise.
7228 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7229 Likewise.
7230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7231 Likewise.
7232
88a4576f
JM
7233 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7234 definition. Document in comment.
7235
402fe938
DM
72362012-06-01 David S. Miller <davem@davemloft.net>
7237
7238 * stdlib/longlong.h: Updated from GCC.
7239
3553723f
L
72402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7241
7242 [BZ #14117]
3bd872c4
L
7243 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7244 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7245 sys/debugreg.h sys/io.h here.
7246 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7247 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7248 sys/io.h.
7249 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7250 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7252 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7254 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7255
3553723f
L
7256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7257 Define only if __x86_64__ is defined.
7258
4842e4fe
JM
72592012-06-01 Joseph Myers <joseph@codesourcery.com>
7260
c5bfe3d5
JM
7261 [BZ #14048]
7262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7263 Use int64_t for variable i.
7264 * math/libm-test.inc (fmod_test): Add more tests.
7265
4842e4fe
JM
7266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7267 z computation is not scheduled after fetestexcept.
7268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7269 Use math_force_eval instead of asm to ensure calculation scheduled
7270 before exception test.
7271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7272 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7273
efb73488
AJ
72742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7275
7276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7277 computation is not scheduled after fetestexcept.
7278
29bcce7c
L
72792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7280
7281 [BZ #14117]
7282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7284
73a68f94
AZ
72852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7286
7287 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7289
67b6df78
L
72902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7291
edf2933a 7292 [BZ #14117]
ebc64a18
L
7293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7294 <bits/wordsize.h>.
7295 (__WCHAR_MIN): Support __WORDSIZE == 64.
7296 (__WCHAR_MAX): Likewise.
7297
edf2933a
L
7298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7300
57c6cf40
L
7301 [BZ #14183]
7302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7303 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7304
67b6df78 7305 [BZ #14117]
8eb6281e
L
7306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7308
aac639f4
L
7309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7311
67b6df78
L
7312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7313 Defined to 1 if __x86_64__ isn't defined.
7314 (_STAT_VER_LINUX_OLD): New.
7315 (st_atime): Remove duplicate.
7316 (st_mtime): Likewise.
7317 (st_ctime): Likewise.
7318
1c2cfe81
DM
73192012-05-31 David S. Miller <davem@davemloft.net>
7320
7321 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7322 entries.
7323
5be8418c
AS
73242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7325
e7725326
AS
7326 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7327 gen-libm-test.pl.
7328
5be8418c
AS
7329 [BZ #14132]
7330 * elf/dl-reloc.c: Include <_itoa.h>.
7331 (_dl_reloc_bad_type): Remove use of INTUSE.
7332 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7333 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7334 * stdio-common/psiginfo.c (psiginfo): Likewise.
7335 * stdio-common/psignal.c (psignal): Likewise.
7336 * string/strsignal.c (strsignal): Likewise.
7337 * include/signal.h (_sys_siglist): Declare hidden proto.
7338 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7339 INTVARDEF with libc_hidden_data_def.
7340 * stdio-common/itoa-udigits.c: Likewise.
7341 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7342 (_itoa_lower_digits_internal): Remove declaration.
7343 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7344 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7345 (_sys_sigabbrev_internal): Remove aliases.
7346 (_sys_siglist): Define hidden alias.
7347
507352f1
MT
73482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7349
7350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7351 bits/sysctl.h.
7352
42bbb1c3
L
73532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7354
7355 [BZ #14117]
6bd784b6
L
7356 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7357 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7358
8bca20f0
L
7359 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7361 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7362 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7364 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7365
f9e890a9
L
7366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7368 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7369
471101a1
L
7370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7371 with __addr.
7372 (insw): Likewise.
7373 (insl): Likewise.
7374 (outsb): Likewise.
7375 (outsw): Likewise.
7376 (outsl): Likewise.
7377
6451c862
L
7378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7381
a254b8c9
L
7382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7385 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7386 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7388
b8dfdd92
L
7389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7390 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7391
578cd270
L
7392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7393 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7394
de662f5f
L
7395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7398
25653439
L
7399 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7400 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7401 to ...
7402 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7403
6bad24a0
L
7404 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7406 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7407
42bbb1c3
L
7408 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7409 for x86-64.
7410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7411
2d10d547
JM
74122012-05-31 Joseph Myers <joseph@codesourcery.com>
7413
7414 * math/math.h (M_El): Use two more decimal places.
7415 (M_LOG2El): Likewise.
7416 (M_LOG10El): Likewise.
7417 (M_LN2l): Likewise.
7418 (M_LN10l): Likewise.
7419 (M_PIl): Likewise.
7420 (M_PI_2l): Likewise.
7421 (M_PI_4l): Likewise.
7422 (M_1_PIl): Likewise.
7423 (M_2_PIl): Likewise.
7424 (M_2_SQRTPIl): Likewise.
7425 (M_SQRT2l): Likewise.
7426 (M_SQRT1_2l): Likewise.
7427
f230c29b
DM
74282012-05-31 David S. Miller <davem@davemloft.net>
7429
7430 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7431 values between float registers.
7432 * sysdeps/sparc/sparc64/memset.S: Likewise.
7433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7434
fed806c3
MF
74352012-05-31 Mike Frysinger <vapier@gentoo.org>
7436
7437 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7438 -D_FORTIFY_SOURCE=1.
7439 (CPPFLAGS-tst-longjmp_chk.c): Define.
7440 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7441 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7442 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7443 CFLAGS-tst-wchar-h.c.
7444
30917259
MP
74452012-05-31 Marek Polacek <polacek@redhat.com>
7446
7447 [BZ #14132]
7448 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7449 __endmntent_internal): Remove declaration.
7450 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7451 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7452 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7453
1c58d5dc
DM
74542012-05-30 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7457 (___Q_simulate_exceptions): Use real FP ops rather than writing
7458 into the %fsr.
7459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7460 Likewise.
7461
7dc00e0d
L
74622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7463
7464 [BZ #14117]
0bd53985
L
7465 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7466 * sysdeps/x86/bits/xtitypes.h: This.
7467
3a257e66
L
7468 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7469 * sysdeps/x86/bits/wordsize.h: This.
7470
62f62904
L
7471 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7472 * sysdeps/x86/bits/huge_vall.h: This.
7473
404fe9d9
L
7474 * sysdeps/i386/bits/select.h: Removed.
7475 * sysdeps/x86_64/bits/select.h: Renamed to ...
7476 * sysdeps/x86/bits/select.h: This.
7477
d48d0446
L
7478 * sysdeps/i386/bits/setjmp.h: Removed.
7479 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7480 * sysdeps/x86/bits/setjmp.h: This.
7481
7dc00e0d
L
7482 * sysdeps/i386/bits/mathdef.h: Removed.
7483 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7484 * sysdeps/x86/bits/mathdef.h: This.
7485
03277f8f
AS
74862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7487
7488 [BZ #14132]
7489 * include/sys/socket.h (__connect_internal)
7490 (__libc_sa_len_internal): Remove declaration.
7491 (__connect, __libc_sa_len): Declare hidden_proto.
7492 (SA_LEN): Remove use of INTUSE.
7493 * socket/connect.c: Add libc_hidden_def.
7494 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7495 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7496 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7497 alias.
7498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7500 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7501 of adding _internal alias.
7502
13764867
L
75032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7504
7505 [BZ #14117]
6bd97696
L
7506 * sysdeps/i386/bits/link.h: Removed.
7507 * sysdeps/i386/bits/linkmap.h: Likewise.
7508 * sysdeps/x86_64/bits/link.h: Renamed to ...
7509 * sysdeps/x86/bits/link.h: This.
7510 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7511 * sysdeps/x86/bits/linkmap.h: This.
7512
f726f0bb
L
7513 * sysdeps/i386/bits/endian.h: Removed.
7514 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7515 * sysdeps/x86/bits/endian.h: This.
7516
13764867
L
7517 * sysdeps/i386/bits/byteswap.h: Removed.
7518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7519 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7520 * sysdeps/x86/bits/byteswap.h: This.
7521 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7522 * sysdeps/x86/bits/byteswap-16.h: This.
7523 * sysdeps/i386/Implies: Add x86.
7524 * sysdeps/x86_64/Implies: Likewise.
7525
ae251b0b
DM
75262012-05-30 David S. Miller <davem@davemloft.net>
7527
7528 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7529 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7531 (FP_TRAPPING_EXCEPTIONS): Define.
7532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7533 (FP_TRAPPING_EXCEPTIONS): Define.
7534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7535 subnormals only when inexact has been signalled or underflow
7536 exceptions are enabled.
7537 (_FP_PACK_CANONICAL): Likewise.
7538
d5c90867
L
75392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 [BZ #14183]
7542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7543 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7544
63f1549e
RH
75452012-05-30 Richard Henderson <rth@twiddle.net>
7546
8d8f2279
RH
7547 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7548 with #ifndef NOT_IN_libc.
7549
63f1549e
RH
7550 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7551 marked to avoid plt entry.
7552
0ab0291b
L
75532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 [BZ #14112]
7556 * Makeconfig (default-abi): New macro.
7557 (abi-includes): Likewise.
7558 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7559 $(abi-$(default-abi)-lib-soname) for soname if defined.
7560 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7561 abi-variants.
7562 * Makefile (installed-stubs): Likewise.
7563 * include/stubs-biarch.h: Removed.
7564 * scripts/lib-names.awk: Only handle one library at a time.
7565 * scripts/soversions.awk: Remove WORDSIZE support.
7566 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7567 entries.
7568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7569 Removed.
7570 (syscall-list-default-condition): Likewise.
7571 (syscall-list-default-condition): Likewise.
7572 (syscall-list-includes): Likewise.
7573 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7574 syscall-list-* with abi-*. Handle undefined abi-variants.
7575 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7576 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7577 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7578 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7579 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7580 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7581 Removed.
7582 (syscall-list-32-options): Likewise.
7583 (syscall-list-32-condition): Likewise.
7584 (syscall-list-64-options): Likewise.
7585 (syscall-list-64-condition): Likewise.
7586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7587 macro.
7588 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7589 Renamed to ...
7590 (abi-*): This.
7591 (abi-64-ld-soname): New macro.
7592 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7593 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7594 Renamed to ...
7595 (abi-*): This.
7596 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7597 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7598
4da0431d
JM
75992012-05-30 Joseph Myers <joseph@codesourcery.com>
7600
3a85279c
JM
7601 * sysdeps/unix/sysv/linux/kernel-features.h
7602 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7603 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7604 include <kernel-features.h>.
7605 [!__NR_ftruncate64]: Remove conditional code.
7606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7607 [__NR_ftruncate64]: Make code unconditional.
7608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7609 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7610 include <kernel-features.h>.
7611 [!__NR_ftruncate64]: Remove conditional code.
7612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7613 [__NR_ftruncate64]: Make code unconditional.
7614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
4da0431d
JM
7628 * configure.in (libc_cv_fpie): Weaken to a compile test using
7629 LIBC_TRY_CC_OPTION.
7630 * configure: Regenerated.
7631
11ef492c
AK
76322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7633
7634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7638 Refreshed.
7639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7645 Refreshed.
7646
d66ef399
DM
76472012-05-27 David S. Miller <davem@davemloft.net>
7648
7649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7650 (___Q_zero): New.
7651 (__Q_simulate_exceptions): Return void. Change to simulate
7652 exceptions by writing into the %fsr.
7653 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7654 (__Qp_handle_exceptions): Likewise.
7655 (numbers): Delete.
7656 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7657 __Qp_handle_exceptions.
7658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7659 __Qp_handle_exceptions.
7660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7661 as unused and give dummy FP_RND_NEAREST initializer.
7662 (FP_INHIBIT_RESULTS): Define.
7663 (___Q_simulate_exceptions): Update declaration.
7664 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7665 formatting.
7666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7667 as unused and give dummy FP_RND_NEAREST initializer.
7668 (__Qp_handle_exceptions): Update declaration.
7669 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7670 formatting.
7671
04fb54b5
TS
76722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7673
7674 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7675 the temporary FPU control word.
7676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7677 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7678 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7682 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7685 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7687
3f99608f
KK
76882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7689
7690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7691 fields.
7692
65a4de4e
CLT
76932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7694
7695 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7696 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7697 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7698 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7699 Likewise.
7700 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7701 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7702 Likewise.
7703
15749d40
UD
77042012-05-27 Ulrich Drepper <drepper@gmail.com>
7705
7706 * po/h.po: Update from translation team.
7707
25dbcb27
AS
77082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7709
3d3f8e55
AS
7710 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7711
25dbcb27
AS
7712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7713 handling of denormals.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7721 Likewise.
7722
7ad47a80 77232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7724
7725 [BZ #14152]
7726 * math/libm-test.inc (fma_test): Don't always expect underflow
7727 exception.
7728
9c6ea9fa
SP
77292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
7731 [BZ #12416]
7732 * elf/tst-execstack.c: Include stackinfo.h.
7733 (do_test): Adjust test case to ensure that pthread_getattr_np
7734 behaviour remains the same after marking stack executable.
7735
a8239222
JM
77362012-05-25 Joseph Myers <joseph@codesourcery.com>
7737
7738 * sysdeps/unix/sysv/linux/kernel-features.h
7739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7741 kernel-features.h.
7742 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7743 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7744 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7745 kernel-features.h.
7746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7748
918b5606
L
77492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7750
7751 * configure.in: Define the default includes to being none.
7752 * configure: Regenerated.
7753
3a097cc7
RM
77542012-05-25 Roland McGrath <roland@hack.frob.com>
7755
8422c9a5
RM
7756 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7757 * sysdeps/x86_64/setjmp.S: Likewise.
7758 * sysdeps/i386/bsd-setjmp.S: Likewise.
7759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7760 * sysdeps/i386/setjmp.S: Likewise.
7761 * sysdeps/i386/__longjmp.S: Likewise.
7762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7764
3a097cc7
RM
7765 * include/stap-probe.h: New file.
7766 * configure.in: Handle --enable-systemtap.
7767 * configure: Regenerated.
7768 * config.h.in (USE_STAP_PROBE): New #undef.
7769 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7770 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7771 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7772
21708942
JM
77732012-05-25 Joseph Myers <joseph@codesourcery.com>
7774
7775 [BZ #13717]
7776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7777 to 2.4.0 where earlier.
7778 * sysdeps/unix/sysv/linux/configure: Regenerated.
7779 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7780 <kernel-features.h>.
7781 [__ASSUME_32BITUIDS]: Make code unconditional.
7782 [!__ASSUME_32BITUIDS]: Remove conditional code.
7783 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7784 <kernel-features.h>.
7785 [__ASSUME_32BITUIDS]: Make code unconditional.
7786 [!__ASSUME_32BITUIDS]: Remove conditional code.
7787 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7788 [__ASSUME_32BITUIDS]: Make code unconditional.
7789 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7790 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7791 <kernel-features.h>.
7792 [__ASSUME_32BITUIDS]: Make code unconditional.
7793 [!__ASSUME_32BITUIDS]: Remove conditional code.
7794 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7795 <kernel-features.h>.
7796 [__ASSUME_32BITUIDS]: Make code unconditional.
7797 [!__ASSUME_32BITUIDS]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7799 <kernel-features.h>.
7800 [__ASSUME_32BITUIDS]: Make code unconditional.
7801 [!__ASSUME_32BITUIDS]: Remove conditional code.
7802 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
7831 <kernel-features.h>.
7832 [__NR_setresgid] (__setresgid): Do not declare.
7833 [__ASSUME_32BITUIDS]: Make code unconditional.
7834 [!__ASSUME_32BITUIDS]: Remove conditional code.
7835 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7836 <kernel-features.h>.
7837 [__NR_setresuid] (__setresuid): Do not declare.
7838 [__ASSUME_32BITUIDS]: Make code unconditional.
7839 [!__ASSUME_32BITUIDS]: Remove conditional code.
7840 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7841 <kernel-features.h>.
7842 [__ASSUME_32BITUIDS]: Make code unconditional.
7843 [!__ASSUME_32BITUIDS]: Remove conditional code.
7844 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7845 <kernel-features.h>.
7846 [__ASSUME_32BITUIDS]: Make code unconditional.
7847 [!__ASSUME_32BITUIDS]: Remove conditional code.
7848 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7849 <kernel-features.h>.
7850 [__ASSUME_32BITUIDS]: Make code unconditional.
7851 [!__ASSUME_32BITUIDS]: Remove conditional code.
7852 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
7881 (__ASSUME_SETRESUID_SYSCALL): Remove.
7882 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7883 (__ASSUME_32BITUIDS): Likewise.
7884 (__ASSUME_LDT_WORKS): Likewise.
7885 (__ASSUME_O_DIRECTORY): Likewise.
7886 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7887 architecture but not kernel version.
7888 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7889 (__ASSUME_MMAP2_SYSCALL): Likewise.
7890 (__ASSUME_STAT64_SYSCALL): Likewise.
7891 (__ASSUME_IPC64): Likewise.
7892 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7893 <kernel-features.h>.
7894 [__ASSUME_32BITUIDS]: Make code unconditional.
7895 [!__ASSUME_32BITUIDS]: Remove conditional code.
7896 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7897 <kernel-features.h>.
7898 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7899 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7900 132096]: Remove conditional code.
7901 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7903 <kernel-features.h>.
7904 [__ASSUME_32BITUIDS]: Make code unconditional.
7905 [!__ASSUME_32BITUIDS]: Remove conditional code.
7906 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7907 <kernel-features.h>.
7908 [__ASSUME_32BITUIDS]: Make code unconditional.
7909 [!__ASSUME_32BITUIDS]: Remove conditional code.
7910 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7911 <kernel-features.h>.
7912 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7913 unconditional.
7914 (__setresgid): Do not declare.
7915 [__ASSUME_32BITUIDS]: Make code unconditional.
7916 [!__ASSUME_32BITUIDS]: Remove conditional code.
7917 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7918 <kernel-features.h>.
7919 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7920 unconditional.
7921 (__setresuid): Do not declare.
7922 [__ASSUME_32BITUIDS]: Make code unconditional.
7923 [!__ASSUME_32BITUIDS]: Remove conditional code.
7924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7925 <kernel-features.h>.
7926 [__ASSUME_32BITUIDS]: Make code unconditional.
7927 [!__ASSUME_32BITUIDS]: Remove conditional code.
7928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7929 <kernel-features.h>.
7930 [__ASSUME_32BITUIDS]: Make code unconditional.
7931 [!__ASSUME_32BITUIDS]: Remove conditional code.
7932
a386f1cc
RH
79332012-05-25 Richard Henderson <rth@twiddle.net>
7934
7935 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7936 dl_hwcap to ifunc resolver.
7937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7938 elf_ifunc_invoke.
7939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7940 dl_hwcap to ifunc resolver.
7941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7942
b6550497
JM
79432012-05-24 Joseph Myers <joseph@codesourcery.com>
7944
7945 [BZ #14153]
7946 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7947 for |x| <= 2**-26, not 2**-57.
7948 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7949 exception.
7950
b0bc23a1
JL
79512012-05-24 Jeff Law <law@redhat.com>
7952
7953 * stdio-common/Makefile (tests): Add bug25.
7954 * stdio-common/bug25.c: New test.
7955
347c92e9
L
79562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 [BZ #13576]
7959 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7960 multiple of MALLOC_ALIGNMENT in size.
7961 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7962
6bcc8b3f
JM
79632012-05-24 Joseph Myers <joseph@codesourcery.com>
7964
7965 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7966 Require >= 256.
7967 (FILENAME_MAX): Use macro-int-constant.
7968 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7969 (_IOFBF): Use macro-int-constant.
7970 (_IOLBF): Likewise.
7971 (_IONBF): Likewise.
7972 (SEEK_CUR): Likewise.
7973 (SEEK_END): Likewise.
7974 (SEEK_SET): Likewise.
7975 (TMP_MAX): Likewise.
7976 (EOF): Use macro-int-constant. Require < 0.
7977 (NULL): Use macro-constant. Require == 0.
7978 (stdin): Require type to be FILE *.
7979 (stdout): Likewise.
7980 (stderr): Likewise.
7981 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7982 macro-int-constant.
7983 (EXIT_SUCCESS): Likewise.
7984 (NULL): Use macro-constant. Require == 0.
7985 (RAND_MAX): Use macro-int-constant.
7986 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7987 [C99-based standards] (strtof): Require function.
7988 [C99-based standards] (strtold): Likewise.
7989 [C99-based standards] (strtoll): Likewise.
7990 [C99-based standards] (strtoull): Likewise.
7991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7992 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7993 [ISO || ISO99 || ISO11] (math.h): Likewise.
7994 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7997
d18ea0c5
AS
79982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7999
8000 [BZ #14132]
56d25bb8
AS
8001 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8002 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8003 * intl/dgettext.c (DCGETTEXT): Likewise.
8004 * intl/gettext.c (DCGETTEXT): Likewise.
8005 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8006 * posix/regex_internal.h (gettext): Likewise.
8007 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8008 Remove declaration.
8009 * include/argz.h (__argz_count_internal)
8010 (__argz_stringify_internal): Remove declaration.
8011 (__argz_count, __argz_stringify): Declare hidden proto.
8012 * intl/dcgettext.c: Remove use of INTDEF.
8013 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8014 * string/argz-stringify.c: Likewise.
8015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8017 Declare hidden proto.
d18ea0c5
AS
8018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8020 Declare hidden proto.
8021 * include/stdio.h (__asprintf_internal): Don't declare.
8022 (__asprintf): Don't define as macro. Declare hidden proto.
8023 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8024 (__fsetlocking): Declare hidden proto.
8025 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8026 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8027 hidden proto.
8028 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8029 (_IO_setlinebuf): Remove use of INTUSE.
8030 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8031 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8032 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8033 Remove declaration.
8034 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8035 (_IO_do_flush): Remove use of INTUSE.
8036 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8037 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8038 (_IO_adjust_column, _IO_least_wmarker)
8039 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8040 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8041 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8042 (_IO_default_doallocate, _IO_wdefault_doallocate)
8043 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8044 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8045 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8046 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8047 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8048 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8049 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8050 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8051 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8052 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8053 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8054 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8055 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8056 proto.
8057 (_IO_flush_all_internal, _IO_adjust_column_internal)
8058 (_IO_default_uflow_internal, _IO_default_finish_internal)
8059 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8060 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8061 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8062 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8063 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8064 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8065 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8066 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8067 (_IO_file_close_internal, _IO_file_close_it_internal)
8068 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8069 (_IO_file_init_internal, _IO_file_attach_internal)
8070 (_IO_file_fopen_internal, _IO_file_read_internal)
8071 (_IO_file_sync_internal, _IO_file_seek_internal)
8072 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8073 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8074 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8075 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8076 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8077 (_IO_list_all_internal, _IO_link_in_internal)
8078 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8079 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8080 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8081 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8082 (_IO_do_write_internal, _IO_padn_internal)
8083 (_IO_getline_info_internal, _IO_getline_internal)
8084 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8085 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8086 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8087 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8088 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8089 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8090 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8091 with libc_hidden_ver, remove use of INTUSE.
8092 * libio/genops.c: Likewise.
8093 * libio/freopen.c: Likewise.
8094 * libio/freopen64.c: Likewise.
8095 * libio/iofclose.c: Likewise.
8096 * libio/iofdopen.c: Likewise.
8097 * libio/iofflush.c: Likewise.
8098 * libio/iofflush_u.c: Likewise.
8099 * libio/iofgets.c: Likewise.
8100 * libio/iofgets_u.c: Likewise.
8101 * libio/iofopen.c: Likewise.
8102 * libio/iofopncook.c: Likewise.
8103 * libio/iofread.c: Likewise.
8104 * libio/iofread_u.c: Likewise.
8105 * libio/ioftell.c: Likewise.
8106 * libio/iofwrite.c: Likewise.
8107 * libio/iogetline.c: Likewise.
8108 * libio/iogets.c: Likewise.
8109 * libio/iogetwline.c: Likewise.
8110 * libio/iopadn.c: Likewise.
8111 * libio/iopopen.c: Likewise.
8112 * libio/ioseekoff.c: Likewise.
8113 * libio/ioseekpos.c: Likewise.
8114 * libio/iosetbuffer.c: Likewise.
8115 * libio/iosetvbuf.c: Likewise.
8116 * libio/ioungetc.c: Likewise.
8117 * libio/ioungetwc.c: Likewise.
8118 * libio/iovdprintf.c: Likewise.
8119 * libio/iovsprintf.c: Likewise.
8120 * libio/iovsscanf.c: Likewise.
8121 * libio/memstream.c: Likewise.
8122 * libio/obprintf.c: Likewise.
8123 * libio/oldfileops.c: Likewise.
8124 * libio/oldiofclose.c: Likewise.
8125 * libio/oldiofdopen.c: Likewise.
8126 * libio/oldiofopen.c: Likewise.
8127 * libio/oldiopopen.c: Likewise.
8128 * libio/oldstdfiles.c: Likewise.
8129 * libio/putc.c: Likewise.
8130 * libio/setbuf.c: Likewise.
8131 * libio/setlinebuf.c: Likewise.
8132 * libio/stdfiles.c: Likewise.
8133 * libio/strops.c: Likewise.
8134 * libio/vasprintf.c: Likewise.
8135 * libio/vscanf.c: Likewise.
8136 * libio/vsnprintf.c: Likewise.
8137 * libio/vswprintf.c: Likewise.
8138 * libio/wfiledoalloc.c: Likewise.
8139 * libio/wfileops.c: Likewise.
8140 * libio/wgenops.c: Likewise.
8141 * libio/wmemstream.c: Likewise.
8142 * libio/wstrops.c: Likewise.
8143 * libio/__fpurge.c: Likewise.
8144 * libio/__fsetlocking.c: Likewise.
8145 * assert/assert.c: Likewise.
8146 * debug/fgets_chk.c: Likewise.
8147 * debug/fgets_u_chk.c: Likewise.
8148 * debug/fread_chk.c: Likewise.
8149 * debug/fread_u_chk.c: Likewise.
8150 * debug/gets_chk.c: Likewise.
8151 * debug/obprintf_chk.c: Likewise.
8152 * debug/vasprintf_chk.c: Likewise.
8153 * debug/vdprintf_chk.c: Likewise.
8154 * debug/vsnprintf_chk.c: Likewise.
8155 * debug/vsprintf_chk.c: Likewise.
8156 * malloc/mtrace.c: Likewise.
8157 * misc/error.c: Likewise.
8158 * misc/syslog.c: Likewise.
8159 * stdio-common/asprintf.c: Likewise.
8160 * stdio-common/fxprintf.c: Likewise.
8161 * stdio-common/getw.c: Likewise.
8162 * stdio-common/isoc99_fscanf.c: Likewise.
8163 * stdio-common/isoc99_scanf.c: Likewise.
8164 * stdio-common/isoc99_vfscanf.c: Likewise.
8165 * stdio-common/isoc99_vscanf.c: Likewise.
8166 * stdio-common/isoc99_vsscanf.c: Likewise.
8167 * stdio-common/printf-prs.c: Likewise.
8168 * stdio-common/printf_fp.c: Likewise.
8169 * stdio-common/printf_fphex.c: Likewise.
8170 * stdio-common/printf_size.c: Likewise.
8171 * stdio-common/putw.c: Likewise.
8172 * stdio-common/scanf.c: Likewise.
8173 * stdio-common/sprintf.c: Likewise.
8174 * stdio-common/tmpfile.c: Likewise.
8175 * stdio-common/vfprintf.c: Likewise.
8176 * stdio-common/vfscanf.c: Likewise.
8177 * stdlib/strfmon_l.c: Likewise.
8178 * sunrpc/openchild.c: Likewise.
8179 * sunrpc/xdr_stdio.c: Likewise.
8180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8181 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8182
d6c33fda
RM
81832012-05-24 Roland McGrath <roland@hack.frob.com>
8184
c1487492
RM
8185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8186
8187 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8188 in the third column, to generate for the shared library an IFUNC
8189 that uses _dl_vdso_vsym.
8190 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8191 * Makeconfig (object-suffixes-noshared): New variable.
8192
8193 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8194 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8195 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8196 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8197
d6c33fda
RM
8198 [BZ #14132]
8199 * include/sys/time.h (__gettimeofday): Remove macro.
8200 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8201 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8202 Remove INTDEF.
8203 (__gettimeofday): Add libc_hidden_def.
8204 (gettimeofday): Add libc_hidden_weak.
8205 * sysdeps/mach/gettimeofday.c: Likewise.
8206 * sysdeps/posix/gettimeofday.c: Likewise.
8207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8210 (__gettimeofday_internal): Remove strong_alias.
8211 (__gettimeofday): Add libc_hidden_def.
8212 (gettimeofday): Add libc_hidden_weak.
8213 * sysdeps/unix/syscalls.list (gettimeofday):
8214 Remove __gettimeofday_internal alias.
8215
b5a2bbe6
L
82162012-05-24 Daniel Jacobowitz <drow@false.org>
8217 H.J. Lu <hongjiu.lu@intel.com>
8218
8219 [BZ #12495]
8220 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8221 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8222 (largebin_index_32_big): New.
8223 (largebin_index): Use it for 16-byte alignment.
8224 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8225 correction with front_misalign.
8226
cfba4fda
L
82272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8228
7f907421
L
8229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8231 Likewise.
8232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8233 Likewise.
8234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8235 Likewise.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8237 Likewise.
8238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8239 Likewise.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8241 Likewise.
8242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8243 Likewise.
8244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8245 Likewise.
8246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8247 Likewise.
8248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8249 Likewise.
8250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8251 Likewise.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8253 Likewise.
8254
cfba4fda
L
8255 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8256 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8257
80bad0cc
JM
82582012-05-24 Joseph Myers <joseph@codesourcery.com>
8259
7a25eb06
JM
8260 [BZ #10846]
8261 [BZ #14036]
8262 * math/libm-test.inc (exp_test): Add test from bug 14036.
8263 (pow_test): Add test from bug 10846.
8264
795405f9
JM
8265 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8266 and other flags.
8267 (special_function): Do not include flags in test name.
8268 (parse_args): Likewise.
8269 * sysdeps/i386/fpu/libm-test-ulps: Update.
8270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8274
80bad0cc
JM
8275 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8276 exceptions.
8277 * math/libm-test.inc ("Philosophy"): Update comment about
8278 exception testing.
8279 (UNDERFLOW_EXCEPTION): New macro.
8280 (UNDERFLOW_EXCEPTION_OK): Likewise.
8281 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8282 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8283 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8284 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8285 (INVALID_EXCEPTION_OK): Update value.
8286 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8287 (OVERFLOW_EXCEPTION_OK): Likewise.
8288 (IGNORE_ZERO_INF_SIGN): Likewise.
8289 (test_exceptions): Handle underflow exceptions.
8290 (acos_test): Update for underflow exception expectations.
8291 (cexp_test): Likewise.
8292 (clog_test): Likewise.
8293 (clog10_test): Likewise.
8294 (csqrt_test): Likewise.
8295 (ctan_test): Likewise.
8296 (ctanh_test): Likewise.
8297 (exp_test): Likewise.
8298 (exp10_test): Likewise.
8299 (exp2_test): Likewise.
8300 (expm1_test): Likewise.
8301 (fma_test): Likewise.
8302 (j0_test): Likewise.
8303 (jn_test): Likewise.
8304 (nexttoward_test): Likewise.
8305 (pow_test): Likewise.
8306 (scalbn_test): Likewise.
8307 (scalbln_test): Likewise.
8308 (tan_test): Likewise.
8309 (y1_test): Likewise.
8310 * sysdeps/i386/fpu/libm-test-ulps: Update.
8311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8312
9e0e3d0b
DM
83132012-05-23 David S. Miller <davem@davemloft.net>
8314
8315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8316 (__libc_sigaction): Remove unused local variables.
8317
ccd0a08f
L
83182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8321
62bdf9a6
PE
83222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8323
f8591f80
PE
8324 mktime: avoid signed integer overflow
8325 * time/mktime.c (__mktime_internal): Do not mishandle the case
8326 where diff == INT_MIN.
8327
94c7d826
PE
8328 mktime: simplify computation of average
8329 * time/mktime.c (ranged_convert): Use new time_t_avg function
8330 instead of rolling our own (probably-slower) code.
8331
ce73d683
PE
8332 mktime: do not assume signed right shift propagates sign bit
8333 * time/mktime.c (isdst_differ): New static function.
8334 (__mktime_internal): No need to normalize tm_isdst now.
8335 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8336 tm_isdst values.
8337
72a22e59
PE
8338 mktime: merge another wrapv change from gnulib
8339 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8340 from some compilers.
8341
68605433
PE
8342 mktime: remove incorrect attempt at unusual arithmetics
8343 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8344 The code didn't really work on such machines anyway.
8345 (TYPE_MINIMUM): Assume two's complement.
8346 (twos_complement_arithmetic): Verify that long_int and time_t
8347 are two's complement (or unsigned, in the latter case).
8348
03cf7fe3
PE
8349 mktime: check signed shifts on long_int and time_t, too
8350 * time/mktime.c (SHR): Check that shifts work as desired
8351 on the types long_int and time_t too, as SHR is used on
8352 such types.
8353
f04dfbc2
PE
8354 mktime: do not assume 'long' is wide enough
8355 * time/mktime.c (verify): Move decl up.
8356 (long_int): New type.
8357 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8358 to remove assumption in the code that 'long' is wide enough to
8359 store year values. This assumption is not true on x32 and on
8360 some non-glibc platforms.
8361
62bdf9a6
PE
8362 mktime: merge wrapv change from gnulib
8363 * time/mktime.c (WRAPV): New macro.
8364 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8365 (guess_time_tm, __mktime_internal): Do not assume that signed
8366 integer overflow wraps around; modern compilers generate code
8367 where this assumption is no longer valid.
8368
5e292e4f
L
83692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8372 Replace "jmp L(pseudo_end)" with "ret".
8373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8374 Likewise.
8375
8caf8c87
AJ
83762012-05-23 Andreas Jaeger <aj@suse.de>
8377
8378 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8379 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8380
1a09dc56
AJ
83812012-05-23 Andreas Jaeger <aj@suse.de>
8382 Maximilian Attems <max@stro.at>
8383
8384 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8385 New macros.
8386
1c87aba0
L
83872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8388
8389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8390 code so that pseudo_end is just ret and the stack pointer is
8391 correct also for static library in error case.
8392
40e45bd5
JM
83932012-05-23 Joseph Myers <joseph@codesourcery.com>
8394
c2670533
JM
8395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8396 move to syscalls.list.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8401
40e45bd5
JM
8402 * manual/install.texi (Running make install): Do not mention Linux
8403 kernel version for which pt_chown is not needed.
8404 (Linux): Do not mention problems with nscd with 2.0 kernels.
8405 * INSTALL: Regenerated.
8406
be08eda5
AJ
84072012-05-23 Andreas Jaeger <aj@suse.de>
8408
8409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8410 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8411 macro.
8412 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8414 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8416 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8422 * sysdeps/unix/sysv/linux/bits/in.h
8423 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8424
a6a056bb
RM
84252012-05-22 Roland McGrath <roland@hack.frob.com>
8426
8427 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8428 (PREPARE_VERSION): Just use assert instead, it will be elided
8429 under [NDEBUG] anyway.
8430
c9009328
L
84312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8432
8433 * sysdeps/unix/sysv/linux/Makefile: Include
8434 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8435 (sysdep_routines): Remove sysctl.
c9009328
L
8436 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8437 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8440 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8441
73338355
AJ
84422012-05-22 Andreas Jaeger <aj@suse.de>
8443
8444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8445 that pseudo_end is just ret and the stack pointer is correct also
8446 for static library in error case.
8447
d44638b0
PP
84482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8449
8450 [BZ #14122]
8451 * nss/nsswitch.c (defconfig_entries): New variable.
8452 (__nss_database_lookup): Don't leak defconfig entries.
8453 (nss_parse_service_list): Don't leak on error paths.
8454 (free_database_entries): New function.
8455 (free_defconfig): New function.
8456 (free_mem): Move common code to free_database_entries.
8457
31a39bd8
L
84582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8459
da0331a8
L
8460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8461 Add arch_prctl.
8462 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8463
31a39bd8
L
8464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8465 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8467 New macro.
8468 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8469 (INTERNAL_SYSCALL_TYPES): Likewise.
8470 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8471 (LOAD_REGS_TYPES_[1-6]): Likewise.
8472 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8473 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8474
45470df3
AZ
84752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476
8477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8478 copysignl for GLIBC_2_0.
8479 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8480 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8482 logbl for GLIBC_2_0.
8483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8484 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8485
98a61bcb
L
84862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8487
a4f6e481
L
8488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8490
f63d5db6
L
8491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8492 Use "neg %eax".
8493
98a61bcb
L
8494 * time/mktime.c: Update copyright years.
8495
95770f14
PE
84962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8497
6226efbd
PE
8498 mktime: merge comment-quoting-style change from gnulib
8499 * time/mktime.c: Quote 'like this' in comments.
8500 The GNU coding standards suggest that we no longer quote `like this',
8501 as "`" and "'" are typically rendered asymmetrically nowadays.
8502 The typical gnulib style is to quote 'like this' when quoting
8503 code, and "like this" when quoting English.
8504
b99e4f78
PE
8505 * time/mktime.c (compile-command): Add "-I.".
8506
643e01e6
PE
8507 mktime: merge mktime-internal.h change from gnulib
8508 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8509
2554247d
PE
8510 mktime: merge time_r change from gnulib
8511 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8512
826dd0ab
PE
8513 mktime: merge DEBUG change from gnulib
8514 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8515 case system <time.h> has a #define.
8516
bd83aabe
PE
8517 mktime: merge <sys/types.h> change from gnulib
8518 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8519 since <time.t> is now guaranteed to define time_t.
8520
95770f14
PE
8521 mktime: merge HAVE_CONFIG_H change from gnulib
8522 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8523
5e1a27a9
L
85242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8525
0e44a77e
L
8526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8527 Use "neg %eax".
8528
5e1a27a9
L
8529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8530 __rlim_t cast.
8531 (struct rusage): Use anonymous union to pad each field to
8532 __syscall_slong_t.
8533
46259bec
DM
85342012-05-21 David S. Miller <davem@davemloft.net>
8535
8536 * Makefules (o-iterator): Remove .s cases.
8537 (compile-command.s): Delete.
8538 (COMPILE.s): Delete.
8539 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8540
59f0c22e
JM
85412012-05-21 Joseph Myers <joseph@codesourcery.com>
8542
8543 * configure.in (libc_cv_predef_stack_protector): Only consider
8544 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8545 * configure: Regenerated.
8546
20c07380
L
85472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8548
bbb3154b
L
8549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8550 New macro. Use R*LP on int and pointer.
8551 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8552 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8553 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8554 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8555
20c07380
L
8556 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8557 [__WORDSIZE_TIME64_COMPAT32] instead of
8558 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8559 (struct utmp): Likewise.
8560 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8561 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8562 Renamed to ...
8563 (__WORDSIZE_TIME64_COMPAT32): This.
8564 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8565 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8566 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8567 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8569 (__WORDSIZE_TIME64_COMPAT32): New macro.
8570
d8d1017e
AJ
85712012-05-21 Andreas Jaeger <aj@suse.de>
8572
8573 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8574 only if [SHARED]. Add prototype for __wcschr_ia32.
8575
6c7fb145
RM
85762012-05-21 Roland McGrath <roland@hack.frob.com>
8577
8578 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8579 of %rbp unmolested in the jmp_buf while mangling the low bits.
8580 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8581 unmolested high bits of %rbp while demangling the low bits.
8582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8583
66274218
AJ
85842012-05-21 Andreas Jaeger <aj@suse.de>
8585
07c58f8f
AJ
8586 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8587 * sunrpc/svc_simple.c: Use it for registerrpc.
8588 * sunrpc/xcrypt.c: Use it for passwd2des.
8589
66274218
AJ
8590 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8591
61f65140
L
85922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8595 Don't define if [__SYSCALL_WORDSIZE != 32].
8596 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8597 New macro.
8598
5fefb436
AJ
85992012-05-21 Bruno Haible <bruno@clisp.org>
8600 Andreas Jaeger <aj@suse.de>
8601
8602 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8603 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8604 inptr and inend for must_buffer_ch.
8605 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8606 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8607 * stdio-common/Makefile (tests): Remove bug15.
8608 (bug15-ENV): Remove macro.
8609 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8610 anymore.
8611
d8e272ab
AJ
86122012-05-19 Andreas Jaeger <aj@suse.de>
8613 Roland McGrath <roland@hack.frob.com>
8614
8615 * manual/contrib.texi: Completely rewritten. It contains now an
8616 alphabetical list of contributors and their contributions.
8617
4a56a162
RH
86182012-05-21 Richard Henderson <rth@twiddle.net>
8619
8620 * misc/getauxval.c (__getauxval): Use unsigned long int.
8621 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8622 (getauxval): Use unsigned long int.
8623
d024d23c
L
86242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8627
cbc00a03
RM
86282012-05-21 Roland McGrath <roland@hack.frob.com>
8629
8630 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8631 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8632 __alignof__ (long double).
8633
478143fa
AZ
86342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8635
8636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8637
c7683a6d
RH
86382012-05-20 Richard Henderson <rth@twiddle.net>
8639
8640 * misc/getauxval.c: New file.
8641 * misc/sys/auxv.h: New file.
8642 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8643 (routines): Add getauxval.
8644 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8646 * elf/dl-sysdep.c (_dl_auxv): Remove.
8647 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8648 * elf/dl-support.c (_dl_auxv): New variable.
8649 (_dl_aux_init): Initialize it.
8650 * manual/startup.texi (Auxiliary Vector): New node.
8651 * sysdeps/generic/bits/hwcap.h: New file.
8652 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8653 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8654 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8655 * sysdeps/sparc/sysdep.h: ... here. Include it.
8656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8659 Update.
c7683a6d
RH
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8668
a6f1845d
AZ
86692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8670
8671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8672
cbcbe830
DM
86732012-05-19 David S. Miller <davem@davemloft.net>
8674
8675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8676
e0b16cc2
JM
86772012-05-19 Joseph Myers <joseph@codesourcery.com>
8678
8679 [BZ #14123]
8680 * math/s_ccosh.c: Include <float.h>
8681 (__ccosh): Avoid internal overflow calculating sinh and cosh
8682 values before multiplying by sin and cos values.
8683 * math/s_ccoshf.c: Likewise.
8684 * math/s_ccoshl.c: Likewise.
8685 * math/s_csin.c: Likewise.
8686 * math/s_csinf.c: Likewise.
8687 * math/s_csinl.c: Likewise.
8688 * math/s_csinh.c: Likewise.
8689 * math/s_csinhf.c: Likewise.
8690 * math/s_csinhl.c: Likewise.
8691 * math/libm-test.inc (ccos_test): Add more tests.
8692 (ccosh_test): Likewise.
8693 (csin_test): Likewise.
8694 (csinh_test): Likewise.
8695 * sysdeps/i386/fpu/libm-test-ulps: Update.
8696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8697
6ad13e08
L
86982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8699
f66f0ce8
L
8700 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8701 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8702
6ad13e08
L
8703 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8704
b1d072a7
JM
87052012-05-19 Joseph Myers <joseph@codesourcery.com>
8706
8707 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8708 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8709 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8710 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8711 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8712 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8713 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8714 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8715 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8716 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8717 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8718 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8719 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8720 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8721 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8722 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8723 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8724 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8725 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8726 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8727 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8728 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8729 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8730 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8731 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8732 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8733 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8734 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8735 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8736 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8737 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8738
9eae47cb
AJ
87392012-05-18 Andreas Jaeger <aj@suse.de>
8740
8741 * csu/.gitignore: Delete.
8742
bb07f69f
L
87432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8746 (timex): Use __syscall_slong_t.
8747
e6bdb741
AJ
87482012-05-18 Andreas Jaeger <aj@suse.de>
8749 Carlos O'Donell <carlos_odonell@mentor.com>
8750
8751 * manual/install.texi (Configuring and compiling): Update
8752 description about files modified in the source directory.
d6c33fda 8753 * INSTALL: Regenerated.
e6bdb741 8754
1b74487e
L
87552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8758 value. Use "or" to set return value to -1.
8759 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8760 negate return value.
8761
a88b64b9
TMQMF
87622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8763
8764 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8765 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8766 failure if the compiler has Graphite support disabled.
8767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8768 Likewise.
8769 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8770 CFLAGS-memmove.c): Likewise.
8771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8772 Likewise.
8773
3707636e
L
87742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8775
610b8622
L
8776 * sysdeps/x86_64/x32/_itoa.h: New file.
8777
7cd195df
L
8778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8779 getdents system call only if kernel and user dirents have the
8780 same d_ino and d_off.
8781
94b07d20
L
8782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8783 LLONG_MAX != LONG_MAX.
8784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8785 (_fitoa_word): Likewise.
8786
18298070
L
8787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8788 years.
8789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8792
553c7ea4
L
8793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8794 include <bits/wordsize.h>. Check __x86_64__ instead of
8795 __WORDSIZE.
8796 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8797 if __x86_64__ is defined. Use anonymous union on fpstate.
8798
3707636e
L
8799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8800 anonymous union.
8801
b53ef01a
AS
88022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8803
37fb1dc0
AS
8804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8805 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8807 Refer to _rtld_local_ro instead of _rtld_global_ro.
8808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8809 Likewise.
8810 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8811 Likewise.
8812 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8813 Likewise.
8814 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8815 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8816 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8817
b53ef01a
AS
8818 * sysdeps/powerpc/powerpc32/dl-machine.c
8819 (__elf_machine_runtime_setup) [PROF]: Don't reference
8820 _dl_prof_resolve.
8821
7a185db2
AJ
88222012-05-18 Andreas Jaeger <aj@suse.de>
8823
8824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8825 function only available for GCCs before 3.4 since GCC 3.4
8826 introduced a builtin.
8827 (lrint): Likewise.
8828 (llrintf): Likewise.
8829 (llrint): Likewise.
8830 (fmaxf): Likewise.
8831 (fmax): Likewise.
8832 (fminf): Likewise.
8833 (fmin): Likewise.
8834 (rint): Likewise.
8835 (rintf): Likewise.
8836 (nearbyint): Likewise.
8837 (nearbyintf): Likewise.
8838 (ceil): Likewise.
8839 (ceilf): Likewise.
8840 (floor): Likewise.
8841 (floorf): Likewise.
8842
3e5aef87
L
88432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8844
428bd707
L
8845 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8846 on both fields and cast pointer to __syscall_ulong_t.
8847
3e5aef87
L
8848 * bits/types.h (__fsword_t): New type.
8849 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8850 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8852 (__FSWORD_T_TYPE): Likewise.
8853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8854 (__FSWORD_T_TYPE): Likewise.
8855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8856 (__FSWORD_T_TYPE): Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8858 (__FSWORD_T_TYPE): Likewise.
8859 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8860 __SWORD_TYPE with __fsword_t.
8861 (statfs64): Likewise.
8862
1ba7c3dc
DM
88632012-05-17 David S. Miller <davem@davemloft.net>
8864
8865 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8866
59910343
AJ
88672012-05-17 Andreas Jaeger <aj@suse.de>
8868
8869 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8870 warning.
8871
2e4c1e9e
L
88722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8873
8874 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8875
de7f5ce7
AJ
88762012-05-17 Andreas Jaeger <aj@suse.de>
8877
8878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8879 when it is used.
8880
286abc3d
CM
88812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8882
8883 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8884
477cc68e
L
88852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8886
8887 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8888 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8889
1a0994f5
CD
88902012-05-17 Andreas Jaeger <aj@suse.de>
8891 Carlos O'Donell <carlos_odonell@mentor.com>
8892
8893 [BZ #14059]
8894 * sysdeps/x86_64/multiarch/init-arch.h
8895 (bit_YMM_Usable): Rename to...
8896 (bit_AVX_Usable): ... this.
8897 (bit_FMA4_Usable): New macro.
8898 (bit_XMM_state): New macro.
8899 (bit_YMM_state): New macro.
8900 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8901 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8902 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8903 (CPUID_OSXSAVE): New macro.
8904 (CPUID_AVX): New macro.
8905 (CPUID_FMA4): New macro.
8906 (index_YMM_Usable): Rename to...
8907 (index_AVX_Usable): ... this.
8908 (HAS_AVX): Use HAS_ARCH_FEATURE.
8909 (HAS_FMA4): Likewise.
8910 (HAS_YMM_USABLE): Remove.
8911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8912 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8913 are present.
8914 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8915 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8916 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8917 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8918 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8919
0af797de
CM
89202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8921
8922 * math/libm-test.c: Support platforms without multiple rounding modes.
8923 * math/bug-nextafter.c: Support platforms without FP exceptions.
8924 * math/bug-nexttoward.c: Likewise.
8925 * math/test-fenv.c: Likewise.
8926 * math/test-misc.c: Likewise.
8927 * stdlib/bug-getcontext.c: Likewise.
8928
e39745ff
AJ
89292012-05-17 Andreas Jaeger <aj@suse.de>
8930
8931 * manual/examples/search.c (critter_cmp): Change signature to
8932 avoid warnings.
8933 * manual/string.texi (Collation Functions): Likewise.
8934
48970aba
L
89352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 * bits/types.h: Fold copyright years.
8938 * bits/typesizes.h: Likewise.
8939 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8943 * time/time.h: Likewise.
8944
bedee953
PP
89452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8946
8947 [BZ #208]
8948 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8949 in instead of returning them. Return void.
8950 (__libc_mallinfo): Accumulate over all arenas.
8951 (__malloc_stats): Adjust for change in int_mallinfo interface.
8952
61653dfb
RM
89532012-05-16 Roland McGrath <roland@hack.frob.com>
8954
30b99d79
RM
8955 [BZ #10375]
8956 * configure.in (NM): Add AC_CHECK_TOOL for it.
8957 (libc_extra_cflags): New substituted variable.
8958 Check for -fstack-protector being used implicitly.
8959 * configure: Regenerated.
8960 * config.make.in (config-extra-cflags): New variable,
8961 gets @libc_extra_cflags@.
8962 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8963
61653dfb
RM
8964 [BZ #10375]
8965 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8966 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8967 * configure: Regenerated.
8968 * config.make.in (CPPUNDEFS): New substituted variable.
8969 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8970 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8971 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8972
661768bb
L
89732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8976 (mq_attr): Use __syscall_slong_t.
8977
d4261567
L
89782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8981 Check __x86_64__ instead of __WORDSIZE.
8982 (_STAT_VER_LINUX): Likewise.
8983 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8984 __syscall_ulong_t and __syscall_slong_t.
8985 (stat64): Likewise.
8986
cf3ff365
L
89872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8988
8989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8990
76cf3e4d
L
89912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8994
a637753a
L
89952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8998 __syscall_ulong_t.
8999
d5e05119
L
9000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9001 include <bits/wordsize.h>. Check __x86_64__ instead of
9002 __WORDSIZE.
9003 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9004 defined.
9005 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9006
f62ee380
L
9007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9008 include <bits/wordsize.h>. Check __x86_64__ instead of
9009 __WORDSIZE.
9010 (user_regs_struct): Use "__extension__ unsigned long long"
9011 instead of "unsigned long" if __x86_64__ is defined.
9012 (user): Likewise. Pad after pointer field if __ILP32__ is
9013 defined.
9014
4e124ced
JM
90152012-05-16 Joseph Myers <joseph@codesourcery.com>
9016
6a3951a0
JM
9017 * configure.in (makeinfo): Require version 4.5 or later. Allow
9018 versions 5 to 9.
9019 * configure: Regenerated.
9020 * manual/install.texi (texinfo): Increase version requirement to
9021 4.5 or later.
9022 * INSTALL: Regenerated.
9023
4e124ced
JM
9024 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9025
953ca31a
L
90262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9027
9028 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9029
617aca05
L
9030 * sysdeps/x86_64/x32/ffs.c: New file.
9031
5762f7ae
L
9032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9033 __syscall_ulong_t.
9034 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9035 defined. Use __syscall_ulong_t.
9036 (shminfo): Use __syscall_ulong_t.
9037 (shm_info): Likewise.
9038
a26b6856
L
9039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9040 __syscall_ulong_t.
9041
cb2b9ef7
L
9042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9043 <bits/wordsize.h>.
9044 (msgqnum_t): Use __syscall_ulong_t.
9045 (msglen_t): Likewise.
9046 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9047 __syscall_ulong_t.
9048
34683bb0
L
9049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9051
84a68786
L
9052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9053
48baa5f1
L
9054 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9055 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9056
180be88b
L
9057 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9058 __syscall_slong_t.
9059
5e90c8ad
L
9060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9061 include <bits/wordsize.h>. Check __x86_64__ instead of
9062 __WORDSIZE.
9063
23dfb58b
L
9064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9065 "unsigned long long int" if __x86_64__ is defined.
9066 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9067
ce5d54b0
L
9068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9070 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9071
13dc9eac
L
9072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9073 <stdint.h>.
9074 (GET_PC): Cast to uintptr_t first.
9075 (GET_FRAME): Likewise.
9076 (GET_STACK): Likewise.
9077
a7895d15
L
9078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9107
656416c9
AS
91082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9109
5bd66283
AS
9110 * Makerules (+depfiles): Also collect depfiles from .oS in
9111 $(extra-objs).
9112 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9113 .oS, $(libnldbl-routines)).
9114
656416c9
AS
9115 * Makerules (native-compile-mkdep-flags): Define.
9116 * sunrpc/Makefile (extra-objs): Add $(addprefix
9117 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9118 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9119 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9120 calling $(make-target-directory).
9121
a46f2169
L
91222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9123
9124 * bits/types.h (__snseconds_t): Removed.
9125 * time/time.h (struct timespec): Replace __snseconds_t with
9126 __syscall_slong_t.
9127 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9128 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9129 Likewise.
9130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9131 (__SNSECONDS_T_TYPE): Likewise.
9132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9133 (__SNSECONDS_T_TYPE): Likewise.
9134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9135 (__SNSECONDS_T_TYPE): Likewise.
9136
6af6528b
L
91372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * sysdeps/mach/hurd/bits/typesizes.h
9140 (__SYSCALL_SLONG_TYPE): New macro.
9141 (__SYSCALL_ULONG_TYPE): Likewise.
9142
de986b56
L
91432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9144
9145 * bits/types.h (__syscall_slong_t): New type.
9146 (__syscall_ulong_t): Likewise.
9147
9148 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9149 (__SYSCALL_ULONG_TYPE): Likewise.
9150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9151 (__SYSCALL_SLONG_TYPE): Likewise.
9152 (__SYSCALL_ULONG_TYPE): Likewise.
9153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9154 (__SYSCALL_SLONG_TYPE): Likewise.
9155 (__SYSCALL_ULONG_TYPE): Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9157 (__SYSCALL_SLONG_TYPE): Likewise.
9158 (__SYSCALL_ULONG_TYPE): Likewise.
9159
85736dc7
L
91602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9161
9162 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9163 Add sigaltstack-offsets.sym.
9164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9165 <sigaltstack-offsets.h>.
9166 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9167 longjmp_msg pointer.
9168 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9169 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9170 signal stack.
9171 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9172
cc03b296
JM
91732012-05-15 Joseph Myers <joseph@codesourcery.com>
9174
a9538892
JM
9175 * elf/stackguard-macros.h: Remove file.
9176 * sysdeps/generic/stackguard-macros.h: New file.
9177 * sysdeps/i386/stackguard-macros.h: Likewise.
9178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9184 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9185 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9186 <elf/stackguard-macros.h>.
9187
cc03b296
JM
9188 [BZ #14109]
9189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9190 __aligned__ in attribute.
9191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9192 (gregset_t): Likewise.
9193
93171016
L
91942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9197 * sysdeps/x86_64/64/Implies-after: Here. New file.
9198 * sysdeps/x86_64/x32/Implies-after: New file.
9199
d86813a0
L
92002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9201
9202 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9203 and access return value for _dl_profile_fixup. Use R10_LP to
9204 load frame size.
9205
2953ec75
L
92062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9209
3b550e9e
L
92102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9211
9212 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9213 * sysdeps/x86_64/x32/sysdep.h: New file.
9214
eda41706
L
92152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9216
9217 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9218 * sysdeps/x86_64/setjmp.S: Likewise.
9219
9ea01d93
AZ
92202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9221
9222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9224 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9226 remove unused global constant.
9227
02a91938
CM
92282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9229
9230 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9231 include of <not-cancel.h>.
9232
6540185f
RM
92332012-05-15 Roland McGrath <roland@hack.frob.com>
9234
9235 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9236
509072a0
AJ
92372012-05-15 Jeff Law <law@redhat.com>
9238 Andreas Jaeger <aj@suse.de>
9239
9240 [BZ #13594]
9241 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9242 out from...
9243 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9244 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9246 code changing __hst_map_handle.map.
9247
ba75122d
RM
92482012-05-15 Roland McGrath <roland@hack.frob.com>
9249
9250 * configure.in (sysnames): Look for Implies-before and Implies-after
9251 files.
9252 * configure: Regenerated.
9253
890d8bd8
L
92542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9255
9256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9257 8-byte data alignment with LP_SIZE alignment.
9258
f6ee6623
L
92592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9262 into R10_LP.
9263
ea2626f6
L
92642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9265
9266 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9267
085f715e
L
92682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9271 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9273 Likewise.
9274 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9275
be8498fc
L
92762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9277
9278 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9279 (stackinfo_sub_sp): Likewise.
9280
70bc83b9
L
92812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9284 RAX_LP.
9285
9bc0b730
L
92862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9289 into R*_LP.
9290
6d2850e7
L
92912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9294 sizes into R*_LP.
9295
3cb84561
L
92962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9297
9298 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9299
54e2ed81
L
93002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9303 into R11_LP and load __x86_64_shared_cache_size_half into
9304 R8_LP.
9305
8a17f349
L
93062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9307
9308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9309 R8_LP.
9310
777b1eea
AZ
93112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9312
9313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9314 logb for POWER7.
9315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9316 logbf for POWER7.
9317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9318 logbl for POWER7.
9319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9320 powerpc32/power7/fpu/s_logb.c via #include.
9321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9322 powerpc32/power7/fpu/s_logbf.c via #include.
9323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9324 powerpc32/power7/fpu/s_logbl.c via #include.
9325
d20d4ac2
JM
93262012-05-15 Joseph Myers <joseph@codesourcery.com>
9327
9328 * README.libm: Remove file.
9329
6cdef1ab
L
93302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9333 count for x32. Use R*_LP and omit operand-size suffix.
9334
0b254d8f
L
93352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9338 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9339 * sysdeps/x86_64/x32/shlib-versions: New file.
9340
ceb809dc
RM
93412012-05-14 Roland McGrath <roland@hack.frob.com>
9342
9343 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9344 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9345 Use _dl_fatal_printf instead.
9346
37f1abd4
JM
93472012-05-14 Joseph Myers <joseph@codesourcery.com>
9348
9349 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9350 set if not set by the user. Do not allow for being unset.
9351 * sysdeps/unix/sysv/linux/configure: Regenerated.
9352
11de3a33
L
93532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9354
9355 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9356 the `q' suffix from lea and replace .quad with ASM_ADDR.
9357
e02f153a
L
93582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9361 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9362 instead of $17.
9363 (PTR_DEMANGLE): Likewise.
9364
520ae0fd
L
93652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9368 (LP_OP): Likewise.
9369 (ASM_ADDR): Likewise.
9370 (RAX_LP): Likewise.
9371 (RBP_LP): Likewise.
9372 (RBX_LP): Likewise.
9373 (RCX_LP): Likewise.
9374 (RDI_LP): Likewise.
9375 (RSI_LP): Likewise.
9376 (RSP_LP): Likewise.
9377 (R8_LP): Likewise.
9378 (R9_LP): Likewise.
9379 (R10_LP): Likewise.
9380 (R10_LP): Likewise.
9381 (R11_LP): Likewise.
9382 (R12_LP): Likewise.
9383 (R13_LP): Likewise.
9384 (R14_LP): Likewise.
9385 (R15_LP): Likewise.
9386
b985be81
L
93872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * sysdeps/x86_64/x32/dl-machine.h: New file.
9390
6a4888ff
AJ
93912012-05-14 Andreas Jaeger <aj@suse.de>
9392
9393 * manual/Makefile (subdir): Remove export of subdir.
9394 (all): Remove target.
9395 (.PHONY): Remove all from list.
9396 (mkinstalldirs): Remove.
9397 (.PHONY): Remove installdirs from list.
9398 ($(inst_infodir)/libc.info): Use make-target-directory.
9399 (installdirs): Remove.
9400 (subdir_%): Remove.
9401 (glibc-targets): Remove.
9402 (lib): Remove.
9403 (stubs): Remove.
9404 ($(objpfx)stubs ../po/manual.pot): Remove.
9405 ($(objpfx)stamp%): Remove.
9406 (make-target-directory): Remove.
9407 (subdir_install): Remove.
9408 (routines): Remove.
9409 (aux): Remove.
9410 (sources): Remove.
9411 (objects): Remove.
9412 (headers): Remove.
9413
9414 [BZ #13750]
9415 * manual/.gitignore: Remove, it's not needed anymore.
9416 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9417 all files in it.
9418 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9419 directory.
9420 (texis): Renamed to $(objpfx)texis.
9421 (texis-path): New, contains path to generated files.
9422 (chapters.%): Use texis-path for complete path, add extra argument
9423 libc-texinfo.sh.
9424 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9425 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9426 (summary,texi, stamp-summary): Use complete path of
9427 files. Generate files in build dir.
9428 (dir-add.texi): Build in build dir.
9429 (libm-err.texi,stamp-libm-err): Likewise.
9430 (version.texi, stamp-version): Likewise.
9431 (.%c.texi): Likewise.
9432 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9433 (mostlyclean): Remove target.
9434 (realclean): Remove target.
9435 (generated): Add new variable with contents from mostlyclean and
9436 realclean, remove entries duplicated in common-mostlyclean, add
9437 stamp-libm-err and stamp-version.
9438 (generated-dirs): Add libc directory.
9439 ($(inst_infodir)/libc.info): Install files from build dir.
9440
9441 * manual/install.texi (Configuring and compiling): Adjust since
9442 the info files are not part of the tar ball anymore.
9443
7ac77294
AJ
94442012-05-14 Andreas Jaeger <aj@suse.de>
9445
9446 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9447 variable.
9448
ffb7875d
JM
94492012-05-14 Joseph Myers <joseph@codesourcery.com>
9450
9451 [BZ #13717]
9452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9453 to 2.2.0 where earlier.
9454 * sysdeps/unix/sysv/linux/configure: Regenerated.
9455 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9456 Remove conditional code.
9457 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9458 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9459 Remove conditional code.
9460 [!__NR_lchown]: Likewise.
9461 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9462 [__NR_lchown]: Likewise.
9463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9464 comment referencing __ASSUME_LCHOWN_SYSCALL.
9465 * sysdeps/unix/sysv/linux/i386/sigaction.c
9466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9468 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9469 Remove conditional code.
9470 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9471 (__protocol_available): Remove #if 0 code.
9472 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9473 conditional code.
9474 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9475 * sysdeps/unix/sysv/linux/kernel-features.h
9476 (__ASSUME_GETCWD_SYSCALL): Don't define.
9477 (__ASSUME_REALTIME_SIGNALS): Likewise.
9478 (__ASSUME_PREAD_SYSCALL): Likewise.
9479 (__ASSUME_PWRITE_SYSCALL): Likewise.
9480 (__ASSUME_POLL_SYSCALL): Likewise.
9481 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9482 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9483 non-SPARC.
9484 (__ASSUME_SIOCGIFNAME): Don't define.
9485 (__ASSUME_MSG_NOSIGNAL): Likewise.
9486 (__ASSUME_SENDFILE): Define unconditionally.
9487 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9488 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9489 conditional code.
9490 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9491 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9493 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9496 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9521 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9522 Remove conditional code.
9523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9524 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9525 Remove conditional code.
9526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9528 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9529 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9530 Remove conditional code.
9531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9532 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9533 Remove conditional code.
9534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9535 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9536 Remove conditional code.
9537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9538 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9539 Remove conditional code.
9540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9541 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9542 Remove conditional code.
9543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9544 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9547 * sysdeps/unix/sysv/linux/sigaction.c
9548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9550 * sysdeps/unix/sysv/linux/sigpending.c
9551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9553 * sysdeps/unix/sysv/linux/sigprocmask.c
9554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9556 * sysdeps/unix/sysv/linux/sigsuspend.c
9557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9560 (__libc_missing_rt_sigs): Remove.
9561 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9562 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9563 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9564 Remove conditional code.
9565 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9566 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9567 return 1.
9568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9571 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9572
1bfb7291
AJ
95732012-05-14 Andreas Jaeger <aj@suse.de>
9574
caae5a81
AJ
9575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9576 it's not used in glibc.
9577 (__coshm1): Likewise.
9578 (__acosh1p): Likewise.
9579 (__sgn): Likewise.
9580
1bfb7291
AJ
9581 * manual/string.texi (Copying and Concatenation): Add missing
9582 variable in concat example.
9583 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9584
c044d724
L
95852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9586
144c5467 9587 [BZ #14103]
c044d724
L
9588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9589 __builtin_clzl with __builtin_clzll.
9590
2523c62b
L
95912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9592
9593 [BZ #14104]
9594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9595 libc_freeres_ptr.
9596
d7bb4c42
LD
95972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9598
9599 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9600 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9601 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9603
9dc4e1fb
MF
96042012-05-14 Mike Frysinger <vapier@gentoo.org>
9605
9606 * NEWS: Update ia64 info.
9607
c7df0112
AS
96082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9609
9610 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9611 used as bcopy.
9612
dc70356c
TS
96132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9614
9615 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9616 * sysdeps/unix/syscalls.list (dup3): Likewise.
9617 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9618 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9619
9fb1a21f
L
96202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9621
9622 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9623 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9624
4822a2a5
L
96252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9626
9627 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9628 thread pointer.
9629 (TLS_IE): Use mov/add instead of movq/addq to load thread
9630 pointer.
9631 (TLS_GD_PREFIX): New.
9632 (TLS_GD): Use it.
9633
842b81d6
DM
96342012-05-11 David S. Miller <davem@davemloft.net>
9635
9636 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9637 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9638 (_FPU_SETCW): Likewise.
9639
1cf463cd
L
96402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9641
9642 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9643 is 32-byte aligned.
9644
60cc4a18
AS
96452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9646
9647 [BZ #11837]
9648 * iconvdata/gb18030.c: Update tables.
9649 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9650 characters specially.
9651 (BODY for TO_LOOP): Add encoding of missing ranges.
9652
febb44a4
TS
96532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9654
9655 [BZ #13673]
9656 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9657 * sysdeps/mach/hurd/dup3.c: Likewise.
9658 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9659 * sysdeps/powerpc/memmove.c:: Likewise.
9660
0a10fb9e
L
96612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9662
9663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9664 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9665
df8a552f
L
96662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9667
9668 * elf/elf.h (R_X86_64_RELATIVE64): New.
9669 (R_X86_64_NUM): Updated.
9670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9671 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9672 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9673 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9674 tst-quad1pie tst-quad2pie
9675 (modules-names): Add tst-quadmod1 tst-quadmod2.
9676 ($(objpfx)tst-quad1): New dependency.
9677 ($(objpfx)tst-quad2): Likewise.
9678 ($(objpfx)tst-quad1pie): Likewise.
9679 ($(objpfx)tst-quad2pie): Likewise.
9680 * sysdeps/x86_64/tst-quad1.c: New file.
9681 * sysdeps/x86_64/tst-quad1pie.c: New file.
9682 * sysdeps/x86_64/tst-quad2.c: Likewise.
9683 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9684 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9685 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9686 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9687 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9688
f34d6f84
ST
96892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9690
f42d41d1
ST
9691 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9692 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9693 * streams/stropts.h (t_scalar_t): Define type.
9694
3c3571fc
ST
9695 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9696 (_PATH_PRESERVE): Set to "/var/lib".
9697 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9698
61f06bd3
ST
9699 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9700 instead of int.
9701
918d4d71
ST
9702 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9703 if __dir_mkfile succeeded.
9704
f34d6f84
ST
9705 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9706 checking for _hurd_dtablesize. Unlock it right after having
9707 finished _hurd_dtable allocation.
9708
10589b4a
TS
97092012-05-10 Thomas Schwinge <thomas@schwinge.name>
9710
674cdbc7
TS
9711 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9712 * sysdeps/mach/hurd/configure: Regenerated.
9713 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9714 special-casing to...
9715 * sysdeps/gnu/configure.in: ... this new file.
9716 * sysdeps/unix/sysv/linux/configure: Regenerated.
9717 * sysdeps/gnu/configure: New generated file.
9718
8e41b99f
TS
9719 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9720 for Linux: use nsec instead of usec, as well as:
9721 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9722 members of type struct timespec.
9723 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9724 New macros.
9725 (struct stat64): Likewise.
9726 (_STATBUF_ST_NSEC): New macro.
9727 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9728
10589b4a
TS
9729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9730 __strtoul_internal rather than strtoul.
9731
63643c85
PT
97322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9733
9734 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9735 and reject them.
9736
3faebe6a
ST
97372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9738
9739 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9740 which preserves existing values.
9741 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9742
c6474b07
PT
97432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9744
9745 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9746 TIMEOUT values. Return EINVAL for NFDS values either negative or
9747 greater than FD_SETSIZE.
9748
1043890b
ST
97492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9750
9751 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9752 allocated, call __vm_protect to finish enabling the existing space, and
9753 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9754 allocate the remainder.
9755
37ed8b9b
PT
97562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9757
9758 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9759 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9760
db653660
ST
97612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9762
37ed8b9b
PT
9763 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9764 sysdeps/mach/hurd/readlink.c.
b29d4053 9765
db653660
ST
9766 * posix/tst-sysconf.c (posix_options): Only use
9767 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9768 _POSIX_SYNCHRONIZED_IO when they are defined
9769 * sysdeps/mach/hurd/bits/posix_opt.h:
9770 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9771 (_XOPEN_REALTIME): Undefine macro.
9772 (_XOPEN_REALTIME_THREADS): Undefine macro.
9773 (_XOPEN_SHM): Undefine macro.
9774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9775 macro to -1.
9776 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9777 macro to -1.
9778 (_POSIX_ASYNC_IO): Undefine macro.
9779 (_POSIX_PRIORITIZED_IO): Undefine macro.
9780 (_POSIX_SPIN_LOCKS): Define macro to -1.
9781
ee16e894
ST
9782 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9783 SA_NODEFER, SA_RESETHAND.
9784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9785 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9786 F_DUPFD_CLOEXEC.
9787
6103ae3b
TS
97882012-05-10 Thomas Schwinge <thomas@schwinge.name>
9789
9790 * elf/Makefile (pldd-modules): Define unconditionally.
9791
80b4e5f3
TS
97922012-05-10 Thomas Schwinge <thomas@schwinge.name>
9793
9794 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9795
edadcbd6
ST
97962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9797
9798 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9799 Return ENOENT when name is empty.
9800 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9801
80694780
TS
98022012-05-10 Thomas Schwinge <thomas@schwinge.name>
9803
1792c087
TS
9804 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9805
80694780
TS
9806 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9807
6b645f0d
ST
98082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9809
80694780
TS
9810 Fix mlock in all cases except non-readable pages.
9811 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9812 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9813
6b645f0d
ST
9814 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9815 (__mkdir): When path is `/', just fail with EEXIST.
9816 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9817
e468f8a3
TS
98182012-05-10 Thomas Schwinge <thomas@schwinge.name>
9819
9820 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9821 <sys/uio.h> (for writev).
9822 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9823 and <sys/param.h> (for MIN).
9824
a4186cff
PT
98252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9826
9827 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9828 REQUESTED_TIME. Properly set the remaining time and return EINTR
9829 if interrupted.
9830
510bbf14
TS
98312012-05-10 Thomas Schwinge <thomas@schwinge.name>
9832
9833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9834 Depend on against $(link-rpcuserlibs).
9835
5d5722e8
ST
98362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9837
a4186cff
PT
9838 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9839 (__libc_stack_end): Do not use attribute_relro.
9840 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9841 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9842 to libthread-provided value.
a4186cff
PT
9843 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9844 attribute_relro.
5d5722e8 9845
37233df9
TS
98462012-05-10 Thomas Schwinge <thomas@schwinge.name>
9847
be971a2b
TS
9848 [BZ #3748]
9849 * bits/libc-lock.h (__libc_once_get): New macro.
9850 * sysdeps/mach/bits/libc-lock.h: Likewise.
9851 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9853 instead of using implementation details.
9854
37233df9
TS
9855 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9856 * libio/freopen.c: Likewise.
9857 * libio/freopen64.c: Likewise.
9858 * misc/syslog.c: Likewise.
9859 * nscd/connections.c: Likewise.
9860 * nscd/netgroupcache.c: Likewise.
9861 * sysdeps/posix/getcwd.c: Likewise.
9862
38de94a5
RM
98632012-05-10 Roland McGrath <roland@hack.frob.com>
9864
9865 * math/w_ilogbf.c: Add #include <limits.h>.
9866
67530489
ST
98672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9868
a4186cff 9869 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9870 path instead of returning without unlocking.
9871
67530489
ST
9872 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9873 immediate-write ioctls.
9874 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9875
5aa3a74a
TS
98762012-05-10 Thomas Schwinge <thomas@schwinge.name>
9877
18bad2ae
TS
9878 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9879 __builtin_frame_address instead of making assumptions about the
9880 location of the return address relative to DATA. Force early load of
9881 the return address.
9882 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9883 __builtin_frame_address.
9884
5aa3a74a
TS
9885 dup3 for GNU Hurd.
9886 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9887 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9888 implement dup3 and do some further code clean-ups.
9889 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9891
ecd0de9a
ST
98922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9893
cd9fa985
ST
9894 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9895
a4186cff
PT
9896 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9897 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9898 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9899 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9900 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9901 d->port.lock.
802ca5a5 9902
a4186cff
PT
9903 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9904 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9905 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9906
bcf55240
TS
99072012-05-10 Thomas Schwinge <thomas@schwinge.name>
9908
6960eb42
TS
9909 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9910 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9911 definitions.
9912
eb43375f
TS
9913 accept4 for GNU Hurd.
9914 * include/sys/socket.h (__libc_accept4): New prototype.
9915 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9916 to implement __libc_accept4.
9917 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9918 __libc_accept4.
9919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9920
bcf55240
TS
9921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9922 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9923 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9924 signal-defines.sym.
9925
6178c55b
ST
99262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9927
a4186cff 9928 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9929
6f080c2f
TS
99302012-05-10 Thomas Schwinge <thomas@schwinge.name>
9931
9932 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9933 assertion on O_CLOEXEC flag.
9934 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9935 * hurd/intern-fd.c: Likewise.
9936 * hurd/port2fd.c: Likewise.
9937
bcfe3a54
ST
99382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9939
9940 [BZ #3906]
9941 * bits/in.h (IPV6_PKTINFO): Define new macro.
9942 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9943
89c9aa49
AZ
99442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9945
9946 [BZ #13954]
9947 [BZ #13955]
9948 [BZ #13956]
9949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9951 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9955 * math/libm-test.inc (logb_test) : Additional logb tests.
9956
021db4be
AJ
99572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9958 Andreas Jaeger <aj@suse.de>
9959
9960 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9961 * configure: Regenerated.
9962 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9963 * config.make.in (link-obsolete-rpc): New substituted variable.
9964 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9965 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9966 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9967 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9968 so that libc.a contains the symbols.
9969 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9970 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9971 * sunrpc/auth_none.c: Likewise.
9972 * sunrpc/auth_unix.c: Likewise.
9973 * sunrpc/authdes_prot.c: Likewise.
9974 * sunrpc/authuxprot.c: Likewise.
9975 * sunrpc/clnt_gen.c: Likewise.
9976 * sunrpc/clnt_perr.c: Likewise.
9977 * sunrpc/clnt_raw.c: Likewise.
9978 * sunrpc/clnt_simp.c: Likewise.
9979 * sunrpc/clnt_tcp.c: Likewise.
9980 * sunrpc/clnt_udp.c: Likewise.
9981 * sunrpc/clnt_unix.c: Likewise.
9982 * sunrpc/des_crypt.c: Likewise.
9983 * sunrpc/des_soft.c: Likewise.
9984 * sunrpc/get_myaddr.c: Likewise.
9985 * sunrpc/key_call.c: Likewise.
9986 * sunrpc/key_prot.c: Likewise.
9987 * sunrpc/netname.c: Likewise.
9988 * sunrpc/pm_getmaps.c: Likewise.
9989 * sunrpc/pm_getport.c: Likewise.
9990 * sunrpc/pmap_clnt.c: Likewise.
9991 * sunrpc/pmap_prot.c: Likewise.
9992 * sunrpc/pmap_prot2.c: Likewise.
9993 * sunrpc/pmap_rmt.c: Likewise.
9994 * sunrpc/publickey.c: Likewise.
9995 * sunrpc/rpc_cmsg.c: Likewise.
9996 * sunrpc/rpc_common.c: Likewise.
9997 * sunrpc/rpc_dtable.c: Likewise.
9998 * sunrpc/rpc_prot.c: Likewise.
9999 * sunrpc/rpc_thread.c: Likewise.
10000 * sunrpc/rtime.c: Likewise.
10001 * sunrpc/svc.c: Likewise.
10002 * sunrpc/svc_auth.c: Likewise.
10003 * sunrpc/svc_raw.c: Likewise.
10004 * sunrpc/svc_run.c: Likewise.
10005 * sunrpc/svc_tcp.c: Likewise.
10006 * sunrpc/svc_udp.c: Likewise.
10007 * sunrpc/svc_unix.c: Likewise.
10008 * sunrpc/svcauth_des.c: Likewise.
10009 * sunrpc/xcrypt.c: Likewise.
10010 * sunrpc/xdr.c: Likewise.
10011 * sunrpc/xdr_array.c: Likewise.
10012 * sunrpc/xdr_float.c: Likewise.
10013 * sunrpc/xdr_intXX_t.c: Likewise.
10014 * sunrpc/xdr_mem.c: Likewise.
10015 * sunrpc/xdr_rec.c: Likewise.
10016 * sunrpc/xdr_ref.c: Likewise.
10017 * sunrpc/xdr_sizeof.c: Likewise.
10018 * sunrpc/xdr_stdio.c: Likewise.
10019
b5c086a2
RM
100202012-05-10 Roland McGrath <roland@hack.frob.com>
10021
10022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10023 change. Update copyright years.
10024
6d74dd09
JM
100252012-05-10 Joseph Myers <joseph@codesourcery.com>
10026
10027 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10028
28e72501
MK
100292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10030 Joseph Myers <joseph@codesourcery.com>
10031 Paul Pluzhnikov <ppluzhnikov@google.com>
10032
10033 [BZ #14012]
10034 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10035 requiring rpcgen.
10036 [cross-compiling] (extra-libs): Likewise.
10037 [cross-compiling] (extra-libs-others): Likewise.
10038 [cross-compiling] (librpcsvc-routines): Likewise.
10039 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10040 [cross-compiling] (omit-deps): Likewise.
10041 (sunrpc-CPPFLAGS): New variable.
10042 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10043 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10044 (cross-rpcgen-objs): New variable.
10045 (extra-objs): Append $(cross-rpcgen-objs).
10046 ($(cross-rpcgen-objs)): New rule.
10047 ($(objpfx)cross-rpcgen): Likewise.
10048 (rpcgen-cmd): Define to use $(built-program-file). Expand
10049 comment.
10050 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10051 ($(objpfx)x%.stmp): Likewise.
10052 * sunrpc/proto.h [IS_IN_build] (_): Define.
10053 [IS_IN_build] (_libc_intl_domainname): Likewise.
10054
c8c59454
L
100552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10056
10057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10058 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10059 and R_X86_64_TPOFF64.
10060
6f27cd16
JM
100612012-05-10 Joseph Myers <joseph@codesourcery.com>
10062
10063 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10064 sysdeps/unix/sysv/syscalls.list.
10065 (stime): Likewise.
10066 (utime): Likewise.
10067 * sysdeps/unix/sysv/syscalls.list: Remove file.
10068
02467e1c
PE
100692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10070
10071 [BZ #3440]
10072 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10073 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10074 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10075 (__LC_IDENTIFICATION): Make these macros useful in #if
10076 expressions, as required by C99.
10077
da392631
AS
100782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10079
10080 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10081 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10082 after this.
10083
8115f29b
L
100842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 * stdlib/longlong.h: Updated from GCC.
10087
bdd74070
AJ
100882012-05-09 Andreas Jaeger <aj@suse.de>
10089
edfe0dbe
AJ
10090 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10091 default is first entry.
10092 (run_mode): Set type.
10093 (main): Remove informal message about syslog.
10094 (options): Fix typo.
10095
bcfe3a54
ST
10096 [BZ #14053]
10097 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10098 to asm.
bcfe3a54
ST
10099 (lrint): Likewise.
10100 (llrintf): Likewise.
10101 (llrint): Likewise.
10102 (rint): Likewise.
10103 (rintf): Likewise.
10104 (nearbyint): Likewise.
10105 (nearbyintf): Likewise.
bdd74070 10106
91d8d69e
AJ
101072012-05-09 Andreas Jaeger <aj@suse.de>
10108 Pedro Alves <palves@redhat.com>
10109
10110 * nscd/nscd.c (run_mode): Use enum.
10111 (main): Cleanup coding style issue.
10112
bb90b80b
AJ
101132012-05-09 Alexandre Oliva <aoliva@redhat.com>
10114 Andreas Jaeger <aj@suse.de>
10115
bcfe3a54
ST
10116 * nscd/nscd.c (go_background): Replaced with...
10117 (run_mode): ... this.
bb90b80b 10118 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10119 (options): Add -F --foreground.
10120 (main): Implement it.
10121 (parse_opt): Parse it.
bb90b80b 10122
1a4b75a1
AJ
101232012-05-09 Andreas Jaeger <aj@suse.de>
10124
10125 [BZ #14083]
10126 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10127 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10128 -Wconversion warning.
10129 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10130 Likewise.
10131
b1cc2472
JM
101322012-05-09 Joseph Myers <joseph@codesourcery.com>
10133
10134 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10135 == 0.
10136 (LC_ALL): Use macro-int-constant.
10137 (LC_COLLATE): Likewise.
10138 (LC_CTYPE): Likewise.
10139 (LC_MESSAGES): Likewise.
10140 (LC_MONETARY): Likewise.
10141 (LC_NUMERIC): Likewise.
10142 (LC_TIME): Likewise.
10143 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10144 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10146 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10147 Specify type.
10148 [C99-based standards] (float_t): Expect type.
10149 [C99-based standards] (double_t): Expect type.
10150 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10151 type.
10152 [C99-based standards] (HUGE_VALL): Likewise.
10153 [C99-based standards] (INFINITY): Likewise.
10154 [C99-based standards] (NAN): Likewise.
10155 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10156 [C99-based standards] (FP_NAN): Likewise.
10157 [C99-based standards] (FP_NORMAL): Likewise.
10158 [C99-based standards] (FP_SUBNORMAL): Likewise.
10159 [C99-based standards] (FP_ZERO): Likewise.
10160 [C99-based standards] (FP_FAST_FMA): Use
10161 optional-macro-int-constant. Specify type. Require == 1.
10162 [C99-based standards] (FP_FAST_FMAF): Likewise.
10163 [C99-based standards] (FP_FAST_FMAL): Likewise.
10164 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10165 [C99-based standards] (FP_ILOGBNAN): Likewise.
10166 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10167 Specify type.
10168 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10169 [C99-based standards] (math_errhandling): Specify type.
10170 [ISO99 || ISO11] (signgam): Do not allow.
10171 [non-C99-based standards] (copysignf): Do not allow.
10172 [non-C99-based standards] (exp2f): Likewise.
10173 [non-C99-based standards] (log2f): Likewise.
10174 [non-C99-based standards] (modff): Allow.
10175 [non-C99-based standards] (erff): Do not allow.
10176 [non-C99-based standards] (erfcf): Likewise.
10177 [non-C99-based standards] (gammaf): Likewise.
10178 [non-C99-based standards] (hypotf): Likewise.
10179 [non-C99-based standards] (j0f): Likewise.
10180 [non-C99-based standards] (j1f): Likewise.
10181 [non-C99-based standards] (jnf): Likewise.
10182 [non-C99-based standards] (lgammaf): Likewise.
10183 [non-C99-based standards] (tgammaf): Likewise.
10184 [non-C99-based standards] (y0f): Likewise.
10185 [non-C99-based standards] (y1f): Likewise.
10186 [non-C99-based standards] (ynf): Likewise.
10187 [non-C99-based standards] (isnanf): Likewise.
10188 [non-C99-based standards] (acoshf): Likewise.
10189 [non-C99-based standards] (asinhf): Likewise.
10190 [non-C99-based standards] (atanhf): Likewise.
10191 [non-C99-based standards] (cbrtf): Likewise.
10192 [non-C99-based standards] (expm1f): Likewise.
10193 [non-C99-based standards] (ilogbf): Likewise.
10194 [non-C99-based standards] (log1pf): Likewise.
10195 [non-C99-based standards] (logbf): Likewise.
10196 [non-C99-based standards] (nextafterf): Likewise.
10197 [non-C99-based standards] (remainderf): Likewise.
10198 [non-C99-based standards] (rintf): Likewise.
10199 [non-C99-based standards] (scalbf): Likewise.
10200 [non-C99-based standards] (copysignl): Likewise.
10201 [non-C99-based standards] (exp2l): Likewise.
10202 [non-C99-based standards] (log2l): Likewise.
10203 [non-C99-based standards] (modfl): Allow.
10204 [non-C99-based standards] (erfl): Do not allow.
10205 [non-C99-based standards] (erfcl): Likewise.
10206 [non-C99-based standards] (gammal): Likewise.
10207 [non-C99-based standards] (hypotl): Likewise.
10208 [non-C99-based standards] (j0l): Likewise.
10209 [non-C99-based standards] (j1l): Likewise.
10210 [non-C99-based standards] (jnl): Likewise.
10211 [non-C99-based standards] (lgammal): Likewise.
10212 [non-C99-based standards] (tgammal): Likewise.
10213 [non-C99-based standards] (y0l): Likewise.
10214 [non-C99-based standards] (y1l): Likewise.
10215 [non-C99-based standards] (ynl): Likewise.
10216 [non-C99-based standards] (isnanl): Likewise.
10217 [non-C99-based standards] (acoshl): Likewise.
10218 [non-C99-based standards] (asinhl): Likewise.
10219 [non-C99-based standards] (atanhl): Likewise.
10220 [non-C99-based standards] (cbrtl): Likewise.
10221 [non-C99-based standards] (expm1l): Likewise.
10222 [non-C99-based standards] (ilogbl): Likewise.
10223 [non-C99-based standards] (log1pl): Likewise.
10224 [non-C99-based standards] (logbl): Likewise.
10225 [non-C99-based standards] (nextafterl): Likewise.
10226 [non-C99-based standards] (remainderl): Likewise.
10227 [non-C99-based standards] (rintl): Likewise.
10228 [non-C99-based standards] (scalbl): Likewise.
10229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10230 [non-C99-based standards] (FP_*): Do not allow.
10231 [C99-based standards] (FP_*): Change to
10232 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10233 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10234 allow.
10235 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10236 (SIG_ERR): Likewise.
10237 [X/Open-based standards] (SIG_HOLD): Likewise.
10238 (SIG_IGN): Likewise.
10239 (SIGABRT): Use macro-int-constant. Specify type. Require
10240 positive value.
10241 (SIGFPE): Likewise.
10242 (SIGILL): Likewise.
10243 (SIGINT): Likewise.
10244 (SIGSEGV): Likewise.
10245 (SIGTER): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10253 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10260 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10264 [X/Open-based standards] (SIGTRAP): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10266 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10267 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10268 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10269 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10270 allow.
10271
b9f1922d
IW
102722012-05-08 Ian Wienand <ianw@vmware.com>
10273
10274 [BZ #14080]
10275 * time/tzset.c (__tzset_parse_tz): Update default rules for
10276 daylight time changes in the Energy Policy Act of 2005.
10277
1db86e88
AJ
102782012-05-09 Andreas Jaeger <aj@suse.de>
10279
10280 [BZ #13983]
10281 * elf/ldconfig.c (parse_conf): Change string to make clear that
10282 ldconfig only issued a warning if ld.so.conf does not exist.
10283
dee4a4e3
DM
102842012-05-08 David S. Miller <davem@davemloft.net>
10285
ee0db190
DM
10286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10287 movxtod instead of popping the value on the stack.
10288
dee4a4e3
DM
10289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10290
6a43ec98
CD
102912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10292
10293 * config.h.in: Add HAVE_ARM_PCS_VFP.
10294
05c2c961
RMG
102952012-05-08 Roland Mc Grath <roland@hack.frob.com>
10296
bcfe3a54
ST
10297 [BZ #13979]
10298 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10299 checking but the checks are disabled for any reason.
05c2c961 10300
4b30f61a
L
103012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10304 and ELF64_R_TYPE with ELFW(R_TYPE).
10305
eee2bc67
JM
103062012-05-08 Joseph Myers <joseph@codesourcery.com>
10307
7ea5391a
JM
10308 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10309 (ulimit): Likewise.
10310
eee2bc67
JM
10311 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10312 (settimeofday): Likewise.
10313
abb66a67
MF
103142012-05-08 Mike Frysinger <vapier@gentoo.org>
10315
10316 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10317 a struct th_u2 inside the union, and move tu_block/tu_code into
10318 a new th_u3 union of tu_block/tu_code inside of that. Move
10319 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10320 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10321 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10322 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10323 (th_stuff): Change to th_u1.tu_stuff.
10324 (th_data): Define.
10325 (th_msg): Change to th_u1.th_u2.tu_data.
10326
7f18b530
DM
103272012-05-07 David S. Miller <davem@davemloft.net>
10328
05760585
DM
10329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10330
7f18b530
DM
10331 [BZ #14074]
10332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10333 (SETUP_PIC_REG): Use it.
10334 (SETUP_PIC_REG_LEAF): Use it.
10335
495fd99f
JM
103362012-05-07 Joseph Myers <joseph@codesourcery.com>
10337
10338 [BZ #13885]
10339 [BZ #13923]
10340 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10341 USE_AS_EXPM1L.
10342 (EXPL_FINITE): Likewise.
10343 (FLDLOG): Likewise.
10344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10345 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10346 e_expl.S.
10347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10348 USE_AS_EXPM1L.
10349 (EXPL_FINITE): Likewise.
10350 (FLDLOG): Likewise.
10351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10352 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10353 e_expl.S.
10354 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10355 test of -max_value argument for long double.
10356 * sysdeps/i386/fpu/libm-test-ulps: Update.
10357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10358
6693d694
DM
103592012-05-06 David S. Miller <davem@davemloft.net>
10360
10361 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10362 quad soft-float symbols whose references which are compiler
10363 generated.
10364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10365
6c23e11c
JM
103662012-05-06 Joseph Myers <joseph@codesourcery.com>
10367
d8b82cad
JM
10368 [BZ #13884]
10369 [BZ #13914]
10370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10371 USE_AS_EXP10L.
10372 (EXPL_FINITE): Likewise.
10373 (FLDLOG): Likewise.
10374 (c0): Likewise.
10375 (c1): Likewise.
10376 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10377 Adjust comments for base varying.
10378 (__expl_finite): Change alias to EXPL_FINITE.
10379 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10380 e_expl.S.
10381 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10382 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10384 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10386 USE_AS_EXP10L.
10387 (EXPL_FINITE): Likewise.
10388 (FLDLOG): Likewise.
10389 (c0): Likewise.
10390 (c1): Likewise.
10391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10392 Adjust comments for base varying.
10393 (__expl_finite): Change alias to EXPL_FINITE.
10394 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10395 tests for bugs.
10396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10397
6c23e11c
JM
10398 [BZ #14064]
10399 * math/libm-test.inc (check_float_internal): Correct ulp
10400 calculation for subnormal expected results.
10401
29ba805c
AJ
104022012-05-06 Andreas Jaeger <aj@suse.de>
10403
10404 * Makeconfig (+math-flags): New, set to -frounding-math.
10405 (+cflags): Add +math-flags so that all of glibc gets compiled with
10406 it.
10407
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10409
7b17aeda
JM
104102012-05-05 Joseph Myers <joseph@codesourcery.com>
10411
5779f134
JM
10412 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10413 Disable one test.
10414
41498f4d
JM
10415 [BZ #13787]
10416 [BZ #13922]
10417 [BZ #14036]
10418 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10419 (__ieee754_expl): Allow for and saturate large arguments.
10420 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10421 (u_threshold): Likewise.
10422 (__exp): Call __ieee754_exp before checking for overflow and
10423 underflow.
10424 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10425 (u_threshold): Likewise.
10426 (__expf): Call __ieee754_expf before checking for overflow and
10427 underflow.
10428 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10429 (u_threshold): Likewise.
10430 (__expl): Call __ieee754_expl before checking for overflow and
10431 underflow.
10432 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10433 (__ieee754_expl): Allow for and saturate large arguments.
10434 * math/libm-test.inc (exp_test): Add another test. Do not allow
10435 missing overflow exception on overflow.
10436 (expm1_test): Do not allow missing overflow exception on overflow.
10437
6698b8bf
JM
10438 * sysdeps/i386/fpu/e_expl.c: Move to ...
10439 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10440 rather than using inline asm.
10441 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10442 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10443 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10444
7b17aeda
JM
10445 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10446 (nice): Likewise.
10447 (poll): Likewise.
10448 (signal): Likewise.
10449 (time): Likewise.
10450 (times): Likewise.
10451
f7c85819
JM
104522012-05-04 Joseph Myers <joseph@codesourcery.com>
10453
10454 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10455 sysdeps/unix/common/syscalls.list.
10456 (fchmod): Likewise.
10457 (fchown): Likewise.
10458 (ftruncate): Likewise.
10459 (getrusage): Likewise.
10460 (gettimeofday): Likewise.
10461 (setpgid): Likewise.
10462 (setregid): Likewise.
10463 (setreuid): Likewise.
10464 (sigaction): Likewise.
10465 (truncate): Likewise.
10466 (vhangup): Likewise.
10467 * sysdeps/unix/common/syscalls.list: Remove file.
10468 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10469 * sysdeps/unix/sysv/linux/Implies: Likewise.
10470
336270d0
L
104712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10476 Moved to ...
10477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10478 Here.
10479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10480 to ...
10481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10483 to ...
10484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10486 to ...
10487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10489 to ...
10490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10492 to ...
10493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10495 to ...
10496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10498 to ...
10499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10500 Here.
10501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10502 to ...
10503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10504 Here.
10505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10506 to ...
10507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10509 Moved to ...
10510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10511 Here.
10512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10513 to ...
10514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10515
d128e450
JM
105162012-05-04 Joseph Myers <joseph@codesourcery.com>
10517
fa8ee516
JM
10518 * sysdeps/unix/common/bits/dirent.h: Remove file.
10519 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10520
d128e450
JM
10521 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10522 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10523 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10524 * sysdeps/unix/bsd/isatty.c: Likewise.
10525 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10526 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10527 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10528
ff8faaf0 105292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10530
62881be4 10531 [BZ #13563]
31dc8730
AZ
10532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10533 long double comparison inaccuracies.
10534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10536
6fef930c
AS
105372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10538
10539 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10541
8f203e6c
JM
105422012-05-04 Joseph Myers <joseph@codesourcery.com>
10543
10544 [BZ #14049]
10545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10546 nonzero digits before rounding a hex value.
10547 * stdlib/tst-strtod.c (tests): Add another test.
10548
5197d9c2
AK
105492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10550
10551 * sysdeps/s390/fpu/libm-test-ulps: Update.
10552
f0c1dedf
AJ
105532012-05-03 Andreas Jaeger <aj@suse.de>
10554
10555 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10556 does not get optimized out.
10557 (malloc_opt_barrier): New.
10558
a65ef2ae 105592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10560 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10561
2b942cb7 10562 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10563 intermediate file deletion.
2b942cb7 10564 (generated): Add .symlist files.
a65ef2ae 10565
54b71e02
JM
105662012-05-03 Joseph Myers <joseph@codesourcery.com>
10567
10568 [BZ #13775]
10569 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10570 Redirect under this condition.
10571 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10572 [__USE_GNU] (__dprintf_chk): Not under this condition.
10573 [__USE_GNU] (__vdprintf_chk): Likewise.
10574 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10575 under this condition.
10576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10577 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10578 [__USE_XOPEN2K8] (vdprintf): Likewise.
10579 [__USE_GNU] (__dprintf_chk): Not under this condition.
10580 [__USE_GNU] (__vdprintf_chk): Likewise.
10581 [__USE_GNU] (dprintf): Likewise.
10582 [__USE_GNU] (vdprintf): Likewise.
10583
d3dfcc41
RM
105842012-05-03 Roland McGrath <roland@hack.frob.com>
10585
10586 * elf/Makefile (common-generated): Set this instead of generated for
10587 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10588 $(all-built-dso)-derived lists.
10589
7ac30cc5
AJ
105902012-05-03 Andreas Jaeger <aj@suse.de>
10591
0c51e550
AJ
10592 * sysdeps/i386/fpu/libm-test-ulps: Update.
10593
7ac30cc5
AJ
10594 * FAQ: Removed.
10595 * FAQ.in: Likewise.
10596 * scripts/gen-FAQ.pl: Likewise.
10597 * manual/install.texi (Installation): Point to online location of
10598 FAQ.
10599 * Makefile (files-for-dist): Remove FAQ.
10600 (FAQ): Remove.
10601
d4c2917f
AM
106022012-05-02 Allan McRae <allan@archlinux.org>
10603
10604 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10605 (LDFLAGS-reldepmod5.so): Likewise.
10606 (LDFLAGS-reldep6mod1.so): Likewise.
10607 (LDFLAGS-reldep6mod4.so): Likewise.
10608 (LDFLAGS-reldep8mod3.so): Likewise.
10609 (LDFLAGS-unload4mod1.so): Likewise.
10610 (LDFLAGS-unload4mod2.so): Likewise.
10611 (LDFLAGS-tst-initorder): Likewise.
10612 (LDFLAGS-tst-initordera2.so): Likewise.
10613 (LDFLAGS-tst-initordera3.so): Likewise.
10614 (LDFLAGS-tst-initordera4.so): Likewise.
10615 (LDFLAGS-tst-initorderb2.so): Likewise.
10616 (LDFLAGS-noload): Likewise.
10617 (LDFLAGS-next): Likewise.
10618 (LDFLAGS-order2mod1.so): Likewise.
10619 (LDFLAGS-order2mod2.so): Likewise.
10620 (LDFLAGS-tst-initorder2): Likewise.
10621 (LDFLAGS-tst-initorder2a.so): Likewise.
10622 (LDFLAGS-tst-initorder2b.so): Likewise.
10623 (LDFLAGS-tst-initorder2c.so): Likewise.
10624 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10625
d77f993f
DM
106262012-05-02 David S. Miller <davem@davemloft.net>
10627
10628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10629
171a70b4
PP
106302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10631
10632 [BZ #14055]
10633 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10634
0be196ad
AJ
106352012-05-02 Andreas Jaeger <aj@suse.de>
10636
10637 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10638 since we manipulate rounding mode.
10639 (CPPFLAGS-test-idouble.c): Likewise.
10640 (CPPFLAGS-test-ifloat.c): Likewise.
10641 (CFLAGS-test-ldouble.c): Likewise.
10642 (CFLAGS-test-double.c): Likewise.
10643 (CFLAGS-test-float.c): Likewise.
10644 (CFLAGS-test-misc.c): Likewise.
10645 (CFLAGS-test-test-fenv.c): Likewise.
10646
4f9d04aa
AZ
106472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648
2b942cb7
RM
10649 [BZ #2550]
10650 [BZ #2570]
10651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10652 comparisons to determine direction to adjust input.
4f9d04aa 10653
82a79e7d
RM
106542012-05-01 Roland McGrath <roland@hack.frob.com>
10655
f5a01ca9
RM
10656 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10657 output to the target.
10658
90fe4186
RM
10659 * scripts/localplt.awk: New file.
10660 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10661 (check-localplt-CFLAGS): Variable removed.
10662 ($(all-built-dso:=.jmprel)): New static pattern rule.
10663 (generated): Add those targets.
10664 (localplt-built-dso): New variable.
10665 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10666
10667 * elf/check-localplt.c: File removed.
10668
82397ed6
RM
10669 * scripts/check-execstack.awk: New file.
10670 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10671 (check-execstack-CFLAGS): Variable removed.
10672 ($(objpfx)check-execstack.h): Target removed.
10673 ($(objpfx)execstack-default): New target.
10674 (generated): Add that instead of check-execstack.h.
10675 ($(all-built-dso:=.phdr)): New static pattern rule.
10676 (generated): Add those targets.
10677 * elf/check-execstack.c: File removed.
10678
82a79e7d
RM
10679 * scripts/check-textrel.awk: New file.
10680 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10681 (check-textrel-CFLAGS): Variable removed.
10682 (all-built-dso): Use := to define.o
10683 ($(all-built-dso:=.dyn)): New static pattern rule.
10684 (generated): Add those targets.
10685 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10686 * config.make.in (READELF): New substituted variable.
10687 * elf/check-textrel.c: File removed.
10688
62fde54f 106892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10690
615605c9
JM
10691 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10692 allow.
10693 * conform/data/ctype.h-data [C99-based standards] (isblank):
10694 Expect function.
10695 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10696 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10698 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10699 Specify type. Require positive value.
10700 (EILSEQ): Likewise.
10701 (ERANGE): Likewise.
10702 [ISO || POSIX] (EILSEQ): Do not expect.
10703 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10704 Specify type. Require positive value.
10705 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10706 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10707 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10708 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10709 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10710 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10712 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10713 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10714 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10715 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10716 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10717 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10718 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10719 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10724 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10725 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10727 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10733 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10734 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10739 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10740 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10741 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10742 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10752 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10753 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10754 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10755 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10756 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10772 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10773 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10774 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10775 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10779 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10780 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10781 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10782 Require >= 2.
10783 (FLT_ROUNDS): Expect as macro, not constant.
10784 (FLT_MANT_DIG): Use macro-int-constant.
10785 (DBL_MANT_DIG): Likewise.
10786 (LDBL_MANT_DIG): Likewise.
10787 (FLT_DIG): Likewise.
10788 (DBL_DIG): Likewise.
10789 (LDBL_DIG): Likewise.
10790 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10791 (DBL_MIN_EXP): Likewise.
10792 (LDBL_MIN_EXP): Likewise.
10793 (FLT_MAX_EXP): Use macro-int-constant.
10794 (DBL_MAX_EXP): Likewise.
10795 (LDBL_MAX_EXP): Likewise.
10796 (FLT_MAX_10_EXP): Likewise.
10797 (DBL_MAX_10_EXP): Likewise.
10798 (LDBL_MAX_10_EXP): Likewise.
10799 (FLT_MAX): Use macro-constant.
10800 (DBL_MAX): Likewise.
10801 (LDBL_MAX): Likewise.
10802 (FLT_EPSILON): Use macro-constant. Give upper bound.
10803 (DBL_EPSILON): Likewise.
10804 (LDBL_EPSILON): Likewise.
10805 (FLT_MIN): Likewise.
10806 (DBL_MIN): Likewise.
10807 (LDBL_MIN): Likewise.
10808 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10809 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10810 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10811 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10812 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10813 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10814 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10815 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10816 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10817 [ISO11] (FLT_TRUE_MIN): Likewise.
10818 [ISO11] (LDBL_TRUE_MIN): Likewise.
10819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10820 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10821 (SCHAR_MIN): Use macro-int-constant. Specify type.
10822 (SCHAR_MAX): Likewise.
10823 (UCHAR_MAX): Likewise.
10824 (CHAR_MIN): Likewise.
10825 (CHAR_MAX): Likewise.
10826 (MB_LEN_MAX): Use macro-int-constant.
10827 (SHRT_MIN): Use macro-int-constant. Specify type.
10828 (SHRT_MAX): Likewise.
10829 (USHRT_MAX): Likewise.
10830 (INT_MAX): Likewise.
10831 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10832 bound negative.
10833 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10834 bound with "U".
10835 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10836 bound with "L".
10837 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10838 bound negative. Suffix upper bound with "L".
10839 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10840 bound with "UL".
10841 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10842 Specify type.
10843 [C99-based standards] (LLONG_MAX): Likewise.
10844 [C99-based standards] (ULLONG_MAX): Likewise.
10845 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10846 == 0.
10847 [ISO11] (max_align_t): Require type.
10848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10849
c9140a62
JM
10850 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10851 from $CFLAGS, without defining away __attribute__ calls.
10852 (checknamespace): Use $CFLAGS_namespace.
10853
9af0bf29
JM
10854 * conform/conformtest.pl (@keywords): Only include C99 keywords
10855 for standards based on C99 or C11.
10856
343222a2
JM
10857 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10858 Disable tests.
10859 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10860 UNIX98]: Likewise.
10861
661f8cf0
JM
10862 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10863 usability of symbols in #if.
10864
ee74b9cb
JM
10865 * conform/conformtest.pl: If macro or constant types start
10866 "promoted:", expect the symbol to be of the following type
10867 promoted by the integer promotions.
62fde54f 10868
aafc49b3
JM
10869 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10870 in one place. Also handle "macro-constant".
10871
fefdf574
JM
10872 * conform/conformtest.pl: Only accept expected macro values with
10873 "==". Parse all "macro" lines in one place.
10874 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10875
f2d922fe
JM
10876 * conform/conformtest.pl: Handle braced types on "constant" lines
10877 instead of handling "typed-constant".
10878 * conform/data/signal.h-data: Use "constant" instead of
10879 "typed-constant".
10880
d22956c9
JM
10881 * conform/conformtest.pl: Handle "optional-" at start of lines in
10882 one place rather than duplicating several cases. Handle each
10883 format of "macro" line with initial "optional-".
10884
028e2e38
JM
10885 * conform/conformtest.pl: Only accept expected constant or
10886 optional-constant values with "==". Parse all "constant" lines in
10887 one place. Parse all "optional-constant" lines in one place.
10888 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10889 * conform/data/fmtmsg.h-data: Likewise.
10890 * conform/data/netinet/in.h-data: Likewise.
10891 * conform/data/tar.h-data: Likewise.
10892 * conform/data/limits.h-data: Use "==" form on "constant" and
10893 "optional-constant" lines.
10894
1b8f2850
JM
10895 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10896 Use -std=c99 for XOPEN2K.
10897 (@knownproblems): Remove.
10898 (newtoken): Don't check %isknown.
10899
a05a144b
JM
10900 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10901 Do not expect macro.
10902 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10914 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10915 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10932 [XPG3] (acosh): Likewise.
10933 [XPG3] (asinh): Likewise.
10934 [XPG3] (atanh): Likewise.
10935 [XPG3] (cbrt): Likewise.
10936 [XPG3] (expm1): Likewise.
10937 [XPG3] (ilogb): Likewise.
10938 [XPG3] (log1p): Likewise.
10939 [XPG3] (logb): Likewise.
10940 [XPG3] (nextafter): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10943 [XPG3] (remainder): Likewise.
10944 [XPG3] (rint): Likewise.
10945 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10946 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10947 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10948 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10949 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10951 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10952 [UNIX98 || XOPEN2K] (scalb): Expect.
10953 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10954 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10966 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10978 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10981 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10982 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10983 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10984 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10985 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10986 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10987 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10988 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10989 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10990 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10991 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10992 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10993 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10994 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10995 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10996 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10997 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10998 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10999 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11000 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11001 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11002 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11003 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11004 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11005 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11006 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11007 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11008 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11009 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11010 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11011 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11012 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11013 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11014 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11015 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11016 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11017 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11018 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11019 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11020 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11021 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11022 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11023 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11024 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11025 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11026 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11027 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11028 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11029 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11030 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11031 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11032 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11033 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11034 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11035 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11036 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11037 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11038 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11039 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11040 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11041 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11042 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11043 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11044 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11045 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11046 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11047 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11048 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11049 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11050 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11051 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11052 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11053 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11054 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11055 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11056 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11057 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11058 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11059 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11060 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11061 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11062 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11063 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11064 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11065 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11066 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11067 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11068 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11069 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11070 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11071 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11072 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11073 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11074 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11075 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11076 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11077 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11078 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11079 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11080 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11082 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11083 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11084 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11086 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11087 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11088 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11089 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11090
73c5ebe3
JM
11091 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11092 _XOPEN_SOURCE_EXTENDED for XPG4.
11093
39c33b6c
JM
11094 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11095
62fde54f
JM
11096 * Makeconfig (localtime): Remove variable.
11097 (inst_localtime-file): Likewise.
11098
0741d64c
AS
110992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11102 Update.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11104 Update.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11106 Update.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11108 Update.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11110 Update.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11112 Update.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11114 Update.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11116 Update.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11118 Update.
11119
7cb029ee
JM
111202012-05-01 Joseph Myers <joseph@codesourcery.com>
11121
11122 [BZ #2550]
11123 [BZ #2570]
11124 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11125 comparisons to determine direction to adjust input.
11126 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11127 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11129 Likewise.
11130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11131 Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11133 Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11136 Likewise.
11137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11138 Likewise.
11139 * math/libm-test.inc (nexttoward_test): Add more tests.
11140
412bd966
AS
111412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 [BZ #14040]
11144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11145 in version GLIBC_2.1, not GLIBC_2.0.
11146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11147 Likewise.
11148
9568c0c2
JM
111492012-04-30 Joseph Myers <joseph@codesourcery.com>
11150
adfbc8ac
JM
11151 [BZ #13942]
11152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11153 (1 - x) * (1 + x).
11154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11155 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11156 * math/libm-test.inc (acos_test): Add more tests.
11157 (asin_test): Likewise.
11158 * sysdeps/i386/fpu/libm-test-ulps: Update.
11159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11160
5ba3cc69
JM
11161 [BZ #14034]
11162 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11163 of square root.
11164 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11166 * math/libm-test.inc (acos_test_tonearest): New function.
11167 (acos_test_towardzero): Likewise.
11168 (acos_test_downward): Likewise.
11169 (acos_test_upward): Likewise.
11170 (asin_test_tonearest): Likewise.
11171 (asin_test_towardzero): Likewise.
11172 (asin_test_downward): Likewise.
11173 (asin_test_upward): Likewise.
11174 (main): Call the new functions.
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11177
9568c0c2
JM
11178 [BZ #13884]
11179 [BZ #13924]
11180 * math/e_exp10.c: Include <float.h>.
11181 (__ieee754_exp10): Handle underflow here rather than multiplying
11182 large negative argument by M_LN10.
11183 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11184 of __ieee754_expf.
11185 * math/e_exp10l.c: Include <float.h>.
11186 (__ieee754_exp10l): Handle underflow here rather than multiplying
11187 large negative argument by M_LN10l.
11188 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11189 spurious overflow exception on underflow.
11190
5ac3ea17
MP
111912012-04-29 Marek Polacek <polacek@redhat.com>
11192
11193 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11194 (__fortify_function): New macro.
11195 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11196 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11197 __extern_always_inline.
11198 * libio/bits/stdio2.h: Likewise.
11199 * libio/bits/stdio.h: Likewise.
11200 * string/string.h: Likewise.
11201 * string/bits/string3.h: Likewise.
11202 * include/stdio.h: Likewise.
11203 * stdlib/bits/stdlib.h: Likewise.
11204 * stdlib/stdlib.h: Likewise.
11205 * rt/bits/mqueue2.h: Likewise.
11206 * rt/mqueue.h: Likewise.
11207 * posix/bits/unistd.h: Likewise.
11208 * posix/unistd.h: Likewise.
11209 * io/bits/poll2.h: Likewise.
11210 * io/bits/fcntl2.h: Likewise.
11211 * io/fcntl.h: Likewise.
11212 * io/sys/poll.h: Likewise.
11213 * misc/bits/syslog.h: Likewise.
11214 * misc/bits/syslog-ldbl.h: Likewise.
11215 * misc/sys/syslog.h: Likewise.
11216 * socket/bits/socket2.h: Likewise.
11217 * socket/sys/socket.h: Likewise.
11218 * debug/tst-chk1.c: Likewise.
11219 * wcsmbs/bits/wchar2.h: Likewise.
11220 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11221 * wcsmbs/wchar.h: Likewise.
11222
ecf0ebfb
AJ
112232012-04-29 Andreas Jaeger <aj@suse.de>
11224
11225 * Makerules (tests): Remove enable-check-abi protection.
11226 (check-abi-warn): Remove.
11227 (check-abi-%): Remove check-abi-warn usage.
11228
11229 * configure.in: Remove check-abi configure option.
11230 * configure: Regenerated.
11231 * config.make.in (enable-check-abi): Remove.
11232
6d5c57fa
AS
112332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11234
24c5d07e 11235 [BZ #14033]
ded5180a
AS
11236 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11237 double functions to double *_finite functions.
11238
7e0d315d
AS
11239 [BZ #13941]
11240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11241 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11242 LDBL_MIN_EXP.
11243 * stdio-common/Makefile (tests): Add tst-sprintf3.
11244 * stdio-common/tst-sprintf3.c: New file.
11245
6d5c57fa
AS
11246 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11247 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11248
0749ff8b
JM
112492012-04-28 Joseph Myers <joseph@codesourcery.com>
11250
11251 * conform/conformtest.pl: Remove duplicate typed-constant
11252 handling.
11253
8dbd5d7b
DM
112542012-04-28 David S. Miller <davem@davemloft.net>
11255
11256 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11257 (check-abi-%): Remove AWK script prerequisite and explicit
11258 abilist directory.
11259 (check-abi): Rewrite to just diff the symlist with the abilist.
11260 (config-tls, config-abi-config): Delete, no longer used.
11261 (update-abi-%): Remove AWK script and explicit abilist directory.
11262 (update-abi): Rewrite to simply compare and conditionally copy the
11263 symlist and the sysdep abilist file. Remove update-abi-config
11264 checks.
11265 * abilist/ld.abilist: Remove.
11266 * abilist/libBrokenLocale.abilist: Remove.
11267 * abilist/libanl.abilist: Remove.
11268 * abilist/libcrypt.abilist: Remove.
11269 * abilist/libdl.abilist: Remove.
11270 * abilist/librt.abilist: Remove.
11271 * abilist/libthread_db.abilist: Remove.
11272 * abilist/libutil.abilist: Remove.
11273 * scripts/extract-abilist.awk: Remove.
11274 * scripts/merge-abilist.awk: Remove.
11275 * sysdeps/generic/libcidn.abilist: New file.
11276 * sysdeps/generic/libnss_compat.abilist: New file.
11277 * sysdeps/generic/libnss_db.abilist: New file.
11278 * sysdeps/generic/libnss_dns.abilist: New file.
11279 * sysdeps/generic/libnss_files.abilist: New file.
11280 * sysdeps/generic/libnss_hesiod.abilist: New file.
11281 * sysdeps/generic/libnss_nis.abilist: New file.
11282 * sysdeps/generic/libnss_nisplus.abilist: New file.
11283 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11284 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11285 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11286 file.
11287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11288 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11289 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11290 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11292 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11295 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11296 file.
11297 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11301 file.
11302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11308 file.
11309 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11312 file.
11313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11315 New file.
11316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11317 New file.
11318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11319 New file.
11320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11321 New file.
11322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11323 New file.
11324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11325 New file.
11326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11327 New file.
11328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11329 New file.
11330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11331 New file.
11332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11333 New file.
11334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11335 New file.
11336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11337 New file.
11338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11339 New file.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11341 file.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11343 New file.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11345 New file.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11347 file.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11349 New file.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11351 New file.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11353 file.
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11355 New file.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11357 New file.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11359 New file.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11361 New file.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11363 New file.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11365 New file.
11366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11368 file.
11369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11370 New file.
11371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11372 file.
11373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11374 file.
11375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11376 file.
11377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11378 file.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11380 file.
11381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11382 New file.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11384 file.
11385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11386 file.
11387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11388 New file.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11390 file.
11391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11393 file.
11394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11395 New file.
11396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11397 file.
11398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11399 file.
11400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11401 file.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11403 file.
11404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11405 file.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11407 New file.
11408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11409 file.
11410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11411 file.
11412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11413 New file.
11414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11415 file.
11416 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11417 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11418 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11419 file.
11420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11421 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11425 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11426 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11427 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11428 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11429 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11432 file.
11433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11434 New file.
11435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11436 file.
11437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11438 file.
11439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11440 file.
11441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11442 file.
11443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11444 file.
11445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11446 New file.
11447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11448 New file.
11449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11450 file.
11451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11452 New file.
11453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11454 file.
11455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11457 file.
11458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11459 New file.
11460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11461 file.
11462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11463 file.
11464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11465 file.
11466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11467 file.
11468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11469 file.
11470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11471 New file.
11472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11473 New file.
11474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11475 file.
11476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11477 New file.
11478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11479 file.
11480
41d73a1b
JM
114812012-04-28 Joseph Myers <joseph@codesourcery.com>
11482
11483 * conform/conformtest.pl: Fix typo in handling typed-constant from
11484 allow-header.
11485
28aeeda4
JM
114862012-04-27 Joseph Myers <joseph@codesourcery.com>
11487
adae8f5e
JM
11488 * README: Cut down references to pre-2.6 Linux kernels and
11489 Linuxthreads. Update lists of configurations in libc and ports
11490 and sort alphabetically. Say "or newer" with Linux kernel version
11491 requirements.
11492
28aeeda4
JM
11493 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11494
a462cb63
RA
114952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11496
11497 [BZ #887]
11498 * math/libm-test.inc (logb_test_downward): New test to expose
11499 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11500 rounding mode.
11501
6ad3493e
JM
115022012-04-27 Joseph Myers <joseph@codesourcery.com>
11503
11504 [BZ #14027]
11505 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11506 to be done.
11507 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11508 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11509
2ce4f015
JM
115102012-04-26 Joseph Myers <joseph@codesourcery.com>
11511
5aeb141a
JM
11512 * sysdeps/unix/i386/brk.S: Remove file.
11513 * sysdeps/unix/i386/dl-brk.S: Likewise.
11514 * sysdeps/unix/i386/pipe.S: Likewise.
11515 * sysdeps/unix/i386/sigreturn.S: Likewise.
11516 * sysdeps/unix/i386/syscall.S: Likewise.
11517 * sysdeps/unix/i386/vfork.S: Likewise.
11518 * sysdeps/unix/i386/wait.S: Likewise.
11519
7143acae
JM
11520 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11521 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11522
2ce4f015
JM
11523 * configure.in (arm*-none*): Do not allow without
11524 --enable-hacker-mode.
11525 (netbsd*): Remove case setting base_os.
11526 (386bsd*): Likewise.
11527 (freebsd*): Likewise.
11528 (bsdi*): Likewise.
11529 (osf*): Likewise.
11530 (sunos*): Likewise.
11531 (ultrix*): Likewise.
11532 (newsos*): Likewise.
11533 (dynix*): Likewise.
11534 (*bsd*): Likewise.
11535 (sysv*): Likewise.
11536 (isc*): Likewise.
11537 (esix*): Likewise.
11538 (sco*): Likewise.
11539 (minix*): Likewise.
11540 (irix4*): Likewise.
11541 (irix6*): Likewise.
11542 (solaris[2-9]*): Likewise.
11543 (none): Likewise.
11544 * configure: Regenerated.
11545
0ac229c8
AZ
115462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11547
11548 [BZ #11521]
11549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11550 overflow or cancellation in calculating denominator.
11551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11553 down expression to avoid unexpected rounding in newer GCCs.
11554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11555
33f244f4
DM
115562012-04-26 David S. Miller <davem@davemloft.net>
11557
11558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11559 long-double compat symbols.
11560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11573
cfa1f3e8
DM
115742012-04-25 David S. Miller <davem@davemloft.net>
11575
11576 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11577 HWCAP_* values only after the memory barriers have been defined.
11578 (atomic_full_barrier): Define.
11579 (atomic_read_barrier): Define.
11580 (atomic_write_barrier): Define.
11581
6e236b92
SP
115822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11583
11584 * shlib-versions: Add libgcc_s version information.
11585 * sysdeps/generic/libgcc_s.h: Remove.
11586 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11587 libgcc_s.h.
11588 * sysdeps/gnu/unwind-resume.c: Likewise.
11589 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11590
aab39a09
DM
115912012-04-25 David S. Miller <davem@davemloft.net>
11592
11593 * sysdeps/unix/sparc/brk.S: Delete.
11594 * sysdeps/unix/sparc/dl-brk.S: Delete.
11595 * sysdeps/unix/sparc/pipe.S: Delete.
11596 * sysdeps/unix/sparc/sysdep.S: Delete.
11597 * sysdeps/unix/sparc/sysdep.h: Delete.
11598 * sysdeps/unix/sparc/vfork.S: Delete.
11599 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11600 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11602 ret_ERRVAL, r0, r1, MOVE): Define.
11603 (JUMPTARGET): Remove.
11604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11605 sysdeps/unix/sparc/sysdep.h
11606 (ENTRY, END): Remove.
11607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11608
a3cc4f48
JM
116092012-04-25 Joseph Myers <joseph@codesourcery.com>
11610
2ed8cda2
JM
11611 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11612 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11613 -DIS_IN_build.
11614
35d76d59
JM
11615 * timezone/README: Update upstream location and email address for
11616 tzcode and tzdata.
11617 * timezone/zdump.c: Update from tzcode 2012b.
11618 * timezone/zic.c: Likewise.
11619
a3cc4f48
JM
11620 * configure.in (libc_cv_as_needed): Remove test.
11621 * configure: Regenerated.
11622 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11623 conditional definition.
11624 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11625 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11626 * config.make.in (have-as-needed): Remove variable.
11627
ceab42c3
SP
116282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11629 Paul Pluzhnikov <ppluzhnikov@google.com>
11630
11631 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11632 strings correctly.
11633
3ce2865f
CLT
116342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11635
11636 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11637 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11638 * sysdeps/sh/strlen.S: Likewise.
11639
f37e0d68
JM
116402012-04-24 Joseph Myers <joseph@codesourcery.com>
11641
ae186e9a
JM
11642 * sysdeps/unix/fork.S: Remove file.
11643 * sysdeps/unix/i386/fork.S: Likewise.
11644 * sysdeps/unix/sparc/fork.S: Likewise.
11645
b96914af
JM
11646 * sysdeps/unix/system.c: Remove file.
11647 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11648
f37e0d68
JM
11649 * sysdeps/unix/getegid.S: Remove file.
11650 * sysdeps/unix/geteuid.S: Likewise.
11651
87ef29ca
RM
116522012-04-24 Roland McGrath <roland@hack.frob.com>
11653
83bcd236
RM
11654 * scripts/check-localplt.awk: New file.
11655 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11656 of diff.
11657 * scripts/data/localplt-generic.data: Add a comment.
11658
87ef29ca
RM
11659 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11660 NODE when __dir_mkfile failed.
11661 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11662 Reported by Ludovic Courtès <ludo@gnu.org>.
11663
e5a6e567
AJ
116642012-04-24 Andreas Jaeger <aj@suse.de>
11665
11666 * Makerules (common-clean): Also remove gen-as-const-headers
11667 files.
11668
c1820385
JM
116692012-04-24 Joseph Myers <joseph@codesourcery.com>
11670
11671 * Makerules (native-compile): Do not change working directory for
11672 build. Use $(OUTPUT_OPTION) in command.
11673 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11674
94e02fc4
AZ
116752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11676
11677 [BZ #13886]
11678 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11679 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11680 * math/libm-test.inc (floor_test): Add more tests.
11681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11682
3a533ca3
JM
116832012-04-24 Joseph Myers <joseph@codesourcery.com>
11684
940ab4b3
JM
11685 * sysdeps/unix/getdents.c: Remove file.
11686 * sysdeps/unix/sysv/getdents.c: Likewise.
11687 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11688
90e037bd
JM
11689 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11690 sysdeps/unix/mman/syscalls.list.
11691 (mmap): Likewise.
11692 (mprotect): Likewise.
11693 (msync): Likewise.
11694 (munmap): Likewise.
11695 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11696 * sysdeps/unix/mman/syscalls.list: Remove.
11697 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11698
3a533ca3
JM
11699 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11700 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11701 * configure: Regenerated.
11702 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11703 $(libgcc_s_suffix).
11704 * config.make.in (libgcc_s_suffix): Remove variable.
11705
1ad743de
JM
117062012-04-23 Joseph Myers <joseph@codesourcery.com>
11707
4ad451e2
JM
11708 * sysdeps/unix/sysv/gethostname.c: Move to ...
11709 * sysdeps/posix/gethostname.c: ... here.
11710
5e37ce39
JM
11711 * sysdeps/unix/execve.S: Remove file.
11712
1ad743de
JM
11713 * sysdeps/unix/_exit.S: Remove file.
11714
4e681b5b
AJ
117152012-04-23 Andreas Jaeger <aj@suse.de>
11716
11717 [BZ #13739]
11718 * manual/Makefile: Remove make dist support, there's no
11719 need for a stand-alone documentation tar ball.
11720 (TEXI2DVI): Define always, it's not in Makeconfig.
11721 (dist): Removed.
11722 (tar-it): Removed.
11723 (edition): Removed.
11724 (glibc-doc-$(edition).tar): Removed
11725 (%.Z): Removed.
11726 (%.gz): Removed.
11727 (%.uu): Removed.
11728 (ETAGS): Remove, it's in Makeconfig.
11729 (move-if-change): Remove, it's in Makeconfig.
11730
38686a03 117312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11732
11733 [BZ #13970]
11734 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11735 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11736 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11737 (strtod_l, strtof_l, strtold_l): Remove __wur.
11738 It is not necessarily an error to ignore strtol's return value.
11739 One can reliably look at the stored endptr to decide whether
11740 the number had valid syntax.
11741
7c0616fa
AJ
117422012-04-21 Andreas Jaeger <aj@suse.de>
11743
803cb6b7 11744 [BZ #13739]
7c0616fa
AJ
11745 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11746
b0fe253f
JM
117472012-04-21 Joseph Myers <joseph@codesourcery.com>
11748
11749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11750 * sysdeps/unix/sysv/Versions: Remove file.
11751
8280f22d
MT
117522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11753
11754 [BZ #13927]
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11756
75ce411f 117572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11758
11759 [BZ #7064]
11760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11761 version from __vm86.
11762
097d59fa
JM
117632012-04-20 Joseph Myers <joseph@codesourcery.com>
11764
a90f3bcb
JM
11765 * sysdeps/unix/common/lxstat.c: Remove file.
11766 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11767
edc7ea78
JM
11768 * sysdeps/unix/sysv/Makefile: Remove file.
11769
cb78c221
JM
11770 * sysdeps/unix/sysv/direct.h: Remove file.
11771
efa6a45f
JM
11772 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11773 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11774 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11775 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11776 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11777 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11778 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11779
9c9f2d0c
JM
11780 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11781
4541c83b
JM
11782 * sysdeps/unix/xmknod.c: Remove file.
11783 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11784
f5d153a0
JM
11785 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11786
aa746595
JM
11787 * sysdeps/unix/sysv/i386/time.S: Remove file.
11788
cce5905e
JM
11789 * sysdeps/unix/fxstat.c: Remove file.
11790 * sysdeps/unix/xstat.c: Likewise.
11791 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11792
37fa3841
JM
11793 * sysdeps/unix/sysv/sigaction.c: Remove file.
11794
ff1962a3
JM
11795 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11796 (sysdep_headers): Remove variable.
11797 [termio.h not in sysdep_headers] (generated): Likewise.
11798 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11799 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11800 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11801 * sysdeps/unix/sysv/tcflow.c: Likewise.
11802 * sysdeps/unix/sysv/tcflush.c: Likewise.
11803 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11804 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11805 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11806 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11807 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11808
e7740d31
JM
11809 * sysdeps/unix/siglist.c: Remove file.
11810
ee06f18b
JM
11811 * sysdeps/unix/getppid.S: Remove file.
11812
097d59fa
JM
11813 * sysdeps/unix/mkdir.c: Remove file.
11814 * sysdeps/unix/rmdir.c: Likewise.
11815
ff3d51ec
AS
118162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11817
11818 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11819 ERR_MAX value.
11820 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11821 errlist-compat value.
11822
50f81fd7
DM
118232012-04-18 David S. Miller <davem@davemloft.net>
11824
11825 * sysdeps/generic/memcopy.h (reg_char): Delete.
11826 * debug/strcat_chk.c: Use char, not reg_char.
11827 * debug/strcpy_chk.c: Likewise.
11828 * debug/strncat_chk.c: Likewise.
11829 * debug/strncpy_chk.c: Likewise.
11830 * string/memchr.c: Likewise.
11831 * string/memrchr.c: Likewise.
11832 * string/rawmemchr.c: Likewise.
11833 * string/strcat.c: Likewise.
11834 * string/strchr.c: Likewise.
11835 * string/strchrnul.c: Likewise.
11836 * string/strcmp.c: Likewise.
11837 * string/strcpy.c: Likewise.
11838 * string/strncat.c: Likewise.
11839 * string/strncmp.c: Likewise.
11840 * string/strncpy.c: Likewise.
11841
8ff41c46
WS
118422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11843
11844 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11845 __builtin_memcopy is called when src and dest ranges are known to not
11846 overlap.
11847
6b652f46
WS
118482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11849
11850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11851 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11852 fwd_align_merge macro call.
11853 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11854 bwd_align_merge macro call.
11855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11856
b282631e
WS
118572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11858
11859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11860 bwd_align_merge macros.
11861 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11862 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11864
95aa737c
DM
118652012-04-18 David S. Miller <davem@davemloft.net>
11866
11867 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11868
7a99a614
AJ
118692012-04-18 Andreas Jaeger <aj@suse.de>
11870
11871 [BZ# 6794]
11872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11873 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11874 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11875
11876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11877 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11879
11880 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11882 Adjust for changed ldbl-128 files.
11883
11884 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11885 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11887
e5270c23
DM
118882012-04-17 David S. Miller <davem@davemloft.net>
11889
11890 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11891
fb5e92c9
AS
118922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11893
11894 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11895 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11896 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11897 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11899 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11900
76da7265
AZ
119012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902
11903 [BZ #6794]
11904 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11905 * math/libm-test.inc: Add ilogb errno and exception tests.
11906 * math/w_ilogb.c: New file: ilogb wrapper.
11907 * math/w_ilogbf.c: New file: ilogbf wrapper.
11908 * math/w_ilogbl.c: New file: ilogbl wrapper.
11909 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11910 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11911 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11912 exception being thrown with 0.0 as argument.
11913 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11914 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11915 exception being thrown with 0.0 as argument.
11916 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11917 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11918 exception being thrown with 0.0 as argument.
11919 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11920 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11921 exception being thrown with 0.0 as argument.
11922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11923 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11925 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11927 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11928 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11931
0396e69d
PB
119322012-04-17 Petr Baudis <pasky@ucw.cz>
11933
11934 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11935 with altivec.
11936
750b5926
MP
119372012-04-16 Marek Polacek <polacek@redhat.com>
11938
11939 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11940
751728a1
MP
119412012-04-16 Marek Polacek <polacek@redhat.com>
11942
11943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11944 operands of fdivp instruction.
11945
34a27407
L
119462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11949 * elf/tst-auditmod3b.c: Likewise.
11950 * elf/tst-auditmod4b.c: Likewise.
11951 * elf/tst-auditmod5b.c: Likewise.
11952 * elf/tst-auditmod6b.c: Likewise.
11953 * elf/tst-auditmod6c.c: Likewise.
11954 * elf/tst-auditmod7b.c: Likewise.
11955 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11956 * sysdeps/x86_64/preconfigure.in: Likewise.
11957 * sysdeps/x86_64/preconfigure: Regenerated.
11958
7e73e17d
L
119592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11960
11961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11962 __ILP32__.
11963
c7a6ab72
AB
119642012-04-13 Antoine Balestrat <merkil33@gmail.com>
11965
11966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11967 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11968
a9e8e0e0
CL
119692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11970
11971 [BZ #13973]
11972 * locale/iso-639.def: Fix gl language name. Spotted by
11973 Yaron Shahrabani.
11974
ec98af7d
RM
119752012-04-12 Roland McGrath <roland@hack.frob.com>
11976
11977 [BZ #2074]
11978 * libio/libio.h (__io_write_fn): Update comment.
11979
247c3ede
PB
119802012-04-12 Petr Baudis <pasky@ucw.cz>
11981
11982 [BZ #2074]
11983 * stdio.texi (Hook Functions): The user provided writer function
11984 is not allowed to return -1.
11985
55939d6d
DM
119862012-04-11 David S. Miller <davem@davemloft.net>
11987
11988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11989
90020f5a
MF
119902012-04-11 Mike Frysinger <vapier@gentoo.org>
11991
11992 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11993 Add a leading slash to rtkaio.
11994
288f9098
JM
119952012-04-11 Jim Meyering <meyering@redhat.com>
11996
90020f5a
MF
11997 [BZ #11959]
11998 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11999 It is not necessarily an error to ignore fwrite's return
12000 value. One can reliably use ferror to test for errors after
12001 the fact.
288f9098 12002
4be2b570
L
120032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12004
12005 * bits/types.h (__snseconds_t): New type.
12006 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12007
12008 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12010 (__SNSECONDS_T_TYPE): Likewise.
12011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12012 (__SNSECONDS_T_TYPE): Likewise.
12013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12014 (__SNSECONDS_T_TYPE): Likewise.
12015
288f9098 120162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12017
12018 [BZ #2636]
12019 * manual/time.texi (Processor Time): Return type of times is
12020 elapsed real time since an arbitrary point in the past.
12021 (CPU Time): Move CLK_TCK from here...
12022 (Processor Time): ...to here. Correct description.
12023 * manual/conf.texi (Constants for Sysconf): Correct description of
12024 _SC_CLK_TCK.
12025
d7dd4413
DM
120262012-04-10 David S. Miller <davem@davemloft.net>
12027
12028 [BZ #13967]
12029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12030 where the is a gap between DT_REL(A) and DT_JMPREL.
12031
b46068fc
L
120322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12033
12034 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12037
73d65cc3
SP
120382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12039
12040 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12041 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12042 (dl_main): Handle --inhibit-cache.
12043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12044 _dl_inhibit_cache.
12045 * elf/dl-load.c (_dl_map_object): Use it.
12046 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12047
bcc8d661
JM
120482012-04-09 Joseph Myers <joseph@codesourcery.com>
12049
8f9a2fae
JM
12050 [BZ #13872]
12051 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12052 (__ieee754_powl): Saturate large exponents rather than testing for
12053 overflow of y*log2(x).
12054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12055 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12056 exceptions.
12057
bcc8d661
JM
12058 [BZ #11521]
12059 * math/s_ctan.c: Include <float.h>.
12060 (__ctan): Avoid internal overflow or cancellation in calculating
12061 denominator.
12062 * math/s_ctanf.c: Likewise.
12063 * math/s_ctanl.c: Likewise.
12064 * math/s_ctanh.c: Likewise.
12065 * math/s_ctanhf.c: Likewise.
12066 * math/s_ctanhl.c: Likewise.
12067 * math/libm-test.inc (ctan_test): Add more tests.
12068 (ctanh_test): Likewise.
12069 * sysdeps/i386/fpu/libm-test-ulps: Update.
12070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071
823fbbb4
AJ
120722012-04-09 Andreas Jaeger <aj@suse.de>
12073
03879793
AJ
12074 [BZ #6894]
12075 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12076 is an optional BSD extension.
12077
823fbbb4
AJ
12078 [BZ #10254]
12079 * manual/stdio.texi (Opening Streams): Document additional fopen
12080 parameters.
12081
8de131cb
RM
120822012-04-09 Roland McGrath <roland@hack.frob.com>
12083
12084 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12085 %eax without telling the compiler.
12086
c0ed9d7d
CD
120872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12088
12089 [BZ # 13963]
12090 * manual/install.texi: Use sourceware.org.
12091
c483f6b4
JM
120922012-04-09 Joseph Myers <joseph@codesourcery.com>
12093
d7dd9453
JM
12094 [BZ #13873]
12095 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12096 (__ieee754_pow): Generate overflow and underflow using huge*huge
12097 and tiny*tiny rather than just returning constant infinity or zero
12098 for large exponents.
12099 * math/libm-test.inc (pow_test): Require overflow exceptions for
12100 applicable cases of large exponents.
12101
c483f6b4
JM
12102 [BZ #706]
12103 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12104 (__ieee754_pow): Use iterative multiplication algorithm only for
12105 integer exponents with absolute value below 1024. Check for odd
12106 integer exponents when using algorithm for real exponents.
12107 * math/libm-test.inc (pow_test): Add more tests.
12108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12109
d2de7579
JM
121102012-04-08 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #13705]
12113 * math/libm-test.inc (exp_test): Do not allow overflow exception
12114 on underflow test.
12115
f77f1232
AJ
121162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12117
12118 [BZ #13705]
12119 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12120 instead of __kernel_standard_f.
12121
3884932b
MF
121222012-04-08 Mike Frysinger <vapier@gentoo.org>
12123
12124 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12125 * sysdeps/x86_64/memset_chk.S: Likewise.
12126
54472e9c
AJ
121272012-04-08 Andreas Jaeger <aj@suse.de>
12128
6ab0fbfc
AJ
12129 [BZ #10153]
12130 * manual/startup.texi (Environment Access): Describe return value
12131 for putenv and setenv.
12132
61efba8c
AJ
12133 [BZ #6895]
12134 * manual/filesys.texi (Directory Entries): Add description for
12135 DT_LNK.
12136
95c3f29a
AJ
12137 [BZ #6890]
12138 * manual/filesys.texi (Directory Entries): Clarify that it's file
12139 system not operating system in the description of DT_UNKNOWN.
12140
54472e9c
AJ
12141 [BZ #6578]
12142 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12143
624254b1
SC
121442012-04-08 Stephen Compall <s11@member.fsf.org>
12145
12146 [BZ #6649]
12147 * manual/llio.texi (Opening and Closing Files): Add cross
12148 reference to explain mode argument.
12149
1e4920e0
MF
121502012-04-07 Mike Frysinger <vapier@gentoo.org>
12151
12152 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12153 * sysdeps/x86_64/memset_chk.S: Likewise.
12154
5ed848f3
DM
121552012-04-07 David S. Miller <davem@davemloft.net>
12156
12157 * elf/elf.h (R_SPARC_WDISP10): Define.
12158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12159 R_SPARC_SIZE32.
12160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12161 R_SPARC_SIZE64 and R_SPARC_H34.
12162
96154cd8
CD
121632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12164
12165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12166 conditions and remove no longer applicable assertion.
12167
9904dc47
L
121682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12169
12170 * bits/byteswap.h: Include <features.h>.
12171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12173
f8887d0a
L
121742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12175
12176 * bits/byteswap.h (__bswap_16): Removed.
12177 Include <bits/byteswap-16.h> to get __bswap_16.
12178 * sysdeps/i386/bits/byteswap.h: Likewise.
12179 * sysdeps/s390/bits/byteswap.h: Likewise.
12180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12181 * bits/byteswap-16.h: New file.
12182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12183 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12184 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12185 * string/Makefile (headers): Add bits/byteswap-16.h.
12186
62470f60
PP
121872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12188
12189 [BZ #13895]
12190 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12191 extra indirection.
12192 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12193 * nss/tst-nss-static.c: New.
12194
4dad7bab
RM
121952012-04-06 Robert Millan <rmh@gnu.org>
12196
12197 [BZ #6486]
12198 * manual/llio.texi (File Position Primitive): lseek
12199 refers to WHENCE when it really means OFFSET.
12200
e9142a17
AJ
122012012-04-06 Andreas Jaeger <aj@suse.de>
12202
2c040eff
AJ
12203 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12204 strncmp declarations.
12205
e9142a17
AJ
12206 * abilist/libc.abilist: Add __poll and __ppoll.
12207
ff9f1c5f
DM
122082012-04-05 David S. Miller <davem@davemloft.net>
12209
dcd2ae90
DM
12210 * scripts/check-local-headers.sh: Accept a host triplet in the
12211 path matched by the exclude regexp.
12212
993eb054
DM
12213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12214 definition.
12215 * sysdeps/powerpc/powerpc32/dl-machine.h
12216 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12217 * sysdeps/s390/s390-32/dl-machine.h
12218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12219 * sysdeps/sparc/sparc32/dl-machine.h
12220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12221 * sysdeps/sparc/sparc64/dl-machine.h
12222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12223
ff9f1c5f
DM
12224 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12225 lazy binding.
48e2e132 12226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12227 undefined symbol errors.
12228
48e2e132 12229 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12230 DT_NEEDED entries.
12231
e80d6f94
MM
122322012-04-05 Michael Matz <matz@suse.de>
12233
12234 [BZ #13592]
12235 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12236
349fa79f
AJ
122372012-04-05 Andreas Jaeger <aj@suse.de>
12238
12239 [BZ #13908]
12240 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12241 comment.
12242
f402708f
KK
122432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12244
12245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12246 which ROUND is no valid rounding mode.
12247
2ecccfc9
KK
122482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12249
12250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12251 read again.
12252 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12253
8a53f50f
KK
122542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12255
12256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12257 an exception using FPU order intentionally.
12258
122592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12260
12261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12262 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12263 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12264 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12265
d653abb7
SJ
122662012-04-05 Simon Josefsson <simon@josefsson.org>
12267
12268 [BZ #12340]
12269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12270 EINVAL when BUFLEN is too smal.
12271
c3b1bf7d
TS
122722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12273
12274 [BZ #13553]
12275 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12276 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12277
b1aa60f3
AJ
122782012-04-03 Andreas Jaeger <aj@suse.de>
12279
c3b1bf7d 12280 [BZ #13938]
67f60a26
AJ
12281 * manual/setjmp.texi (System V contexts): Fix sentence.
12282
b1aa60f3
AJ
12283 [BZ #13926]
12284 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12285 New macro for this case.
12286 [!__GNUC__] (__bswap_64): New inline function for this case.
12287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12288 * bits/byteswap.h: Likewise.
12289 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12290 ull, guard with __GLIBC_HAVE_LONG_LONG.
12291
12292 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12293 __GLIBC_HAVE_LONG_LONG.
12294
12295 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12296 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12297
39c59c35
TMQMF
122982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12299
12300 [BZ #13691]
12301 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12302 inptr and inend, rather than using last_ch.
12303
135ffda8
DM
123042012-04-02 David S. Miller <davem@davemloft.net>
12305
12306 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12307 * stdio-common/printf-parse.h (read_int): Change return type to
12308 'int', return -1 on INT_MAX overflow.
12309 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12310 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12311 overflows INT_MAX. Check for overflow of in-format-string precision
12312 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12313 SIZE_MAX not INT_MAX for integer overflow test.
12314 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12315 skip the construct in the format string but do not record anything.
12316 * stdio-common/bug22.c: Adjust to test both width/prevision
12317 INT_MAX overflow as well as total length INT_MAX overflow. Check
12318 explicitly for proper errno values.
12319
228c019e
TS
123202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12321
302cadd3
TS
12322 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12323 CHAR_MAX.
12324 * string/test-strcmp.c [! WIDE]: Likewise.
12325 * time/tst-mktime2.c: Likewise for INT_MAX.
12326 * string/test-string.h: #include <sys/param.h> for MIN.
12327
228c019e
TS
12328 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12329 * sysdeps/i386/init-first.c (init): Likewise.
12330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12331 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12332 * sysdeps/sh/init-first.c (init): Likewise.
12333
cfa633f5
UD
123342012-04-01 Ulrich Drepper <drepper@gmail.com>
12335
12336 * po/ru.po: Update from translation team.
d1635ef8 12337 * po/vi.po: Likewise.
cfa633f5 12338
6cd0a5ea
SP
123392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12340
12341 * resolv/nss_dns/dns-host.c: Merge copyright years.
12342
4b43400f
LD
123432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12344
12345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12346 Optimize memcpy with prefetch if
12347 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12348 src, dst pointers have unequal 16 byte alignments.
12349
48c41d04
SP
123502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12351
12352 [BZ #13928]
12353 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12354 from a CNAME entry and return the minimum ttl for the query.
12355 (gaih_getanswer_slice): Likewise.
12356
b8dc394d
JL
123572012-03-30 Jeff Law <law@redhat.com>
12358
12359 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12360 due to long keys.
12361 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12362 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12363
2f5a5ed0
JL
12364 * resolv/nss_dns/dns-host.c: Update copyright year.
12365
1d39e359
UD
123662012-03-30 Ulrich Drepper <drepper@gmail.com>
12367
c030f70c 12368 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12369 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12370
1d39e359
UD
12371 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12372 comments for sendmmsg.
12373
123742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12375
12376 [BZ #13691]
12377 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12378 with only 1 character between 0x0041 and 0x01b0.
12379 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12380 * wcsmbs/tst-mbsnrtowcs.c: New file.
12381
20fde227
DM
123822012-03-29 David S. Miller <davem@davemloft.net>
12383
12384 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12385 small copies by hand.
12386
984a4237
JL
123872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12388
12389 [BZ #13761]
12390 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12391 _nss_compat_initgroups_dyn): Fall back to malloc/free
12392 for large group memberships.
12393
18c9d62b
DM
123942012-03-28 David S. Miller <davem@davemloft.net>
12395
88d85d4f
DM
12396 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12397 that branches into memcpy.
12398 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12403 bits.
12404 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12405 implementation too.
12406 * sysdeps/sparc/mempcpy.S: New file.
12407
e5aa83e1
DM
12408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12409 the IFUNC routine in the libc case.
12410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12411
88570753
DM
12412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12414 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12415 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12416 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12417 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12418 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12419 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12420
249d7567
DM
12421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12422 loop to 256 bytes instead of 64 bytes and fix test signedness.
12423
18c9d62b
DM
12424 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12425 * sysdeps/sparc/sparc32/Makefile: rather than here...
12426 * sysdeps/sparc/sparc64/Makefile: and here.
12427
05f3d1f6
UD
124282012-03-28 Ulrich Drepper <drepper@gmail.com>
12429
12430 * malloc/mallocbug.c: Avoid warnings about unused variables.
12431
86ae07a8
JL
124322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12433
12434 [BZ #13760]
12435 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12436 in the right place. Discard and retry query if response is
12437 larger than input buffer size.
12438
41bf21a1
JM
124392012-03-28 Joseph Myers <joseph@codesourcery.com>
12440
d6270972
JM
12441 [BZ #369]
12442 [BZ #2678]
12443 [BZ #3866]
12444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12445 x for large integer exponent.
12446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12448 sign of result as needed afterwards.
12449 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12451 result for underflowing pow the same as for overflow.
12452 (__kernel_standard_l): Handle powl overflow and underflow here
12453 rather than calling __kernel_standard.
12454 * math/libm-test.inc (pow_test): Add more tests.
12455
414fca03 12456 [BZ #3868]
41bf21a1
JM
12457 [BZ #13879]
12458 [BZ #13910]
12459 [BZ #13911]
12460 [BZ #13912]
12461 [BZ #13913]
12462 [BZ #13915]
12463 [BZ #13916]
12464 [BZ #13917]
12465 [BZ #13918]
12466 [BZ #13919]
12467 [BZ #13920]
12468 [BZ #13921]
12469 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12470 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12471 (__kernel_standard_l): New function.
12472 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12473 __kernel_standard.
12474 * math/w_acosl.c (__acosl): Likewise.
12475 * math/w_asinl.c (__asinl): Likewise.
12476 * math/w_atan2l.c (__atan2l): Likewise.
12477 * math/w_atanhl.c (__atanhl): Likewise.
12478 * math/w_coshl.c (__coshl): Likewise.
12479 * math/w_exp10l.c (__exp10l): Likewise.
12480 * math/w_exp2l.c (__exp2l): Likewise.
12481 * math/w_fmodl.c (__fmodl): Likewise.
12482 * math/w_hypotl.c (__hypotl): Likewise.
12483 * math/w_j0l.c (__j0l, __y0l): Likewise.
12484 * math/w_j1l.c (__j1l, __y1l): Likewise.
12485 * math/w_jnl.c (__jnl, __ynl): Likewise.
12486 * math/w_lgammal.c (__lgammal): Likewise.
12487 * math/w_log10l.c (__log10l): Likewise.
12488 * math/w_log2l.c (__log2l): Likewise.
12489 * math/w_logl.c (__logl): Likewise.
12490 * math/w_powl.c (__powl): Likewise.
12491 * math/w_remainderl.c (__remainderl): Likewise.
12492 * math/w_scalbl.c (sysv_scalbl): Likewise.
12493 * math/w_sinhl.c (__sinhl): Likewise.
12494 * math/w_sqrtl.c (__sqrtl): Likewise.
12495 * math/w_tgammal.c (__tgammal): Likewise.
12496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12497 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12498 * math/libm-test.inc (acos_test): Add more tests.
12499 (acosh_test): Likewise.
12500 (asin_test): Likewise.
12501 (atanh_test): Likewise.
12502 (exp_test): Likewise.
12503 (exp10_test): Likewise.
12504 (exp2_test): Likewise.
12505 (expm1_test): Likewise.
12506 (lgamma_test): Likewise.
12507 (log_test): Likewise.
12508 (log10_test): Likewise.
12509 (log1p_test): Likewise.
12510 (log2_test): Likewise.
12511 (pow_test): Do not allow some spurious overflow exceptions.
12512 (sqrt_test): Add more tests.
12513 (tgamma_test): Likewise.
12514 (y0_test): Likewise.
12515 (y1_test): Likewise.
12516 (yn_test): Likewise.
12517
dd62fda6
AB
125182012-03-27 Anton Blanchard <anton@samba.org>
12519
12520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12521 MAP_HUGETLB.
12522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12525
1e3cdfda
AJ
125262012-03-27 David S. Miller <davem@davemloft.net>
12527
b855ab85
DM
12528 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12529
1e3cdfda
AJ
12530 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12531 have-as-vis3 check.
12532
125332012-03-27 Andreas Jaeger <aj@suse.de>
12534
12535 * sysdeps/x86_64/elf/configure.in: Moved to ...
12536 * sysdeps/x86_64/configure.in: ... here.
12537 * sysdeps/x86_64/elf/start.S: Moved to ...
12538 * sysdeps/x86_64/start.S: ... here.
12539 * sysdeps/x86_64/elf/configure: Delete.
12540
12541 * sysdeps/x86_64/configure.in: Merge contents from
12542 sysdeps/i386/configure.in (without i686 check).
12543
12544 * sysdeps/i386/elf/Versions: Merge into ...
12545 * sysdeps/i386/Versions: ... this.
12546 * sysdeps/i386/elf/Versions: Delete file.
12547 * sysdeps/i386/elf/start.S: Moved to ...
12548 * sysdeps/i386/start.S: ...here.
12549 * sysdeps/i386/elf/configure.in: Merge into...
12550 * sysdeps/i386/configure.in: ...here.
12551 * sysdeps/i386/elf/configure.in: Delete file.
12552 * sysdeps/i386/elf/configure: Delete file.
12553
12554 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12555 * debug/backtracesyms.c: ... here.
12556 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12557 * debug/backtracesymsfd.c: ... here.
12558 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12559 * sysdeps/generic/ifunc-sel.h: ... here.
12560
12561 * sysdeps/unix/i386/start.c: Delete file.
12562 * sysdeps/unix/sparc/start.c: Delete file.
12563 * sysdeps/unix/start.c: Delete file.
12564
12565 * sysdeps/sh/elf/configure.in: Moved to ...
12566 * sysdeps/sh/configure.in: ... here.
12567 * sysdeps/sh/elf/start.S: Moved to ...
12568 * sysdeps/sh/start.S: ... here.
12569 * sysdeps/sh/elf/configure: Delete file.
12570
12571 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12572 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12573 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12574 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12575 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12576 * sysdeps/powerpc/powerpc64/start.S: here.
12577 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12578 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12579 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12580 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12581 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12582
12583 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12584 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12585 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12586 * sysdeps/powerpc/powerpc32/start.S: ... here.
12587 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12588 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12589 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12590
12591 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12592 * sysdeps/powerpc/ifunc-sel.h: ... here.
12593 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12594 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12595
12596 * sysdeps/sparc/elf/configure.in: Moved to ...
12597 * sysdeps/sparc/configure.in: ... here.
12598 * sysdeps/sparc/elf/configure: Delete file.
12599 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12600 * sysdeps/sparc/sparc32/start.S: ... here.
12601 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12602 * sysdeps/sparc/sparc64/start.S: ... here.
12603 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12604 * sysdeps/sparc/sparc32/Makefile: ... this.
12605 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12606 * sysdeps/sparc/sparc64/Makefile: ... this.
12607
12608 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12609 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12610 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12611 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12612 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12613 * sysdeps/s390/s390-32/setjmp.S: ... here.
12614 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12615 * sysdeps/s390/s390-32/configure.in: ... here.
12616 * sysdeps/s390/s390-32/elf/configure: Delete file.
12617 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12618 * sysdeps/s390/s390-32/start.S: ... here.
12619
12620 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12621 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12622 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12623 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12624 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12625 * sysdeps/s390/s390-64/setjmp.S: ... here.
12626 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12627 * sysdeps/s390/s390-64/configure.in: ... here
12628 * sysdeps/s390/s390-64/elf/configure: Delete file.
12629 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12630 * sysdeps/s390/s390-64/start.S: ... here.
12631 * sysdeps/s390/s390-64/elf/configure: Delete.
12632
12633 * configure.in: Remove support for elf directories in sysdeps.
12634
12635 * configure: Regenerated.
12636 * sysdeps/i386/configure: Regenerated.
12637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12639 * sysdeps/s390/s390-32/configure: Regenerated.
12640 * sysdeps/s390/s390-64/configure: Regenerated.
12641 * sysdeps/sh/configure: Regenerated.
12642 * sysdeps/sparc/configure: Regenerated.
12643 * sysdeps/x86_64/configure: Regenerated.
12644
a3f61311
AS
126452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12646
c876e002
AS
12647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12648
a3f61311
AS
12649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12650 denormal result into account.
12651
ac4c54f0
RM
126522012-03-25 Roland McGrath <roland@hack.frob.com>
12653
12654 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12655 Reported by Allan McRae <allan@archlinux.org>.
12656
6a9b9c02
JL
126572012-03-23 Jeff Law <law@redhat.com>
12658
12659 * nss/getnssent.c (__nss_getent): Fix typo.
12660
4c42a0c1
DM
126612012-03-23 David S. Miller <davem@davemloft.net>
12662
12663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12664
1532c7ac
L
126652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12666
12667 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12668 to pad to uint64_t for each field.
12669 (dl_tls_index): Replace unsigned long with uint64_t.
12670
3ff42526
PP
126712012-03-23 Daniel Jacobowitz <dmj@google.com>
12672 Paul Pluzhnikov <ppluzhnikov@google.com>
12673
12674 [BZ #6528]
12675 * grp/Makefile (otherlibs): Don't set it.
12676 * inet/Makefile (otherlibs): Likewise.
12677 * login/Makefile (otherlibs): Likewise.
12678 * nscd/Makefile (otherlibs): Likewise.
12679 * posix/Makefile (otherlibs): Likewise.
12680 * pwd/Makefile (otherlibs): Likewise.
12681 * rt/Makefile (otherlibs): Likewise.
12682 * sunrpc/Makefile (otherlibs): Likewise.
12683 * nss/Makefile (otherlibs): Likewise.
12684 Add libnss_files to routines and static-only-routines.
12685 ($(objpfx)getent): Remove rule.
12686 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12687 static-only-routines.
12688
7c69cd14
JM
126892012-03-22 Joseph Myers <joseph@codesourcery.com>
12690
12691 [BZ #13892]
12692 * math/s_cexp.c: Include <float.h>.
12693 (__cexp): Handle exp result overflowing not necessarily
12694 overflowing both real and imaginary parts of result.
12695 * math/s_cexpf.c: Likewise.
12696 * math/s_cexpl.c: Likewise.
12697 * math/libm-test.inc (cexp_test): Add more tests.
12698 * sysdeps/i386/fpu/libm-test-ulps: Update.
12699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700
81b035fe
L
127012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 * include/link.h (ELFW): New macro.
12704 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12705 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12706
1da7940c
L
127072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12710 with uint64_t.
12711
b749dbb9
L
127122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12715 declaration.
12716 (struct La_x32_retval): Likewise.
12717
2ff87f3f
L
127182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12719
12720 * sysdeps/x86_64/preconfigure.in: New file.
12721 * sysdeps/x86_64/preconfigure: New generated file.
12722
c0df8e69
JM
127232012-03-22 Joseph Myers <joseph@codesourcery.com>
12724
48e44791
JM
12725 [BZ #13824]
12726 * math/e_exp2l.c: Include <float.h>.
12727 (__ieee754_exp2l): Handle overflow and underflow cases
12728 separately. Only pass fractional part of argument to
12729 __ieee754_expl.
12730 * math/libm-test.inc (exp2_test): Add more tests.
12731
c0df8e69
JM
12732 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12733 negating x to take absolute value.
12734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12735 Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12738 Likewise.
12739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12740 computing low part if x was negated.
12741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12742
c8e43ba7
L
127432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12746 la_x32_gnu_pltexit.
12747 (pltexit): Cast int_retval to ptrdiff_t.
12748 * elf/tst-auditmod3b.c: Likewise.
12749 * elf/tst-auditmod4b.c: Likewise.
12750 * elf/tst-auditmod5b.c: Likewise.
12751 * elf/tst-auditmod6b.c: Likewise.
12752 * elf/tst-auditmod6c.c: Likewise.
12753 * elf/tst-auditmod7b.c: Likewise.
12754
12755 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12756 and x32_gnu_pltexit.
12757
12758 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12759 __ELF_NATIVE_CLASS.
12760 (La_x32_regs): New macro.
12761 (La_x32_retval): Likewise.
12762 (la_x32_gnu_pltenter): New function prototype.
12763 (la_x32_gnu_pltexit): Likewise.
12764
7998fa78
AS
127652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12766
dcb33988
AS
12767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12768 exponent.
12769
233fc563
AS
12770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12771
7998fa78
AS
12772 * configure.in (libc_cv_cc_nofma): Check for option to disable
12773 generation of FMA instructions.
12774 * configure: Regenerate.
12775 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12776 * sysdeps/ieee754/dbl-64/Makefile: New file.
12777 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12778 Remove brandred-fma4.
12779 (CFLAGS-brandred-fma4.c): Remove.
12780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12781 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12782 define.
12783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12784 define.
12785
8e95c99a
L
127862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12787
12788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12789 LLONG_MAX != LONG_MAX.
12790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12791 (_fitoa_word): Likewise.
12792 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12793 LLONG_MAX != LONG_MAX.
12794 * stdio-common/_itowa.h: Include <_itoa.h>.
12795 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12796 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12797 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12798 only if not defined.
12799 (_ITOA_WORD_TYPE): Likewise.
12800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12801 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12802
6f4db457
DM
128032012-03-21 David S. Miller <davem@davemloft.net>
12804
12805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12806
7785fe5a
L
128072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12810 of x86_64 when setting libc_cv_slibdir, libdir and
12811 libc_cv_localedir.
12812 * sysdeps/unix/sysv/linux/configure: Regenerated.
12813
4535cd55
JM
128142012-03-21 Joseph Myers <joseph@codesourcery.com>
12815
12816 * manual/lang.texi (Old Varargs): Remove section.
12817 (How Variadic): Update menu.
12818 (va_start): Do not mention varargs.h.
12819
17228132
TS
128202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12821 Joseph Myers <joseph@codesourcery.com>
12822
12823 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12824 link test.
12825 * configure: Regenerated.
12826
8149f976
TS
128272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12828
05f3d1f6
UD
12829 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12830 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12831 conformtest.pl
8149f976 12832
1a4ac776
JM
128332012-03-21 Joseph Myers <joseph@codesourcery.com>
12834
be22ce65
JM
12835 * NOTES: Remove.
12836 * Makefile (files-for-dist): Remove NOTES.
12837 (NOTES): Remove rule.
12838 * README: Don't refer to NOTES.
12839 * manual/creature.texi: Don't include macros.texi.
12840 * manual/intro.texi (creature.texi): Remove comment referring to
12841 NOTES.
12842
40b601fb
JM
12843 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12844 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12845 * configure: Regenerated.
12846 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12847 LIBC_TRY_CC_OPTION.
12848 (libc_cv_as_i686): Likewise.
12849 (libc_cv_cc_avx): Likewise.
12850 (libc_cv_cc_sse2avx): Likewise.
12851 (libc_cv_cc_fma4): Likewise.
12852 (libc_cv_cc_novzeroupper): Likewise.
12853 * sysdeps/i386/configure: Regenerated.
12854
1a4ac776
JM
12855 [BZ #13883]
12856 * sysdeps/i386/fpu/s_cexp.S: Remove.
12857 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12859 * math/libm-test.inc (cexp_test): Add more tests.
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862
a458e7fe
AM
128632012-03-21 Allan McRae <allan@archlinux.org>
12864
12865 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12866
0cb7efc5
JM
128672012-03-21 Joseph Myers <joseph@codesourcery.com>
12868
12869 [BZ #13871]
12870 * math/w_exp2.c: Do not include <float.h>.
12871 (o_threshold, u_threshold): Remove.
12872 (__exp2): Calculate result before checking finiteness and calling
12873 __kernel_standard.
12874 * math/w_exp2f.c: Likewise.
12875 * math/w_exp2l.c: Likewise.
12876 * math/libm-test.inc (exp2_test): Require overflow exception for
12877 1e6 input.
2460d3aa
JM
12878
12879 [BZ #3866]
12880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12881 range of signed 64-bit integers before using fistpll. Remove
12882 checks for whether integers fit in mantissa bits.
12883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12884 the range of signed 32-bit integers before using fistpl. Remove
12885 checks for whether integers fit in mantissa bits.
12886 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12887 (__ieee754_powl): Test for y outside the range of signed 64-bit
12888 integers before using fistpll. Reduce 64-bit values to 63-bit
12889 ones as needed.
12890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12891 divide-by-zero is raised for zero to large negative powers.
12892 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12893 (__ieee754_powl): Test for y outside the range of signed 64-bit
12894 integers before using fistpll. Reduce 64-bit values to 63-bit
12895 ones as needed.
12896 * math/libm-test.inc (pow_test): Add more tests.
12897
eb96ffb0
L
128982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12901 <stdio-common/_itoa.h>.
12902 * debug/segfault.c: Likewise.
12903 * elf/dl-cache.c: Likewise.
12904 * elf/dl-minimal.c: Likewise.
12905 * elf/dl-misc.c: Likewise.
12906 * elf/dl-sysdep.c: Likewise.
12907 * elf/dl-version.c: Likewise.
12908 * elf/rtld.c: Likewise.
12909 * hurd/hurdsock.c: Likewise.
12910 * hurd/lookup-retry.c: Likewise.
12911 * malloc/malloc.c: Likewise.
12912 * malloc/mtrace.c: Likewise.
12913 * nscd/nscd_getgr_r.c: Likewise.
12914 * nscd/nscd_getpw_r.c: Likewise.
12915 * nscd/nscd_getserv_r.c: Likewise.
12916 * posix/getopt_init.c: Likewise.
12917 * posix/wordexp.c: Likewise.
12918 * stdio-common/_itoa.c: Likewise.
12919 * stdio-common/printf_fphex.c: Likewise.
12920 * stdio-common/vfprintf.c: Likewise.
12921 * string/_strerror.c: Likewise.
12922 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12923 * sysdeps/i386/i686/hp-timing.h: Likewise.
12924 * sysdeps/mach/_strerror.c: Likewise.
12925 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12926 * sysdeps/mach/hurd/sethostid.c: Likewise.
12927 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12928 * sysdeps/mach/xpg-strerror.c: Likewise.
12929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12931 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12932 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12934 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12936 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12937 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12938 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12939 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12941 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12947 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12948 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12950
12951 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12952
12953 * stdio-common/_itoa.h: Moved to ...
12954 * sysdeps/generic/_itoa.h: Here.
12955
12956 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12957
12958 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12959 instead of "_itoa.h" and "_itowa.h".
12960 * stdio-common/vfprintf.: Likewise.
12961
d1af992d
L
129622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12965 <bits/wordsize.h>.
12966 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12967 (__signbit): Likwise.
12968 (llrintf): Likwise.
12969 (llrint): Likwise.
12970
114883e0
L
129712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12974 __WORDSIZE != 64.
12975
c135cc1b
JM
129762012-03-20 Joseph Myers <joseph@codesourcery.com>
12977
12978 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12979 OVERFLOW_EXCEPTION_OK.
12980 * math/libm-test.inc ("Philosophy"): Update comment about
12981 exception testing.
12982 (OVERFLOW_EXCEPTION): Define.
12983 (OVERFLOW_EXCEPTION_OK): Likewise.
12984 (INVALID_EXCEPTION_OK): Renumber.
12985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12986 (IGNORE_ZERO_INF_SIGN): Likewise.
12987 (test_exceptions): Handle FE_OVERFLOW.
12988 (exp10_test): Expect overflow exceptions.
12989 (exp2_test): Likewise.
12990 (expm1_test): Likewise.
12991 (nextafter_test): Likewise.
12992 (pow_test): Likewise.
12993 (scalbn_test): Likewise.
12994 (scalbln_test): Likewise.
12995
95443d88
L
129962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12997
12998 * sysdeps/x86_64/bits/atomic.h
12999 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13000 64bit integer.
13001 (atomic_exchange_acq): Likewise.
13002 (__arch_exchange_and_add_body): Likewise.
13003 (__arch_add_body): Likewise.
13004 (atomic_add_negative): Likewise.
13005 (atomic_add_zero): Likewise.
13006
490df6c4
L
130072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13008
c2722551 13009 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13010 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13011
5e52b189
L
130122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13013
13014 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13015 Check __x86_64__ instead of __WORDSIZE.
13016
a9879d4c
L
130172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13018
13019 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13020
5df98260
DM
130212012-03-19 David S. Miller <davem@davemloft.net>
13022
e1497744
DM
13023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13024
5df98260
DM
13025 * sysdeps/sparc/fpu/fenv_private.h: New file.
13026 * sysdeps/sparc/fpu/math_private.h: Use it.
13027 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13028 Remove.
13029 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13030 (libc_feholdexcept_setroundl): Remove.
13031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13032 Remove.
13033 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13034 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13035
b4c35121
L
130362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13039 int64_t instead of long int.
13040 (INSERT_WORDS64): Likwise.
13041
56965fd7
L
130422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13045 _Unwind_GetCFA return to _Unwind_Ptr first.
13046
83d1aec8
JM
130472012-03-19 Joseph Myers <joseph@codesourcery.com>
13048
1897ad44
JM
13049 [BZ #13629]
13050 * math/s_clog.c: Include <float.h>.
13051 (__clog): Scale large or subnormal inputs.
13052 * math/s_clogf.c: Likewise.
13053 * math/s_clogl.c: Likewise.
13054 * math/s_clog10.c: Include <float.h>.
13055 (M_LOG10_2): Define.
13056 (__clog10): Scale large or subnormal inputs.
13057 * math/s_clog10f.c: Likewise.
13058 * math/s_clog10l.c: Likewise.
13059 * math/libm-test.inc (clog_test): Add more tests.
13060 (clog10_test): Likewise.
13061 * sysdeps/i386/fpu/libm-test-ulps: Update.
13062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13063
7726d6a9
JM
13064 [BZ #11451]
13065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13066 x and y.
13067 * math/libm-test.inc (atan2_test): Add another test.
13068
83d1aec8
JM
13069 * Makerules (common-objdir-compile): Remove.
13070 * sysdeps/unix/Makefile (config-generated): Do not add
13071 $(unix-generated) to variable.
13072 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13073 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13074 Remove rule.
13075 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13076 Likewise.
13077 [generic bits/local_lim.h] (before-compile): Do not append to
13078 variable.
13079 [generic bits/local_lim.h] (common-generated): Likewise.
13080 [generic sys/param.h] (before-compile): Do not append to variable.
13081 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13082 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13085 include.
13086 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13087 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13088 [generic sys/param.h] ($(addprefix
13089 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13090 [generic sys/param.h] (common-generated): Do not append to
13091 variable.
13092 [generic sys/param.h] (sysdep_headers): Likewise.
13093 [generic bits/errno.h] (before-compile): Do not append to
13094 variable.
13095 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13096 rule.
13097 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13098 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13099 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13100 [generic bits/errno.h] (common-generated): Do not append to
13101 variable.
13102 [generic bits/ioctls.h] (before-compile): Do not append to
13103 variable.
13104 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13105 rule.
13106 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13107 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13109 rule.
13110 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13111 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13112 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13113 [generic bits/ioctls.h] (common-generated): Do not append to
13114 variable.
13115 [generic sys/syscall.h] (syscall.h): Remove variable.
13116 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13117 rule.
13118 [generic sys/syscall.h] (before-compile): Do not append to
13119 variable.
13120 [generic sys/syscall.h] (common-generated): Likewise.
13121 * sysdeps/unix/errnos-tmpl.c: Remove file.
13122 * sysdeps/unix/errnos.awk: Likewise.
13123 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13124 * sysdeps/unix/ioctls.awk: Likewise.
13125 * sysdeps/unix/mk-local_lim.c: Likewise.
13126 * sysdeps/unix/snarf-ioctls: Likewise.
13127
4851a949
RH
131282012-03-19 Richard Henderson <rth@twiddle.net>
13129
bd37f2ee
RH
13130 * sysdeps/i386/fpu/fenv_private.h: New file.
13131 * sysdeps/i386/fpu/math_private.h: Use it.
13132 (math_opt_barrier, math_force_eval): Remove.
13133 (libc_feholdexcept_setround_53bit): Remove.
13134 (libc_feupdateenv_53bit): Remove.
13135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13136 (math_opt_barrier, math_force_eval): Remove.
13137 (libc_feholdexcept): Remove.
13138 (libc_feholdexcept_setround): Remove.
13139 (libc_fetestexcept, libc_fesetenv): Remove.
13140 (libc_feupdateenv_test): Remove.
13141 (libc_feupdateenv, libc_feholdsetround): Remove.
13142 (libc_feresetround): Remove.
13143
d0adc922
RH
13144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13145 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13146
0fe0f1f8
RH
13147 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13148 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13149 (libc_feupdateenv_testl): New.
13150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13151 (libc_feupdateenv_testf): New.
13152 (libc_feupdateenv): Use libc_feupdateenv_test.
13153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13155
eb92c487
RH
13156 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13157 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13158 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13159 (libc_feresetround_noex): New.
13160 (libc_feresetround_noexf): New.
13161 (libc_feresetround_noexl): New.
13162 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13163 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13164 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13166 SET_RESTORE_ROUND.
13167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13169 (__cos): Likewise.
13170 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13172 SET_RESTORE_ROUND_NOEX.
13173 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13174 SET_RESTORE_ROUND_NOEXF.
13175 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13176 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13177 (libc_feholdsetroundf): New.
13178 (libc_feresetround, libc_feresetroundf): New.
13179
7d2e8012
RH
13180 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13181 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13182 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13183
b4dabbb4
RH
13184 * sysdeps/generic/math_private.h: Include <fenv.h>.
13185 (default_libc_feholdexcept): New.
13186 (default_libc_feholdexcept_setround): New.
13187 (default_libc_fesetenv, default_libc_feupdateenv): New.
13188 (libc_feholdexcept): Only define if undefined.
13189 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13191 (libc_feholdexcept_setroundl): Likewise.
13192 (libc_feholdexcept_setround_53bit): Likewise.
13193 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13196 (libc_feupdateenv_53bit): Likewise.
13197 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13198 (libc_feholdexcept): Convert from macro to inline function.
13199 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13200 (libc_fesetenv, libc_feupdateenv): Likewise.
13201
4851a949
RH
13202 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13203 not previously defined.
13204 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13205 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13206 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13208 * sysdeps/ieee754/flt-32/math_private.h: New file.
13209 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13210 math_private.h below SET_FLOAT_WORD.
13211 (__isnan, __isinf_ns, __finite): Remove.
13212 (__isnanf, __isinf_nsf, __finitef): Remove.
13213
e79d442e
AS
132142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13215
13216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13217
90b80344
DM
132182012-03-17 David S. Miller <davem@davemloft.net>
13219
13220 [BZ #6471]
13221 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13222 for 2.16.
13223
edc21804
DM
132242012-03-16 David S. Miller <davem@davemloft.net>
13225
77e927af
DM
13226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13227 warnings.
13228
374976dd
DM
13229 [BZ #6471]
13230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13231 properly.
13232 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13233 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13234 sysdep_routines when subdir is sysvipc.
13235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13236 __getshmlba helper.
13237
edc21804
DM
13238 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13239
473c3ef3
L
132402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13243 [__LP64__].
13244
eb0f39b6
L
132452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13248 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13249 (__lround): Renamed to ...
13250 (__llround): This. Replace long int with long long int.
13251 Define lround functions as aliases of llround functions.
13252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13253
6b6cd74b
L
132542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13257 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13258 adresses to uintptr_t. Replace "long int" and "unsigned long
13259 int" with "greg_t" on va_arg.
13260
f1a77b01
L
132612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13262
13263 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13264 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13265
13266 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13267 Move e_machine check before EI_CLASS check. Handle x32
13268 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13269 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13270 SKIP_EM_IA_64 and include
13271 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13272
13273 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13274 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13275 (add_system_dir): New macro.
13276
13277 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13279
11b90b9f
JM
132802012-03-16 Joseph Myers <joseph@codesourcery.com>
13281
c36e1d23
JM
13282 [BZ #2551]
13283 [BZ #2552]
13284 [BZ #2553]
13285 [BZ #2554]
13286 [BZ #2562]
13287 [BZ #2563]
13288 [BZ #2565]
13289 [BZ #2566]
13290 [BZ #2576]
13291 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13292 (y0): Likewise.
13293 * math/w_j0f.c (j0f): Likewise.
13294 (y0f): Likewise.
13295 * math/w_j0l.c (__j0l): Likewise.
13296 (__y0l): Likewise.
13297 * math/w_j1.c (j1): Likewise.
13298 (y1): Likewise.
13299 * math/w_j1f.c (j1f): Likewise.
13300 (y1f): Likewise.
13301 * math/w_j1l.c (__j1l): Likewise.
13302 (__y1l): Likewise.
13303 * math/w_jn.c (jn): Likewise.
13304 (yn): Likewise.
13305 * math/w_jnf.c (jnf): Likewise.
13306 (ynf): Likewise.
13307 * math/w_jnl.c (__jnl): Likewise.
13308 (__ynl): Likewise.
13309 * math/libm-test.inc (j0_test): Add more tests.
13310 (j1_test): Likewise.
13311 (jn_test): Likewise. Add trailing semicolon to existing test.
13312 (y0_test): Likewise.
13313 (y1_test): Likewise.
13314 * sysdeps/i386/fpu/libm-test-ulps: Update.
13315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13316
11b90b9f
JM
13317 [BZ #13851]
13318 [BZ #13854]
13319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13320 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13321 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13323 (__tanl): Set errno for infinite argument.
13324 * sysdeps/i386/fpu/mptan.c: Remove.
13325 * sysdeps/i386/fpu/s_tan.S: Likewise.
13326 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13327 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13328 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13329 * math/libm-test.inc (tan_test): Add more tests and enable more
13330 tests for double and long double.
13331 * sysdeps/i386/fpu/libm-test-ulps: Update.
13332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13333
6a1bd2a1
JK
133342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13335
13336 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13337 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13338
10a803e0
RM
133392012-03-16 Roland McGrath <roland@hack.frob.com>
13340
13341 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13342 * configure.in: Use it for both main tree and add-ons.
13343 * configure: Regenerated.
13344
f196c7f7
L
133452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13346
13347 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13348
8848d99d
JM
133492012-03-16 Joseph Myers <joseph@codesourcery.com>
13350
96cbe7f4
JM
13351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13352 in comment.
13353
8848d99d
JM
13354 [BZ #13851]
13355 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13356 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13360 infinite argument.
13361 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13363 != 0 for prec == 2.
13364 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13365 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13366 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13367 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13368 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13369 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13370 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13371 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13372 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13373 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13374 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13375 * math/libm-test.inc (cos_test): Add more tests and enable more
13376 tests for long double.
13377 (sin_test): Likewise.
13378 (sincos_test): Likewise.
13379 * sysdeps/i386/fpu/libm-test-ulps: Update.
13380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13381
dd7f4703
DM
133822012-03-16 David S. Miller <davem@davemloft.net>
13383
13384 * sysdeps/sparc/fpu/math_private.h: New file.
13385
006f1daa
DM
133862012-03-15 David S. Miller <davem@davemloft.net>
13387
c0c83bc8
DM
13388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13389 file.
e6a62e18 13390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13392 file.
e6a62e18
DM
13393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13399 sysdep routines.
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13401
88cb87d9
DM
13402 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13403 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13404
006f1daa 13405 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13407 sparc-ifunc.h
006f1daa 13408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13410 Likewise.
13411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13412 Likewise.
006f1daa
DM
13413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13417 Likewise.
006f1daa
DM
13418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13423 Likewise.
13424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13425 Likewise.
006f1daa
DM
13426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13450
11e0098e
AS
134512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13452
13453 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13454 scaling.
13455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456
e85b09d0
AJ
134572012-03-15 Andreas Jaeger <aj@suse.de>
13458
13459 [BZ #13852]
13460 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13461 ieee754/flt-32 implementation for sin, cos and sincos.
13462 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13463 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13464 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13465 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13466 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13467 ieee754/flt-32 implementation for tan.
13468
13469 * math/libm-test.inc (cos_test): Enable some large input tests for
13470 float as well
13471 (sin_test): Likewise.
13472 (sincos_test): Likewise.
13473 (tan_test): Add tests for large input.
13474
13475 * sysdeps/i386/fpu/libm-test-ulps: Update.
13476
81c64153
AJ
134772012-03-15 Andreas Jaeger <aj@suse.de>
13478
13479 [BZ #13658]
13480 * math/libm-test.inc (cos_test): Add more test cases.
13481 (sin_test): Likewise.
13482 (sincos_test): Likewise.
13483
7bbfa5c6
AJ
134842012-03-15 Andreas Jaeger <aj@suse.de>
13485
13486 [BZ #13837]
13487 * math/libm-test.inc (cos_test): Add a test case for large input
13488 value.
13489 (sin_test): Likewise.
13490 (sincos_test): Likewise.
13491
134922012-03-15 Andreas Jaeger <aj@suse.de>,
13493 Joseph Myers <joseph@codesourcery.com>
13494
13495 [BZ #13658]
0671f479 13496 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13497 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13498 * sysdeps/i386/fpu/branred.c: Likewise.
13499 * sysdeps/i386/fpu/dosincos.c: Likewise.
13500 * sysdeps/i386/fpu/mpa.c: Likewise.
13501 * sysdeps/i386/fpu/s_cos.S: Likewise.
13502 * sysdeps/i386/fpu/s_sin.S: Likewise.
13503 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13504 * sysdeps/i386/fpu/sincos32.c: Likewise.
13505
13506 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13507 Define.
13508 (libc_feupdateenv_53bit): Define.
13509 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13510 Define.
13511 (libc_feupdateenv_53bit): Define.
13512
13513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13514 53 bit (without extend i386 double precision).
13515
13516 * math/libm-test.inc (sincos_test): Add tests for large input.
13517 (sin): Likewise.
13518 (cos): Likewise.
13519
13520 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13521
9cad04ea
AS
135222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13523
13524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13525
f7062b9a
DM
135262012-03-15 David S. Miller <davem@davemloft.net>
13527
13528 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13529 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13530 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13531 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13544 file.
f7062b9a 13545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13547 file.
f7062b9a 13548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13550 file.
f7062b9a 13551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13553 file.
f7062b9a
DM
13554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13556 fmin/fmax sysdep routines.
13557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13558
7bd951ff
DM
135592012-03-14 David S. Miller <davem@davemloft.net>
13560
559398ab
DM
13561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13590 routines.
13591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13592 file.
559398ab 13593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13595 file.
559398ab 13596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13598 file.
559398ab 13599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13601 file.
559398ab 13602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13604 file.
559398ab 13605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13607 file.
13608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13609 file.
13610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13611 file.
13612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13613 file.
13614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13615 New file.
13616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13617 file.
13618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13619 file.
559398ab 13620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13622 file.
559398ab 13623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13625 file.
559398ab 13626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13628 file.
559398ab 13629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13631 VIS3 routines.
559398ab
DM
13632
13633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13634 New file.
13635
5a1c1e32
DM
13636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13637
eae47a36
DM
13638 * sysdeps/sparc/configure.in: New file.
13639 * sysdeps/sparc/configure: Generate.
13640 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13641 * configure: Regenerate.
13642 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13643 * config.make.in (have-as-vis3): New.
13644 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13645 available use -Av9d instead of -Av9a.
13646 * sysdeps/sparc/sparc64/Makefile: Likewise.
13647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13649 New file.
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13651 file.
13652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13653 New file.
13654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13655 file.
eae47a36
DM
13656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13661
c0c83bc8
DM
13662 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13663 fzeros/fnegs to load 0x80000000 into a float register instead of
13664 using the stack.
7bd951ff
DM
13665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13666
bd951ccb
JM
136672012-03-14 Joseph Myers <joseph@codesourcery.com>
13668
13669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13670 bits/syscall.h.
13671 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13672 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13673 ($(inst_includedir)/bits/syscall.h): Remove rule.
13674 ($(objpfx)bits/syscall.d): Include instead of
13675 $(objpfx)syscall-list.d.
13676 (generated): Change syscall-list.h and syscall-list.d to
13677 bits/syscall.h and bits/syscall.d.
13678
bb4e6db2
RM
136792012-03-14 Roland McGrath <roland@hack.frob.com>
13680
13681 [BZ #13846]
13682 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13683
aa4a2ae1
JM
136842012-03-14 Joseph Myers <joseph@codesourcery.com>
13685
e456826d
JM
13686 [BZ #13841]
13687 * math/s_csqrt.c: Include <float.h>.
13688 (__csqrt): Scale large or subnormal inputs.
13689 * math/s_csqrtf.c: Likewise.
13690 * math/s_csqrtl.c: Likewise.
13691 * math/libm-test.inc (csqrt_test): Add more tests.
13692 * sysdeps/i386/fpu/libm-test-ulps: Update.
13693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13694
aa4a2ae1
JM
13695 [BZ #13840]
13696 * math/libm-test.inc (hypot_test): Add more tests.
13697
7c10fd35
DM
136982012-03-13 David S. Miller <davem@davemloft.net>
13699
13700 [BZ #13840]
13701 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13702 double-precision for the calculation instead of scaling.
13703
f453b98b
JM
137042012-03-13 Joseph Myers <joseph@codesourcery.com>
13705
13706 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13707 manipulate bits before adding and subtracting TWO52[sx].
13708 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13710 Likewise.
13711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13712
09a3453f
DM
137132012-03-13 David S. Miller <davem@davemloft.net>
13714
8e59da90
DM
13715 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13716 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13718 rtld-global-offsets.h
13719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13720
2a8ab7f2
DM
13721 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13722 large parameters.
13723
10f62770
DM
13724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13725
5f0bdb18
DM
13726 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13727 'err' in the ifdef scope in which it is actually used.
13728
09a3453f
DM
13729 * nss/nss_db/db-init.c: Include string.h
13730
b4b2eb5e
DM
137312012-03-12 David S. Miller <davem@davemloft.net>
13732
98bb2f1c
DM
13733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13734 masking out of the most significant byte of random value used.
13735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13736 Fix coding style in previous change.
13737
b4b2eb5e
DM
13738 * sysdeps/unix/sysv/linux/kernel-features.h
13739 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13740 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13741 expression.
13742 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13743 later.
13744
6e226b09
DM
137452012-03-11 David S. Miller <davem@davemloft.net>
13746
a1bcbd40
DM
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13748 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13750 for 'resultvar' otherwise things get truncated on 64-bit.
13751
cb9d6174
DM
13752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13753 Fix masking out of the most significant byte of random value used.
13754
6e226b09
DM
13755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13756
058c132d
AS
137572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13758
13759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13760
2d2cd515
DM
137612012-03-09 David S. Miller <davem@davemloft.net>
13762
13763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13764 variables with appropriate CPP guards.
13765 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13766 frame pointer, not the stack pointer. Correct layout comments. Fix test
13767 on resulting framesize and the management of the outregs buffer for pltexit.
13768 Preserve floating point return values across _dl_call_pltexit call.
13769 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13770 framesize and the management of the outregs buffer for pltexit.
13771 Preserve floating point return values across _dl_call_pltexit
13772 call.
13773 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13774 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13775 (print_exit): Fix format string for return register value.
13776
9a07f9d0
JM
137772012-03-10 Joseph Myers <joseph@codesourcery.com>
13778
13779 * sunrpc/Makefile (others): Add rpcgen.
13780 ($(objpfx)rpcgen): Remove special build rule and dependency on
13781 libc.
13782 * sunrpc/rpcgen.c: New file.
13783
547b5e30
PE
137842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13785
c524201a
PE
13786 [BZ #13673]
13787 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13788 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13789 * sysdeps/i386/crti.S: Likewise.
13790 * sysdeps/i386/crtn.S: Likewise.
13791 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13792 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13793 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13794 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13795 * sysdeps/sh/crti.S: Likewise.
13796 * sysdeps/sh/crtn.S: Likewise.
13797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13798
7b6235f2
PE
13799 [BZ #13673]
13800 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13801 with URL.
13802 * locale/programs/locfile-kw.gperf: Likewise.
13803 * locale/programs/charmap-kw.h: Regenerated.
13804 * locale/programs/locfile-kw.h: Likewise.
13805
547b5e30
PE
13806 [BZ #13673]
13807 * intl/plural.y: Replace FSF snail mail address with URL.
13808 * intl/plural.c: Regenerated.
13809
5f0a5dae
RH
138102012-03-09 Richard Henderson <rth@twiddle.net>
13811
13812 * include/math_private.h: Remove file.
13813 * math/math_private.h: Move file ...
13814 * sysdeps/generic/math_private.h: ... here.
13815
b8c03620
RH
13816 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13817 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13819
4e234f5d 13820 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13821 and <math_private.h>.
13822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13856 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13865 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13867 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13868 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13869 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13873 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13874 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13876 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13879 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13881 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13883 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13915 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13926 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13930 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13932 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13933 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13934 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13936 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13941 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13942 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13943 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13944 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13945 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13946 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13948 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13949 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13951 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13952 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13953 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13954 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13955 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13956 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13960 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13962 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13964 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13965 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13966 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13967 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13968 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13969 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13970 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13971 * sysdeps/ieee754/k_standard.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13989 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13992 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14005 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14009 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14020 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14021 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14025 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14028 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14029 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14030 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14031 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14033 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14034 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14097 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14111 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14116 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14121 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14122 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14132 * sysdeps/ieee754/s_lib_version.c: Likewise.
14133 * sysdeps/ieee754/s_matherr.c: Likewise.
14134 * sysdeps/ieee754/s_signgam.c: Likewise.
14135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14138 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14139 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14140 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14141 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14142 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14143 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14144 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14145 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14146 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14149 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14150 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14151 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14152 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14156
1991fa03
JM
141572012-03-09 Joseph Myers <joseph@codesourcery.com>
14158
14159 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14160 * sunrpc/rpc_main.c: Likewise.
14161 * sunrpc/rpc_svcout.c: Likewise.
14162
60d6f5a6
DM
141632012-03-09 David S. Miller <davem@davemloft.net>
14164
14165 * include/math_private.h: New file.
14166
4962050e
JM
141672012-03-09 Joseph Myers <joseph@codesourcery.com>
14168
02a6f887
JM
14169 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14170 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14171 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14172 from <bits/socket_type.h>.
14173 (enum __socket_type): Don't define here.
14174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14176 bits/socket_type.h.
14177
c6e013c1
JM
14178 [BZ #13566]
14179 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14180 checking __USE_GNU.
14181
4962050e
JM
14182 * Makerules ($(inst_includedir)/%.h): New rule.
14183 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14184 (install-others): Remove variable setting.
14185 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14186
38842f45
RH
141872012-03-08 Richard Henderson <rth@twiddle.net>
14188
67bb6da6
RH
14189 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14190 from macro to inline function; merge with the
14191 !__LIBC_INTERNAL_MATH_INLINES version.
14192 (__ieee754_sqrtf): Likewise.
14193
15194b4b
RH
14194 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14195 to inline function.
14196 (__rintf, __floor, __floorf): Likewise.
14197
64e21ede
RH
14198 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14199 macro to inline function.
14200 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14201
38842f45
RH
14202 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14203 not <math/math_private.h>.
14204
c64bf5fe
DM
142052012-03-08 David S. Miller <davem@davemloft.net>
14206
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14208 copyright year.
14209 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14210
82d86f28
TS
142112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14212
14213 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14214 normalization.
14215 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14216 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14217
aea5d727
UD
142182012-03-08 Ulrich Drepper <drepper@gmail.com>
14219
14220 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14221 be defined individually, they must be defined as a block. Define
14222 S for printing a string instead of hidint the different by using a
14223 macro for adding the 'l'.
14224 * stdio-common/tst-fphex-wide.c: Adjust.
14225
70bca0a3
MP
142262012-03-07 Marek Polacek <polacek@redhat.com>
14227
14228 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14229
65b81130
MP
142302012-03-08 Marek Polacek <polacek@redhat.com>
14231
14232 [BZ #13806]
14233 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14234 * stdio-common/tst-fphex.c: Define a few macros to make the
14235 test reusable. Use them.
14236 * stdio-common/tst-fphex-wide.c: New file.
14237
07037eeb
JM
142382012-03-08 Joseph Myers <joseph@codesourcery.com>
14239
a7a93d50
JM
14240 [BZ #6911]
14241 * manual/macros.texi (gnusystems): New macro.
14242 (nongnusystems): Likewise.
14243 (gnulinuxhurdsystems): Likewise.
14244 (gnuhurdsystems): Likewise..
14245 (gnulinuxsystems): Likewise.
14246 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14247 variants of the GNU system, not "GNU system".
14248 * manual/conf.texi: Likewise.
14249 * manual/errno.texi: Likewise. Update example of errno macro
14250 expansion.
14251 * manual/filesys.texi: Likewise.
14252 (getumask): Document as specific to GNU/Hurd.
14253 * manual/install.texi: Likewise. Reword some references to
14254 GNU/Linux.
14255 * manual/intro.texi: Likewise.
14256 * manual/io.texi: Likewise.
14257 (File Name Portability): Detail which constraints are inapplicable
14258 to all GNU systems and which are only inapplicable to GNU/Hurd.
14259 * manual/job.texi: Likewise.
14260 * manual/llio.texi: Likewise.
14261 (O_NOCTTY): Document as present on GNU/Linux.
14262 * manual/maint.texi: Likewise.
14263 * manual/memory.texi: Likewise.
14264 * manual/pattern.texi: Likewise.
14265 * manual/pipe.texi: Likewise.
14266 * manual/process.texi: Likewise.
14267 * manual/resource.texi: Likewise.
14268 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14269 child on GNU/Hurd.
14270 * manual/setjmp.texi: Likewise.
14271 * manual/signal.texi: Likewise.
14272 * manual/startup.texi: Likewise.
14273 * manual/stdio.texi: Likewise.
14274 * manual/terminal.texi: Likewise.
14275 (ONLCR): Document as POSIX.
14276 (OXTABS): Document availability on GNU/Linux as XTABS.
14277 (ONOEOT): Document availability separately from other bits.
14278 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14279 * manual/time.texi: Likewise.
14280 * manual/users.texi: Likewise.
14281 * INSTALL: Regenerated.
14282 * sysdeps/gnu/errlist.c: Regenerated.
14283
07037eeb
JM
14284 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14285 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14286 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14287 puts.
14288 * configure: Regenerated.
14289
d1d3431a
JM
142902012-03-07 Joseph Myers <joseph@codesourcery.com>
14291
af6a1e37
JM
14292 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14293 default includes instead of AC_HEADER_CHECK.
14294 * sysdeps/i386/configure: Regenerated.
14295
d1d3431a
JM
14296 [BZ #10716]
14297 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14298 * math/s_cacoshf.c (__cacoshf): Likewise.
14299 * math/s_cacoshl.c (__cacoshl): Likewise.
14300 * math/s_casinh.c (__casinh): Set signs of result from argument.
14301 * math/s_casinhf.c (__casinhf): Likewise.
14302 * math/s_casinhl.c (__casinhl): Likewise.
14303 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14304 (casinh_test): Add more tests.
14305 * sysdeps/i386/fpu/libm-test-ulps: Update.
14306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14307
482ff4da
UD
143082012-03-07 Ulrich Drepper <drepper@gmail.com>
14309
872fda05
UD
14310 * po/zh_TW.po: Update from translation team.
14311
a4300c7a
UD
14312 * login/Makefile (distribute): Remove variable.
14313 * catgets/Makefile: Likewise.
14314 * mach/Makefile: Likewise.
14315 * malloc/Makefile: Likewise.
14316 * misc/Makefile: Likewise.
14317 * iconv/Makefile: Likewise.
14318 * nscd/Makefile: Likewise.
14319 * hurd/Makefile: Likewise.
14320 * manual/Makefile: Likewise.
14321 * locale/Makefile: Likewise.
14322 * intl/Makefile: Likewise.
14323 * conform/Makefile: Likewise.
14324 * nss/Makefile: Likewise.
14325 * time/Makefile: Likewise.
14326 * soft-fp/Makefile: Likewise.
14327 * dirent/Makefile: Likewise.
14328 * gmon/Makefile: Likewise.
14329 * po/Makefile: Likewise.
14330 * rt/Makefile: Likewise.
14331 * socket/Makefile: Likewise.
14332 * math/Makefile: Likewise.
14333 * signal/Makefile: Likewise.
14334 * debug/Makefile: Likewise.
14335 * elf/Makefile: Likewise.
14336 * timezone/Makefile: Likewise.
14337 * stdlib/Makefile: Likewise.
14338 * iconvdata/Makefile: Likewise.
14339 * sunrpc/Makefile: Likewise.
14340 * io/Makefile: Likewise.
14341 * argp/Makefile: Likewise.
14342 * inet/Makefile: Likewise.
14343 * hesiod/Makefile: Likewise.
14344 * grp/Makefile: Likewise.
14345 * csu/Makefile: Likewise.
14346 * wctype/Makefile: Likewise.
14347 * crypt/Makefile: Likewise.
14348 * libio/Makefile: Likewise.
14349 * string/Makefile: Likewise.
14350 * nis/Makefile: Likewise.
14351 * resolv/Makefile: Likewise.
14352 * stdio-common/Makefile: Likewise.
14353 * wcsmbs/Makefile: Likewise.
14354 * dlfcn/Makefile: Likewise.
14355 * posix/Makefile: Likewise.
14356
3b7c4e74 14357 [BZ #6959]
482ff4da
UD
14358 * timezone/Makefile: Don't install timezone files, just the programs
14359 and scripts.
14360
f72ed77d
UD
143612012-03-06 Ulrich Drepper <drepper@gmail.com>
14362
a000466f
UD
14363 * nss/databases.def: Add missing gshadow entry.
14364
f72ed77d
UD
14365 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14366
a53b7a4e
MP
143672012-03-06 Marek Polacek <polacek@redhat.com>
14368
14369 [BZ #13726]
14370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14372 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14373 * stdio-common/tst-long-dbl-fphex.c: New file.
14374
e9258400
DM
143752012-03-06 David S. Miller <davem@davemloft.net>
14376
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14378 (set_obp_int): New function.
14379 (get_obp_int): New function.
14380 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14382 Avoid unused variable warnings on 'val' and use builtin_expect.
14383 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14384 __builtin_expect.
e9258400
DM
14385 (INLINE_CLONE_SYSCALL): Likewise.
14386
3bd2c723
DM
143872012-03-05 David S. Miller <davem@davemloft.net>
14388
14389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14390
bbb78d03
AS
143912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14392
884c5db4
AS
14393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14394
bbb78d03
AS
14395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14396 only for |x| >= 40.
14397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14398
1c9f702a 143992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14400
14401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14402 Replace gettimeofday with __vdso_gettimeofday.
14403
7be16f82
RM
14404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14405 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14406 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14407
14408 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14409 time with __vdso_time.
14410
ed58a00f
JM
144112012-03-05 Joseph Myers <joseph@codesourcery.com>
14412
14413 * manual/lang.texi (size_t): Note types to which size_t may be
14414 equivalent with the GNU C Library, but do not describe when
14415 differences between them are significant.
14416
30ee4ced
AJ
144172012-03-05 Andreas Jaeger <aj@suse.de>
14418
14419 * sysdeps/i386/fpu/libm-test-ulps: Update.
14420
b7cd39e8
JM
144212012-03-05 Joseph Myers <joseph@codesourcery.com>
14422
14423 [BZ #3976]
14424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14425 (__ieee754_pow): Save and restore rounding mode and use
14426 round-to-nearest for main computations.
14427 * math/libm-test.inc (pow_test_tonearest): New function.
14428 (pow_test_towardzero): Likewise.
14429 (pow_test_downward): Likewise.
14430 (pow_test_upward): Likewise.
14431 (main): Call the new functions.
14432 * sysdeps/i386/fpu/libm-test-ulps: Update.
14433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14434
14435 [BZ #3976]
14436 * math/libm-test.inc (cosh_test_tonearest): New function.
14437 (cosh_test_towardzero): Likewise.
14438 (cosh_test_downward): Likewise.
14439 (cosh_test_upward): Likewise.
14440 (sinh_test_tonearest): Likewise.
14441 (sinh_test_towardzero): Likewise.
14442 (sinh_test_downward): Likewise.
14443 (sinh_test_upward): Likewise.
14444 (main): Call the new functions.
14445 * sysdeps/i386/fpu/libm-test-ulps: Update.
14446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14447
6c6a98c9
TV
144482012-03-05 Tom de Vries <tom@codesourcery.com>
14449
14450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14451 default stack guard is set in last bytes.
14452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14453
21bb2d2e 144542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14455
21bb2d2e 14456 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14457
21bb2d2e
AJ
14458 [BZ #13656]
14459 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14460 possibly allocate from heap instead of stack.
14461 * stdio-common/bug-vfprintf-nargs.c: New file.
14462 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14463
c6922934
AS
144642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14465
14466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14467
bc957d53
MP
144682012-03-03 Marek Polacek <polacek@redhat.com>
14469
14470 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14471 * math/math_private.h: Likewise.
14472 * stdlib/tst-strtod.c: Likewise.
14473 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14474 * sysdeps/x86_64/bits/atomic.h: Likewise.
14475
6358490d
DM
144762012-03-02 David S. Miller <davem@davemloft.net>
14477
14478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14482 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14483 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14484 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14486
01ae168d
RM
144872012-03-02 Roland McGrath <roland@hack.frob.com>
14488
d9a17c07
RM
14489 [BZ #13792]
14490 * manual/examples/README: New file, says the example source files
14491 can be used under GPL>=2.
14492 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14493 line containing just "*/".
14494 * manual/examples/add.c: Add copyright header (GPL>=2).
14495 * manual/examples/argp-ex1.c: Likewise.
14496 * manual/examples/argp-ex2.c: Likewise.
14497 * manual/examples/argp-ex3.c: Likewise.
14498 * manual/examples/argp-ex4.c: Likewise.
14499 * manual/examples/atexit.c: Likewise.
14500 * manual/examples/db.c: Likewise.
14501 * manual/examples/dir.c: Likewise.
14502 * manual/examples/dir2.c: Likewise.
14503 * manual/examples/execinfo.c: Likewise.
14504 * manual/examples/filecli.c: Likewise.
14505 * manual/examples/filesrv.c: Likewise.
14506 * manual/examples/fmtmsgexpl.c: Likewise.
14507 * manual/examples/genpass.c: Likewise.
14508 * manual/examples/inetcli.c: Likewise.
14509 * manual/examples/inetsrv.c: Likewise.
14510 * manual/examples/isockad.c: Likewise.
14511 * manual/examples/longopt.c: Likewise.
14512 * manual/examples/memopen.c: Likewise.
14513 * manual/examples/memstrm.c: Likewise.
14514 * manual/examples/mkfsock.c: Likewise.
14515 * manual/examples/mkisock.c: Likewise.
14516 * manual/examples/mygetpass.c: Likewise.
14517 * manual/examples/pipe.c: Likewise.
14518 * manual/examples/popen.c: Likewise.
14519 * manual/examples/rprintf.c: Likewise.
14520 * manual/examples/search.c: Likewise.
14521 * manual/examples/select.c: Likewise.
14522 * manual/examples/setjmp.c: Likewise.
14523 * manual/examples/sigh1.c: Likewise.
14524 * manual/examples/sigusr.c: Likewise.
14525 * manual/examples/stpcpy.c: Likewise.
14526 * manual/examples/strdupa.c: Likewise.
14527 * manual/examples/strftim.c: Likewise.
14528 * manual/examples/strncat.c: Likewise.
14529 * manual/examples/subopt.c: Likewise.
14530 * manual/examples/swapcontext.c: Likewise.
14531 * manual/examples/termios.c: Likewise.
14532 * manual/examples/testopt.c: Likewise.
14533 * manual/examples/testpass.c: Likewise.
14534 * manual/examples/timeval_subtract.c: Likewise.
14535
01ae168d
RM
14536 [BZ #13792]
14537 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14538 function to ...
14539 * manual/timeval_subtract.c.texi: ... here, new file.
14540
49efa33d
DM
145412012-03-02 David S. Miller <davem@davemloft.net>
14542
14543 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14544
28afd92d
JM
145452012-03-02 Joseph Myers <joseph@codesourcery.com>
14546
804360ed
JM
14547 [BZ #3976]
14548 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14549 (__sin): Save and restore rounding mode and use round-to-nearest
14550 for all computations.
14551 (__cos): Save and restore rounding mode and use round-to-nearest
14552 for all computations.
14553 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14554 <fenv.h>.
14555 (tan): Save and restore rounding mode and use round-to-nearest for
14556 all computations.
14557 * math/libm-test.inc (cos_test_tonearest): New function.
14558 (cos_test_towardzero): Likewise.
14559 (cos_test_downward): Likewise.
14560 (cos_test_upward): Likewise.
14561 (sin_test_tonearest): Likewise.
14562 (sin_test_towardzero): Likewise.
14563 (sin_test_downward): Likewise.
14564 (sin_test_upward): Likewise.
14565 (tan_test_tonearest): Likewise.
14566 (tan_test_towardzero): Likewise.
14567 (tan_test_downward): Likewise.
14568 (tan_test_upward): Likewise.
14569 (main): Call the new functions.
14570 * sysdeps/i386/fpu/libm-test-ulps: Update.
14571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14572
a6d06d7b
JM
14573 [BZ #10135]
14574 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14575 small n, then large n, before computing and testing k+n.
14576 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14578 Likewise.
14579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14580 Likewise.
14581 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14582 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14589 * math/libm-test.inc (scalbn_test): Add more tests.
14590 (scalbln_test): Likewise.
14591
07e12bb3
JM
14592 * manual/filesys.texi (mode_t): Describe constraints on size and
14593 signedness, not exact equivalence to a particular type.
14594 (ino_t): Likewise.
14595 (ino64_t): Likewise.
14596 (dev_t): Likewise.
14597 (nlink_t): Likewise.
14598 (blkcnt_t): Likewise.
14599 (blkcnt64_t): Likewise.
14600 * manual/llio.texi (off_t): Likewise.
14601
28afd92d
JM
14602 [BZ #3976]
14603 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14604 (__ieee754_exp): Save and restore rounding mode and use
14605 round-to-nearest for all computations.
14606 * math/libm-test.inc (exp_test_tonearest): New function.
14607 (exp_test_towardzero): Likewise.
14608 (exp_test_downward): Likewise.
14609 (exp_test_upward): Likewise.
14610 (main): Call the new functions.
14611 * sysdeps/i386/fpu/libm-test-ulps: Update.
14612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14613
b1eeb65d
CD
146142012-03-01 Chris Demetriou <cgd@google.com>
14615
14616 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14617 have predictable order.
14618
53362a4b
DM
146192012-03-01 David S. Miller <davem@davemloft.net>
14620
3c969083
DM
14621 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14622
759707de
DM
14623 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14624 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14625 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14626 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14627
dfdb8ff2
DM
14628 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14629 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14630 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14632 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14633 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14634 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14635 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14636 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14637
ead89f96
DM
14638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14639
7f66bd07
DM
14640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14641 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14643
53362a4b
DM
14644 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14646 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14660 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14661 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14662 * sysdeps/sparc/elf/configure: Regenerated.
14663
7b1902cb
JM
146642012-03-01 Joseph Myers <joseph@codesourcery.com>
14665
bec039bc
JM
14666 * configure.in (AS, LD): Require binutils 2.20 or later.
14667 * configure: Regenerated.
14668 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14669 as required minimum version.
14670 * INSTALL: Regenerated.
14671
7b1902cb
JM
14672 [BZ #2541]
14673 [BZ #4108]
14674 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14675 before squaring exponent.
14676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14677 bottom long double and 27 bits of top long double before squaring
14678 exponent.
14679 * math/libm-test.inc (erfc_test): Add more tests.
14680 * sysdeps/i386/fpu/libm-test-ulps: Update.
14681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14683
f775c276
KT
146842012-03-01 Kai Tietz <ktietz@redhat.com>
14685
14686 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14687 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14688 containing bit-fields.
14689 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14690 * soft-fp/single.h (_FP_UNION_S): Likewise.
14691 * soft-fp/double.h (_FP_UNION_D): Likewise.
14692
5b8a4d4a
JM
146932012-02-29 Joseph Myers <joseph@codesourcery.com>
14694
0bab47b6
JM
14695 [BZ #13786]
14696 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14697 not include ../strcmp.S.
14698 [USE_AS_STRNCASECMP_L]: Likewise.
14699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14700 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14701 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14702 (__strncasecmp_l_ia32): Define as alias to
14703 __strncasecmp_l_nonascii.
14704
0fcad3e2
JM
14705 [BZ #5794]
14706 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14707 * sysdeps/i386/fpu/libm-test-ulps: Update.
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14709
5b8a4d4a
JM
14710 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14712
8fdceb2e
JL
147132012-02-29 Jeff Law <law@redhat.com>
14714
14715 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14716 out of bounds read.
14717
1f393a11
MP
147182012-02-29 Marek Polacek <polacek@redhat.com>
14719
14720 [BZ #13706]
14721 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14722 * elf/Makefile: Add rules to run tst-unused-dep.out.
14723
8847f037
DM
147242012-02-28 David S. Miller <davem@davemloft.net>
14725
14726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14730 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14731 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14732
169d7f11
JM
147332012-02-29 Joseph Myers <joseph@codesourcery.com>
14734
14735 * math/libm-test.inc (llround_test): Move one test from
14736 lround_test. Use TEST_f_L in moved test.
14737 (lround_test): Move misplaced test to llround_test. Add testcase
14738 from bug 2561.
14739
39adf059
UD
147402012-02-28 Ulrich Drepper <drepper@gmail.com>
14741
14742 * sysdeps/x86_64/fpu/e_expf.S: New file.
14743 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14744
71b5d1c5
SB
147452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14746
14747 [BZ #13637]
14748 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14749 of remain_len that may cause incomplete multi-byte character and
14750 false match.
14751 * posix/bug-regex33.c: New file.
14752 * posix/Makefile (tests): Add bug-regex33.
14753
1f77f049
JM
147542012-02-28 Joseph Myers <joseph@codesourcery.com>
14755
14756 * manual/macros.texi: New file.
14757 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14758 * manual/libc.texinfo: Include macros.texi.
14759 * manual/creatute.texi: Likewise.
14760 * manual/install.texi: Likewise.
14761 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14762 @glibcadj{} in references to the GNU C Library.
14763 * manual/charset.texi: Likewise.
14764 * manual/conf.texi: Likewise.
14765 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14766 when not using those macros.
14767 * manual/creature.texi: Likewise.
14768 * manual/crypt.texi: Likewise.
14769 * manual/errno.texi: Likewise.
14770 * manual/filesys.texi: Likewise.
14771 * manual/header.texi: Likewise.
14772 * manual/install.texi: Likewise.
14773 * manual/intro.texi: Likewise.
14774 * manual/io.texi: Likewise.
14775 * manual/job.texi: Likewise.
14776 * manual/lang.texi: Likewise.
14777 * manual/libc.texiinfo: Likewise.
14778 * manual/llio.texi: Likewise.
14779 * manual/locale.texi: Likewise.
14780 * manual/maint.texi: Likewise.
14781 * manual/math.texi: Likewise.
14782 * manual/memory.texi: Likewise.
14783 * manual/message.texi: Likewise.
14784 * manual/nss.texi: Likewise.
14785 * manual/pattern.texi: Likewise.
14786 * manual/process.texi: Likewise.
14787 * manual/resource.texi: Likewise.
14788 * manual/search.texi: Likewise.
14789 * manual/setjmp.texi: Likewise.
14790 * manual/signal.texi: Likewise.
14791 * manual/socket.texi: Likewise.
14792 * manual/startup.texi: Likewise.
14793 * manual/stdio.texi: Likewise.
14794 * manual/string.texi: Likewise.
14795 * manual/sysinfo.texi: Likewise.
14796 * manual/syslog.texi: Likewise.
14797 * manual/terminal.texi: Likewise.
14798 * manual/time.texi: Likewise.
14799 * manual/users.texi: Likewise.
14800 * INSTALL: Regenerated.
14801 * NOTES: Regenerated.
d40c5d54 14802 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14803
450bf206
AS
148042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14805
14806 * include/dirent.h: Include <dirstream.h> before
14807 <dirent/dirent.h>.
14808
741a235b
DM
148092012-02-28 David S. Miller <davem@davemloft.net>
14810
14811 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14812 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14813 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14815
d6b5aa58
DM
148162012-02-27 David S. Miller <davem@davemloft.net>
14817
1aff59a3
DM
14818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14820 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14821 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14822
d6b5aa58
DM
14823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14824 frame pointer instead of stack pointer relative arg slot.
14825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14826 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14827 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14828
433f48bf
CD
148292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14830
14831 [BZ #3992]
14832 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14833
d674b76d
DM
148342012-02-27 David S. Miller <davem@davemloft.net>
14835
14836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14842 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14843 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14844
0e7727f7
JM
148452012-02-27 Joseph Myers <joseph@codesourcery.com>
14846
14847 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14848 later. Allow versions 5-9.
43be4ca2 14849 * configure: Regenerated.
0e7727f7
JM
14850 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14851 required minimum version and 4.6 as recommended version. Do not
14852 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14853 * INSTALL: Regenerated.
0e7727f7 14854
a78bc654
DM
148552012-02-27 David S. Miller <davem@davemloft.net>
14856
428d5830
DM
14857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14861 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14862 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14863 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14864 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14865
a78bc654
DM
14866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14867 manipulate bits before adding and subtracting TWO112[sx].
14868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14869
4579f81c
RM
148702012-02-27 Roland McGrath <roland@hack.frob.com>
14871
36c8acb4
RM
14872 [BZ #13775]
14873 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14874 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14875 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14876 being in POSIX, because they are in 1003.1-2008.
14877
84ad622b
RM
14878 * rt/tst-aio.c: Include <fcntl.h>.
14879 * rt/tst-aio7.c: Likewise.
14880 * rt/tst-aio64.c: Likewise.
14881
4579f81c
RM
14882 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14883
abd923db
JM
148842012-02-27 Joseph Myers <joseph@codesourcery.com>
14885
14886 * manual/install.texi (--with-headers): Describe headers as
14887 interface headers, not private headers.
14888 (Specific advice for GNU/Linux systems): Describe use of headers
14889 from "make headers_install", not private headers from older
14890 kernels.
43be4ca2 14891 * INSTALL: Regenerated.
abd923db
JM
14892 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14893 Change to 2.6.19.
14894 * sysdeps/unix/sysv/linux/configure: Regenerated.
14895
6664049b
JM
14896 * manual/llio.texi (fclean): Remove documentation.
14897
bb8b6697
JM
14898 * manual/Makefile (libc-texi-generated): New variable. Include
14899 version.texi.
14900 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14901 $(libc-texi-generated), not duplicated list of files.
14902 (version.texi, stamp-version): New rules.
14903 (realclean): Remove $(libc-texi-generated), not individual files
14904 from that list. Do not remove dir-add.texinfo.
14905 * manual/libc.texinfo: Comment out uses of edition numbers and
14906 references to printed manual. Remove last-updated dates.
14907 (EDITION): Comment out.
14908 (ISBN): Likewise.
14909 (VERSION, UPDATED): Remove.
14910 (version.texi): Include.
14911
12e5c3b9
AS
149122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14913
14914 * sysdeps/posix/spawni.c: Include <signal.h>.
14915 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14916 * sysdeps/pthread/aio_fsync.c: Likewise.
14917
4efeffc1 149182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14919
ba63ba08
UD
14920 * conform/Makefile (tests): Run only when not cross-compiling and
14921 when fast-check is not defined.
14922
d94a4670
UD
14923 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14924 * conform/data/limits.h-data: Fixes for POSIX2008.
14925 * conform/run-conformtest.sh: Run all tests.
14926 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14927 headers.
14928 * include/bits/dlfcn.h: Likewise.
14929 * include/langinfo.h: Likewise.
14930 * include/monetary.h: Likewise.
14931 * include/sys/poll.h: Likewise.
14932
14933 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14934 for __USE_GNU.
14935 * posix/spawn.h: Define __need_sigset_t.
14936 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14937 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14938 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14939 to get sigevent_t only.
14940 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14941 only for __USE_GNU.
14942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14943 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14944 process_vm_writev only for __USE_GNU.
14945 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14946
14947 * conform/Makefile: For now ignore errors from run-conformtest.
14948 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14949 POSIX to avoid namespace pollution. Don't prepend headers.
14950 * conform/data/aio.h-data: Fixes for POSIX testing.
14951 * conform/data/fcntl.h-data: Likewise.
14952 * conform/data/glob.h-data: Likewise.
14953 * conform/data/grp.h-data: Likewise.
14954 * conform/data/pthread.h-data: Likewise.
14955 * conform/data/pwd.h-data: Likewise.
14956 * conform/data/signal.h-data: Likewise.
14957 * conform/data/spawn.h-data: Likewise.
14958 * conform/data/stdio.h-data: Likewise.
14959 * conform/data/stdlib.h-data: Likewise.
14960 * conform/data/stropts.h-data: Likewise.
14961 * conform/data/sys/mman.h-data: Likewise.
14962 * conform/data/sys/stat.h-data: Likewise.
14963 * conform/data/sys/types.h-data: Likewise.
14964 * conform/data/sys/wait.h-data: Likewise.
14965 * conform/data/time.h-data: Likewise.
14966 * conform/data/unistd.h-data: Likewise.
14967 * conform/data/utime.h-data: Likewise.
14968
14969 * io/sys/stat.h: fchmod was always in POSIX.
14970 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14971 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14972 * rt/aio.h: Define __need_timespec before including <time.h>.
14973 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14974 struct. Add forward declaration of pthread_attr_t and use it in
14975 sigevent.
14976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14978 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14979 always remove CLK_TCK definition.
14980
c20105c3
AS
149812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14982
14983 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14984
7a270350
UD
149852012-02-25 Ulrich Drepper <drepper@gmail.com>
14986
31341567
UD
14987 * conform/run-conformtest.sh: New file.
14988 * conform/Makefile: Run run-conformtest for tests.
14989 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14990 support.
14991
14992 * conform/data/uchar.h-data: New file.
14993 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14994 * conform/data/arpa/inet.h-data: Likewise.
14995 * conform/data/assert.h-data: Likewise.
14996 * conform/data/complex.h-data: Likewise.
14997 * conform/data/cpio.h-data: Likewise.
14998 * conform/data/ctype.h-data: Likewise.
14999 * conform/data/dirent.h-data: Likewise.
15000 * conform/data/dlfcn.h-data: Likewise.
15001 * conform/data/errno.h-data: Likewise.
15002 * conform/data/fcntl.h-data: Likewise.
15003 * conform/data/float.h-data: Likewise.
15004 * conform/data/fmtmsg.h-data: Likewise.
15005 * conform/data/fnmatch.h-data: Likewise.
15006 * conform/data/ftw.h-data: Likewise.
15007 * conform/data/glob.h-data: Likewise.
15008 * conform/data/grp.h-data: Likewise.
15009 * conform/data/iconv.h-data: Likewise.
15010 * conform/data/inttypes.h-data: Likewise.
15011 * conform/data/langinfo.h-data: Likewise.
15012 * conform/data/libgen.h-data: Likewise.
15013 * conform/data/limits.h-data: Likewise.
15014 * conform/data/locale.h-data: Likewise.
15015 * conform/data/math.h-data: Likewise.
15016 * conform/data/monetary.h-data: Likewise.
15017 * conform/data/mqueue.h-data: Likewise.
15018 * conform/data/ndbm.h-data: Likewise.
15019 * conform/data/net/if.h-data: Likewise.
15020 * conform/data/netdb.h-data: Likewise.
15021 * conform/data/netinet/in.h-data: Likewise.
15022 * conform/data/nl_types.h-data: Likewise.
15023 * conform/data/poll.h-data: Likewise.
15024 * conform/data/pthread.h-data: Likewise.
15025 * conform/data/pwd.h-data: Likewise.
15026 * conform/data/regex.h-data: Likewise.
15027 * conform/data/sched.h-data: Likewise.
15028 * conform/data/search.h-data: Likewise.
15029 * conform/data/semaphore.h-data: Likewise.
15030 * conform/data/setjmp.h-data: Likewise.
15031 * conform/data/signal.h-data: Likewise.
15032 * conform/data/spawn.h-data: Likewise.
15033 * conform/data/stdarg.h-data: Likewise.
15034 * conform/data/stdio.h-data: Likewise.
15035 * conform/data/stdlib.h-data: Likewise.
15036 * conform/data/string.h-data: Likewise.
15037 * conform/data/strings.h-data: Likewise.
15038 * conform/data/stropts.h-data: Likewise.
15039 * conform/data/sys/ipc.h-data: Likewise.
15040 * conform/data/sys/mman.h-data: Likewise.
15041 * conform/data/sys/msg.h-data: Likewise.
15042 * conform/data/sys/resource.h-data: Likewise.
15043 * conform/data/sys/select.h-data: Likewise.
15044 * conform/data/sys/sem.h-data: Likewise.
15045 * conform/data/sys/shm.h-data: Likewise.
15046 * conform/data/sys/socket.h-data: Likewise.
15047 * conform/data/sys/stat.h-data: Likewise.
15048 * conform/data/sys/statvfs.h-data: Likewise.
15049 * conform/data/sys/time.h-data: Likewise.
15050 * conform/data/sys/timeb.h-data: Likewise.
15051 * conform/data/sys/times.h-data: Likewise.
15052 * conform/data/sys/types.h-data: Likewise.
15053 * conform/data/sys/uio.h-data: Likewise.
15054 * conform/data/sys/un.h-data: Likewise.
15055 * conform/data/sys/utsname.h-data: Likewise.
15056 * conform/data/sys/wait.h-data: Likewise.
15057 * conform/data/syslog.h-data: Likewise.
15058 * conform/data/tar.h-data: Likewise.
15059 * conform/data/termios.h-data: Likewise.
15060 * conform/data/utime.h-data: Likewise.
15061 * conform/data/utmpx.h-data: Likewise.
15062 * conform/data/varargs.h-data: Likewise.
15063 * conform/data/wchar.h-data: Likewise.
15064 * conform/data/wctype.h-data: Likewise.
15065 * conform/data/wordexp.h-data: Likewise.
15066
15067 * include/stropts.h: New file.
15068 * include/uchar.h: New file.
15069 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15070 * include/assert.h: Likewise.
15071 * include/ctype.h: Likewise.
15072 * include/dirent.h: Likewise.
15073 * include/dlfcn.h: Likewise.
15074 * include/fcntl.h: Likewise.
15075 * include/fnmatch.h: Likewise.
15076 * include/glob.h: Likewise.
15077 * include/grp.h: Likewise.
15078 * include/libio.h: Likewise.
15079 * include/locale.h: Likewise.
15080 * include/math.h: Likewise.
15081 * include/net/if.h: Likewise.
15082 * include/netdb.h: Likewise.
15083 * include/netinet/in.h: Likewise.
15084 * include/pthread.h: Likewise.
15085 * include/pwd.h: Likewise.
15086 * include/regex.h: Likewise.
15087 * include/sched.h: Likewise.
15088 * include/search.h: Likewise.
15089 * include/setjmp.h: Likewise.
15090 * include/signal.h: Likewise.
15091 * include/stdio.h: Likewise.
15092 * include/stdlib.h: Likewise.
15093 * include/string.h: Likewise.
15094 * include/sys/cdefs.h: Likewise.
15095 * include/sys/mman.h: Likewise.
15096 * include/sys/msg.h: Likewise.
15097 * include/sys/resource.h: Likewise.
15098 * include/sys/select.h: Likewise.
15099 * include/sys/socket.h: Likewise.
15100 * include/sys/stat.h: Likewise.
15101 * include/sys/statvfs.h: Likewise.
15102 * include/sys/time.h: Likewise.
15103 * include/sys/times.h: Likewise.
15104 * include/sys/uio.h: Likewise.
15105 * include/sys/utsname.h: Likewise.
15106 * include/sys/wait.h: Likewise.
15107 * include/termios.h: Likewise.
15108 * include/time.h: Likewise.
15109 * include/ulimit.h: Likewise.
15110 * include/unistd.h: Likewise.
15111 * include/utime.h: Likewise.
15112 * include/wchar.h: Likewise.
15113 * include/wctype.h: Likewise.
15114 * include/wordexp.h: Likewise.
15115
15116 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15117
7a270350
UD
15118 * time/time.h: TIME_UTC must be a macro.
15119 Make timespec_get available for ISO C11 only as well.
15120
7724defc
UD
151212012-02-24 Ulrich Drepper <drepper@gmail.com>
15122
15123 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15124 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15125
6b1d1d46
JM
151262012-02-24 Joseph Myers <joseph@codesourcery.com>
15127
15128 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15129
0f8bbd69
JM
151302012-02-24 Joseph Myers <joseph@codesourcery.com>
15131
15132 * manual/texinfo.tex: Update to version 2012-01-19.16.
15133
66ab80bc
JM
151342012-02-24 Joseph Myers <joseph@codesourcery.com>
15135
15136 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15137
74981cc5
RM
151382012-02-24 Roland McGrath <roland@hack.frob.com>
15139
ee968201
RM
15140 [BZ #13738]
15141 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15142 * manual/fdl-1.3.texi: New file.
15143 * manual/fdl-1.1.texi: File removed.
15144
74981cc5
RM
15145 [BZ #13738]
15146 * manual/libc.texinfo (FDL_VERSION): New @set.
15147 Use it for mention of FDL in cover text.
15148 (Documentation License): Use it in @include file name.
15149
7bb764bc
JM
151502012-02-22 Joseph Myers <joseph@codesourcery.com>
15151 Roland McGrath <roland@hack.frob.com>
15152
15153 [BZ #5461]
15154 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15155 not LONG_LONG_MAX and LONG_LONG_MIN.
15156 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15157 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15158 name.
15159 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15160
6cbeae47
JM
151612012-02-22 Joseph Myers <joseph@codesourcery.com>
15162
15163 [BZ #2547]
15164 [BZ #11365]
15165 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15166 manipulate bits before adding and subtracting TWO23[sx].
15167 * math/libm-test.inc (nearbyint_test): Add more tests.
15168
fe45ce09
JM
151692012-02-22 Joseph Myers <joseph@codesourcery.com>
15170
15171 [BZ #2548]
15172 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15173 bits before adding and subtracting TWO23[sx].
15174 * math/libm-test.inc (rint_test): Add more tests.
15175 (rint_test_tonearest): Likewise.
15176 (rint_test_towardzero): Likewise.
15177 (rint_test_downward): Likewise.
15178 (rint_test_upward: Likewise.
15179
ff3b3d82
JM
151802012-02-22 Joseph Myers <joseph@codesourcery.com>
15181
15182 [BZ #10110]
15183 * include/stdc-predef.h: New file. Extracted from features.h.
15184 * include/features.h: Include stdc-predef.h.
15185 * Makefile (headers): Add stdc-predef.h.
15186 * CONFORMANCE (Compiler limitations): Update.
15187
ef0aab35
JM
151882012-02-22 Joseph Myers <joseph@codesourcery.com>
15189
15190 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15191
58639409
DM
151922012-02-21 David S. Miller <davem@davemloft.net>
15193
15194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15196
c0e70b25
DM
151972012-02-20 David S. Miller <davem@davemloft.net>
15198
15199 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15200 using a normal save/restore sequence, rather than allocating a
15201 dummy stack frame just to store a frame pointer and restore.
15202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15203
fb06851d
JM
152042012-02-21 Joseph Myers <joseph@codesourcery.com>
15205
15206 * manual/install.texi: Fix stray word in line-wrapped comment.
15207
7a8b71c3
DM
152082012-02-20 David S. Miller <davem@davemloft.net>
15209
d510c123
DM
15210 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15211 both binutils and gcc support GOTDATA.
15212
0722d7c2
DM
15213 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15214 "rd %pc" in the PIC register setup sequences.
15215
3d2b3019
DM
15216 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15217 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15220 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15225 (SYSCALL_ERROR_HANDLER): Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15229 (SYSCALL_ERROR_HANDLER): Likewise.
15230
c80098a9
DM
15231 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15232 (HAVE_GCC_GOTDATA): New.
15233 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15234 relocation support in both binutils and gcc.
15235 * sysdeps/sparc/elf/configure: Regenerate.
15236
3a2545a0
DM
15237 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15238 * sysdeps/sparc/sparc32/elf/configure: Delete.
15239 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15240 * sysdeps/sparc/sparc64/elf/configure: Delete.
15241 * sysdeps/sparc/elf/configure.in: New file.
15242 * sysdeps/sparc/elf/configure: Generate.
15243
7a8b71c3
DM
15244 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15245 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15247 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15248 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15249
f1e86fca
JM
152502012-02-21 Joseph Myers <joseph@codesourcery.com>
15251
15252 * manual/install.texi: Do not mention specific glibc version
15253 numbers.
15254 * manual/libc.texinfo (VERSION, UPDATED): Update.
15255 (@copying): Use @copyright{} and range of years.
15256
0e7dfaef
JM
152572012-02-21 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #13695]
15260 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15261 [crti.S not in sysdirs] (generated): Do not append.
15262 [crti.S not in sysdirs] (omit-deps): Likewise.
15263 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15264 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15265 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15266 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15267 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15268 Likewise.
15269 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15270 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15271 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15272 * csu/defs.awk: Remove file.
15273 * sysdeps/generic/initfini.c: Likewise.
15274 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15275 variable.
15276 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15277 Likewise.
15278
599af3ca
JM
152792012-02-20 Joseph Myers <joseph@codesourcery.com>
15280
15281 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15283 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15286 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15287 <bits/epoll.h>.
15288 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15289 (__EPOLL_PACKED): Define to empty if not defined by
15290 <bits/epoll.h>.
15291 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15293 bits/epoll.h.
15294
0e499750
JM
152952012-02-20 Joseph Myers <joseph@codesourcery.com>
15296
15297 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15298 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15300 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15301 <bits/timerfd.h>.
15302 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15304 bits/timerfd.h.
15305
5ad91f6e
JM
153062012-02-20 Joseph Myers <joseph@codesourcery.com>
15307
15308 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15309 in C locale.
15310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314
06b99b02
AJ
153152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15316
15317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15318 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15319
7638c0fd
AS
153202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15321
15322 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15323 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15324 defined.
15325 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15326 Likewise.
15327 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15328 entry for 2.16.
15329
92221550
AJ
153302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15331
15332 * math/w_acos.c: Use non-signaling floating-point comparisons.
15333 * math/w_acosf.c: Likewise.
15334 * math/w_acosh.c: Likewise.
15335 * math/w_acoshf.c: Likewise.
15336 * math/w_acoshl.c: Likewise.
15337 * math/w_acosl.c: Likewise.
15338 * math/w_asin.c: Likewise.
15339 * math/w_asinf.c: Likewise.
15340 * math/w_asinl.c: Likewise.
15341 * math/w_atanh.c: Likewise.
15342 * math/w_atanhf.c: Likewise.
15343 * math/w_atanhl.c: Likewise.
15344 * math/w_exp2.c: Likewise.
15345 * math/w_exp2f.c: Likewise.
15346 * math/w_exp2l.c: Likewise.
15347 * math/w_j0.c: Likewise.
15348 * math/w_j0f.c: Likewise.
15349 * math/w_j0l.c: Likewise.
15350 * math/w_j1.c: Likewise.
15351 * math/w_j1f.c: Likewise.
15352 * math/w_j1l.c: Likewise.
15353 * math/w_jn.c: Likewise.
15354 * math/w_jnf.c: Likewise.
15355 * math/w_log.c: Likewise.
15356 * math/w_log10.c: Likewise.
15357 * math/w_log10f.c: Likewise.
15358 * math/w_log10l.c: Likewise.
15359 * math/w_log2.c: Likewise.
15360 * math/w_log2f.c: Likewise.
15361 * math/w_log2l.c: Likewise.
15362 * math/w_logf.c: Likewise.
15363 * math/w_logl.c: Likewise.
15364 * math/w_sqrt.c: Likewise.
15365 * math/w_sqrtf.c: Likewise.
15366 * math/w_sqrtl.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15372
ebaf36eb
JM
153732012-02-19 Joseph Myers <joseph@codesourcery.com>
15374
15375 [BZ #9739]
15376 * manual/string.texi (strnlen): Use correct parameter name in
15377 equivalent expression.
15378
71c254a6
JM
153792012-02-19 Joseph Myers <joseph@codesourcery.com>
15380
15381 [BZ #11174]
15382 * manual/users.texi (seteuid): Consistently use neweuid for
15383 argument name.
15384
16d2c631
JM
153852012-02-19 Joseph Myers <joseph@codesourcery.com>
15386
15387 [BZ #13704]
15388 * manual/nss.texi (Services in the NSS configuration): Correct
15389 list of services in example configuration file.
15390
cd837b09
NB
153912012-02-19 Nick Bowler <nbowler@draconx.ca>
15392
15393 [BZ #11322]
15394 * manual/arith.texi: Remove statements about negative zero
15395 behaving identically to zero.
15396
02c4bbad
JM
153972012-02-18 Joseph Myers <joseph@codesourcery.com>
15398
15399 [BZ #5993]
15400 * manual/install.texi: Do not document upgrading from libc5.
15401
366842e7
JM
154022012-02-18 Joseph Myers <joseph@codesourcery.com>
15403
15404 [BZ #4596]
15405 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15406
dd54084d
DM
154072012-02-18 David S. Miller <davem@davemloft.net>
15408
15409 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15410 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15411 %o7 across the call.
15412 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15413 instead.
15414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15415 SETUP_PIC_REG_LEAF.
15416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15417 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15418 * sysdeps/sparc/crtn.S: Likewise.
15419
2bcc53a3
UD
154202012-02-17 Ulrich Drepper <drepper@gmail.com>
15421
15422 * aout/Makefile: Remove.
15423
09c093b5
RK
154242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15425
15426 [BZ #13058]
15427 * manual/examples/argp-ex1.c (main): Format definition in GNU
15428 style.
15429 * manual/examples/argp-ex2.c (main): Likewise.
15430 * manual/examples/argp-ex3.c (main): Likewise.
15431 * manual/examples/argp-ex4.c (main): Likewise.
15432 * manual/examples/longopt.c (main): Use new-style prototype
15433 definition.
15434 * manual/examples/strncat.c (main): Specify return type and use
15435 (void) for arguments.
15436 * manual/examples/subopt.c (main): Use char **argv argument.
15437
2ee633a2
JM
154382012-02-17 Joseph Myers <joseph@codesourcery.com>
15439
15440 [BZ #5077]
15441 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15442 rounding modes.
15443
0520adde
FB
154442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15445
15446 [BZ #6907]
15447 * manual/string.texi (strchr): Change when strchrnul is
15448 recommended.
15449
3f4081cd
DGM
154502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15451
15452 [BZ #174]
15453 * manual/locale.texi (setlocale): Document LOCPATH.
15454
d1b10e78
JM
154552012-02-17 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #10210]
15458 * manual/process.texi (execle): Move @dots{} before last argument.
15459
79c6869c
PB
154602012-02-17 Paul Bolle <pebolle@tiscali.nl>
15461
15462 [BZ #12047]
15463 * manual/charset.texi (Generic Charset Conversion): Fix typo
15464 (LC_TYPE -> LC_CTYPE).
15465
cc6e48bc
NB
154662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15467
15468 [BZ #5805]
15469 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15470 (scalbnf): Likewise.
15471 (scalbnl): Likewise.
15472 (scalbln): Likewise.
15473 (scalblnf): Likewise.
15474 (scalblnl): Likewise.
15475 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15476 (vwarnx): Likewise.
15477 (verr): Likewise.
15478 (verrx): Likewise.
15479 * manual/filesys.texi (telldir): Use braces around return type.
15480 * manual/llio.texi (mmap): Add space after comma.
15481 (mmap64): Likewise.
15482 * manual/math.texi (jn): Use @var{} on parameter names.
15483 (jnf): Likewise.
15484 (jnl): Likewise.
15485 (yn): Likewise.
15486 (ynf): Likewise.
15487 (ynl): Likewise.
15488 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15489 line.
15490 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15491 "...".
15492 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15493 (sched_get_priority_max): Likewise.
15494 * manual/signal.texi (sigvec): Add space after comma.
15495 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15496 names.
15497 (if_indextoname): Likewise.
15498 (if_freenameindex): Likewise.
15499 (sendto): Use ',' instead of '.' in prototype.
15500 * manual/startup.texi (syscall): Use @dots{} instead of literal
15501 "...".
15502 * manual/stdio.texi (__fpending): Separate initial words of
15503 paragraph from @deftypefun line.
15504 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15505 "...".
15506 (vsyslog): Use @var{} on parameter names.
15507 * manual/terminal.texi (stty): Use @var{} on parameter names.
15508 * manual/users.texi (getutmp): Use @var{} on parameter names.
15509 (getutmpx): Likewise.
15510
5b23062f
JM
155112012-02-17 Joseph Myers <joseph@codesourcery.com>
15512
15513 [BZ #6884]
15514 * manual/stdio.texi (fopen): Fix typos in description of
15515 ",ccs=STRING".
15516
8dee4833
AJ
155172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15518
15519 [BZ #4026]
15520 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15521 get clock_id definition.
15522
9078ce93
TS
155232012-02-17 Thomas Schwinge <thomas@schwinge.name>
15524
15525 [BZ #4822]
15526 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15527 (madvise): Cast every argument to void on its own.
15528
3835c55f
JM
155292012-02-17 Joseph Myers <joseph@codesourcery.com>
15530
15531 [BZ #9902]
15532 * manual/startup.texi (Exit Status): Fix typo.
15533
35c47e37
JM
155342012-02-17 Joseph Myers <joseph@codesourcery.com>
15535
15536 [BZ #10140]
15537 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15538 * manual/examples/argp-ex2.c: Likewise.
15539 * manual/examples/argp-ex3.c: Likewise.
15540
e3b69ca7
RH
155412012-02-16 Richard Henderson <rth@redhat.com>
15542
15543 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15544 * sysdeps/s390/s390-32/initfini.c: Remove.
15545 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15546 * sysdeps/s390/s390-64/initfini.c: Remove.
15547
df83af67
KK
155482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15549
15550 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15551 compiler output for sysdeps/generic/initfini.c.
15552 * sysdeps/sh/elf/initfini.c: Remove file.
15553
f63f3380
DM
155542012-02-16 David S. Miller <davem@davemloft.net>
15555
fb59b3a4
DM
15556 [BZ #11494]
15557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15558
f63f3380
DM
15559 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15560 * sysdeps/sparc/crti.S: New file.
15561 * sysdeps/sparc/crtn.S: New file.
15562 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15563 * sysdeps/sparc/sparc64/Makefile: Likewise.
15564
df6a4a4a
MF
155652012-02-15 Mike Frysinger <vapier@gentoo.org>
15566
6dd8f3dc 15567 [BZ #3335]
df6a4a4a
MF
15568 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15569
1cac7236
RM
155702012-02-15 Roland McGrath <roland@hack.frob.com>
15571
d2c736f8
RM
15572 [BZ #4822]
15573 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15574
1cac7236
RM
15575 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15576 (write, read, close): Likewise.
15577 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15578
8e475601
JM
155792012-02-15 Joseph Myers <joseph@codesourcery.com>
15580
15581 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15582 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15583 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15584 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15585 <bits/signalfd.h>.
15586 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15588 bits/signalfd.h.
15589
ed656b40
MP
155902012-02-14 Marek Polacek <polacek@redhat.com>
15591
15592 * sysdeps/x86_64/crti.S: New file.
15593 * sysdeps/x86_64/crtn.S: New file.
15594 * sysdeps/x86_64/elf/initfini.c: Remove file.
15595
2a979d3a
JM
155962012-02-13 Joseph Myers <joseph@codesourcery.com>
15597
15598 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15599 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15600 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15601 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15602 <bits/inotify.h>.
15603 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15605 bits/inotify.h.
15606
2a418ac3
JM
156072012-02-13 Joseph Myers <joseph@codesourcery.com>
15608
15609 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15610 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15611 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15612 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15613 <bits/eventfd.h>.
15614 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15616 bits/eventfd.h.
15617
fb779be7
TS
156182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15619
e19e83c5
RM
15620 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15621 __feraiseexcept instead of feraiseexcept.
7c35ffed 15622
fb779be7
TS
15623 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15624 nanosleep invocations.
15625 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15626 strings, and add error checking for a nanosleep invocations.
15627
59ba27a6
PE
156282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15629
15630 Replace FSF snail mail address with URLs, as per GNU coding standards.
15631 Most of the snail mail addresses were wrong anyway, and omitting
15632 them makes the source code easier to maintain. Almost all of the
15633 changes are to license notices and to locale LC_IDENTIFICATION
15634 addresses, except for this one:
15635 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15636 not its snail mail address.
15637
57b957eb
RH
156382012-02-09 Richard Henderson <rth@twiddle.net>
15639
af850b1c
RH
15640 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15641 of kernel-features.h.
15642
57b957eb
RH
15643 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15644
6b73181a
MP
156452012-02-08 Marek Polacek <polacek@redhat.com>
15646
15647 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15648 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15649 * sysdeps/gnu/_G_config.h: Likewise.
15650 * sysdeps/generic/_G_config.h: Likewise.
15651
26ecc33a
AS
156522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15653
6c6dbc63
AS
15654 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15655 tests.
15656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15657
e216c012
AS
15658 * sysdeps/powerpc/powerpc32/crti.S: New file.
15659 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15660 * sysdeps/powerpc/powerpc64/crti.S: New file.
15661 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15662
26ecc33a
AS
15663 * Makeconfig (have-initfini): Don't set.
15664 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15665 * configure.in (nopic_initfini): Don't substitute.
15666 * config.h.in (HAVE_INITFINI): Don't #undef.
15667 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15668 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15669
3add8e13
JM
156702012-02-08 Joseph Myers <joseph@codesourcery.com>
15671
15672 Support crti.S and crtn.S provided directly by architectures.
15673 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15674 [crti.S in sysdirs] (omit-deps): Likewise.
15675 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15676 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15677 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15678 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15679 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15680 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15681 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15682 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15683 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15684 compiler output for sysdeps/generic/initfini.c.
15685 * sysdeps/i386/elf/Makefile: Remove file.
15686 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15687
a22f12b4
MP
156882012-02-07 Marek Polacek <polacek@redhat.com>
15689
15690 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15691 * sysdeps/gnu/_G_config.h: Likewise.
15692 * sysdeps/mach/hurd/_G_config.h: Likewise.
15693
148cf100
MP
156942012-02-07 Marek Polacek <polacek@redhat.com>
15695
15696 * math/Makefile (tests): Add tst-CMPLX2.
15697 * math/tst-CMPLX2.c: New file.
15698
cfdc0dd7
AS
156992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15700
84ba42c4
AS
15701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15702
cfdc0dd7
AS
15703 * math/libm-test.inc (jn_test): Add missing L suffix.
15704
622c86f4
MP
157052012-02-06 Marek Polacek <polacek@redhat.com>
15706
15707 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15708 * sysdeps/i386/fpu/e_powf.S: Likewise.
15709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15712 * sysdeps/i386/fpu/e_pow.S: Likewise.
15713 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15714 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15715 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15716 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15717 * sysdeps/i386/fpu/e_log2.S: Likewise.
15718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15719 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15720 * sysdeps/i386/fpu/e_powl.S: Likewise.
15721 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15722 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15723 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15724 * sysdeps/i386/fpu/e_logl.S: Likewise.
15725 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15726 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15727 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15728 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15729 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15731 * sysdeps/i386/fpu/e_log.S: Likewise.
15732 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15734 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15735 * sysdeps/i386/fpu/e_logf.S: Likewise.
15736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15738 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15741 * sysdeps/i386/fpu/e_log10.S: Likewise.
15742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15748 * sysdeps/i386/asm-syntax.h: Likewise.
15749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15752 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15753 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15758 * sysdeps/powerpc/sysdep.h: Likewise.
15759 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15761
d4a54ac6
JM
157622012-02-06 Joseph Myers <joseph@codesourcery.com>
15763
15764 [BZ #411]
15765 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15766
314054ea
JM
157672012-02-06 Joseph Myers <joseph@codesourcery.com>
15768
15769 * sysdeps/i386/sysdep.h: Include <features.h>.
15770 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15771 version.
15772
d8e0ca50
JM
157732012-02-05 Joseph Myers <joseph@codesourcery.com>
15774
15775 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15776 Define.
15777 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15778 LOAD_PIC_REG_STR.
15779
b1da7dd9
JM
157802012-02-03 Joseph Myers <joseph@codesourcery.com>
15781
15782 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15783 (SETUP_PIC_REG): Use GET_PC_THUNK.
15784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15785 macro.
15786
9a1d9254
JM
157872012-02-03 Joseph Myers <joseph@codesourcery.com>
15788
15789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15790 for non-PIC compilation.
15791 (SETUP_PIC_REG): Add .p2align directive.
15792 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15793 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15794 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15795 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15797 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15798 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15800 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15801 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15802 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15803 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15804 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15805 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15806 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15809 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15810 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15811 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15813 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15820 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15821 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15822 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15824 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15825 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15826 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15827 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15828 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15829 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15830 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15831 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15832 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15833
65dc3b75
JM
158342012-02-03 Joseph Myers <joseph@codesourcery.com>
15835
15836 * math/tst-CMPLX.c: Include <stdio.h>.
15837
d55bf177
JM
158382012-01-31 Joseph Myers <joseph@codesourcery.com>
15839
15840 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15841 float.
15842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15843 * sysdeps/sparc/bits/mathdef.h: Likewise.
15844
69db4f8f
MP
158452012-01-31 Marek Polacek <polacek@redhat.com>
15846
15847 * libio/libio.h: Don't define _PARAMS.
15848 * locale/programs/config.h: Don't define PARAMS.
15849 * stdlib/strtol_l.c: Likewise.
15850 (__strtol_l): Remove PARAMS from the prototype.
15851
41b81892
UD
158522012-01-31 Ulrich Drepper <drepper@gmail.com>
15853
3b49edc0
UD
15854 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15855 names. Just use the correct names. Remove unnecessary wrapper
15856 functions.
15857 * malloc/arena.c: Likewise.
15858 * malloc/hooks.c: Likewise.
15859
41b81892
UD
15860 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15861 ARENA_TEST says not to. Simplify test for creation of a new arena.
15862 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15863
27a25b6e
UD
158642012-01-30 Ulrich Drepper <drepper@gmail.com>
15865
15866 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15867 into tail calls.
15868 (update_get_addr): New function.
15869 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15870 GET_ADDR_MODULE parameter.
15871
c8a89e7d
JM
158722012-01-30 Joseph Myers <joseph@codesourcery.com>
15873
15874 * crypt/cert.c: Remove __STDC__ conditionals.
15875 * crypt/crypt-entry.c: Likewise.
15876 * crypt/crypt_util.c: Likewise.
15877 * libio/filedoalloc.c: Likewise.
15878 * libio/fileops.c: Likewise.
15879 * libio/genops.c: Likewise.
15880 * libio/iofclose.c: Likewise.
15881 * libio/iofdopen.c: Likewise.
15882 * libio/iofopen.c: Likewise.
15883 * libio/iofopen64.c: Likewise.
15884 * libio/iogetdelim.c: Likewise.
15885 * libio/iopopen.c: Likewise.
15886 * libio/obprintf.c: Likewise.
15887 * libio/oldfileops.c: Likewise.
15888 * libio/oldiofclose.c: Likewise.
15889 * libio/oldiofdopen.c: Likewise.
15890 * libio/oldiofopen.c: Likewise.
15891 * libio/oldiopopen.c: Likewise.
15892 * libio/wfiledoalloc.c: Likewise.
15893 * libio/wgenops.c: Likewise.
15894 * locale/programs/xmalloc.c: Likewise.
15895 * misc/syslog.c: Likewise.
15896 * stdio-common/xbug.c: Likewise.
15897 * string/memchr.c: Likewise.
15898 * string/memcmp.c: Likewise.
15899 * string/memrchr.c: Likewise.
15900 * string/rawmemchr.c: Likewise.
15901 * sysdeps/posix/getcwd.c: Likewise.
15902 * time/strftime_l.c: Likewise.
15903
3b100462
JM
159042012-01-30 Joseph Myers <joseph@codesourcery.com>
15905
15906 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15907 * config.make.in (config-cflags-sse2avx): Define.
15908 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15909 Fix typo.
15910
607998af
CM
159112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15912
15913 * scripts/config.guess: Update from upstream config git repository.
15914 * scripts/config.sub: Likewise.
15915
3601428f
CM
159162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15917
3ac8b282
CM
15918 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15919 (EM_NUM): Update.
15920 (R_TILEPRO_*, R_TILEGX_*): New macros.
15921
e034841e
CM
15922 * scripts/firstversions.awk: Fix bug in version range handling.
15923
540d7568
CM
15924 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15925
3601428f
CM
15926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15927
463de862
CM
15928 * include/sys/epoll.h: New file.
15929 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15930 libc_hidden_def.
15931
73139a76
UD
159322012-01-28 Ulrich Drepper <drepper@gmail.com>
15933
96bc5b45
UD
15934 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15935 Avoid unnecessary __WORDSIZE == 64 test.
15936 (fmaxf): Use VEX format if possible.
15937 (fmax): Likewise.
15938 (fminf): Likewise.
15939 (fmin): Likewise.
15940
56f6f6a2
UD
15941 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15942 * math/math_private.h: Remove libc_fegetround* and
15943 libc_fesetround*.
15944 * sysdeps/i386/configure.in: Check for -msse2avx.
15945 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15946 also if SSE2AVX is defined.
15947 Remove libc_fegetround* and libc_fesetround*.
15948 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15949 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15951 of HAS_YMM_USABLE.
15952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15957
73139a76
UD
15958 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15959
d73f93a4
AZ
159602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15961
15962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15963 size is not set.
15964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15965
6ee65ed6
UD
159662012-01-27 Ulrich Drepper <drepper@gmail.com>
15967
15968 [BZ #13618]
15969 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15970 relocation.
15971 * Makeconfig (libm): Define.
15972 * elf/Makefile: Add rules to build and run tst-relsort1.
15973 * elf/tst-relsort1.c: New file.
15974 * elf/tst-relsort1mod1.c: New file.
15975 * elf/tst-relsort1mod2.c: New file.
15976
8db21882
JM
159772012-01-27 Joseph Myers <joseph@codesourcery.com>
15978
15979 * math/s_ldexp.c: Remove __STDC__ conditionals.
15980 * math/s_ldexpf.c: Likewise.
15981 * math/s_ldexpl.c: Likewise.
15982 * math/s_nextafter.c: Likewise.
15983 * math/s_nexttowardf.c: Likewise.
15984 * math/s_significand.c: Likewise.
15985 * math/s_significandf.c: Likewise.
15986 * math/s_significandl.c: Likewise.
15987 * math/w_jnl.c: Likewise.
15988 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15989 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15990 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15991 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15992 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16010 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16016 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16019 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16022 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16025 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16028 * sysdeps/ieee754/k_standard.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16090 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16104 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16108 * sysdeps/ieee754/s_matherr.c: Likewise.
16109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16113
965a54a4
JM
161142012-01-26 Joseph Myers <joseph@codesourcery.com>
16115
16116 * crypt/md5.h: Remove __STDC__ conditionals.
16117 * libio/libioP.h: Likewise.
16118 * locale/programs/config.h: Likewise.
16119 * sysdeps/generic/sysdep.h: Likewise.
16120 * sysdeps/i386/asm-syntax.h: Likewise.
16121 * sysdeps/s390/asm-syntax.h: Likewise.
16122 * sysdeps/unix/sysdep.h: Likewise.
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16125
7071ad79
JM
161262012-01-26 Joseph Myers <joseph@codesourcery.com>
16127
16128 * libio/libio.h: Remove __STDC__ conditionals.
16129 * malloc/obstack.h: Likewise.
16130 * math/complex.h: Likewise.
16131 * math/math.h: Likewise.
16132 * sysdeps/generic/_G_config.h: Likewise.
16133 * sysdeps/gnu/_G_config.h: Likewise.
16134 * sysdeps/mach/hurd/_G_config.h: Likewise.
16135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16137 * sysdeps/sparc/bits/mathdef.h: Likewise.
16138
afc5ed09
UD
161392012-01-26 Ulrich Drepper <drepper@gmail.com>
16140
16141 [BZ #13583]
16142 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16143 Clean up HAS_* macros.
afc5ed09 16144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16145 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16146 possible.
16147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16148 HAS_AVX.
16149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16154
bdb6de1d
JM
161552012-01-25 Joseph Myers <joseph@codesourcery.com>
16156
16157 * elf/tst-unique3.cc (gets): Remove declaration.
16158 * elf/tst-unique3lib.cc (gets): Likewise.
16159 * elf/tst-unique3lib2.cc (gets): Likewise.
16160 * elf/tst-unique4.cc (gets): Likewise.
16161
b15549e6
UD
161622012-01-24 Ulrich Drepper <drepper@gmail.com>
16163
16164 * include/stdio.h: Add C++ protection. Add gets declarations and
16165 definitions.
16166 * debug/tst-chk1.c: Don't declare gets here.
16167 * stdio-common/tst-gets.c: Likewise.
16168
a037381f
JM
161692012-01-24 Joseph Myers <joseph@codesourcery.com>
16170
16171 * posix/glob: Remove directory.
16172
f1d4aa75
JM
161732012-01-24 Joseph Myers <joseph@codesourcery.com>
16174
16175 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16176
81c0c964
PT
161772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16178
16179 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16180 of the non-standard EPFNOSUPPORT.
16181
0ea698ae
ST
161822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16183
16184 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16185 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16186 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16187
d220b117
UD
161882012-01-21 Ulrich Drepper <drepper@gmail.com>
16189
16190 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16191
3e1aa84e
UD
161922012-01-20 Ulrich Drepper <drepper@gmail.com>
16193
16194 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16195 transient errors.
16196 * nscd/grpcache.c (cache_addgr): Likewise.
16197 * nscd/hstcache.c (cache_addhst): Likewise.
16198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16199 * nscd/pwdcache.c (cache_addpw): Likewise.
16200 * nscd/servicescache.c (cache_addserv): Likewise.
16201
400aa020
UD
162022012-01-16 Ulrich Drepper <drepper@gmail.com>
16203
d77e7869
UD
16204 * malloc/malloc.c: Various cleanups.
16205 * malloc/hooks.c: Likewise.
16206
400aa020
UD
16207 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16208 * stdlib/bug-fmtmsg1.c: New file.
16209
16210 * stdlib/fmtmsg.c (init): Add missing unlock.
16211 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16212
e0a309cf
MP
162132012-01-12 Marek Polacek <polacek@redhat.com>
16214
16215 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16216 and _GNU_SOURCE.
16217
929d11c7
WS
162182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16219
16220 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16222 macro to ensure uniqueness of label name.
16223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16225
41d0e869
UD
162262012-01-11 Ulrich Drepper <drepper@gmail.com>
16227
0cc5ed3b
UD
16228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16229
41d0e869
UD
16230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16231 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16234
a47a831a
UD
162352012-01-10 Ulrich Drepper <drepper@gmail.com>
16236
daa891c0
UD
16237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16238
16239 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16242
e58ef0f2
UD
16243 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16244
a47a831a 16245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16249
16250 * math/bits/math-finite.h: Add ldexp support.
16251
a0bfc9c7
MP
162522012-01-10 Marek Polacek <polacek@redhat.com>
16253
16254 * locale/programs/localedef.h (show_archive_content): Add noreturn
16255 attribute.
16256
d6e97a1d
UD
162572012-01-09 Ulrich Drepper <drepper@gmail.com>
16258
16259 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16260
d5835c26
UD
162612012-01-08 Ulrich Drepper <drepper@gmail.com>
16262
e5f484c6
UD
16263 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16264
d5835c26
UD
16265 * io/Makefile (headers): Add bits/poll2.h.
16266
d1f741e9
WS
162672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16268
16269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16270 typo #include statement.
16271
ec09c1c4
UD
162722012-01-08 Ulrich Drepper <drepper@gmail.com>
16273
16274 * include/sys/cdefs.h: Define __attribute_alloc_size.
16275 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16276 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16277 * elf/pldd.c: Likewise.
16278 * iconv/iconv_charmap.c: Likewise.
16279 * iconv/iconvconfig.c: Likewise.
16280 * iconv/strtab.c: Likewise.
16281 * locale/programs/locale.c: Likewise.
16282 * locale/programs/localedef.h: Likewise.
16283 * locale/programs/simple-hash.c: Likewise.
16284 * nscd/nscd.h: Likewise.
16285 * nss/makedb.c: Likewise.
16286 * sysdeps/generic/ldconfig.h: Likewise.
16287 * locale/programs/localedef.c: Remove xmalloc prototype.
16288 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16289
20b38e03
PP
162902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16291
16292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16293 appropriate.
16294
a0da5fe1
UD
162952012-01-08 Ulrich Drepper <drepper@gmail.com>
16296
1d5a644a 16297 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16298 * math/tst-CMPLX.c: New file.
1d5a644a 16299
8784a6db
UD
16300 * math/complex.h (CMPLXL): Fix typo.
16301
d9a216c0
UD
16302 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16303 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16304 GLIBC_2.16.
16305 * debug/tst-chk1.c: Add poll and ppoll tests.
16306 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16307 * include/sys/poll.h: Add hidden proto for ppoll.
16308 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16309 * sysdeps/mach/hurd/ppoll.c: Likewise.
16310 * io/ppoll.c: Likewise.
16311 * debug/poll_chk.c: New file.
16312 * debug/ppoll_chk.c: New file.
16313 * include/bits/poll2.h: New file.
16314 * io/bits/poll2.h: New file.
16315
ac097f5c
UD
16316 [BZ #1350]
16317 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16318
2119dcfa
UD
16319 * configure.in: static is always set to yes. Remove.
16320 * config.make.in: Don't set build-static.
16321 * Makeconfig: Remove use of build-static.
16322 * dlfcn/Makefile: Likewise.
16323 * elf/Makefile: Likewise.
16324 * math/Makefile: Likewise.
16325 * misc/Makefile: Likewise.
16326 * nptl/Makefile: Likewise.
16327 * sysdeps/mach/hurd/Makefile: Likewise.
16328
121766a9
UD
16329 * configure.in: PWD_P is not used anymore.
16330 * config.make.in: Remove PWD_P entry.
16331
51a1d39c 16332 * configure.in: Remove last remnants of RANLIB.
8720d066 16333 No need to check for signed size_t anymore.
215f4bdc
UD
16334 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16335 and IA-64.
3857022a 16336 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16337 * aclocal.m4: Likewise.
16338
d3ed7225
UD
16339 * wcsmbs/mbrtoc16.c: Implement using towc function.
16340 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16341 * wcsmbs/wcsmbsload.c: Likewise.
16342 * iconv/gconv_simple.c: Likewise.
16343 * iconv/gconv_int.h: Likewise.
16344 * iconv/gconv_builtin.h: Likewise.
16345 * iconv/iconv_prog.c: Remove CHAR16 handling.
16346
16347 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16348
16349 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16350
a0da5fe1
UD
16351 * configure.in: Remove --with-elf and --enable-bounded options.
16352 Dont set base_machine for ia64. More non-ELF conditions removed.
16353 Remove testing and setting of leading underscore information.
16354 * config.make.in (build-bounded): Set to no.
16355 * config.h.in: Remove NO_UNDERSCORES entry.
16356 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16357 them.
16358 * csu/start.c: Remove !NO_UNDERSCORE code.
16359 * locale/localeinfo.h: Likewise.
16360 * sysdeps/generic/machine-gmon.h: Likewise.
16361 * sysdeps/generic/sysdep.h: Likewise.
16362 * sysdeps/i386/sysdep.h: Likewise.
16363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16364 * sysdeps/mach/sysdep.h: Likewise.
16365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16367 * sysdeps/sh/sysdep.h: Likewise.
16368 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16369 * sysdeps/unix/i386/sysdep.S: Likewise.
16370 * sysdeps/unix/sparc/start.c: Likewise.
16371 * sysdeps/unix/sparc/sysdep.S: Likewise.
16372 * sysdeps/unix/sparc/sysdep.h: Likewise.
16373 * sysdeps/unix/start.c: Likewise.
16374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16375 * sysdeps/x86_64/sysdep.h: Likewise.
16376
df78418a
UD
163772012-01-07 Ulrich Drepper <drepper@gmail.com>
16378
a784e502
UD
16379 [BZ #13553]
16380 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16381 for non-gcc.
16382 * argp/argp-fmtstream.h: Use const instead __const.
16383 * argp/argp.h: Likewise.
16384 * assert/assert.h: Likewise.
16385 * bits/fenv.h: Likewise.
16386 * bits/sched.h: Likewise.
16387 * bits/sigset.h: Likewise.
16388 * bits/sigthread.h: Likewise.
16389 * catgets/nl_types.h: Likewise.
16390 * conform/data/pthread.h-data: Likewise.
16391 * crypt/crypt-private.h: Likewise.
16392 * crypt/crypt.h: Likewise.
16393 * crypt/crypt_util.c: Likewise.
16394 * ctype/ctype.h: Likewise.
16395 * debug/execinfo.h: Likewise.
16396 * debug/mbsnrtowcs_chk.c: Likewise.
16397 * debug/mbsrtowcs_chk.c: Likewise.
16398 * debug/wcsnrtombs_chk.c: Likewise.
16399 * debug/wcsrtombs_chk.c: Likewise.
16400 * debug/wcstombs_chk.c: Likewise.
16401 * dirent/dirent.h: Likewise.
16402 * dlfcn/dlfcn.h: Likewise.
16403 * elf/neededtest4.c: Likewise.
16404 * grp/grp.h: Likewise.
16405 * gshadow/gshadow.h: Likewise.
16406 * iconv/gconv.h: Likewise.
16407 * iconv/gconv_int.h: Likewise.
16408 * iconv/gconv_simple.c: Likewise.
16409 * iconv/iconv.h: Likewise.
16410 * iconv/loop.c: Likewise.
16411 * iconv/skeleton.c: Likewise.
16412 * include/aio.h: Likewise.
16413 * include/aliases.h: Likewise.
16414 * include/argz.h: Likewise.
16415 * include/arpa/inet.h: Likewise.
16416 * include/assert.h: Likewise.
16417 * include/dirent.h: Likewise.
16418 * include/dlfcn.h: Likewise.
16419 * include/execinfo.h: Likewise.
16420 * include/fcntl.h: Likewise.
16421 * include/fenv.h: Likewise.
16422 * include/glob.h: Likewise.
16423 * include/grp.h: Likewise.
16424 * include/libintl.h: Likewise.
16425 * include/mntent.h: Likewise.
16426 * include/netdb.h: Likewise.
16427 * include/pwd.h: Likewise.
16428 * include/rpc/netdb.h: Likewise.
16429 * include/sched.h: Likewise.
16430 * include/search.h: Likewise.
16431 * include/shadow.h: Likewise.
16432 * include/signal.h: Likewise.
16433 * include/stdio.h: Likewise.
16434 * include/stdlib.h: Likewise.
16435 * include/string.h: Likewise.
16436 * include/sys/socket.h: Likewise.
16437 * include/sys/stat.h: Likewise.
16438 * include/sys/statfs.h: Likewise.
16439 * include/sys/statvfs.h: Likewise.
16440 * include/sys/syslog.h: Likewise.
16441 * include/sys/time.h: Likewise.
16442 * include/sys/uio.h: Likewise.
16443 * include/time.h: Likewise.
16444 * include/unistd.h: Likewise.
16445 * include/utmp.h: Likewise.
16446 * include/wchar.h: Likewise.
16447 * include/wctype.h: Likewise.
16448 * inet/aliases.h: Likewise.
16449 * inet/arpa/inet.h: Likewise.
16450 * inet/netinet/ether.h: Likewise.
16451 * inet/netinet/in.h: Likewise.
16452 * intl/libintl.h: Likewise.
16453 * io/bits/fcntl2.h: Likewise.
16454 * io/fcntl.h: Likewise.
16455 * io/ftw.h: Likewise.
16456 * io/sys/poll.h: Likewise.
16457 * io/sys/stat.h: Likewise.
16458 * io/sys/statfs.h: Likewise.
16459 * io/sys/statvfs.h: Likewise.
16460 * io/utime.h: Likewise.
16461 * libio/bits/stdio.h: Likewise.
16462 * libio/bits/stdio2.h: Likewise.
16463 * libio/libio.h: Likewise.
16464 * libio/libioP.h: Likewise.
16465 * libio/stdio.h: Likewise.
16466 * locale/lc-ctype.c: Likewise.
16467 * locale/locale.h: Likewise.
16468 * login/utmp.h: Likewise.
16469 * malloc/arena.c: Likewise.
16470 * malloc/malloc.c: Likewise.
16471 * malloc/malloc.h: Likewise.
16472 * malloc/mcheck.c: Likewise.
16473 * malloc/mtrace.c: Likewise.
16474 * math/bits/mathcalls.h: Likewise.
16475 * math/fenv.h: Likewise.
16476 * math/math_private.h: Likewise.
16477 * misc/bits/error.h: Likewise.
16478 * misc/bits/syslog.h: Likewise.
16479 * misc/err.h: Likewise.
16480 * misc/error.h: Likewise.
16481 * misc/fstab.h: Likewise.
16482 * misc/mntent.h: Likewise.
16483 * misc/regexp.h: Likewise.
16484 * misc/search.h: Likewise.
16485 * misc/sgtty.h: Likewise.
16486 * misc/sys/mman.h: Likewise.
16487 * misc/sys/syslog.h: Likewise.
16488 * misc/sys/uio.h: Likewise.
16489 * misc/sys/xattr.h: Likewise.
16490 * misc/ttyent.h: Likewise.
16491 * nis/rpcsvc/ypclnt.h: Likewise.
16492 * nss/nss.h: Likewise.
16493 * posix/bits/unistd.h: Likewise.
16494 * posix/fnmatch.h: Likewise.
16495 * posix/glob.h: Likewise.
16496 * posix/sched.h: Likewise.
16497 * posix/spawn.h: Likewise.
16498 * posix/sys/wait.h: Likewise.
16499 * posix/unistd.h: Likewise.
16500 * posix/wordexp.h: Likewise.
16501 * pwd/pwd.h: Likewise.
16502 * resolv/netdb.h: Likewise.
16503 * resource/sys/resource.h: Likewise.
16504 * rt/aio.h: Likewise.
16505 * rt/bits/mqueue2.h: Likewise.
16506 * rt/mqueue.h: Likewise.
16507 * shadow/shadow.h: Likewise.
16508 * signal/signal.h: Likewise.
16509 * socket/send.c: Likewise.
16510 * socket/sendto.c: Likewise.
16511 * socket/sys/socket.h: Likewise.
16512 * stdio-common/printf.h: Likewise.
16513 * stdlib/bits/stdlib.h: Likewise.
16514 * stdlib/fmtmsg.h: Likewise.
16515 * stdlib/monetary.h: Likewise.
16516 * stdlib/stdlib.h: Likewise.
16517 * stdlib/ucontext.h: Likewise.
16518 * streams/stropts.h: Likewise.
16519 * string/argz.h: Likewise.
16520 * string/bits/string2.h: Likewise.
16521 * string/string.h: Likewise.
16522 * string/strings.h: Likewise.
16523 * sunrpc/rpc/auth.h: Likewise.
16524 * sunrpc/rpc/auth_des.h: Likewise.
16525 * sunrpc/rpc/clnt.h: Likewise.
16526 * sunrpc/rpc/netdb.h: Likewise.
16527 * sunrpc/rpc/pmap_clnt.h: Likewise.
16528 * sunrpc/rpc/xdr.h: Likewise.
16529 * sysdeps/generic/inttypes.h: Likewise.
16530 * sysdeps/generic/net/if.h: Likewise.
16531 * sysdeps/generic/sys/swap.h: Likewise.
16532 * sysdeps/gnu/net/if.h: Likewise.
16533 * sysdeps/gnu/utmpx.h: Likewise.
16534 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16535 * sysdeps/i386/i486/bits/string.h: Likewise.
16536 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16537 * sysdeps/s390/bits/string.h: Likewise.
16538 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16539 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16540 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16541 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16542 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16543 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16544 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16545 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16546 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16547 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16548 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16549 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16550 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16552 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16553 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16554 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16560 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16561 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16562 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16563 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16564 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16565 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16566 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16568 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16569 * sysvipc/sys/ipc.h: Likewise.
16570 * sysvipc/sys/msg.h: Likewise.
16571 * sysvipc/sys/sem.h: Likewise.
16572 * sysvipc/sys/shm.h: Likewise.
16573 * termios/termios.h: Likewise.
16574 * time/sys/time.h: Likewise.
16575 * time/time.h: Likewise.
16576 * wcsmbs/bits/wchar2.h: Likewise.
16577 * wcsmbs/uchar.h: Likewise.
16578 * wcsmbs/wchar.h: Likewise.
16579 * wctype/wctype.h: Likewise.
16580
0269750c
UD
16581 [BZ #13551]
16582 * Makeconfig: Remove all but ELF support including AIX support.
16583 * Makerules: Likewise.
16584 * config.h.in: Likewise.
16585 * config.make.in: Likewise.
16586 * configure: Likewise.
16587 * configure.in: Likewise.
16588 * csu/Makefile: Likewise.
16589 * csu/version.c: Likewise.
16590 * debug/Makefile: Likewise.
16591 * dlfcn/Makefile: Likewise.
16592 * elf/Makefile: Likewise.
16593 * extra-lib.mk: Likewise.
16594 * iconv/Makefile: Likewise.
16595 * include/libc-symbols.h: Likewise.
16596 * include/shlib-compat.h: Likewise.
16597 * resolv/Makefile: Likewise.
16598 * resolv/res_libc.c: Likewise.
16599 * rt/Makefile: Likewise.
16600 * sysdeps/i386/asm-syntax.h: Likewise.
16601 * sysdeps/i386/sysdep.h: Likewise.
16602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16603 * sysdeps/mach/sysdep.h: Likewise.
16604 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16605 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16606 * sysdeps/s390/asm-syntax.h: Likewise.
16607 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16609 * sysdeps/sh/sysdep.h: Likewise.
16610 * sysdeps/unix/sparc/sysdep.h: Likewise.
16611 * sysdeps/wordsize-32/divdi3.c: Likewise.
16612 * sysdeps/x86_64/sysdep.h: Likewise.
16613
00bbd29b
UD
16614 * argp/Versions: Remove _argp_unlock_xxx.
16615
16616 [BZ #13559]
16617 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16618 * abilist/libBrokenLocale.abilist: Likewise.
16619 * abilist/libanl.abilist: Likewise.
16620 * abilist/libc.abilist: Likewise.
16621 * abilist/libcrypt.abilist: Likewise.
16622 * abilist/libdl.abilist: Likewise.
16623 * abilist/libm.abilist: Likewise.
16624 * abilist/libnsl.abilist: Likewise.
16625 * abilist/libpthread.abilist: Likewise.
16626 * abilist/libresolv.abilist: Likewise.
16627 * abilist/librt.abilist: Likewise.
16628 * abilist/libthread_db.abilist: Likewise.
16629 * abilist/libutil.abilist: Likewise.
16630 * abilist/libnss_db.abilist: New file.
16631
16632 * scripts/abilist.awk: Add support for indirect functions.
16633
a2693a0e
UD
16634 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16635
3f05895f
UD
16636 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16637
ecb6fb48
UD
16638 * shlib-versions: Remove entries for ports architectures.
16639
664f8cb9
UD
16640 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16641 files in ports.
16642 * elf/stackguard-macros.h: Remove support for IA-64.
16643 * elf/tst-auditmod1.c: Likewise.
16644 * sysdeps/generic/ldsodefs.h: Likewise.
16645
7ae81d88
UD
16646 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16647 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16648 configure files.
16649
bdeba135
UD
16650 [BZ #13552]
16651 * configure.in: Remove --enable-omitfp support.
16652 * FAQ.in: Adjust.
16653 * config.make.in: Likewise.
16654 * Makeconfig: Likewise.
16655 * manual/install.texi: Likewise.
16656
d75a0a62
UD
16657 In case anyone cares, the IA-64 architecture could move to ports.
16658 * sysdeps/ia64/*: Removed.
16659 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16660 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16661
dcc9756b
UD
16662 [BZ #13555]
16663 * configure.in: Remove entries for unsupported architectures.
16664
d3761ebc 16665 [BZ #13533]
9954432e
UD
16666 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16667 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16668 routines.
16669 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16670 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16671 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16672 fall back to using wcrtomb.
16673 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16674 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16675 renaming.
16676 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16677 * wcsmbs/tst-c16c32-1.c: New file.
16678
16679 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16680 local variable.
16681
c3a87236
UD
16682 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16683
28926a1b
UD
16684 * elf/tst-unique3.cc: Add explicit declaration of gets.
16685 * elf/tst-unique3lib.cc: Likewise.
16686 * elf/tst-unique3lib2.cc: Likewise.
16687 * elf/tst-unique4.cc: Likewise.
16688
df78418a
UD
16689 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16690
8ecd6b2a
JM
166912012-01-06 Joseph Myers <joseph@codesourcery.com>
16692
16693 [BZ #13566]
16694 * assert/assert.h (static_assert): Don't define for C++.
16695 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16696 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16697
9f115170
UD
166982012-01-03 Ulrich Drepper <drepper@gmail.com>
16699
5e0d0300
UD
16700 * iconv/loop.c (single loop): Fix assertion in storing of
16701 remaining bytes.
16702
9f115170
UD
16703 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16704
81fb02b0
UD
167052012-01-01 Ulrich Drepper <drepper@gmail.com>
16706
16707 * posix/getconf.c: Update copyright year.
16708 * nss/getent.c: Likewise.
a316c1f6 16709 * nss/makedb.c: Likewise.
81fb02b0
UD
16710 * iconv/iconvconfig.c: Likewise.
16711 * iconv/iconv_prog.c: Likewise.
16712 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16713 * elf/pldd.c: Likewise.
16714 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16715 * catgets/gencat.c: Likewise.
16716 * csu/version.c: Likewise.
16717 * elf/ldd.bash.in: Likewise.
16718 * elf/sprof.c (print_version): Likewise.
16719 * locale/programs/locale.c: Likewise.
16720 * locale/programs/localedef.c: Likewise.
a316c1f6 16721 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16722 * nscd/nscd.c (print_version): Likewise.
16723 * debug/xtrace.sh: Likewise.
16724 * malloc/memusage.sh: Likewise.
16725 * malloc/mtrace.pl: Likewise.
16726 * debug/catchsegv.sh: Likewise.
16727
2ba92745
JJ
167282011-12-30 Jakub Jelinek <jakub@redhat.com>
16729
16730 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16731 pure attribute.
16732
dadebdae
UD
167332011-12-24 Ulrich Drepper <drepper@gmail.com>
16734
d3761ebc 16735 [BZ #13533]
db6af3eb
UD
16736 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16737 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16738 transformations.
16739 * iconv/gconv_int.h: Likewise.
16740 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16741 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16742 from libc for GLIBC_2.16.
16743 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16744 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16745 * wcsmbs/uchar.h: Really define mbstate_t.
16746 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16747 * wcsmbs/c16rtomb.c: New file.
16748 * wcsmbs/mbrtoc16.c: New file.
16749 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16750 for C/POSIX locale.
16751 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16752 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16753
dadebdae
UD
16754 * wcsmbs/wchar.h: Add missing __restrict.
16755
67371b56
UD
167562011-12-23 Ulrich Drepper <drepper@gmail.com>
16757
74033a25
UD
16758 [BZ #13532]
16759 * time/Makefile (routines): Add timespec_get.
16760 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16761 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16762 timespec for ISO C11.
16763 * time/timespec_get.c: New file.
16764 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16765 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16766
380d7e87
UD
16767 [BZ #13531]
16768 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16769 * stdlib/stdlib.h: Declare aligned_alloc.
16770 * Versions.def: Add GLIBC_2.16 for libc.
16771 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16772
4e9e7a35
UD
16773 [BZ 13527]
16774 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16775 ISO C11.
16776
380d7e87 16777 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16778 code.
16779
03a71829
UD
16780 [BZ #13528]
16781 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16782
839e283e
UD
16783 [BZ #13529]
16784 * assert/assert.h (static_assert): Define.
16785
ce5294e2 16786 * version.h: Update for 2.16 development version.
90fa7312 16787
8d44e150 16788 [BZ #13526]
d7809905
UD
16789 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16790 _ISOC11_SOURCE.
16791
c0da14cd
UD
16792 * version.h (RELEASE): Bump for 2.15 release.
16793 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16794
530a3249
MP
16795 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16796 Patch by Marek Polacek <mpolacek@redhat.com>.
16797
67371b56
UD
16798 * bits/byteswap.h: Protect long long constants with __extension__.
16799 * sysdeps/i386/bits/byteswap.h: Likewise.
16800 * sysdeps/ia64/bits/byteswap.h: Likewise.
16801 * sysdeps/s390/bits/byteswap.h: Likewise.
16802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16803
15db4de1
LD
168042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16805
16806 [BZ #13540]
bbe315ea
LD
16807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16808 destination buffer.
15db4de1
LD
16809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16810
2b2596b1
MP
168112011-12-23 Marek Polacek <polacek@redhat.com>
16812
16813 * elf/dl-addr.c (determine_info): Add inline keyword.
16814 * elf/tst-auditmod4b.c (check_avx): Likewise.
16815 * elf/tst-auditmod6b.c (check_avx): Likewise.
16816 * elf/tst-auditmod6c.c (check_avx): Likewise.
16817 * elf/tst-auditmod7b.c (check_avx): Likewise.
16818
70c6c246
UD
168192011-12-23 Ulrich Drepper <drepper@gmail.com>
16820
16821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16822 !__SSE_MATH__.
16823
c044cf14
LD
168242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16825
15db4de1 16826 [BZ #13540]
c044cf14
LD
16827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16828 processing for last bytes.
16829
6b13d9d9
BH
168302011-08-06 Bruno Haible <bruno@clisp.org>
16831
d455f537
BH
16832 [BZ #13061]
16833 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16834 U+0385, not to U+1FEE.
16835
6b13d9d9
BH
16836 [BZ #13062]
16837 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16838 entry for U+00A5 U+0301.
16839
db910efd
UD
168402011-12-22 Ulrich Drepper <drepper@gmail.com>
16841
27deeafc
UD
16842 [BZ #13166]
16843 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16844 buffer for the output is too small.
16845
aed9d171
UD
16846 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16847 optimization.
16848
db910efd
UD
16849 [BZ #13185]
16850 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16851 SSE flags if possible.
16852
2bd779ae
LD
168532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16854
e7f9dac3 16855 [BZ #13540]
2bd779ae
LD
16856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16857 processing for last bytes.
16858
154bfc16
JM
168592011-12-22 Joseph Myers <joseph@codesourcery.com>
16860
16861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16862 (syscall-list-default-options, syscall-list-default-condition)
16863 (syscall-list-includes): Define.
16864 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16865 list of ABIs and options and #if conditions for each ABI. Do not
16866 handle common syscalls between ABIs specially.
16867 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16868 Remove.
16869 (syscall-list-variants, syscall-list-32bit-options)
16870 (syscall-list-32bit-condition, syscall-list-64bit-options)
16871 (syscall-list-64bit-condition): Define.
16872 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16873 (syscall-list-variants, syscall-list-32bit-options)
16874 (syscall-list-32bit-condition, syscall-list-64bit-options)
16875 (syscall-list-64bit-condition): Define.
16876 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16877 Remove.
16878 (syscall-list-variants, syscall-list-32bit-options)
16879 (syscall-list-32bit-condition, syscall-list-64bit-options)
16880 (syscall-list-64bit-condition): Define.
16881 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16882 Remove.
16883 (syscall-list-variants, syscall-list-32bit-options)
16884 (syscall-list-32bit-condition, syscall-list-64bit-options)
16885 (syscall-list-64bit-condition): Define.
16886
21eaf3a5
UD
168872011-12-22 Ulrich Drepper <drepper@gmail.com>
16888
16c6f992
UD
16889 * locale/iso-639.def: Add brx entry.
16890
41043168
UD
16891 [BZ #13328]
16892 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16893 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16894
21eaf3a5
UD
16895 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16896 __feraiseexcept_renamed.
16897
e3a851a2
UD
168982011-12-21 Ulrich Drepper <drepper@gmail.com>
16899
4920765e
UD
16900 [BZ #13538]
16901 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16902 EPOLLET with unsigned values.
16903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16905
e3a851a2
UD
16906 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16907 to large cancellation.
16908 * math/s_cacoshf.c: Likewise.
16909 * math/s_cacoshl.c: Likewise.
16910
b27e24b8
RK
169112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16912
16913 [BZ #13305]
aebefeee 16914 [BZ #12786]
b27e24b8
RK
16915 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16916 * math/s_cacoshf.c: Likewise.
16917 * math/s_cacoshl.c: Likewise.
16918
ee190f67
UD
169192011-12-21 Ulrich Drepper <drepper@gmail.com>
16920
16921 [BZ #13439]
16922 * iconv/gconv.h: Define __GCONV_SWAP.
16923 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16924 * iconvdata/utf-16.c: Likewise.
16925 * iconvdata/utf-32.c: Likewise.
16926
707f25df
AS
169272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16928
16929 [BZ #13524]
16930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16931 numerator after shifting it by one limb.
16932
d2daaa1e
RÁE
169332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16934
16935 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16936 under [__USE_EXTERN_INLINES].
16937
a4647e72
UD
169382011-12-17 Ulrich Drepper <drepper@gmail.com>
16939
16940 [BZ #13446]
16941 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16942
f0b264f1
AZ
169432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16944
16945 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16946 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16947 optimized code.
16948 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16950 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16951 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16952 for strncasecmp/strncasecmp_l compilation.
16953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16954 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16955
8ef4f244
MP
169562011-12-08 Marek Polacek <mpolacek@redhat.com>
16957
16958 [BZ #13484]
16959 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16960 of __asm__.
16961
97ac2654
UD
169622011-12-17 Ulrich Drepper <drepper@gmail.com>
16963
16964 [BZ #13506]
16965 * time/tzfile.c (__tzfile_read): Check values from file header.
16966
91d2a845
WS
169672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16968
16969 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16970 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16971 * powerpc/powerpc32/dl-start.S: Likewise.
16972 * powerpc/powerpc32/elf/start.S: Likewise.
16973 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16974 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16975 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16976 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16977 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16978 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16979 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16980 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16981 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16982 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16983 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16984 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16985 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16986 * powerpc/powerpc32/memset.S: Likewise.
16987 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16988 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16989 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16990 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16991 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16992 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16993 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16994 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16995 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16996 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16997 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16998 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16999 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17000
a1267ba1
AZ
170012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17002
17003 * math/libm-test.inc: Added more nearbyint tests.
17004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17008
ad8ac1bd
RL
170092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17010
17011 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17012 FD_CLOEXEC.
17013
1d3e4b61
UD
170142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17015
17016 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17017 Add wcscpy-ssse3 wcscpy-c.
17018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17019 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17020 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17021 * sysdeps/x86_64/wcschr.S: New file.
17022 * sysdeps/x86_64/wcsrchr.S: New file.
17023 * string/test-strcmp.c: Remove checking of wcscmp function for
17024 wrong alignments.
17025 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17026 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17027 wcsrchr-sse2 wcsrchr-c.
17028 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17029 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17030 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17031 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17032 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17033 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17034 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17035 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17037 * wcsmbc/wcschr.c (WCSCHR): New macro.
17038
5b330a2d
UD
170392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17040
17041 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17042 * wcsmbs/test-wcsrchr.c: New file.
17043 * string/test-strrchr.c: Add wcsrchr support.
17044 (WIDE): New macro.
17045 * wcsmbs/test-wcscpy.c: New file.
17046 * string/test-strcpy.c: Add wcscpy support.
17047 (WIDE): New macro.
26428b7c 17048
f039c043
UD
170492011-12-10 Ulrich Drepper <drepper@gmail.com>
17050
17051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17052 the inner loop.
17053
850fb039
AS
170542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17055
17056 [BZ #13472]
17057 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17058
4efbd5cb
UD
170592011-12-04 Ulrich Drepper <drepper@gmail.com>
17060
52ff5dd0 17061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17062 Minor optimizations.
52ff5dd0 17063
4efbd5cb
UD
17064 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17065 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17066 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17067
8a426e12
UD
170682011-12-03 Ulrich Drepper <drepper@gmail.com>
17069
aff2453d
UD
17070 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17071 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17072 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17073 for gcc to avoid warnings.
17074 * inet/Makefile (tests): Add tst-checks.
17075 * inet/tst-checks.c: New file.
17076
17077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17078 warning.
17079
17080 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17081 __wmemcmp_sse2.
17082
17083 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17084 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17085
8a426e12
UD
17086 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17087
9bea3473
UD
170882011-12-02 Ulrich Drepper <drepper@gmail.com>
17089
3a965496
UD
17090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17091 problem.
17092
9bea3473
UD
17093 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17094
f101631b
UD
170952011-11-29 Joseph Myers <joseph@codesourcery.com>
17096
17097 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17098 conditional on GCC version.
17099 (__arch_compare_and_exchange_val_8_acq)
17100 (__arch_compare_and_exchange_val_16_acq)
17101 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17102 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17103 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17104
a98275aa
UD
171052011-12-02 Joseph Myers <joseph@codesourcery.com>
17106
17107 * sysdeps/sh/backtrace.c: New file.
17108
d4cc29a2
AS
171092011-12-02 Andreas Schwab <schwab@redhat.com>
17110
17111 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17112 parenthesis.
17113
6257af2d
AS
171142011-12-01 Andreas Schwab <schwab@redhat.com>
17115
17116 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17117 falling back to utime.
17118
b5f44c1a
AS
171192011-11-30 Andreas Schwab <schwab@redhat.com>
17120
17121 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17122 expectations for float.
17123
f3a6cc0a
AS
171242011-11-29 Andreas Schwab <schwab@redhat.com>
17125
17126 * locale/weight.h (findidx): Add parameter len.
17127 * locale/weightwc.h (findidx): Likewise.
17128 * posix/fnmatch_loop.c (FCT): Adjust caller.
17129 * posix/regcomp.c (build_equiv_class): Likewise.
17130 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17131 * posix/regexec.c (check_node_accept_bytes): Likewise.
17132 * string/strcoll_l.c (STRCOLL): Likewise.
17133 * string/strxfrm_l.c (STRXFRM): Likewise.
17134
9d65ea3a
UD
171352011-11-17 Ulrich Drepper <drepper@gmail.com>
17136
17137 * Makefile.in: Remove CVSOPT handling.
17138 * configure.in: Remove use of AC_REVISION.
17139 * iconvdata/Makefile (distribute): No need to filter out CVS.
17140 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17141 handling.
17142
5583a086
AS
171432011-11-16 Andreas Schwab <schwab@redhat.com>
17144
17145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17146 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17147 [USE_AS_STRNCASECMP_L]: Likewise.
17148 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17149 NO_TLS_DIRECT_SEG_REFS.
17150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17151 Fix argument offsets for non-PIC.
17152 [USE_AS_STRNCASECMP_L]: Likewise.
17153 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17154 NO_TLS_DIRECT_SEG_REFS.
17155
d62a8200
UD
171562011-11-15 Ulrich Drepper <drepper@gmail.com>
17157
9d65ea3a 17158 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17159 O_CLOEXEC.
17160 * locale/loadlocale.c (_nl_load_locale): Likewise.
17161
09f93bd3
AS
171622011-11-15 Andreas Schwab <schwab@redhat.com>
17163
446514f9
AS
17164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17165 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17167 (SYSCALL_GETTIME): Set errno on error.
17168
09f93bd3
AS
17169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17170 count references to noai6ai_cached.
17171
312be3f9
UD
171722011-11-15 Ulrich Drepper <drepper@gmail.com>
17173
17174 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17175
17176 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17177 FD_CLOEXEC for /proc/self/maps.
17178
17179 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17180 FD_CLOEXEC for /proc/meminfo.
17181
17182 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17183 gai.conf.
17184
17185 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17186 FD_CLOEXEC for given file.
17187
17188 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17189
17190 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17191 FD_CLOEXEC for /etc/hosts.
17192 (_gethtent): Likewise.
17193
17194 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17195
17196 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17197 cancellation and set FD_CLOEXEC for /etc/netgroup.
17198
17199 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17200 reading /etc/publickey.
17201
17202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17203 allow cancellation when reading /etc/group.
17204
17205 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17206 cancellation.
17207 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17208
17209 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17210 when using data file.
17211
17212 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17213
17214 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17215 (write_nis_obj): Use "c" and "e" in fopen.
17216
17217 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17218
17219 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17220
17221 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17222
17223 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17224
17225 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17226 locale.alias.
17227
17228 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17229
17230 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17231
17232 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17233
17234 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17235 file parsing and set FD_CLOEXEC.
17236
82af0fa8
UD
172372011-11-14 Ulrich Drepper <drepper@gmail.com>
17238
17239 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17240
a5fb313c
AS
172412011-11-14 Andreas Schwab <schwab@redhat.com>
17242
17243 * malloc/arena.c (arena_get2): Don't call reused_arena when
17244 _int_new_arena failed.
17245
6abf3465
UD
172462011-11-14 Ulrich Drepper <drepper@gmail.com>
17247
17248 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17249 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17254 to compile strcasecmp and strncasecmp.
17255 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17256 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17257
17258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17259
76e3966e
UD
172602011-11-13 Ulrich Drepper <drepper@gmail.com>
17261
17262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17263 locale-defines.sym to gen-as-const-headers.
17264 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17265 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17267 to compile strcasecmp and strncasecmp.
17268 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17269 strcasecmp_l and strncasecmp_l.
17270 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17271 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17272 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17273 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17274 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17276 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17277 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17278 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17279 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17280 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17281
ab26144e
UD
172822011-11-12 Ulrich Drepper <drepper@gmail.com>
17283
7edb22ef
UD
17284 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17285 result of SYSDEP_GETTIME_CPU to retval.
17286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17287 parameter list to macro. Remove trailing semicolon. Adjust users.
17288
9694fc44
UD
17289 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17290 variable.
17291
8ad89ef8
UD
17292 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17293 mantissa words.
17294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17295
0c822ef9
UD
17296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17297 from unused variable.
17298
874e0564
UD
17299 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17300 DWARF definitions.
17301 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17302 for assembling.
17303
3a2edc79
UD
17304 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17305 over namespaces.
17306
f3c2577f
UD
17307 * sunrpc/rpc_prot.c (rejected): Fix case value.
17308
294ce126
UD
17309 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17310 unsigned long long int to avoid warnings in shift.
17311
5e2b63c6
UD
17312 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17313 of use of trans.
17314 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17315 variable tmp.
17316
e7f4b08e
UD
17317 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17318 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17320
ab26144e
UD
17321 * nis/nis_table.c (nis_list): Use variable of correct type for
17322 result of __follow_path call.
17323
8a6d5255
AZ
173242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17325
17326 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17327 of math functions ceil, trunc, floor, round, and sqrt, when
17328 avaliable on the platform.
17329 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17330 name clash.
17331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17334
aaddc98c
MP
173352011-10-30 Marek Polacek <mpolacek@redhat.com>
17336
17337 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17339
95b7042b
RM
173402011-11-11 Roland McGrath <roland@hack.frob.com>
17341
17342 * include/unistd.h: Fix __readlink return type.
17343 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17344
57769839
UD
173452011-11-11 Ulrich Drepper <drepper@gmail.com>
17346
17347 * stdlib/ucontext.h: Undo last change for makecontext.
17348
edc5984d
AS
173492011-11-11 Andreas Schwab <schwab@redhat.com>
17350
98591e58
AS
17351 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17352
edc5984d
AS
17353 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17354 * setjmp/setjmp.h: Mark functions as non-leaf.
17355 * setjmp/bits/setjmp2.h: Likewise.
17356 * stdlib/ucontext.h: Likewise.
17357
77cdc054
AS
173582011-11-10 Andreas Schwab <schwab@redhat.com>
17359
17360 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17361 (reused_arena): Don't check arena limit.
17362 (arena_get2): Atomically check arena limit.
17363
fe72eebd
UD
173642011-11-08 Ulrich Drepper <drepper@gmail.com>
17365
5f078c32
UD
17366 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17367 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17368
fe72eebd
UD
17369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17370 instructions.
17371
ae1bc2fa
AS
173722011-11-07 Andreas Schwab <schwab@redhat.com>
17373
7583a88d
AS
17374 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17375 handler when locking.
17376
ae1bc2fa
AS
17377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17378 Fix size of allocated buffer.
17379
10fb0bfa
AS
173802011-11-04 Andreas Schwab <schwab@redhat.com>
17381
998832a4
AS
17382 [BZ #10103]
17383 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17384 declarations for long double functions.
17385 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17386
10fb0bfa
AS
17387 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17388
3d7ba52b
AS
173892011-11-03 Andreas Schwab <schwab@redhat.com>
17390
a9ae54a1
AS
17391 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17392 installed.
17393
3d7ba52b
AS
17394 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17395 is disabled.
17396
bc8db248
ST
173972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17398
17399 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17400
45b96dd6
AS
174012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17402
647776f6
AS
17403 * include/alloca.h (stackinfo_alloca_round): Define.
17404 (extend_alloca): Use it.
17405 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17406 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17407 here.
17408
d91a8b93
AS
17409 * scripts/check-local-headers.sh: Ignore libaudit.h.
17410
45b96dd6
AS
17411 * nscd/Makefile (extra-objs): Make recursively expanded.
17412
432d41ce
UD
174132011-11-01 Ulrich Drepper <drepper@gmail.com>
17414
34372fc6
UD
17415 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17417
fadb59f8
UD
17418 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17419 * posix/tst-rfc3484-2.c: Likewise.
17420 * posix/tst-rfc3484-3.c: Likewise.
17421
78239589
UD
17422 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17423 process_vm_writev.
17424 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17425 process_vm_writev.
17426 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17427 process_vm_writev from libc using GLIBC_2.15 version.
17428
432d41ce
UD
17429 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17430
02f9c6cf
PP
174312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17432
17433 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17434 stack usage.
17435
3a2c0242
UD
174362011-10-31 Ulrich Drepper <drepper@gmail.com>
17437
f4ec4833
UD
17438 [BZ #13367]
17439 * nss/getent.c (initgroups_keys): Show error message in case no group
17440 names are given.
17441
3a2c0242
UD
17442 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17443 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17444 __bump_nl_timestamp.
17445 * nscd/connections (nscd_init): When host database is served open
17446 netlink socket and request notification about configuration changes.
17447 (main_loop_poll): Track netlink file descriptor and bump timestamp
17448 in case data becomes available.
17449 (main_loop_epoll): Likewise.
17450 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17451 (database_pers_head): Add extra_data fileds.
17452 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17454 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17455 Adjust caller.
17456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17457 in6ai data, call __free_in6ai.
17458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17459 Add -DHAVE_NETLINK.
17460 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17461 interface information. Reuse previous data if netlink timestamp
17462 is not changed.
17463 (__bump_nl_timestamp): New function.
17464 (__free_in6ai): New function.
17465
636064eb
UD
174662011-10-30 Ulrich Drepper <drepper@gmail.com>
17467
17468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17469 close_not_cancel_no_status here.
17470 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17471
9beb2334
UD
174722011-10-29 Ulrich Drepper <drepper@gmail.com>
17473
6ef76f3b
UD
17474 [BZ #13276]
17475 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17476 return value.
17477
0ffc4f3e 17478 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17479 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17480 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17481
cb95113e
UD
174822011-07-03 Andreas Jaeger <aj@suse.de>
17483
17484 [BZ #10709]
17485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17486 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17487 * math/libm-test.inc (sin_test): Add test case.
17488
a1b560ff
UD
174892011-10-29 Ulrich Drepper <drepper@gmail.com>
17490
c9aaface
UD
17491 [BZ #13337]
17492 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17493 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17494
d272e7f1
UD
17495 * elf/chroot_canon.c (chroot_canon): Cleanups.
17496
1bc33071
UD
17497 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17498
1760874d
TJ
17499 [BZ #13335]
17500 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17501 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17502
51d91b18
UD
17503 * string/test-strchr.c: Make usable for strchrnul testing.
17504 * string/test-strchrnul.c: New file.
17505 * string/Makefile (strop-tests): Add strchrnul.
17506
a1b560ff 17507 * po/it.po: Update from translation team.
b611fb81 17508 * po/es.po: Likewise.
a1b560ff 17509
a5b81e1f
UD
175102011-10-28 Ulrich Drepper <drepper@gmail.com>
17511
fd52bc6d
UD
17512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17513 the three constants needed as parameters. Drop the others.
17514 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17515 __m128i_strloadu_tolower.
52e4b9eb
UD
17516 Create and initialize variable zero and use it in all the places
17517 where _mm_setzero_si128 was used.
fd52bc6d 17518
a5b81e1f
UD
17519 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17520 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17521 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17523 anymore.
17524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17525 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17526 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17527 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17528 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17529 __mpranred, __mptan.
17530 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17531 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17532 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17533 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17534 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17535 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17537 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17539
b4343346
AS
175402011-10-28 Andreas Schwab <schwab@redhat.com>
17541
0c92d8a8
AS
17542 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17543 redefine if SHARED.
17544 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17545
b4343346
AS
17546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17547 wide char related routines to wcsmbs subdir.
17548
3871f58f
AS
175492011-10-27 Andreas Schwab <schwab@redhat.com>
17550
17551 [BZ #13344]
17552 * misc/sys/cdefs.h (__THROWNL): Define.
17553 * posix/unistd.h: Use __THREADNL instead of __THREAD
17554 for memory synchronization functions.
17555
94d44d9f
RM
175562011-10-26 Roland McGrath <roland@hack.frob.com>
17557
21b64b15 17558 [BZ #13349]
94d44d9f
RM
17559 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17560 doesn't exist.
17561 * manual/stdio.texi (Obstack Streams): Node removed.
17562
f6ce9294
AS
175632011-10-26 Andreas Schwab <schwab@redhat.com>
17564
80479147
AS
17565 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17568
f6ce9294
AS
17569 * math/math_private.h (math_force_eval): Allow non-addressable
17570 arguments.
17571 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17572
618280a1
UD
175732011-10-25 Ulrich Drepper <drepper@gmail.com>
17574
e0016b11
UD
17575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17576 file is not needed.
17577
17578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17586 Add AVX variants.
17587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17591 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17592 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17593 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17595 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17596 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17597 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17598 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17602 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17605 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17606
17607 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17608 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17609
618280a1
UD
17610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17611 place. Use VEX encoding when compiling for AVX.
17612
37822576
AS
176132011-10-25 Andreas Schwab <schwab@redhat.com>
17614
1f1e1947
AS
17615 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17616 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17617
37822576
AS
17618 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17619
31ea014d
UD
176202011-10-25 Ulrich Drepper <drepper@gmail.com>
17621
d7826aa1 17622 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17623 useless if() expression.
d7826aa1
UD
17624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17638 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17643
31ea014d
UD
17644 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17645
16437fec
AS
176462011-10-25 Andreas Schwab <schwab@redhat.com>
17647
17648 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17649 condition.
17650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17651
31d3cc00
UD
176522011-10-25 Ulrich Drepper <drepper@gmail.com>
17653
17654 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17655 .text section. Avoid duplicate constants.
17656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17667 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17668 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17670 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17672 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17673 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17676 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17677 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17683 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17689 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17690 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17691 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17692 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17694 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17695 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17696 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17701
58985aa9
UD
177022011-10-24 Ulrich Drepper <drepper@gmail.com>
17703
202c9deb
UD
17704 * sysdeps/x86_64/dla.h: Move to ...
17705 * sysdeps/x86_64/fpu/dla.h: ...here.
17706 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17707 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17708
af968f62
UD
17709 * config.make.in: Add have-mfma4 entry.
17710 * configure.in: Substitute libc_cv_cc_fma4.
17711 * math/Makefile (dbl-only-routines): Add sincostab.
17712 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17713 Use __sincostab not sincos.
17714 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17715 name is a macro.
17716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17720 using __copysign.
17721 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17722 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17723 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17724 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17725 and __inv.
17726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17727 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17728 __copysign.
17729 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17730 define aliases when function name is a macro.
17731 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17732 sysdeps/ieee754/dbl-64/sincos.tbl.
17733 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17734 fma4-enabled routines.
17735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17745 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17747 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17750 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17751 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17752 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17753 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17755 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17756 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17762 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17765
58985aa9
UD
17766 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17767 rename.
17768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17776
a201fbcf
AS
177772011-10-24 Andreas Schwab <schwab@redhat.com>
17778
17779 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17780
fc2ee42a
LD
177812011-10-23 Ulrich Drepper <drepper@gmail.com>
17782
bb3129bd
UD
17783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17784
0275fff8
UD
17785 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17786 prediction.
17787 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17788
2fa2ae85
UD
17789 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17790 Remove unused variable magic_bits.
17791 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17792
fc2ee42a
LD
17793 * string/strnlen.c: Define and use STRNLEN macro.
17794 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17795 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17797 * wcsmbs/wcslen.c: Define and use WCSLEN.
17798 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17799 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17800 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17801 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17803 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17804 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17805
ce7dd29f
LD
178062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17807
17808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17809 strnlen-sse2-no-bsf.
17810 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17812 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17813 Add strnlen support.
17814 (USE_AS_STRNLEN): New macro.
17815 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17817 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17818 * sysdeps/x86_64/wcslen.S: New file.
17819
979c70a3
MZ
178202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17821
17822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17823 XMM-moves are used for copying on small sizes.
17824
2d09f82f
LD
178252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17826
17827 * wcsmbs/Makefile (strop-tests): Add wcschr.
17828 * wcsmbs/test-wcschr.c: New file.
17829 * string/test-strchr.c: Update.
17830 Add wcschr support.
17831 (WIDE): New macro.
17832
619fccca
LD
178332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17834
2d09f82f 17835 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17836 * wcsmbs/test-wcslen.c: New file.
17837 * string/test-strlen.c: Update.
17838 Add wcslen support.
17839 (WIDE): New macro.
17840
09f699ea
UD
178412011-10-23 Ulrich Drepper <drepper@gmail.com>
17842
17843 * po/it.po: Update from translation team.
17844
95584d3b
LD
178452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17846
17847 * sysdeps/x86_64/wcscmp.S: Update.
17848 Fix wrong comparison semantics.
17849 wcscmp shall use signed comparison not unsigned.
17850 Don't use substraction to avoid overflow bug.
17851 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17852 * wcsmbc/wcscmp.c: Likewise.
17853 * string/test-strcmp.c: Likewise.
17854 Add new tests to check cases with negative values.
17855
c8b3296b
UD
178562011-10-23 Ulrich Drepper <drepper@gmail.com>
17857
17858 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17859 * sysdeps/x86_64/dla.h: ...here. New file.
17860 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17869
246ad57a
AS
178702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17871
17872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17873 __ynl_finite aliases.
17874
a1a87169
UD
178752011-10-22 Ulrich Drepper <drepper@gmail.com>
17876
0d355eb7
UD
17877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17878
a1a87169
UD
17879 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17880 define DLA_FMA.
17881 [DLA_FMA] (EMULV): Use DLA_FMA.
17882 [DLA_FMA] (MUL12): Use EMULV.
17883 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17884 that are not needed.
17885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17892
ee2aafe0
AS
178932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17894
17895 * math/s_nan.c: Undef __nan.
17896 * math/s_nanf.c: Undef __nanf.
17897 * math/s_nanl.c: Undef __nanl.
17898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17899 "math_private.h".
17900
bc62c2fb
UD
179012011-10-22 Ulrich Drepper <drepper@gmail.com>
17902
77425c63
UD
17903 * math/s_catan.c: Add branch predictions.
17904 * math/s_catanf.c: Likewise.
17905 * math/s_catanh.c: Likewise.
17906 * math/s_catanhf.c: Likewise.
17907 * math/s_catanhl.c: Likewise.
17908 * math/s_catanl.c: Likewise.
17909 * math/s_cexp.c: Likewise.
17910 * math/s_cexpf.c: Likewise.
17911 * math/s_cexpl.c: Likewise.
17912 * math/s_clog.c: Likewise.
17913 * math/s_clog10.c: Likewise.
17914 * math/s_clog10f.c: Likewise.
17915 * math/s_clog10l.c: Likewise.
17916 * math/s_clogf.c: Likewise.
17917 * math/s_clogl.c: Likewise.
17918 * math/s_csqrt.c: Likewise.
17919 * math/s_csqrtf.c: Likewise.
17920 * math/s_csqrtl.c: Likewise.
17921 * math/s_ctanf.c: Likewise.
17922 * math/s_ctanh.c: Likewise.
17923 * math/s_ctanhf.c: Likewise.
17924 * math/s_ctanhl.c: Likewise.
17925 * math/s_ctanl.c: Likewise.
17926
bc62c2fb
UD
17927 * math/math_private.h: Define __nan, __nanf, __nanl.
17928 * math/s_cacosh.c: Include <math_private.h>.
17929 * math/s_cacoshl.c: Likewise.
17930 * math/s_casinh.c: Likewise.
17931 * math/s_casinhf.c: Likewise.
17932 * math/s_casinhl.c: Likewise.
17933 * math/s_ccos.c: Rely entire on ccosh.
17934 * math/s_ccosf.c: Rely entire on ccoshf.
17935 * math/s_ccosl.c: Rely entirely on ccoshl.
17936 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17937 Remove tests for FE_INVALID.
17938 * math/s_ccoshf.c: Likewise.
17939 * math/s_ccoshl.c: Likewise.
17940 * math/s_csin.c: Likewise.
17941 * math/s_csinf.c: Likewise.
17942 * math/s_csinh.c Likewise.
17943 * math/s_csinhf.c: Likewise.
17944 * math/s_csinhl.c: Likewise.
17945 * math/s_csinl.c: Likewise.
17946 * math/s_ctan.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17948 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17949 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17950
8ec250a4
UD
179512011-10-21 Ulrich Drepper <drepper@gmail.com>
17952
c196fed8
UD
17953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17954 compilation problems.
17955
8ec250a4
UD
17956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17957 __builtin_expect.
17958
8d4f46c6
UD
179592011-10-20 Ulrich Drepper <drepper@gmail.com>
17960
ed72b654
UD
17961 * sysdeps/i386/configure.in: Test for -mfma4 option.
17962 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17963 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17964 COMMON_CPUID_INDEX_80000001.
17965 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17966 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17967 use it if FMA3 is not supported.
17968 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17969
8d4f46c6
UD
17970 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17971 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17972
d45c60c2
AS
179732011-10-20 Andreas Schwab <schwab@redhat.com>
17974
17975 [BZ #12892]
17976 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17977 it would create a cycle with a link time dependency.
17978
d9a4d2ab
UD
179792011-10-19 Ulrich Drepper <drepper@gmail.com>
17980
855d1560
UD
17981 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17982 instruction.
17983 * string/Makefile (strop-tests): Add rawmemchr.
17984 * string/test-rawmemchr.c: New file.
17985
d9a4d2ab
UD
17986 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17988 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17989 when compiling str{,n}casecmp and when AVX is available. Hook up
17990 new optimized code in initializers.
17991
8f3b1ffe
AS
179922011-10-19 Andreas Schwab <schwab@redhat.com>
17993
17994 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17995 __feraiseexcept instead of feraiseexcept.
17996
d38f1dba
UD
179972011-10-18 Ulrich Drepper <drepper@gmail.com>
17998
d9a8d0ab
UD
17999 * math/math_private.h: Define defaults for libc_fetestexcept and
18000 libc_feupdateenv.
18001 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18002 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18005 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18006 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18007 libc_fetestexcept and libc_feupdateenv.
18008
4855e3dd
UD
18009 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18010 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18011 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18012 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18013 libc_feholdexcept_setround.
18014
581d30e3
UD
18015 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18016 Add s_nearbyint-c and s_nearbyintf-c.
18017 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18018 nearbyintf inlines.
18019 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18023
d38f1dba
UD
18024 * math/math_private.h: Define defaults for libc_fegetround,
18025 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18026 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18027 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18029 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18030 standard functions.
18031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18032 Remove comments and hacks for old compiler versions.
18033 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18034 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18035 libc_feholdexceptl.
18036
caa6c9d8
AS
180372011-10-18 Andreas Schwab <schwab@redhat.com>
18038
18039 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18040 (__feraiseexcept_renamed): Add __NTH.
18041 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18042 namespace violations.
18043
97c066e6
UD
180442011-10-17 Ulrich Drepper <drepper@gmail.com>
18045
99ce7b04
UD
18046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18047
1004d182
UD
18048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18049
228a984d
UD
18050 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18051 recently added interfaces.
18052 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18053
c8553a6a
UD
18054 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18055 about macro parameter expansion.
18056
ed22dcf6
UD
18057 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18058 __NO_MATH_INLINES is defined. Cleanups.
18059
18060 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18061 and __floorf is target has SSE4.1.
18062 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18063 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18066
b171c137
UD
18067 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18068 name.
18069 (floorf): Likewise.
18070
97c066e6
UD
18071 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18072
629f62ef
AS
180732011-10-17 Andreas Schwab <schwab@redhat.com>
18074
49a43d80
AS
18075 * misc/sys/cdefs.h: Fix last change.
18076
629f62ef
AS
18077 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18078 database lookup.
18079
e453f6cd
UD
180802011-10-16 Ulrich Drepper <drepper@gmail.com>
18081
aa78043a
UD
18082 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18083
ad0f5cad
UD
18084 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18093 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18094 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18095 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18096 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18097 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18099 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18101 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18103 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18105 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18106
18107 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18108 ceil, ceilf, floor, floorf.
18109
18110 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18111 Perform IRELATIVE relocations last.
18112
e453f6cd
UD
18113 * elf/do-rel.h: Add another parameter nrelative, replacing the
18114 local variable with the same name. Change name of the function
18115 to end in Rel or Rela (uppercase).
18116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18117 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18118 elf_dynamic_do_##reloc function.
18119
fd5bdc09
UD
181202011-10-15 Ulrich Drepper <drepper@gmail.com>
18121
79b195b5
UD
18122 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18123 is sufficient, at least on modern CPUs.
18124
d4a28569
UD
18125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18126
b61099b5
UD
18127 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18129
bcf01e6d
UD
18130 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18131 __expl_finite.
18132 * math/bits/math-finite.h: Add entries for exp.
18133 * math/e_expl.c: Add __*_finite alias.
18134 * sysdeps/i386/fpu/e_exp.S: Likewise.
18135 * sysdeps/i386/fpu/e_expf.S: Likewise.
18136 * sysdeps/i386/fpu/e_expl.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18142 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18143 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18144
ba1a0d59
UD
18145 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18146 is sufficient, at least on modern CPUs.
18147
fd5bdc09
UD
18148 * ctype/ctype-info.c (__ctype_init): Define.
18149 * include/ctype.h (__ctype_init): Declare.
18150 (__ctype_b_loc): The variable is always initialized.
18151 (__ctype_toupper_loc): Likewise.
18152 (__ctype_tolower_loc): Likewise.
18153 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18154 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18155
7872cfb0
AS
181562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18157
b468825a
AS
18158 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18159
7872cfb0
AS
18160 * configure.in: Also look in $cxxmachine/include for C++ system
18161 headers.
18162
be13f7bf
LD
181632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18164
18165 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18166 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18167 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18168 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18170 (USE_AS_WMEMCMP): New macro.
18171 Fixing indents.
18172 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18173 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18174 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18175 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18177 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18178 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18179 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18180 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18181 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18183 (USE_AS_WMEMCMP): New macro.
18184 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18185 * sysdeps/string/test-memcmp.c: Update.
18186 Fix simple_wmemcmp.
18187 Add new tests.
18188 * wcsmbs/wmemcmp.c: Update.
18189 (WMEMCMP): New macro.
18190 Fix overflow bug.
18191
556a2007
AJ
181922011-10-12 Andreas Jaeger <aj@suse.de>
18193
18194 [BZ #13268]
18195 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18196
538faaa7
UD
181972011-10-15 Ulrich Drepper <drepper@gmail.com>
18198
ab6737ff
UD
18199 * libio/iofwide.c (do_length): Avoid warning.
18200
538faaa7
UD
18201 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18202
396a21b1
UD
182032011-10-14 Ulrich Drepper <drepper@gmail.com>
18204
cdf2901f
UD
18205 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18206
38ad40ce
UD
18207 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18208 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18209 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18210 * sysdeps/i386/i686/fpu/e_log.S: New file.
18211 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18212 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18213
396a21b1
UD
18214 * ctype/ctype.h: Add support for inlined isXXX functions when
18215 compiling C++ code.
18216
6b1f68c9
AS
182172011-10-14 Andreas Schwab <schwab@redhat.com>
18218
349290c0
AS
18219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18220
6b1f68c9
AS
18221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18222
f2282d42
RM
182232011-10-13 Roland McGrath <roland@hack.frob.com>
18224
18225 [BZ #13291]
18226 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18227
5298ffa8
AS
182282011-10-13 Andreas Schwab <schwab@redhat.com>
18229
714fad23
AS
18230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18231 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18232 feraiseexcept.
18233
81dcc7fb
AS
18234 * sysdeps/x86_64/memrchr.S: Check for zero size.
18235
5298ffa8
AS
18236 * string/stratcliff.c: Add memrchr tests.
18237
951fbcec
LD
182382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18239
18240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18241 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18242 rawmemchr-sse2 rawmemchr-sse2-bsf.
18243 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18244 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18245 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18246 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18247 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18248 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18249 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18250 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18251 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18253 * string/memrchr.c (MEMRCHR): New macro.
18254
0ac5ae23
UD
182552011-10-12 Ulrich Drepper <drepper@gmail.com>
18256
18257 Add integration with gcc's -ffinite-math-only and optimize wrapper
18258 functions in libm.
18259 * Versions.def: Define GLIBC_2.15 version for libm.
18260 * math/Makefile (headers): Add bits/math-finite.h.
18261 * math/bits/math-finite.h: New file.
18262 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18263 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18264 * math/e_acoshl.c: Add __*_finite alias.
18265 * math/e_acosl.c: Likewise.
18266 * math/e_asinl.c: Likewise.
18267 * math/e_atan2l.c: Likewise.
18268 * math/e_atanhl.c: Likewise.
18269 * math/e_coshl.c: Likewise.
18270 * math/e_exp10.c: Likewise.
18271 * math/e_exp10f.c: Likewise.
18272 * math/e_exp10l.c: Likewise.
18273 * math/e_exp2l.c: Likewise.
18274 * math/e_fmodl.c: Likewise.
18275 * math/e_gammal_r.c: Likewise.
18276 * math/e_hypotl.c: Likewise.
18277 * math/e_j0l.c: Likewise.
18278 * math/e_j1l.c: Likewise.
18279 * math/e_jnl.c: Likewise.
18280 * math/e_lgammal_r.c: Likewise.
18281 * math/e_log10l.c: Likewise.
18282 * math/e_log2l.c: Likewise.
18283 * math/e_logl.c: Likewise.
18284 * math/e_powl.c: Likewise.
18285 * math/e_sinhl.c: Likewise.
18286 * math/e_sqrtl.c: Likewise.
18287 * math/e_scalb.c: Completely rewritten and optimized.
18288 * math/e_scalbf.c: Likewise.
18289 * math/e_scalbl.c: Likewise.
18290 * math/w_acos.c: Likewise.
18291 * math/w_acosf.c: Likewise.
18292 * math/w_acosl.c: Likewise.
18293 * math/w_acosh.c: Likewise.
18294 * math/w_acoshf.c: Likewise.
18295 * math/w_acoshl.c: Likewise.
18296 * math/w_asin.c: Likewise.
18297 * math/w_asinf.c: Likewise.
18298 * math/w_asinl.c: Likewise.
18299 * math/w_atan2.c: Likewise.
18300 * math/w_atan2f.c: Likewise.
18301 * math/w_atan2l.c: Likewise.
18302 * math/w_atanh.c: Likewise.
18303 * math/w_atanhf.c: Likewise.
18304 * math/w_atanhl.c: Likewise.
18305 * math/w_exp10.c: Likewise.
18306 * math/w_exp10f.c: Likewise.
18307 * math/w_exp10l.c: Likewise.
18308 * math/w_fmod.c: Likewise.
18309 * math/w_fmodf.c: Likewise.
18310 * math/w_fmodl.c: Likewise.
18311 * math/w_j0.c: Likewise.
18312 * math/w_j0f.c: Likewise.
18313 * math/w_j0l.c: Likewise.
18314 * math/w_j1.c: Likewise.
18315 * math/w_j1f.c: Likewise.
18316 * math/w_j1l.c: Likewise.
18317 * math/w_jn.c: Likewise.
18318 * math/w_jnf.c: Likewise.
18319 * math/w_log.c: Likewise.
18320 * math/w_logf.c: Likewise.
18321 * math/w_logl.c: Likewise.
18322 * math/w_log10.c: Likewise.
18323 * math/w_log10f.c: Likewise.
18324 * math/w_log10l.c: Likewise.
18325 * math/w_log2.c: Likewise.
18326 * math/w_log2f.c: Likewise.
18327 * math/w_log2l.c: Likewise.
18328 * math/w_pow.c: Likewise.
18329 * math/w_powf.c: Likewise.
18330 * math/w_powl.c: Likewise.
18331 * math/w_remainder.c: Likewise.
18332 * math/w_remainderf.c: Likewise.
18333 * math/w_remainderl.c: Likewise.
18334 * math/w_scalb.c: Likewise.
18335 * math/w_scalbf.c: Likewise.
18336 * math/w_scalbl.c: Likewise.
18337 * math/w_sqrt.c: Likewise.
18338 * math/w_sqrtf.c: Likewise.
18339 * math/w_sqrtl.c: Likewise.
18340 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18341 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18342 used.
18343 * math/math_private.h: Declare __kernel_standard_f.
18344 * math/w_cosh.c: Remove cruft and optimize a bit.
18345 * math/w_coshf.c: Likewise.
18346 * math/w_coshl.c: Likewise.
18347 * math/w_exp2.c: Likewise.
18348 * math/w_exp2f.c: Likewise.
18349 * math/w_exp2l.c: Likewise.
18350 * math/w_hypot.c: Likewise.
18351 * math/w_hypotf.c: Likewise.
18352 * math/w_hypotl.c: Likewise.
18353 * math/w_lgamma.c: Likewise.
18354 * math/w_lgamma_r.c: Likewise.
18355 * math/w_lgammaf.c: Likewise.
18356 * math/w_lgammaf_r.c: Likewise.
18357 * math/w_lgammal.c: Likewise.
18358 * math/w_lgammal_r.c: Likewise.
18359 * math/w_sinh.c: Likewise.
18360 * math/w_sinhf.c: Likewise.
18361 * math/w_sinhl.c: Likewise.
18362 * math/w_tgamma.c: Likewise.
18363 * math/w_tgammaf.c: Likewise.
18364 * math/w_tgammal.c: Likewise.
18365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18367 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18368 Minor optimizations. Pretty printing. Remove cruft.
18369 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18373 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18374 * sysdeps/i386/fpu/e_asin.S: Likewise.
18375 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18376 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18377 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18378 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18379 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18382 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18383 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18384 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18385 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18386 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18387 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18388 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18389 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18390 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18391 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18392 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18393 * sysdeps/i386/fpu/e_log.S: Likewise.
18394 * sysdeps/i386/fpu/e_log10.S: Likewise.
18395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18397 * sysdeps/i386/fpu/e_log2.S: Likewise.
18398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18400 * sysdeps/i386/fpu/e_logf.S: Likewise.
18401 * sysdeps/i386/fpu/e_logl.S: Likewise.
18402 * sysdeps/i386/fpu/e_pow.S: Likewise.
18403 * sysdeps/i386/fpu/e_powf.S: Likewise.
18404 * sysdeps/i386/fpu/e_powl.S: Likewise.
18405 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18406 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18407 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18411 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18412 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18413 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18414 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18435 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18436 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18437 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18438 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18439 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18440 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18441 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18442 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18452 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18453 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18454 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18455 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18456 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18458 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18459 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18461 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18462 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18464 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18466 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18469 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18470 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18471 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18472 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18473 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18479 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18480 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18484 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18489 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18490 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18491 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18492 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18494 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18495 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18505 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18507 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18511 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18512 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18513 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18514 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18515 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18516 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18517 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18522 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18524 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18525 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18526 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18527 (__isnanf): Likewise.
18528 (__isinf_ns): Likewise.
18529 (__isinf_nsf): Likewise.
18530 (__finite): Likewise.
18531 (__finitef): Likewise.
18532 (__ieee754_sqrt): Define as macro.
18533 (__ieee754_sqrtf): Define as macro.
18534 (__ieee754_sqrtl): Define as macro.
18535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18536 inlined copy.
18537 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18538 __FINITE_MATH_ONLY__ consistent.
18539 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18540
12cc2fcd
AS
185412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18542
a843a204
AS
18543 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18544 of rawmemchr.
18545
12cc2fcd
AS
18546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18547
c853acd5
UD
185482011-10-09 Ulrich Drepper <drepper@gmail.com>
18549
18550 * po/ja.po: Update from translation team.
18551
c658d255
RM
185522011-10-08 Roland McGrath <roland@hack.frob.com>
18553
110946e4
RM
18554 * locale/programs/locarchive.c (prepare_address_space): New function.
18555 (create_archive, enlarge_archive, open_archive): Use it.
18556
50604220
RM
18557 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18558 inside [SHARED], where it is used.
18559
c658d255
RM
18560 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18561
18562 * nss/getent.c (netgroup_keys): Remove unused variable.
18563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18564
6a621eb7
UD
185652011-10-08 Ulrich Drepper <drepper@gmail.com>
18566
7edb55ce
UD
18567 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18570 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18571 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18572 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18573 * math/Makefile (libm-calls): Add s_isinf_ns.
18574 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18575 * math/multc3.c: Likewise.
18576 * math/s_casin.c: Likewise.
18577 * math/s_casinf.c: Likewise.
18578 * math/s_casinl.c: Likewise.
18579 * math/s_ccos.c: Likewise.
18580 * math/s_ccosf.c: Likewise.
18581 * math/s_ccosl.c: Likewise.
18582 * math/s_ctan.c: Likewise.
18583 * math/s_ctanf.c: Likewise.
18584 * math/s_ctanh.c: Likewise.
18585 * math/s_ctanhf.c: Likewise.
18586 * math/s_ctanhl.c: Likewise.
18587 * math/s_ctanl.c: Likewise.
18588 * math/w_fmod.c: Likewise.
18589 * math/w_fmodf.c: Likewise.
18590 * math/w_fmodl.c: Likewise.
18591 * math/w_remainder.c: Likewise.
18592 * math/w_remainderf.c: Likewise.
18593 * math/w_remainderl.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18595 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18598 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18599 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18600 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18601 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18602
187da0ae
UD
18603 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18604 of the number.
18605 * stdio-common/printf_fphex.c: Likewise.
18606 * stdio-common/printf_size.c: Likewise.
18607
9277c064
UD
18608 * math/e_exp10.c: Include math_private.h using <...> not "...".
18609 * math/e_exp10f.c: Likewise.
18610 * math/e_exp10l.c: Likewise.
18611 * math/e_exp2l.c: Likewise.
18612 * math/e_j0l.c: Likewise.
18613 * math/e_j1l.c: Likewise.
18614 * math/e_jnl.c: Likewise.
18615 * math/e_lgammal_r.c: Likewise.
18616 * math/e_rem_pio2l.c: Likewise.
18617 * math/e_scalb.c: Likewise.
18618 * math/e_scalbf.c: Likewise.
18619 * math/e_scalbl.c: Likewise.
18620 * math/k_cosl.c: Likewise.
18621 * math/k_sinl.c: Likewise.
18622 * math/k_tanl.c: Likewise.
18623 * math/s_cacoshf.c: Likewise.
18624 * math/s_catan.c: Likewise.
18625 * math/s_catanf.c: Likewise.
18626 * math/s_catanh.c: Likewise.
18627 * math/s_catanhf.c: Likewise.
18628 * math/s_catanhl.c: Likewise.
18629 * math/s_catanl.c: Likewise.
18630 * math/s_ccosh.c: Likewise.
18631 * math/s_ccoshf.c: Likewise.
18632 * math/s_ccoshl.c: Likewise.
18633 * math/s_cexp.c: Likewise.
18634 * math/s_cexpf.c: Likewise.
18635 * math/s_cexpl.c: Likewise.
18636 * math/s_clog.c: Likewise.
18637 * math/s_clog10.c: Likewise.
18638 * math/s_clog10f.c: Likewise.
18639 * math/s_clog10l.c: Likewise.
18640 * math/s_clogf.c: Likewise.
18641 * math/s_clogl.c: Likewise.
18642 * math/s_csin.c: Likewise.
18643 * math/s_csinf.c: Likewise.
18644 * math/s_csinh.c: Likewise.
18645 * math/s_csinhf.c: Likewise.
18646 * math/s_csinhl.c: Likewise.
18647 * math/s_csinl.c: Likewise.
18648 * math/s_csqrt.c: Likewise.
18649 * math/s_csqrtf.c: Likewise.
18650 * math/s_csqrtl.c: Likewise.
18651 * math/s_ctan.c: Likewise.
18652 * math/s_ctanf.c: Likewise.
18653 * math/s_ctanh.c: Likewise.
18654 * math/s_ctanhf.c: Likewise.
18655 * math/s_ctanhl.c: Likewise.
18656 * math/s_ctanl.c: Likewise.
18657 * math/s_ldexp.c: Likewise.
18658 * math/s_ldexpf.c: Likewise.
18659 * math/s_ldexpl.c: Likewise.
18660 * math/s_significand.c: Likewise.
18661 * math/s_significandf.c: Likewise.
18662 * math/s_significandl.c: Likewise.
18663 * math/w_acos.c: Likewise.
18664 * math/w_acosf.c: Likewise.
18665 * math/w_acosh.c: Likewise.
18666 * math/w_acoshf.c: Likewise.
18667 * math/w_acoshl.c: Likewise.
18668 * math/w_acosl.c: Likewise.
18669 * math/w_asin.c: Likewise.
18670 * math/w_asinf.c: Likewise.
18671 * math/w_asinl.c: Likewise.
18672 * math/w_atan2.c: Likewise.
18673 * math/w_atan2f.c: Likewise.
18674 * math/w_atan2l.c: Likewise.
18675 * math/w_atanh.c: Likewise.
18676 * math/w_atanhf.c: Likewise.
18677 * math/w_atanhl.c: Likewise.
18678 * math/w_cosh.c: Likewise.
18679 * math/w_coshf.c: Likewise.
18680 * math/w_coshl.c: Likewise.
18681 * math/w_dremf.c: Likewise.
18682 * math/w_exp10.c: Likewise.
18683 * math/w_exp10f.c: Likewise.
18684 * math/w_exp10l.c: Likewise.
18685 * math/w_exp2.c: Likewise.
18686 * math/w_exp2f.c: Likewise.
18687 * math/w_fmod.c: Likewise.
18688 * math/w_fmodf.c: Likewise.
18689 * math/w_fmodl.c: Likewise.
18690 * math/w_hypot.c: Likewise.
18691 * math/w_hypotf.c: Likewise.
18692 * math/w_hypotl.c: Likewise.
18693 * math/w_j0.c: Likewise.
18694 * math/w_j0f.c: Likewise.
18695 * math/w_j0l.c: Likewise.
18696 * math/w_j1.c: Likewise.
18697 * math/w_j1f.c: Likewise.
18698 * math/w_j1l.c: Likewise.
18699 * math/w_jn.c: Likewise.
18700 * math/w_jnf.c: Likewise.
18701 * math/w_jnl.c: Likewise.
18702 * math/w_lgamma.c: Likewise.
18703 * math/w_lgamma_r.c: Likewise.
18704 * math/w_lgammaf.c: Likewise.
18705 * math/w_lgammaf_r.c: Likewise.
18706 * math/w_lgammal.c: Likewise.
18707 * math/w_lgammal_r.c: Likewise.
18708 * math/w_log.c: Likewise.
18709 * math/w_log10.c: Likewise.
18710 * math/w_log10f.c: Likewise.
18711 * math/w_log10l.c: Likewise.
18712 * math/w_log2.c: Likewise.
18713 * math/w_log2f.c: Likewise.
18714 * math/w_log2l.c: Likewise.
18715 * math/w_logf.c: Likewise.
18716 * math/w_logl.c: Likewise.
18717 * math/w_pow.c: Likewise.
18718 * math/w_powf.c: Likewise.
18719 * math/w_powl.c: Likewise.
18720 * math/w_remainder.c: Likewise.
18721 * math/w_remainderf.c: Likewise.
18722 * math/w_remainderl.c: Likewise.
18723 * math/w_scalb.c: Likewise.
18724 * math/w_scalbf.c: Likewise.
18725 * math/w_scalbl.c: Likewise.
18726 * math/w_sinh.c: Likewise.
18727 * math/w_sinhf.c: Likewise.
18728 * math/w_sinhl.c: Likewise.
18729 * math/w_sqrt.c: Likewise.
18730 * math/w_sqrtf.c: Likewise.
18731 * math/w_sqrtl.c: Likewise.
18732 * math/w_tgamma.c: Likewise.
18733 * math/w_tgammaf.c: Likewise.
18734 * math/w_tgammal.c: Likewise.
18735
6a621eb7
UD
18736 * po/ja.po: Update from translation team.
18737
bf582445
AJ
187382011-09-29 Andreas Jaeger <aj@suse.de>
18739
f9efbf3a
AJ
18740 [BZ #13179]
18741 * sunrpc/netname.c (netname2host): Fix logic.
18742
bf582445
AJ
18743 [BZ #6779]
18744 [BZ #6783]
18745 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18746 correctly.
18747 * math/w_remainder.c (__remainder): Likewise.
18748 * math/w_remainderf.c (__remainderf): Likewise.
18749 * math/libm-test.inc (remainder_test): Add test cases.
18750
48693bea
AK
187512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18752
18753 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18754 sdiv_qrnnd.
18755
42622229
LD
187562011-10-07 Ulrich Drepper <drepper@gmail.com>
18757
18758 * string/test-memcmp.c: Avoid unncessary #defines.
18759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18760
093ecf92
LD
187612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18762
18763 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18764 Use new sse2 version for core i3 - i7 as it's faster
18765 than sse42 version.
18766 (bit_Prefer_PMINUB_for_stringop): New.
18767 * sysdeps/x86_64/rawmemchr.S: Update.
18768 Replace with faster SSE2 version.
18769 * sysdeps/x86_64/memrchr.S: New file.
18770 * sysdeps/x86_64/memchr.S: Update.
18771 Replace with faster SSE2 version.
18772
fde56e5c
MP
187732011-09-12 Marek Polacek <mpolacek@redhat.com>
18774
18775 * elf/dl-load.c (lose): Add cast to avoid warning.
18776
21fd49a9
UD
187772011-10-07 Ulrich Drepper <drepper@gmail.com>
18778
5a06e643
UD
18779 * po/ca.po: Update from translation team.
18780
684ae515
UD
18781 * inet/getnetgrent_r.c: Hook up nscd.
18782 * nscd/Makefile (routines): Add nscd_netgroup.
18783 (nscd-modules): Add netgroupcache.
18784 (CFLAGS-netgroupcache.c): Define.
18785 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18786 (cache_search): Add const to second parameter.
18787 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18788 INNETGR.
18789 (dbs): Add netgrdb entry.
18790 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18791 (verify_persistent_db): Handle netgrdb.
18792 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18793 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18794 GETFDNETGR.
18795 (netgroup_response_header): Define.
18796 (innetgroup_response_header): Define.
18797 (datahead): Add netgroup_response_header and innetgroup_response_header
18798 elements.
18799 * nscd/nscd.conf: Add entries for netgroup cache.
18800 * nscd/nscd.h (dbtype): Add netgrdb.
18801 (_PATH_NSCD_NETGROUP_DB): Define.
18802 (netgroup_iov_disabled): Declare.
18803 (xmalloc, xcalloc, xrealloc): Move declarations here.
18804 (cache_search): Adjust prototype.
18805 Add netgroup-related prototypes.
18806 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18807 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18808 (__nscd_innetgr): Declare.
18809 * nscd/selinux.c (perms): Use access_vector_t as element type and
18810 add netgroup-related initializers.
18811 * nscd/netgroupcache.c: New file.
18812 * nscd/nscd_netgroup.c: New file.
18813 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18814 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18815 For four parameters use innetgr.
18816 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18817 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18818 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18819 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18820
21fd49a9
UD
18821 * nscd/connections.c (register_traced_file): Don't register file
18822 for disabled databases.
18823
054c0457
UD
188242011-10-06 Ulrich Drepper <drepper@gmail.com>
18825
32b63198
UD
18826 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18827
054c0457
UD
18828 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18829 from tree and freeing node.
18830
64031225
JO
188312011-09-25 Jiri Olsa <jolsa@redhat.com>
18832
18833 * nss/nsswitch.c (__nss_database_lookup): Handle
18834 nss_parse_service_list out of memory case.
18835
0490345c
JO
188362011-09-15 Jiri Olsa <jolsa@redhat.com>
18837
18838 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18839 out of memory case.
18840
3a62d00d
AS
188412011-10-04 Andreas Schwab <schwab@redhat.com>
18842
18843 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18844 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18845 pass it down.
18846 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18847 elf_machine_rela, elf_machine_lazy_rel.
18848 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18849 (ELF_DYNAMIC_DO_REL): Likewise.
18850 (ELF_DYNAMIC_DO_RELA): Likewise.
18851 (ELF_DYNAMIC_RELOCATE): Likewise.
18852 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18853 to ELF_DYNAMIC_DO_REL.
18854 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18855 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18856 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18857 elf_machine_rela.
18858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18859 skip_ifunc, don't call ifunc function if non-zero.
18860 (elf_machine_rela): Likewise.
18861 (elf_machine_lazy_rel): Likewise.
18862 (elf_machine_lazy_rela): Likewise.
18863 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18864 (elf_machine_lazy_rel): Likewise.
18865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18866 Likewise.
18867 (elf_machine_lazy_rel): Likewise.
18868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18869 Likewise.
18870 (elf_machine_lazy_rel): Likewise.
18871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18872 (elf_machine_lazy_rel): Likewise.
18873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18874 (elf_machine_lazy_rel): Likewise.
18875 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18876 (elf_machine_lazy_rel): Likewise.
18877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18878 (elf_machine_lazy_rel): Likewise.
18879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18880 (elf_machine_lazy_rel): Likewise.
18881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18882 (elf_machine_lazy_rel): Likewise.
18883
68577918
UD
188842011-09-28 Ulrich Drepper <drepper@gmail.com>
18885
18886 * nss/nss_files/files-init.c (_nss_files_init): Use static
18887 initialization for all the *_traced_file variables.
18888
68822d74
AS
188892011-09-28 Andreas Schwab <schwab@redhat.com>
18890
18891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18892
2056100b
RM
188932011-09-27 Roland McGrath <roland@hack.frob.com>
18894
18895 [BZ #13226]
18896 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18897
32c76b63
AS
188982011-09-27 Andreas Schwab <schwab@redhat.com>
18899
18900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18901 Reread the line before reparsing it.
18902
bf972c9d
AS
189032011-09-26 Andreas Schwab <schwab@redhat.com>
18904
18905 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18906
e057a1b5
JM
189072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18908 Maxim Kuvyrkov <maxim@codesourcery.com>
18909 Joseph Myers <joseph@codesourcery.com>
18910
18911 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18912 if needed for __stack_chk_guard.
18913
bc7e1c36
RM
189142011-09-19 Roland McGrath <roland@hack.frob.com>
18915
ecb1482f
RM
18916 * sysdeps/posix/spawni.c (script_execute): Always define it.
18917 It will be optimized away if unused.
18918 (maybe_script_execute): New function.
18919 (__spawni): Call it.
18920
bc7e1c36
RM
18921 * Makerules: Don't include tls.make.
18922 (config-tls): Always set to thread.
18923 * tls.make.c: File removed.
18924
1c3b002b
MF
189252011-09-19 Mike Frysinger <vapier@gentoo.org>
18926
18927 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18928 * config.make.in (CPPFLAGS-config): New substituted variable.
18929
2840865d
UD
189302011-09-15 Ulrich Drepper <drepper@gmail.com>
18931
88738eb6
UD
18932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18933
cbf645a6 18934 [BZ #13192]
2840865d
UD
18935 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18936 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18937
b402e91a
RM
189382011-09-15 Roland McGrath <roland@hack.frob.com>
18939
18940 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18941 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18943 (CALL_FAIL): Likewise.
18944 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18945 (CALL_FAIL): Macro removed.
18946 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18947
4c1a1f71
UD
189482011-09-15 Ulrich Drepper <drepper@gmail.com>
18949
18950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18951 for __FINITE_MATH_ONLY__ == 1.
18952
edc121be
AS
189532011-09-15 Andreas Schwab <schwab@redhat.com>
18954
18955 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18956 __ieee754_sqrt instead of sqrt.
18957 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18958 __ieee754_sqrtf instead of sqrtf.
18959 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18960 __floorf instead of floorf.
18961 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18962 __floorf, __truncf instead of floorf, truncf.
18963
cd205654
UD
189642011-09-14 Ulrich Drepper <drepper@gmail.com>
18965
ee4d0315
UD
18966 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18967
cd205654
UD
18968 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18969 __extern_always_inline.
18970 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18971 32-bit.
18972
48b67d71
AS
189732011-09-14 Andreas Schwab <schwab@redhat.com>
18974
18975 * elf/rtld.c (dl_main): Also relocate in dependency order when
18976 doing symbol dependency testing.
18977
1ae12c75
AS
189782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18979
18980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18981 Always define `refsym'.
18982
995a80df
AS
189832011-09-13 Andreas Schwab <schwab@redhat.com>
18984
e529793b
AS
18985 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18986 (__FD_ELT): Renamed from __FDELT.
18987 * misc/bits/select2.h (__FD_ELT): Likewise.
18988 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18989 __FD_MASK instead of __FDELT, __FDMASK.
18990 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18991 Likewise.
18992 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18993 Likewise.
18994
52d4fef8
AS
18995 * elf/Makefile (gen-ldd): Fix pattern.
18996
995a80df
AS
18997 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18998 (init_tls): Likewise.
18999
8682f8b0
UD
190002011-09-12 Ulrich Drepper <drepper@gmail.com>
19001
19002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19003
de82006d
AS
190042011-09-12 Andreas Schwab <schwab@redhat.com>
19005
a7c8e6a1
AS
19006 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19007 `struct cmsghdr *' instead of `void *'.
19008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19009 Likewise.
19010
0f31fe77
AS
190112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19012
19013 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19014 if non-absolute.
19015 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19016 ldd_rewrite_script.
0f31fe77 19017
32b4c839
UD
190182011-09-11 Ulrich Drepper <drepper@gmail.com>
19019
83cd1420
UD
19020 * configure.in: Remove --with-tls option.
19021 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19022 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19023 out in case it is missing.
19024 * sysdeps/ia64/elf/configure.in: Likewise.
19025 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19026 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19027 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19028 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19029 * sysdeps/sh/elf/configure.in: Likewise.
19030 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19032 * sysdeps/x86_64/elf/configure.in: Likewise.
19033 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19034 * sysdeps/mach/hurd/tls.h: Likewise.
19035
633f745d
UD
19036 [BZ #13067]
19037 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19038
f318beb8
UD
19039 [BZ #13090]
19040 * configure.in: Fix use of AC_INIT.
19041
32b4c839
UD
19042 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19043
3ce1f295
UD
190442011-09-10 Ulrich Drepper <drepper@gmail.com>
19045
bb016596
UD
19046 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19047 __set_errno.
8e58439c
UD
19048 * malloc/hooks.c: Likewise.
19049
aebae053 19050 [BZ #11929]
02d46fc4
UD
19051 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19052 variables statically.
19053 (narenas): Initialize.
19054 (list_lock): Initialize.
bb016596
UD
19055 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19056 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19057 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19058 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19059 Add initializers to main_arena and mp_.
19060 (malloc_state): Remove pagesize member. Change all users to use
19061 GLRO(dl_pagesize).
19062
19063 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19064 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19065 is always initialized.
19066
22a89187
UD
19067 * malloc/malloc.c: Removed unused configurations and dead code.
19068 * malloc/arena.c: Likewise.
19069 * malloc/hooks.c: Likewise.
02d46fc4 19070 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19071
d063d164
UD
19072 * include/tls.h: Removed. USE___THREAD must always be defined.
19073 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19074 * elf/dl-libc.c: Likewise.
19075 * elf/dl-tsd.c: Likewise.
19076 * include/errno.h: Likewise.
19077 * include/netdb.h: Likewise.
19078 * include/resolv.h: Likewise.
19079 * inet/herrno-loc.c: Likewise.
19080 * inet/herrno.c: Likewise.
19081 * malloc/arena.c: Likewise.
19082 * malloc/hooks.c: Likewise.
19083 * malloc/malloc.c: Likewise.
19084 * resolv/res-state.c: Likewise.
19085 * resolv/res_libc.c: Likewise.
19086 * sysdeps/i386/dl-machine.h: Likewise.
19087 * sysdeps/ia64/dl-machine.h: Likewise.
19088 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19089 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19090 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19091 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19092 * sysdeps/sh/dl-machine.h: Likewise.
19093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19094 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19095 * sysdeps/unix/i386/sysdep.S: Likewise.
19096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19097 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19102 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19107 * sysdeps/x86_64/dl-machine.h: Likewise.
19108 * tls.make.c: Likewise.
19109
3ce1f295
UD
19110 * configure.in: Remove --with-__thread option. Make tests for
19111 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19112 tls_model attribute fail if no support is available. Remove
19113 USE_IN_LIBIO.
19114 * Makeconfig: Adjust for dropped configure option. All features are
19115 now mandatory.
19116 * Makerules: Likewise.
19117 * Versions.def: Likewise.
19118 * argp/argp-fmtstream.c: Likewise.
19119 * argp/argp-fmtstream.h: Likewise.
19120 * argp/argp-help.c: Likewise.
19121 * assert/assert.c: Likewise.
19122 * config.h.in: Likewise.
19123 * config.make.in: Likewise.
19124 * configure: Likewise.
19125 * configure.in: Likewise.
19126 * csu/Versions: Likewise.
19127 * csu/init.c: Likewise.
19128 * elf/tst-audit2.c: Likewise.
19129 * elf/tst-tls10.c: Likewise.
19130 * elf/tst-tls10.h: Likewise.
19131 * elf/tst-tls11.c: Likewise.
19132 * elf/tst-tls12.c: Likewise.
19133 * elf/tst-tls14.c: Likewise.
19134 * elf/tst-tlsmod11.c: Likewise.
19135 * elf/tst-tlsmod12.c: Likewise.
19136 * elf/tst-tlsmod13.c: Likewise.
19137 * elf/tst-tlsmod13a.c: Likewise.
19138 * elf/tst-tlsmod14a.c: Likewise.
19139 * elf/tst-tlsmod15b.c: Likewise.
19140 * elf/tst-tlsmod16a.c: Likewise.
19141 * elf/tst-tlsmod16b.c: Likewise.
19142 * elf/tst-tlsmod7.c: Likewise.
19143 * elf/tst-tlsmod8.c: Likewise.
19144 * elf/tst-tlsmod9.c: Likewise.
19145 * gmon/gmon.c: Likewise.
19146 * grp/fgetgrent_r.c: Likewise.
19147 * grp/putgrent.c: Likewise.
19148 * hurd/fopenport.c: Likewise.
19149 * include/libc-symbols.h: Likewise.
19150 * include/tls.h: Likewise.
19151 * intl/gettextP.h: Likewise.
19152 * intl/loadinfo.h: Likewise.
19153 * locale/global-locale.c: Likewise.
19154 * locale/localeinfo.h: Likewise.
19155 * mach/devstream.c: Likewise.
19156 * malloc/arena.c: Likewise.
19157 * malloc/set-freeres.c: Likewise.
19158 * misc/err.c: Likewise.
19159 * misc/getttyent.c: Likewise.
19160 * misc/mntent_r.c: Likewise.
19161 * posix/getopt.c: Likewise.
19162 * posix/wordexp.c: Likewise.
19163 * pwd/fgetpwent_r.c: Likewise.
19164 * resolv/Versions: Likewise.
19165 * resolv/res_hconf.c: Likewise.
19166 * shadow/fgetspent_r.c: Likewise.
19167 * shadow/putspent.c: Likewise.
19168 * stdio-common/printf_fphex.c: Likewise.
19169 * stdio-common/tmpfile.c: Likewise.
19170 * stdlib/abort.c: Likewise.
19171 * stdlib/fmtmsg.c: Likewise.
19172 * sunrpc/auth_unix.c: Likewise.
19173 * sunrpc/clnt_perr.c: Likewise.
19174 * sunrpc/clnt_tcp.c: Likewise.
19175 * sunrpc/clnt_udp.c: Likewise.
19176 * sunrpc/clnt_unix.c: Likewise.
19177 * sunrpc/openchild.c: Likewise.
19178 * sunrpc/svc_simple.c: Likewise.
19179 * sunrpc/svc_tcp.c: Likewise.
19180 * sunrpc/svc_udp.c: Likewise.
19181 * sunrpc/svc_unix.c: Likewise.
19182 * sunrpc/xdr.c: Likewise.
19183 * sunrpc/xdr_array.c: Likewise.
19184 * sunrpc/xdr_rec.c: Likewise.
19185 * sunrpc/xdr_ref.c: Likewise.
19186 * sunrpc/xdr_stdio.c: Likewise.
19187
1248c1c4
PB
191882011-09-09 Ulrich Drepper <drepper@gmail.com>
19189
19190 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19191
191922011-07-03 Andreas Jaeger <aj@suse.de>
19193
19194 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19195 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19196 regenerate with gen-libm-tests.pl.
19197
191982010-05-12 Petr Baudis <pasky@suse.cz>
19199
19200 [BZ #11589]
19201 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19202 around j0() zero points by switching to j1().
19203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19207
f22e1074
UD
192082011-09-09 Ulrich Drepper <drepper@gmail.com>
19209
f19009c1
UD
19210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19211 instead of 0.
19212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19213 instead of 0. .
19214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19215 Patch in part by Pavel Roskin <proski@gnu.org>.
19216
3f8cc204
UD
19217 [BZ #13138]
19218 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19219 realloc.
19220 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19221 Free memory block if necessary.
19222
f22e1074
UD
19223 [BZ #12847]
19224 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19225 be NULL. Don't lock in this case.
19226
0a2349f9
RM
192272011-09-09 Roland McGrath <roland@hack.frob.com>
19228
19229 * elf/elf.h (ELFOSABI_GNU): New macro.
19230 (ELFOSABI_LINUX): Define to that.
19231
f3cdd467
DZ
192322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19233
19234 * string/strncat.c (strncat): Undef the symbol in case it has been
19235 defined in bits/string.h.
19236
74718d13
UD
192372011-09-09 Ulrich Drepper <drepper@gmail.com>
19238
633e9e0f
UD
19239 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19240
0a2349f9 19241 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19242 link map.
19243
f9924780
AJ
192442011-08-17 Andreas Jaeger <aj@suse.de>
19245
19246 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19247
7f5517aa
PP
192482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19249 Ian Lance Taylor <iant@google.com>
19250
19251 * math/libm-test.inc (lround_test): New testcase.
19252 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19253
762011fe
UD
192542011-09-08 Ulrich Drepper <drepper@gmail.com>
19255
92963737
UD
19256 * Makefile: Remove support for automatic cvs check-ins.
19257 * Makerules: Likewise.
19258 * config.make.in: Likewise.
19259 * configure.in: Likewise.
19260 * intl/Makefile: Likewise.
19261 * locale/Makefile: Likewise.
19262 * po/Makefile: Likewise.
19263 * posix/Makefile: Likewise.
19264 * sysdeps/gnu/Makefile: Likewise.
19265 * sysdeps/mach/hurd/Makefile: Likewise.
19266 * sysdeps/sparc/sparc32/Makefile: Likewise.
19267
b0727fd8
JS
19268 [BZ #13118]
19269 * posix/Makefile (bug-regex32-ENV): Define.
19270 Patch by John Stanley <jpsinthemix@verizon.net>.
19271
a0f33f99
UD
19272 * misc/Makefile (headers): Add bits/select2.h.
19273 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19274 * misc/bits/select2.h: New file.
19275 * include/bits/select2.h: New file.
19276 * debug/Makefile (routines): Add fdelt_chk.
19277 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19278 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19279 FD_ISSET.
19280 * debug/fdelt_chk.c: New file.
19281
762011fe
UD
19282 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19283 * wcsmbs/test-wmemcmp.c: Likewise.
19284 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19285 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19286
192872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19288
19289 * string/Makefile (strop-tests): Add memcmp.
19290 * string/test-wmemcmp.c: New file.
19291 * string/test-memcmp.c: Add wmemcmp support.
19292
7f513ec8
RM
192932011-09-08 Roland McGrath <roland@hack.frob.com>
19294
0442afb4
RM
19295 [BZ #13153]
19296 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19297 2011-07-19 change.
19298
7f513ec8
RM
19299 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19300 garbage value in a __mach_port_mod_refs call in the cases of the
19301 task-self and thread-self ports.
19302
a12b2239
ST
193032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19304
19305 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19306
610f9ab4
AS
193072011-09-08 Andreas Schwab <schwab@redhat.com>
19308
7f513ec8 19309 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19310
48882a1a
LD
193112011-09-07 Ulrich Drepper <drepper@gmail.com>
19312
b49865be
UD
19313 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19314
fdc86bc9
UD
19315 * elf/dl-libc.c (dlerror_run): Pass back error code from
19316 dl_catch_error.
19317
c966526a
UD
19318 [BZ #13123]
19319 * elf/dl-load.c (lose): Free l_origin if it is valid.
19320
48882a1a
LD
19321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19322 names.
19323 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19328 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19329
77a2a8b4
AZ
193302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19331
19332 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19333 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19334 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19335 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19336 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19337 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19338 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19339 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19340 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19341 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19342
24f579d8
AM
193432011-08-15 Alan Modra <amodra@gmail.com>
19344
19345 [BZ #13092]
19346 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19347 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19348 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19349 ppc_mcount to static-only-routines.
19350 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19351 __mcount_internal.
19352 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19353 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19354
3d4837df
UD
193552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19356
19357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19358 for finite and infinity parameters.
19359
22700377
WS
193602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19361
19362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19363 and add nop instructions for throughput optimization.
19364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19365
5025581e
WS
193662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19367
19368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19369 aligned copy for power7 with vector-scalar instructions.
19370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19371
08a300c9
L
193722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19373
19374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19375 AVX check.
19376
59178ef9
AS
193772011-09-07 Andreas Schwab <schwab@redhat.com>
19378
19379 [BZ #13144]
19380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19381 last change.
19382
e38ba7ab
UD
193832011-09-07 Ulrich Drepper <drepper@gmail.com>
19384
19385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19386 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19387 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19388 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19389 clock_gettime.
19390
d53a73ac
UD
193912011-09-06 Ulrich Drepper <drepper@gmail.com>
19392
fc8bffcc
UD
19393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19394 Forgot to demangle the pointer.
19395
ceaa0c5d
UD
19396 * sysdeps/i386/sysdep.h: Define atom_text_section.
19397 * sysdeps/x86_64/sysdep.h: Likewise.
19398 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19399 section with atom_text_section.
19400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19405
a77d3c17
UD
19406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19408 already be defined. Change to take two parameters and don't assign
19409 result to variable. Adjust all users.
19410 Define INTERNAL_GETTIME if not already defined.
19411 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19412 call.
19413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19414 HAVE_CLOCK_GETTIME_VSYSCALL.
19415 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19416
d53a73ac
UD
19417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19418 gettimeofday vsyscall, just use time.
19419
a8f84144
AS
194202011-09-06 Andreas Schwab <schwab@redhat.com>
19421
19422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19423 <errno.h>.
19424
ef606249
UD
194252011-09-06 Ulrich Drepper <drepper@gmail.com>
19426
19427 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19428 syscall on x86-64.
19429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19430 syscall.
19431 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19433 syscall if possible.
19434
6585cb60
UD
194352011-09-05 Ulrich Drepper <drepper@gmail.com>
19436
19437 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19438 e_ident. Don't pass to find_mapsXX.
19439 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19440
a5f524e4
LD
194412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19442
19443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19444 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19445 * sysdeps/x86_64/multiarch/strchr.S: Update.
19446 Check bit_slow_BSF bit.
19447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19448 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19450
554881ef
UD
194512011-09-05 Ulrich Drepper <drepper@gmail.com>
19452
d96de963
UD
19453 [BZ #13134]
19454 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19455 before glibc 2.15.
19456 (tryshell): Define.
19457 (__spawni): Change last parameter to be flag. Test
19458 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19459 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19460 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19461 * posix/spawni.c: Likewise.
19462 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19463 * posix/spawnp.c: Likewise. Change normal version to use
19464 SPAWN_XFLAGS_USE_PATH.
19465 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19466 SPAWN_XFLAGS_TRY_SHELL.
19467
d48e5868
UD
19468 [BZ #13150]
19469 * posix/glob.h: Remove gcc 1.x support.
19470
554881ef
UD
19471 [BZ #13068]
19472 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19473
693fb948
LD
194742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19475
19476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19477 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19478 strrchr-sse2-bsf
19479 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19480 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19481 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19485
1b48c537
UD
194862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19487
49d42c37
UD
19488 * sysdeps/x86_64/wcscmp.S: New file.
19489
1b48c537
UD
19490 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19491 wcscmp-c wcscmp-sse2
19492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19493 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19495 * wcsmbs/wcscmp.c: Allow renaming.
19496
15c95c5d
DM
194972011-09-05 David S. Miller <davem@davemloft.net>
19498
19499 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19500 stack slot, rather than the struct return pointer slot.
19501 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19502 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19505
2f0ad8f3
UD
195062011-09-05 Ulrich Drepper <drepper@gmail.com>
19507
d88ae418
UD
19508 * po/ja.po: Update from translation team.
19509
2f0ad8f3
UD
19510 [BZ #13144]
19511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19512 kernel in 64-bit binaries.
19513
5f4318d1
DM
195142011-09-01 David S. Miller <davem@davemloft.net>
19515
19516 * elf/elf.h (HWCAP_SPARC_*): Move to..
19517 * sysdeps/sparc/sysdep.h: this new file and add new values.
19518 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19519 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19520 _DL_HWCAP_COUNT to 24.
19521 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19522 entries.
19523 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19524 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19525 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19527 instead of magic constants.
19528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19529
3ba57516
DM
195302011-08-31 David S. Miller <davem@davemloft.net>
19531
19532 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19534 Reimplement to do errno handling inline.
19535 (SYSCALL_ERROR_HANDLER): New macro.
19536 (__SYSCALL_STRING): Do not do errno handling in asm.
19537 (__CLONE_SYSCALL_STRING): Delete.
19538 (__INTERNAL_SYSCALL_STRING): Delete.
19539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19540 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19541 (PSEUDO): Reimplement to do errno handling inline.
19542 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19543 (SYSCALL_ERROR_HANDLER): New macro.
19544 (__SYSCALL_STRING): Do not do errno handling in asm.
19545 (__CLONE_SYSCALL_STRING): Delete.
19546 (__INTERNAL_SYSCALL_STRING): Delete.
19547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19548 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19549 i386.
19550 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19551 (inline_syscall*): Add 'err' argument.
19552 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19553 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19554 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19555 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19556
19557 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19558 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19559
2bc17433
AS
195602011-08-30 Andreas Schwab <schwab@redhat.com>
19561
19562 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19563
fbeb5f4d
JO
195642011-08-29 Jiri Olsa <jolsa@redhat.com>
19565
19566 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19567 directive.
19568
ad69cc26
DM
195692011-08-24 David S. Miller <davem@davemloft.net>
19570
19571 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19572
39dd69df
AS
195732011-08-24 Andreas Schwab <schwab@redhat.com>
19574
19575 * elf/Makefile: Add rules to build and run unload8 test.
19576 * elf/unload8.c: New file.
19577 * elf/unload8mod1.c: New file.
19578 * elf/unload8mod1x.c: New file.
19579 * elf/unload8mod2.c: New file.
19580 * elf/unload8mod3.c: New file.
19581
19582 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19583 it wasn't used.
19584
2c0b250a
DM
195852011-08-23 David S. Miller <davem@davemloft.net>
19586
19587 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19588 subtract stack bias.
19589 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19590 %sp not %fp in calculations.
19591 (_JMPBUF_UNWINDS_ADJ): Likewise.
19592
22044b48
DM
19593 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19594 (aio_suspend): Call it to force an exception region around the
19595 AIO_MISC_WAIT() invocation.
19596
2cae4995
AS
195972011-08-23 Andreas Schwab <schwab@redhat.com>
19598
19599 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19600 backslash.
19601
873a772e
AJ
196022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19603
19604 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19605 protection macro.
19606 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19607 and <dl-machine.h>.
19608 (Elf64_FuncDesc): Remove.
19609
25ad0df1
DM
196102011-08-22 David S. Miller <davem@davemloft.net>
19611
19612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19613 sigaltstack check, add missing cfi directives.
19614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19615 missing cfi directives, and sigaltstack handling.
19616
e888bcbe
AS
196172011-08-16 Andreas Schwab <schwab@redhat.com>
19618
19619 [BZ #11724]
19620 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19621 object is seen twice.
19622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19623
19624 * elf/Makefile (distribute): Add tst-initorder2.c.
19625 (tests): Add tst-initorder2.
19626 (modules-names): Add tst-initorder2a tst-initorder2b
19627 tst-initorder2c tst-initorder2d. Add rules to build them.
19628 ($(objpfx)tst-initorder2.out): New rule.
19629 * elf/tst-initorder2.c: New file.
19630 * elf/tst-initorder2.exp: New file.
19631
87162f46
AS
196322011-08-22 Andreas Schwab <schwab@redhat.com>
19633
70538b7f
AS
19634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19635
f55ffe58
AS
19636 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19637 dependencies back to end of function.
19638
87162f46
AS
19639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19640 $(elfobjdir)/ld.so.
19641
91b392a4
UD
196422011-08-21 Ulrich Drepper <drepper@gmail.com>
19643
19644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19645 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19647 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19648 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19649 of __vdso_gettimeofday.
19650 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19651 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19652 attribute_hidden.
19653 (_libc_vdso_platform_setup): Remove initialization of
19654 __vdso_gettimeofday and __vdso_time.
19655
5c43483f
UD
196562011-08-20 Ulrich Drepper <drepper@gmail.com>
19657
775a77e7
UD
19658 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19659 and fgetc_unlocked.
19660 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19661 getc_unlocked.
89f447ed 19662
49c74ba9
UD
19663 * elf/dl-open.c (add_to_global): Report additions to the global scope
19664 for LD_DEBUG=scopes.
19665 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19666 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19667
5c43483f
UD
19668 [BZ #13114]
19669 * stdio-common/Makefile (tests): Add bug24.
19670 * stdio-common/bug24.c: New file.
19671
a101b025
AJ
196722011-08-19 Andreas Jaeger <aj@suse.de>
19673
19674 [BZ #13114]
19675 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19676 non-existant file when using close-on-exec mode.
19677
c88f1766
UD
196782011-08-20 Ulrich Drepper <drepper@gmail.com>
19679
0276a718
UD
19680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19681 the very first instruction.
19682
c88f1766
UD
19683 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19684 the CFI state in the end.
19685 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19686 inclusion of dl-trampoline.h.
19687 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19688
51ccffa0
AS
196892011-08-19 Andreas Schwab <schwab@redhat.com>
19690
94d7165f
AS
19691 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19692 expectations for long double.
19693
51ccffa0
AS
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19695 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19696
fd708658 196972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19698
19699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19700 artificual limit depends upon the system page size.
19701
44f0a71e
UD
197022011-08-17 Ulrich Drepper <drepper@gmail.com>
19703
19704 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19705 * resolv/Makefile: Define CFLAGS-libresolv.
19706
8de79a24
AS
197072011-08-17 Andreas Schwab <schwab@redhat.com>
19708
19709 * nss/makedb.c (compute_tables): Make variables used in nested
19710 function static.
19711
27724598
UD
197122011-08-17 Ulrich Drepper <drepper@gmail.com>
19713
c5305d88
UD
19714 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19715 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19716 if buffer was too small.
19717
27724598
UD
19718 * elf/pldd.c (main): Attach to all threads in the process.
19719 Rewrite /proc handling to use *at functions.
19720
076fe015
UD
197212011-08-16 Ulrich Drepper <drepper@gmail.com>
19722
174baab3
UD
19723 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19724 specifies first scope to show.
19725 (dl_open_worker): Update callers. Move printing scope of new
19726 object to before the relocation.
44f0a71e 19727 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19728 * sysdeps/generic/ldsodefs.h: Update declaration.
19729
076fe015
UD
19730 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19731 string for the scope number.
19732
a60df2c3
UD
197332011-08-14 Ulrich Drepper <drepper@gmail.com>
19734
19735 * nscd/servicescache.c (cache_addserv): Make sure written is always
19736 initialized.
19737
5e4287d1
RM
197382011-08-14 Roland McGrath <roland@hack.frob.com>
19739
85ae0589
RM
19740 * sysdeps/i386/i486/bits/atomic.h
19741 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19742 statement expression, so as to suppress "set but not used" warning.
19743 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19744
69f63097
RM
19745 * string/strncat.c (STRNCAT): Use prototype definition.
19746
675456ef
RM
19747 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19748 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19749 -Iprograms here.
19750 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19751 (localedef-modules): Add localedef.
19752 (locale-modules): Add locale.
19753
5e4287d1
RM
19754 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19755 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19756 to avoid a warning.
19757
9c96ff23
DM
197582011-08-14 David S. Miller <davem@davemloft.net>
19759
19760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19761 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19762
f9ddf089
UD
197632011-08-13 Ulrich Drepper <drepper@gmail.com>
19764
44f0a71e 19765 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19766 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19767 * elf/rtld.c (dl_main): Set l_name of vDSO.
19768 Call _dl_show_scope when DL_DEBUG_SCOPES.
19769 (process_dl_debug): Recognize scopes flag and also set it for all.
19770 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19771 Declare _dl_show_scope.
19772
1dc27704
UD
19773 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19774 (do_dlopen): Pass caller_dlopen to dl_open.
19775 (__libc_dlopen_mode): Initialize caller_dlopen.
19776
f9ddf089
UD
19777 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19778 of libc. Make tolower call locale-independent. Optimize a bit by
19779 using isdigit instead of isalnum.
19780 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19781
9ac533d3
UD
197822011-08-12 Ulrich Drepper <drepper@gmail.com>
19783
19784 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19785 was a dependency or dynamically loaded.
19786
89edf2e9
UD
197872011-08-11 Ulrich Drepper <drepper@gmail.com>
19788
8e999d29
UD
19789 * intl/l10nflist.c: Allow architecture-specific pop function.
19790 * sysdeps/x86_64/l10nflist.c: New file.
19791
89edf2e9
UD
19792 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19793 classification.
19794
14d96785
AS
197952011-08-10 Andreas Schwab <schwab@redhat.com>
19796
19797 * include/dirent.h: Add libc_hidden_proto for scandirat and
19798 scandirat64. Don't declare __scandirat64.
19799 * dirent/scandirat.c: Add libc_hidden_def.
19800 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19801 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19802
6761ac04
DM
198032011-08-10 David S. Miller <davem@davemloft.net>
19804
19805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19806 enum.
19807 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19810
c55fbd1e
UD
198112011-08-09 Ulrich Drepper <drepper@gmail.com>
19812
19813 * Versions.def [libc]: Add GLIBC_2.15.
19814 * dirent/Makefile (routines): Add scandirat and scandirat64.
19815 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19816 GLIBC_2.15.
19817 * dirent/dirent.h: Declare scandirat and scandirat64.
19818 * dirent/scandirat.c: New file.
19819 * dirent/scandirat64.c: New file.
19820 * sysdeps/wordsize-64/scandirat.c: New file.
19821 * sysdeps/wordsize-64/scandirat64.c: New file.
19822 * dirent/opendir.c: Define opendirat.
19823 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19824 using scandirat.
19825 * dirent/scandir64.c: Adjust for scandir.c change.
19826 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19827 __scandirat64, and __scandir_cancel_handler.
19828 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19829 additional parameter and use openat instead of open (outside of ld.so).
19830 Add new __opendir as wrapper around __opendirat.
19831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19832 here without requiring old scandirat implementation.
19833
879165f2
UD
198342011-08-08 Ulrich Drepper <drepper@gmail.com>
19835
19836 * dirent/scandir.c (cancel_handler): Renamed to
19837 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19838 defined. Adjust users.
19839 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19841
cb7e923b
UD
198422011-08-04 Ulrich Drepper <drepper@gmail.com>
19843
16292edd
UD
19844 * string/test-string.h (IMPL): Use __STRING to expand name and then
19845 stringify it.
19846
cb7e923b
UD
19847 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19848 of cleanups.
19849
cff82933
LD
198502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19851
19852 * string/Makefile: Update.
19853 (strop-tests): Append strncat.
19854 * string/test-wcscmp.c: New file.
19855 New comprehensive test for wcscmp.
19856 * string/test-strcmp.c: Update.
19857 (WIDE): New define.
19858
9be9bfcc
AS
198592011-07-22 Andreas Schwab <schwab@redhat.com>
19860
19861 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19862 line.
19863
2e96f1c7
AS
198642011-07-26 Andreas Schwab <schwab@redhat.com>
19865
19866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19867 encoding to ACE if AI_IDN.
19868
85188888
JJ
198692011-08-01 Jakub Jelinek <jakub@redhat.com>
19870
19871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19872 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19873
5fa16e9b
LD
198742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19875
19876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19877 Fix overflow bug in strncat.
19878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19879
19880 * string/test-strncat.c: Update.
19881 Add new tests for checking overflow bugs.
19882
198832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19884
19885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19886 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19887 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19888 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19890 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19891 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19892 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19893 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19894
19895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19896 (USE_AS_STRCAT): Define.
19897 Add strcat and strncat support.
19898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19899
8c1a459f
AS
199002011-07-25 Andreas Schwab <schwab@redhat.com>
19901
19902 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19903 __n bigger than INT_MAX+1.
19904 (__strncmp_g): Likewise.
19905
bba33c28
UD
199062011-07-23 Ulrich Drepper <drepper@gmail.com>
19907
798be72d
UD
19908 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19909 * libio/stido.h: Likewise.
19910
8accd4dc
UD
19911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19912 (AF_NFC): Define.
19913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19914 (AF_NFC): Define.
19915
cbff0d96
UD
19916 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19921
9191c04a
UD
19922 [BZ #13021]
19923 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19924 installed.
19925
bba33c28
UD
19926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19927 typo.
19928 (_dl_x86_64_save_sse): Likewise.
19929
90f139dd
UD
199302011-07-22 Ulrich Drepper <drepper@gmail.com>
19931
1aae088a
UD
19932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19933 OSXSAVE.
19934 (_dl_x86_64_save_sse): Likewise.
19935
8e2045f5
UD
19936 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19937
90f139dd
UD
19938 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19939
1d002f25
AS
199402011-07-21 Andreas Schwab <schwab@redhat.com>
19941
19942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19943 change.
19944 (_dl_x86_64_save_sse): Use correct AVX check.
19945
21137f89
UD
199462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19947
19948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19949 bug in strncpy/strncat.
19950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19951
a65c0b7a
UD
199522011-07-21 Ulrich Drepper <drepper@gmail.com>
19953
19954 * string/tester.c (test_strcat): Add tests for different alignments
19955 of source and destination.
19956 (test_strncat): Likewise.
19957
6986b98a
UD
199582011-07-20 Ulrich Drepper <drepper@gmail.com>
19959
90bb2039
UD
19960 [BZ #12852]
19961 * posix/glob.c (glob): Check passed in values before using them in
19962 expressions to avoid some overflows.
19963 (glob_in_dir): Likewise.
19964
5644ef54
UD
19965 [BZ #13007]
19966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19967 check for AVX enablement so that we don't crash with old kernels and
19968 new hardware.
19969 * elf/tst-audit4.c: Add same checks here.
19970 * elf/tst-audit6.c: Likewise.
19971
19972 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19973
bfc9dc9b
AS
199742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19975
19976 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19977
702e64bb
UD
199782011-07-20 Ulrich Drepper <drepper@gmail.com>
19979
19980 * po/cs.po: Update from translation team.
19981 * po/bg.po: Likewise.
19982
295e904f
MP
199832011-07-12 Marek Polacek <mpolacek@redhat.com>
19984
19985 * misc/sys/cdefs.h: Add support for const attribute.
19986 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19987 to gnu_dev_{major,minor,makedev} functions.
19988
3ff94596
MP
199892011-07-20 Marek Polacek <mpolacek@redhat.com>
19990
19991 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19992
28b59fca
AS
199932011-07-20 Andreas Schwab <schwab@redhat.com>
19994
19995 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19996 strlen results.
19997
19df733e
AK
199982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19999
20000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20001 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20002 register in order to avoid conflicts with the soft frame pointer
20003 being held in r11 when necessary.
20004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20005 (INTERNAL_VSYSCALL_NCS): Likewise.
20006
c8835729
MP
200072011-07-14 Marek Polacek <mpolacek@redhat.com>
20008
20009 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20010 * elf/dl-fini.c (_dl_fini): Adjust caller.
20011 * elf/dl-close.c (_dl_close_worker): Likewise.
20012 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20013
b902330c
MP
200142011-07-15 Marek Polacek <mpolacek@redhat.com>
20015
8991e135
MP
20016 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20017 "aux_cache->nlibs < 0".
20018
b902330c
MP
20019 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20020 in the reload-count case.
20021
99710781
LD
200222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20023
20024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20025 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20026 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20027 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20028 * sysdeps/x86_64/multiarch/strcat.S: New file.
20029 * sysdeps/x86_64/multiarch/strncat.S: New file.
20030 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20032 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20033 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20035 (USE_AS_STRCAT): Define.
20036 Add strcat and strncat support.
20037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20039 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20040 * string/strncat.c: Update.
20041 (USE_AS_STRNCAT): Define.
20042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20043 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20044 and i7.
20045 * sysdeps/x86_64/multiarch/init-arch.h
20046 (bit_Prefer_PMINUB_for_stringop): New.
20047 (index_Prefer_PMINUB_for_stringop): Likewise.
20048 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20049 bit_Prefer_PMINUB_for_stringop.
20050
7dc6bd90
UD
200512011-07-19 Ulrich Drepper <drepper@gmail.com>
20052
20053 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20054 buffer64.
20055 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20056 of casting of buffer.
20057 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20058 buffer32 and buffer64.
20059 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20060 writes instead of casting of buffer.
20061 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20062 buffer32.
20063 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20064 casting of buffer.
20065
e0e72284
AS
200662011-07-19 Andreas Schwab <schwab@redhat.com>
20067
20068 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20069
feb1eb0b
UD
200702011-07-19 Ulrich Drepper <drepper@gmail.com>
20071
20072 * nscd/nscd.c (termination_handler): Don't do anything for a database
20073 if it has not yet been initialized.
20074
298711ff
UD
200752011-07-18 Ulrich Drepper <drepper@gmail.com>
20076
20077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20078
200792011-07-15 Marek Polacek <mpolacek@redhat.com>
20080
20081 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20082
f9d68389
UD
200832011-07-18 Ulrich Drepper <drepper@gmail.com>
20084
20085 * po/nl.po: Update from translation team.
20086 * po/sv.po: Likewise.
20087
db290cf5
RM
200882011-07-16 Roland McGrath <roland@hack.frob.com>
20089
20090 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20091 now disallowed by GCC.
5c550700 20092
fd5e21c7
RM
20093 * configure.in (use-default-link): Default to yes if a test -shared
20094 link meets our qualifications.
20095 * configure: Regenerated.
20096
5c550700
RM
20097 * config.make.in (output-format): New variable.
20098 * configure.in: Check for ld --print-output-format support.
20099 * configure: Regenerated.
20100 * Makerules ($(common-objpfx)format.lds)
20101 [$(output-format) != unknown]: Just use $(output-format),
20102 instead of the linker-script munging.
20103
9fa2c032
RM
201042011-07-14 Roland McGrath <roland@hack.frob.com>
20105
a6928d51
RM
20106 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20107 of $(common-objpfx)shlib.lds.
20108 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20109
661607b3
RM
20110 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20111 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20112
9fa2c032
RM
20113 * configure.in (-z relro check): Adjust test code to add a large
20114 writable data section after it.
20115 * configure: Regenerated.
20116
defe9061
RM
201172011-07-11 Roland McGrath <roland@hack.frob.com>
20118
20119 * configure.in (-z relro check): Fix test code to make the variable
20120 truly const.
20121 * configure: Regenerated.
20122
319b9ad4
UD
201232011-07-11 Ulrich Drepper <drepper@gmail.com>
20124
20125 * nscd/nscd.h (struct traced_file): Define.
20126 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20127 elements. Add traced_files.
20128 (inotify_fd): Declare.
20129 (register_traced_file): Declare.
20130 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20131 (inotify_fd): Export.
20132 (resolv_conf_descr): Remove.
20133 (nscd_init): Move inotify descriptor creation to main.
20134 Don't register files for notification here.
20135 (register_traced_file): New function.
20136 (invalidate_cache): Don't use reset_res to determine whether to call
20137 res_init, go through the list of registered files.
20138 (main_loop_poll): The inotify descriptors are now stored in the
20139 structures for the traced files.
20140 (main_loop_epoll): Likewise
20141 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20142 to __nss_disable_nscd.
20143 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20144 for a database anymore. Check the records for all the registered
20145 files instead.
20146 * nss/Makefile (libnss_files-routines): Add files-init.
20147 (libnss_db-routines): Add db-init.
20148 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20149 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20150 * nss/nss_db/db-init.c: New file.
20151 * nss/nss_files/files-init.c: New file.
20152 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20153 __nss_lookup_function.
20154 (__nss_lookup_function): Call nss_load_library.
20155 (nss_load_all_libraries): New function.
20156 (__nss_disable_nscd): Take parameter with callback function for files
20157 to register. Set is_nscd. Load all the DSOs for the NSS modules
20158 used for the cached services.
20159 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20161 options for features to all the files in nscd.
20162
20163 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20164
23bee3e8
RM
201652011-07-10 Roland McGrath <roland@hack.frob.com>
20166
20167 * csu/elf-init.c (__libc_csu_init): Comment typo.
20168
46a5b7f0
UD
201692011-07-09 Ulrich Drepper <drepper@gmail.com>
20170
20171 * po/pl.po: Update from translation team.
20172 * po/ja.po: Likewise.
20173 * po/ru.po: Likewise.
20174 * po/ko.po: Likewise.
20175 * po/fr.po: Likewise.
20176
d30cf5bb
RM
201772011-07-09 Roland McGrath <roland@hack.frob.com>
20178
113ddea4
RM
20179 * configure.in (.ctors/.dtors header and trailer check):
20180 Use an empirical test on a built program.
20181 * configure: Regenerated.
20182
574920b4
RM
20183 * configure.in (-z relro check): Use an empirical test on a built DSO.
20184 Detect, but do not require, on ia64.
20185 * configure: Regenerated.
20186
d30cf5bb
RM
20187 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20188 Update tests that use readelf to use $READELF instead.
20189 * configure: Regenerated.
20190
8538fdb3
UD
201912011-07-08 Ulrich Drepper <drepper@gmail.com>
20192
20193 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20194 if the result is not used.
20195
04d08991
AJ
201962011-07-05 Andreas Jaeger <aj@suse.de>
20197
20198 [BZ#9696]
20199 * stdlib/tst-strtod.c: Add testcase.
20200
de283087
AD
202012011-07-07 Ulrich Drepper <drepper@gmail.com>
20202
4e5f31c8 20203 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20204 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20205 The latter has a higher limit. Take additional parameter to pass to
20206 the new function.
20207 (__pathconf): Pass file to __statfs_link_max.
20208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20209 __statfs_link_max.
20210 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20211 __statfs_link_max.
20212
de283087
AD
20213 [BZ #12868]
20214 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20216 Handle Lustre.
20217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20218 (__statfs_filesize_max): Likewise.
20219 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20220
c75fa153
AJ
202212011-07-05 Andreas Jaeger <aj@suse.de>
20222
20223 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20224
1a544854
UD
202252011-07-06 Marek Polacek <mpolacek@redhat.com>
20226
20227 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20228 `status' variable.
20229 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20230 Likewise.
20231
6f0eec67
UD
202322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20233
20234 * Makefile (strop-tests): Add strncat.
20235 * string/test-strncat.c: New file.
20236
aae30307
UD
202372011-06-30 Marek Polacek <mpolacek@redhat.com>
20238
20239 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20240
c0cfb5eb
UD
202412011-06-21 Andreas Jaeger <aj@suse.de>
20242
20243 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20244 Copy rule from iconvdata/Makefile.
20245
01636b21
UD
202462011-07-06 Ulrich Drepper <drepper@gmail.com>
20247
20248 [BZ #12922]
20249 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20250 but no long options are defined, just return 'W'.
20251
9895c8bc
UD
202522011-06-22 Marek Polacek <mpolacek@redhat.com>
20253
20254 [BZ #9696]
20255 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20256
5d4cf042
UD
202572011-07-06 Ulrich Drepper <drepper@gmail.com>
20258
20259 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20260 netgroups to read.
960e5535 20261 (innetgr): Likewise.
5d4cf042 20262
751eb97e
RM
202632011-07-05 Roland McGrath <roland@hack.frob.com>
20264
20265 * config.make.in (install_root): Default to $(DESTDIR).
20266
f15f1e45
UD
202672011-07-05 Ulrich Drepper <drepper@gmail.com>
20268
20269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20270
4e34ac6a
RM
202712011-07-02 Roland McGrath <roland@hack.frob.com>
20272
5e9b6af4
RM
20273 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20274
84f9ea0f
RM
20275 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20276 containing directory rather than embedding absolute directory names.
20277
ea5ee9f7
RM
20278 * scripts/check-local-headers.sh: Rewritten using awk.
20279 Match by word, not by line. Print error messages for matches.
20280 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20281
1b74661a
RM
20282 * Makerules [shlib-lds-flags empty]:
20283 ($(common-objpfx)libc_pic.opts): New target.
20284 ($(common-objpfx)libc_pic.os.clean): New target.
20285 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20286
20287 * config.make.in (OBJCOPY): New variable.
20288 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20289 * configure: Regenerated.
20290
f781ef40
RM
20291 * config.make.in (use-default-link): New variable.
20292 * configure.in (use_default_link): Grok --with-default-link to set it.
20293 * configure: Regenerated.
20294 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20295 (shlib-lds, shlib-lds-flags): Define to empty.
20296
2d4fa81e
RM
20297 * Makerules (shlib-lds): New variable.
20298 (shlib-lds-flags): New variable.
20299 (build-shlib, build-moduile, build-module-asneeded): Use it.
20300 ($(common-objpfx)libc.so): Use $(shlib-lds).
20301 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20302 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20303
31fffa6b
RM
20304 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20305 DT_FLAGS/DT_FLAGS_1 with zero flags.
20306
4e34ac6a
RM
20307 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20308 linker script munging.
20309
fcfc776b
UD
203102011-07-02 Ulrich Drepper <drepper@gmail.com>
20311
20312 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20313 as 128-bit value.
20314 * crypt/sha512.c (sha512_process_block): Perform total addition using
20315 128-bit if possible.
20316 (__sha512_finish_ctx): Likewise.
20317 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20318 as 64-bit value.
20319 * crypt/sha256.c (SWAP64): Define.
20320 (sha256_process_block): Perform total addition using 64-bit if
20321 possible.
20322 (__sha256_finish_ctx): Likewise.
20323
99231d9a
UD
203242011-07-01 Ulrich Drepper <drepper@gmail.com>
20325
20326 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20328 * nscd/hstcache.c (cache_addhst): Likewise.
20329 * nscd/grpcache.c (cache_addgr): Likewise.
20330 * nscd/aicache.c (addhstaiX): Likewise
20331 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20332
445b4a53
TK
203332011-07-01 Thorsten Kukuk <kukuk@suse.de>
20334
20335 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20337 * nscd/hstcache.c (cache_addhst): Likewise.
20338 * nscd/grpcache.c (cache_addgr): Likewise.
20339 * nscd/aicache.c (addhstaiX): Likewise
20340
6d4d8e8e
AS
203412011-07-01 Andreas Schwab <schwab@redhat.com>
20342
20343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20344 domain only when needed.
20345
89f654c5
AS
203462011-06-30 Andreas Schwab <schwab@redhat.com>
20347
20348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20349 is always restored.
20350
cf3b23ff
UD
203512011-06-29 Ulrich Drepper <drepper@gmail.com>
20352
20353 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20354 are re-adding the entry.
20355 * nscd/servicescache.c (cache_addserv): Likewise.
20356
751626f9
AJ
203572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20358
20359 * sysdeps/generic/dl-irel.h: fix protection against multiple
20360 inclusions.
20361 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20362
9113ea1f
UD
203632011-06-28 Ulrich Drepper <drepper@gmail.com>
20364
5c0b8d90
UD
20365 [BZ #12935]
20366 * malloc/memusage.sh: Fix quoting in message.
20367 * debug/xtrace.sh: Likewise.
20368
9113ea1f
UD
20369 * configure.in: Remove support for --experimental-malloc option, make
20370 it the default.
20371 * config.make.in: Likewise.
20372 * malloc/Makefile: Likewise.
20373
a4172181
AS
203742011-06-27 Andreas Schwab <schwab@redhat.com>
20375
20376 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20377 two-byte characters.
20378
78a7eee7
RM
203792011-06-27 Roland McGrath <roland@hack.frob.com>
20380
62bede13
RM
20381 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20382 AC_CACHE_CHECK invocation.
20383 * configure: Regenerated.
20384
78a7eee7
RM
20385 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20386
5ce33a62
UD
203872011-06-27 Ulrich Drepper <drepper@gmail.com>
20388
034807a9
UD
20389 [BZ #12350]
20390 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20391 bit from old_res_options.
20392
4902da17
UD
20393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20394
5ce33a62
UD
20395 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20396 value type for setfct.
20397
c2344f56
L
203982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20399
20400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20401 __gettimeofday instead of gettimeofday.
20402
68468076
UD
204032011-06-26 Ulrich Drepper <drepper@gmail.com>
20404
20405 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20406
acb0d739
L
204072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20408
20409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20410
20411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20412 info.
20413
8912479f
L
204142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20415
20416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20417 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20418 strcpy-sse2-unaligned strncpy-sse2-unaligned
20419 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20420 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20421 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20422 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20423 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20426 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20427 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20428 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20429 (STRCPY): Support SSE2 and SSSE3 versions.
20430
d5495a11
UD
204312011-06-24 Ulrich Drepper <drepper@gmail.com>
20432
20433 [BZ #12874]
20434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20435 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20436 kernels which artificially limit size of requests.
20437
0b1cbaae
L
204382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20439
20440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20441 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20442 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20443 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20444 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20445 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20446 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20447 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20450 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20451 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20452 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20453 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20454 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20456 Enable unaligned load optimization for Intel Core i3, i5 and i7
20457 processors.
20458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20459 Define.
20460 (index_Fast_Unaligned_Load): Define.
20461 (HAS_FAST_UNALIGNED_LOAD): Define.
20462
07f494a0
MP
204632011-06-23 Marek Polacek <mpolacek@redhat.com>
20464
20465 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20466
fa3fc0fe
UD
204672011-06-22 Ulrich Drepper <drepper@gmail.com>
20468
20469 [BZ #12907]
20470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20471 until it is clear that the information is realy needed.
20472 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20473
e12df166
AS
204742011-06-22 Andreas Schwab <schwab@redhat.com>
20475
20476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20477
852eb34d
UD
204782011-06-22 Ulrich Drepper <drepper@gmail.com>
20479
84e2a551
UD
20480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20481 /sys/devices/system/cpu/online if it is usable.
20482
852eb34d
UD
20483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20484 reading the information from the /proc filesystem to once a second.
20485
6e502e19
UD
204862011-06-21 Andreas Jaeger <aj@suse.de>
20487
20488 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20489 NULL after inclusion of kernel headers.
20490
75d39ff2
UD
204912011-06-21 Ulrich Drepper <drepper@gmail.com>
20492
51f9aa6a
UD
20493 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20494 calls to internal_setent.
20495
c0244a9d
UD
20496 [BZ #12885]
20497 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20498 addresses using gethostbyname4_r ignore IPv4 addresses.
20499
c5e3c2ae
UD
20500 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20501 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20502
75d39ff2
UD
20503 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20504
42675c6f
DM
205052011-06-20 David S. Miller <davem@davemloft.net>
20506
20507 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20508 inclusions.
20509 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20510
20511 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20512 (elf_irel): Use it.
20513 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20514 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20515 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20516 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20517 * sysdeps/x86_64/dl-irel.h: Likewise.
20518
20519 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20520 * elf/dl-sym.c: Likewise.
20521
57912a71
UD
205222011-06-15 Ulrich Drepper <drepper@gmail.com>
20523
20524 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20525 need to dereference resplen2.
20526
ee22793d
AS
205272011-06-14 Andreas Schwab <schwab@redhat.com>
20528
20529 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20530
a9e836b0
UD
205312011-06-15 Ulrich Drepper <drepper@gmail.com>
20532
77fb9117
UD
20533 * Makeconfig: Define vardbdir and inst_vardbdir.
20534 * nss/Makefile: Add rules to install db-Makefile.
20535
40c1b22c
UD
20536 * nss/nss_db/db-XXX.c: Cleanup.
20537
9f2da732
UD
20538 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20539 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20540 GLIBC_PRIVATE.
20541 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20542 * nss/makedb.c: Implement -g option to specify that value strings
20543 are generated and should not be added to table iterated over for
20544 get*ent calls.
20545 * nss/nss_db/db-initgroups.c: New file.
20546
82e9a1f7
UD
20547 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20548 interface.
20549
c41af17e
UD
20550 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20551 (internal_getgrouplist): Adjust to name change.
20552 Update use_initgroups_entry if this is not the first call.
20553 * nss/databases.def: Add initgroups entry.
20554
a9e836b0
UD
20555 * nss/makedb.c (compute_tables): Check result of multiple hash table
20556 sizes to minimize maximum chain length.
20557
2666d441
UD
205582011-06-14 Ulrich Drepper <drepper@gmail.com>
20559
20560 * Versions.def: Add entry for libnss_db.
20561 * shlib-versions: Likewise.
20562 * nss/Makefile: Add rules to build libnss_db.
20563 * nss/Versions: Add libnss_db information. Organize libnss_files
20564 entries better.
20565 * nss/db-Makefile: Add gshadow support. Change rules for the new
20566 makedb progra. Some minor improvements to generate smaller files.
20567 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20568 here from...
20569 * nss/makedb.c: ...here.
20570 Improve database format to be smaller and require less memory at
20571 runtime.
20572 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20573 db anymore.
20574 * nss/nss_db/db-netgrp.c: Likewise.
20575 * nss/nss_db/db-open.c: Likewise.
20576 * nss/nss_files/flies-XXX.x: Adjust comments.
20577 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20578 * nss/nss_files/files-grp.c: Likewise.
20579 * nss/nss_files/files-hosts.c: Likewise.
20580 * nss/nss_files/files-network.c: Likewise.
20581 * nss/nss_files/files-proto.c: Likewise.
20582 * nss/nss_files/files-pwd.c: Likewise.
20583 * nss/nss_files/files-rpc.c: Likewise.
20584 * nss/nss_files/files-service.c: Likewise.
20585 * nss/nss_files/files-sgrp.c: Likewise.
20586 * nss/nss_files/files-spwd.c: Likewise.
20587 * nss/nss_db/db-alias.c: Removed.
20588 * nss/nss_db/dummy-db.h: Removed.
20589
9ee76b5a
UD
205902011-06-02 Ulrich Drepper <drepper@gmail.com>
20591
20592 * nss/makedb.c: Rewritten to not use database library.
20593 * nss/Makefile: Update to build new makedb program.
20594
c71ca1f8
AJ
205952011-06-14 Andreas Jaeger <aj@suse.de>
20596
20597 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20598 memset declaration.
20599
3154bfb8
UD
206002011-06-10 Andreas Schwab <schwab@redhat.com>
20601
20602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20603 tmpbuf.
20604
b350afab
RM
206052011-06-10 Roland McGrath <roland@hack.frob.com>
20606
decd4e50
RM
20607 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20608 * elf/Makefile ($(objpfx)ld.so): Likewise.
20609
5615eaf2
RM
20610 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20611 Don't list ld.so twice in dependencies.
20612
20613 * posix/bug-regex31.c: Include <stdlib.h>.
20614
20615 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20616
20617 * nis/nss_compat/compat-spwd.c
20618 (getspent_next_nss_netgr): Remove unused variable.
20619 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20620
20621 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20622 nonmembers" output to use the right array.
20623
20624 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20625
20626 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20627
20628 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20629 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20630 * catgets/gencat.c (read_input_file): Likewise.
20631 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20632
20633 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20634 variable definition inside #if's controlling its use.
20635
20636 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20637
20638 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20639
20640 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20641
20642 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20643 unreachable code.
20644
20645 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20646
b68e08db
RM
20647 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20648 * configure: Regenerated.
20649
b350afab
RM
20650 * Makerules: Revert last change.
20651 * elf/Makefile: Likewise.
20652
28368601
RM
206532011-06-09 Roland McGrath <roland@hack.frob.com>
20654
20655 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20656 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20657 (reloc-link): Likewise.
20658
11988f8f
UD
206592011-06-09 Ulrich Drepper <drepper@gmail.com>
20660
20661 * elf/Makefile: Add rules to build pldd.
20662 * elf/pldd.c: New file.
20663 * elf/pldd-xx.c: New file.
20664
e80fab37
UD
206652011-06-07 Ulrich Drepper <drepper@gmail.com>
20666
20667 * version.h: Update for 2.15 development version.
20668
9b849836
DM
206692011-06-07 David S. Miller <davem@davemloft.net>
20670
20671 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20672 ifuncs.
20673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20674 elf_machine_lazy_rel): Likewise.
20675 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20677 elf_machine_lazy_rel): Likewise.
20678 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20679 dl_hwcap via passed in argument.
20680 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20681 Likewise.
20682
5a31b283
AK
206832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20684
20685 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20686
069e52f8
RM
206872011-06-06 Roland McGrath <roland@hack.frob.com>
20688
20689 [BZ #12849]
20690 * manual/fdl-1.1.texi: New file, verbatim from:
20691 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20692 * manual/lgpl-2.1.texi: New file, verbatim from:
20693 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20694 * manual/Makefile (licenses): New variable, list those new file names.
20695 (texis): Use it.
20696 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20697
20698 * manual/fdl.texi: File removed.
20699 * manual/lesser.texi: File removed.
20700 * manual/libc.texinfo (Copying, Documentation License):
20701 Use new @include file names, put @appendix directive before @include.
20702
f16846a5
JJ
207032011-06-04 Jakub Jelinek <jakub@redhat.com>
20704
20705 [BZ #12841]
20706 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20707 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20708 (mq_open): Add __NTH.
20709
3d29045b
L
207102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20711
20712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20713 Assume Intel Core i3/i5/i7 processor if AVX is available.
20714
8c297311
UD
207152011-05-31 Ulrich Drepper <drepper@gmail.com>
20716
20717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20718 typo.
20719
c8fc0c91
UD
207202011-05-31 Andreas Schwab <schwab@redhat.com>
20721
20722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20723 memory. Use alloca_account. Fix memory leak when retrying.
20724
5b27a807
UD
207252011-05-31 Ulrich Drepper <drepper@gmail.com>
20726
356f8bc6
UD
20727 * version.h (RELEASE): Bump for 2.14 release.
20728 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20729
5b27a807
UD
20730 * config.make.in (RANLIB): Remove entry.
20731
01f16ab0
UD
207322011-05-30 Ulrich Drepper <drepper@gmail.com>
20733
41fce8bd
UD
20734 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20735 (libc.pot): Work around missing support for .ksh extension in xgettext.
20736
4769ae77
UD
20737 [BZ #12684]
20738 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20739 if both request failed.
20740 (send_dg): In case of server errors clear resplen or *resplen2.
20741
6b1e7d19
UD
20742 [BZ #12454]
20743 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20744 when there are multiple maps.
20745 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20746 (_dl_fini): Remove test here.
20747
01f16ab0
UD
20748 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20749
b1ebd700
UD
207502011-05-29 Ulrich Drepper <drepper@gmail.com>
20751
7ae22829
UD
20752 [BZ #12350]
20753 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20754 bit from old_res_options.
20755 (gaih_inet): Likewise.
20756
553149f6 20757 [BZ #11099]
18a84741 20758 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20759 as signed.
20760
652ffab1
UD
20761 * resolv/res_init.c (res_setoptions): Make the code more compact.
20762
16985fd0
UD
20763 [BZ #11558]
20764 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20765 set RES_USEVC.
20766
0464f746
UD
20767 [BZ #11634]
20768 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20769
7d17596c
UD
20770 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20771
cf6bbbd7
UD
20772 [BZ #11781]
20773 * malloc/malloc.h: Declare malloc hook variables as volatile.
20774
13f1ab36
UD
20775 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20776 in last patch.
20777
b1ebd700
UD
20778 [BZ #11799]
20779 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20780 raise in the comment.
80e2212d
UD
20781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20783 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20784
ce67228d
UD
207852011-05-28 Ulrich Drepper <drepper@gmail.com>
20786
8887a920
UD
20787 [BZ #12811]
20788 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20789 grow the buffers more if it already has to be sufficient.
20790 (build_wcs_upper_buffer): Likewise.
20791 * posix/regexec.c (check_matching): Likewise.
20792 (clean_state_log_if_needed): Likewise.
20793 (extend_buffers): Don't enlarge buffers beyond size of the input
20794 buffer.
20795 Patches mostly by Emil Wojak <emil@wojak.eu>.
20796 * posix/bug-regex32.c: New file.
20797 * posix/Makefile (tests): Add bug-regex32.
20798
4f031072
UD
20799 * locale/findlocale.c (_nl_find_locale): Return right away if
20800 _nl_explode_name failed.
20801 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20802
d0478f0c
UD
20803 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20804
de81b246
UD
20805 * debug/xtrace.sh: Unify messages.
20806 * malloc/memusage.sh: Likewise.
20807
c738465a
UD
20808 [BZ #12813]
20809 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20810 time symbol from vDSO. Substitute with vsyscall if not available.
20811 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20812 __vdso_time.
20813
f1f929d7
UD
20814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20815 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20816 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20817 Add sendmmsg and internal_sendmmsg.
20818 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20821
ce67228d
UD
20822 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20823 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20825
e57420c6
UD
208262011-05-27 Ulrich Drepper <drepper@gmail.com>
20827
a8509ca5
UD
20828 [BZ #12813]
20829 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20830 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20831 available.
20832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20833 __vdso_getcpu.
20834
e57420c6
UD
20835 [BZ #12814]
20836 * iconvdata/Makefile (tests): Add bug-iconv9.
20837 * iconvdata/bug-iconv9.c: New file.
20838
4d07db15
AS
208392011-05-27 Andreas Schwab <schwab@redhat.com>
20840
20841 [BZ #12814]
20842 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20843
ea486f69
JJ
208442011-05-25 Jakub Jelinek <jakub@redhat.com>
20845
20846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20847 (struct user_regs_struct): Change intcs field back to cs.
20848
6f038433
UD
208492011-05-25 Ulrich Drepper <drepper@gmail.com>
20850
20851 * po/ja.po: Update from translation team.
20852
67f86a25
UD
208532011-05-23 Ulrich Drepper <drepper@gmail.com>
20854
20855 [BZ #12795]
20856 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20858
def7fbd6
AS
208592011-05-20 Andreas Schwab <schwab@redhat.com>
20860
20861 * stdlib/longlong.h: Update from GCC.
20862
f50ef8f1
AS
208632011-05-23 Andreas Schwab <schwab@redhat.com>
20864
20865 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20866 parameter name.
20867 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20868 Add parameter name.
20869 (__sysconf): Pass it down.
20870
de7ce8f1
UD
208712011-05-22 Ulrich Drepper <drepper@gmail.com>
20872
f2962a71
UD
20873 [BZ #12671]
20874 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20875 some situations.
20876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20877 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20878 add in in __libc_use_alloca calls. Adjust callers.
20879 (glob): Use malloc in some situations.
20880
de7ce8f1
UD
20881 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20882 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20883 pltexit.
20884
aec84f53
UD
208852011-05-21 Ulrich Drepper <drepper@gmail.com>
20886
05bb4a68
UD
20887 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20888 and CLOCK_BOOTTIME_ALARM.
20889
7ea72f99
UD
20890 [BZ #12782]
20891 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20892 is returned.
20893
7e4afad5
UD
20894 * string/_strerror.c (__strerror_r): Print negative errors as signed
20895 numbers.
20896
8e211fec
UD
20897 [BZ #12777]
20898 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20899 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20900 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20901
f7d82dc9
UD
20902 * configure.in: Fix typo in redirection and correct removal of test
20903 files in two cases.
20904
cc9e536d
UD
20905 [BZ #12788]
20906 * locale/setlocale.c (new_composite_name): Fix test to check for
20907 identical name of all categories.
20908
aec84f53
UD
20909 [BZ #12792]
20910 * libio/filedoalloc.c (local_isatty): New function.
20911 (_IO_file_doallocate): Use local_isatty.
20912 * stdio-common/perror.c (perror): In case a new stream is used
20913 forward the stream error.
20914 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20915 error flag.
20916
78e64fdc
RT
209172011-05-20 Ulrich Drepper <drepper@gmail.com>
20918
34a9094f
UD
20919 [BZ #11869]
20920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20921 alloca.
20922 * include/alloca.h (extend_alloca_account): Define.
20923
78e64fdc
RT
20924 [BZ #11857]
20925 * posix/regex.h: Fix comments with documentation of user-accessible
20926 fields after compilation and describe correct free'ing of pattern
20927 after re_compile_pattern.
20928 Patch by Reuben Thomas <rrt@sc3d.org>.
20929
457bddfc
RA
209302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20931
20932 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20933 and -mno-altivec to prevent the compiler from using Altivec and/or
20934 VSX instructions when the corresponding registers are not available.
20935
a4527b51
AS
209362011-05-19 Andreas Schwab <schwab@redhat.com>
20937
20938 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20939
ed690b2f
UD
209402011-05-19 Ulrich Drepper <drepper@gmail.com>
20941
20942 * libio/freopen.c (freopen): Use __dup2, not dup2.
20943 * libio/freopen64.c (freopen64): Likewise.
20944
8db73634
L
209452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20946
20947 [BZ #12775]
20948 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20949 * math/Makefile (tests): Add test-powl.
20950 (CFLAGS-test-powl.c): Define.
20951 * math/test-powl.c: New file.
20952
0a197a9d
L
209532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20954
20955 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20956
ee30c380
UD
209572011-05-17 Ulrich Drepper <drepper@gmail.com>
20958
20959 [BZ #11837]
20960 * iconvdata/gb18030.c: Update to GB18020-2005.
20961
6ce75379
UD
209622011-05-16 Ulrich Drepper <drepper@gmail.com>
20963
a4b89fd8
AR
20964 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20965 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20966 Patch by Aharon Robbins <arnold@skeeve.com>.
20967
ea389b12
UD
20968 [BZ #11892]
20969 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20970 on the stack.
20971
68a3f91f
UD
20972 [BZ #11895]
20973 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20974 through underflows.
20975
15cc7dd1
UD
20976 [BZ #12766]
20977 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20978 point to strings before performing equality test for error_one_per_line
20979 mode.
20980
f3799213
UD
20981 [BZ #11697]
20982 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20983
d79a9c94
UD
20984 [BZ #11820]
20985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20986 (struct user_fpregs_struct): Avoid __uint*_t types.
20987
56e5eb46
UD
20988 [BZ #6420]
20989 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20990 symbol info. Use it instead of calling _dl_addr locally.
20991 (lock_and_info): New function.
20992 (tr_freehook): Call lock_and_info and pass symbol info as additional
20993 parameter to tr_where.
20994 (tr_mallochook): Likewise.
20995 (tr_reallochook): Likewise.
20996 (tr_memalignhook): Likewise.
20997
6ce75379
UD
20998 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20999 used and couldn't be at all thread-safe.
21000
f8a3b5bf
UD
210012011-05-15 Ulrich Drepper <drepper@gmail.com>
21002
94b7cc37
UD
21003 * libio/freopen.c (freopen): Don't close old file descriptor
21004 before the new one is opened. Instead dup the new file descriptor
21005 to the old one after the new stream is created.
21006 * libio/freopen64.c (freopen64): Likewise.
21007 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21008 * libio/fileops.c (_IO_new_file_close_it): Handle new
21009 _IO_FLAGS2_NOCLOSE flag.
21010 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21011 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21012 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21013 _IO_FLAGS2_NOCLOSE flag.
21014 * include/unistd.h: Add hidden_proto for dup3.
21015 Define __have_dup3.
21016 * io/dup3.c: Define hidden symbol.
21017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21018
bd25564e
UD
21019 [BZ #7101]
21020 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21021 when an incomplete long option is used.
21022 * posix/tst-getopt_long1.c: New file.
21023 * posix/Makefile (tests): Add tst-getopt_long1.
21024
c84cfef4
UD
21025 [BZ #10138]
21026 * scripts/config.guess: Update from autoconf-2.68.
21027 * scripts/config.sub: Likewise.
21028
3b85df27
UD
21029 [BZ #10157]
21030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21031 tests into ...
21032 (has_cpuclock): ...this. New function.
21033 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21034 macro here based on has_cpuclock code.
21035
15a856b1
UD
21036 [BZ #10149]
21037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21038 First byte (not low byte) is now always NUL.
21039 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21040
05f399e6
UD
21041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21042 Use non-cancelable interfaces.
21043
10a52685 21044 [BZ #9809]
94ecc67d
UD
21045 * locale/iso-639.def: Add entry for Sorani.
21046
f8a3b5bf
UD
21047 [BZ #11901]
21048 * include/stdlib.h: Move include protection to the right place.
21049 Define abort_msg_s. Declare __abort_msg with it.
21050 * stdlib/abort.c (__abort_msg): Adjust type.
21051 * assert/assert.c (__assert_fail_base): New function. Majority
21052 of code from __assert_fail. Allocate memory for __abort_msg with
21053 mmap.
21054 (__assert_fail): Now call __assert_fail_base.
21055 * assert/assert-perr.c: Remove bulk of implementation. Use
21056 __assert_fail_base.
21057 * include/assert.hL Declare __assert_fail_base.
21058 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21059 mmap.
21060 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21061
1af4e298
UD
210622011-05-14 Ulrich Drepper <drepper@gmail.com>
21063
f8a3b5bf 21064 [BZ #11952]
d26dfc60
MG
21065 [BZ #12453]
21066 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21067 until all modules are registered in the DTV.
21068 * elf/Makefile: Add rules to build and run tst-tls19.
21069 * elf/tst-tls19.c: New file.
21070 * elf/tst-tls19mod1.c: New file.
21071 * elf/tst-tls19mod2.c: New file.
21072 * elf/tst-tls19mod3.c: New file.
21073 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21074
2fc54d6f
UD
21075 [BZ #12083]
21076 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21077 correctly.
21078
98d76b46
UD
21079 [BZ #12601]
21080 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21081 two-byte sequence errors.
21082 * iconvdata/Makefile (tests): Add bug-iconv8.
21083 * iconvdata/bug-iconv8.c: New file.
21084
da3c19ef
UD
21085 [BZ #12626]
21086 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21087 buf2 definition.
21088
ca408c15
UD
21089 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21090
d6f67f7d
UD
21091 [BZ #12432]
21092 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21093 (dummy_getcfa): New function.
21094 (init): Get _Unwind_GetCFA address, use dummy if not found.
21095 (backtrace_helper): In recursion check, also check whether CFA changes.
21096 (__backtrace): Completely initialize arg.
21097
1af4e298 21098 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21099 storing incomplete byte sequence in state object. Avoid testing for
21100 guaranteed too small input if we know there is enough data available.
1af4e298 21101
da62f81b
AS
211022011-05-11 Andreas Schwab <schwab@redhat.com>
21103
21104 * Makeconfig (+link-pie): Indent.
21105 * Rules (binaries-pie): Define if $(have-fpie) and
21106 $(build-shared).
21107 (binaries-shared): Also filter out $(binaries-pie).
21108 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21109 * nscd/Makefile (others-pie): Add nscd.
21110 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21111 ($(objpfx)nscd): Remove command override.
21112 * login/Makefile (others-pie): Add pt_chown.
21113 ($(objpfx)pt_chown): Remove command override.
21114 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21115 remove command overrides.
21116
fcabc0f8
UD
211172011-05-13 Ulrich Drepper <drepper@gmail.com>
21118
20030ae6
UD
21119 * libio/tst_putwc.c: Fix error messages.
21120
fcabc0f8
UD
21121 [BZ #12724]
21122 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21123 currently writing and seek to current position when not.
21124 * libio/Makefile (tests): Add bug-fclose1.
21125 * libio/bug-fclose1.c: New file.
21126
320a5dc0
PB
211272011-05-12 Ulrich Drepper <drepper@gmail.com>
21128
21129 [BZ #12511]
21130 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21131 don't set DF_1_NODELETE here.
21132 (do_lookup_x): When entering new entry test for copy relocation
21133 and if necessary set DF_1_NODELETE flag.
21134 * elf/tst-unique4.cc: New file.
21135 * elf/tst-unique4.h: New file.
21136 * elf/tst-unique4lib.cc: New file.
21137 * elf/Makefile: Add rules to build and run tst-unique4.
21138 Patch by Piotr Bury <pbury@goahead.com>.
21139
22836f52
UD
211402011-05-11 Ulrich Drepper <drepper@gmail.com>
21141
f574184a
UD
21142 [BZ #12052]
21143 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21144
e1fb097f
UD
21145 [BZ #12625]
21146 * misc/mntent_r.c (addmntent): Flush the stream after the output
21147
22836f52
UD
21148 [BZ #12393]
21149 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21150 (is_trusted_path_normalize): Skip initial colon. Append slash
21151 to empty buffer. Duplicate is_trusted_path code but allow
21152 constructed patch to be prefix.
21153 (is_dst): Allow $ORIGIN followed by /.
21154 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21155 Correct testing of result of is_trusted_path_normalize
21156 (decompose_rpath): Fix warning.
21157
7b3b0b2a
UD
211582011-05-10 Ulrich Drepper <drepper@gmail.com>
21159
21160 [BZ #11257]
21161 * grp/initgroups.c (internal_getgrouplist): When we found the service
21162 list through the initgroups entry in nsswitch.conf do not always
21163 continue on a successful lookup. Don't always use the
eac80ce2 21164 __nss_group_database value if it is set.
7b3b0b2a
UD
21165 * nss/nsswitch.conf (initgroups): Change action for successful db
21166 lookup to continue for compatibility.
21167
2a81eaa5
UD
211682011-05-09 Ulrich Drepper <drepper@gmail.com>
21169
be97a69e
UD
21170 [BZ #11532]
21171 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21172 and CP774 modules.
21173 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21174 and CP774 modules.
21175 * iconvdata/tst-tables.sh: Likewise.
21176 * iconvdata/cp770.c: New file.
21177 * iconvdata/cp771.c: New file.
21178 * iconvdata/cp772.c: New file.
21179 * iconvdata/cp773.c: New file.
21180 * iconvdata/cp774.c: New file.
21181 * iconvdata/testdata/CP770: New file.
21182 * iconvdata/testdata/CP770..UTF8: New file.
21183 * iconvdata/testdata/CP771: New file.
21184 * iconvdata/testdata/CP771..UTF8: New file.
21185 * iconvdata/testdata/CP772: New file.
21186 * iconvdata/testdata/CP772..UTF8: New file.
21187 * iconvdata/testdata/CP773: New file.
21188 * iconvdata/testdata/CP773..UTF8: New file.
21189 * iconvdata/testdata/CP774: New file.
21190 * iconvdata/testdata/CP774..UTF8: New file.
21191
21192 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21193 END CHARMAP line.
21194 * iconvdata/gen-8bit-gap.sh: Likewise.
21195 * iconvdata/gen-8bit.sh: Likewise.
21196
c1e9e399
UD
21197 * locale/iso-639.def: Add ary entry.
21198
24c55fb3 21199 [BZ #11258]
96b4b1b0
UD
21200 * locale/C-translit.h.in: Add U20A1 transliteration.
21201
bdc2f971
KB
21202 [BZ #12178]
21203 * locale/iso-639.def: Add wae entry.
21204 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21205
2952b117
UD
21206 [BZ #12545]
21207 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21208 for n.
21209
2a81eaa5
UD
21210 [BZ #12711]
21211 * locale/C-translit.h.in: Add entry for U20B9.
21212 Patch by pravin.d.s@gmail.com.
21213
28377d1b
UD
212142011-05-08 Ulrich Drepper <drepper@gmail.com>
21215
7fb90fb8
UD
21216 [BZ #12713]
21217 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21218 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21219 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21220 in rtld. Use *stat64.
7fb90fb8 21221 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21222 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21223 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21224 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21225 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21226 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21227 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21228 __fstatat64 macros.
7fb90fb8
UD
21229 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21230 * dirent/rewinddir.c: Add libc_hidden_def.
21231 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21232 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21233
28377d1b
UD
21234 * include/dirent.h (__alloc_dir): Add flags parameter.
21235 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21236 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21237 __alloc_dir.
21238 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21239 from fdopendir if O_CLOEXEC is already set.
21240
66bdbaa4
AM
212412011-03-15 Alan Modra <amodra@gmail.com>
21242
21243 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21244 l_tls_firstbyte_offset non-zero. Save padding offset in
21245 l_tls_firstbyte_offset for later use.
21246 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21247 freeing static tls block.
21248
95721191
JN
212492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21250
21251 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21252 where #ifdef was intended. The intent is to prevent ARG_MAX from
21253 being defined by the kernel headers.
21254
f87dfb1f
UD
212552011-05-07 Ulrich Drepper <drepper@gmail.com>
21256
21257 [BZ #12734]
21258 * resolv/resolv.h: Define RES_NOTLDQUERY.
21259 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21260 no-tld-query and set RES_NOTLDQUERY.
21261 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21262 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21263 modern BIND to search name as TLD unless forbidden.
21264
47c3cd7a
UD
212652011-05-07 Petr Baudis <pasky@suse.cz>
21266 Ulrich Drepper <drepper@gmail.com>
21267
21268 [BZ #12393]
21269 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21270 (is_trusted_path): ...to here.
c1e9ea35 21271 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21272 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21273 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21274
8a35c912
PP
212752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21276
21277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21278 __BEGIN/__END_DECLS.
21279
acd41f47
UD
212802011-05-06 Ulrich Drepper <drepper@gmail.com>
21281
21282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21283 NSS_STATUS_NOTFOUND if no record was found.
21284
597df647
AS
212852011-05-05 Andreas Schwab <schwab@redhat.com>
21286
21287 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21288 (headers-not-in-tirpc): Remove rpc/netdb.h
21289 * resolv/netdb.h: Revert last change.
21290
b9af1301
PP
212912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21292
21293 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21294 circular dependency between libgcc.a and libc.a.
21295
4e34d5f5
AS
212962011-05-05 Andreas Schwab <schwab@redhat.com>
21297
21298 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21299 * nis/Makefile: Don't install rpcsvc/*.
21300 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21301 instead of <rpc/types.h>.
21302 (MAXHOSTNAMELEN): Define.
21303
00ee369c
AS
213042011-05-03 Andreas Schwab <schwab@redhat.com>
21305
21306 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21307
0b592a30
MB
213082011-04-28 Maciej Babinski <mbabinski@google.com>
21309
21310 [BZ #12714]
21311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21312 gethostbyname4_r when IPv6 results are possible.
21313
6e04cbbe
UD
213142011-05-02 Ulrich Drepper <drepper@gmail.com>
21315
21316 [BZ #12723]
21317 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21318 _PC_PIPE_BUF handling.
21319
e4ecafe0
BH
213202011-04-30 Bruno Haible <bruno@clisp.org>
21321
21322 [BZ #12717]
21323 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21324 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21325 to 'int'.
21326 * inet/getnameinfo.c (getnameinfo): Likewise.
21327
125ee683
UD
213282011-04-29 Ulrich Drepper <drepper@gmail.com>
21329
21330 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21331 to groups setting in database lookup.
21332 * nss/nsswitch.conf: Add initgroups entry.
21333
b722481a
EB
213342011-04-22 Ulrich Drepper <drepper@gmail.com>
21335
21336 [BZ #12685]
21337 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21338 mode string.
21339 Patch by Eric Blake <eblake@redhat.com>.
21340
4df46dbd
L
213412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21342
21343 * sunrpc/Makefile (need-export-routines): Add svc_run.
21344 (routines): Remove svc_run.
21345 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21346 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21347 * sunrpc/svc_run.c (svc_run): Likewise.
21348 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21349
e84142d2
UD
213502011-04-21 Ulrich Drepper <drepper@gmail.com>
21351
21352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21353 problem in reallocation in last patch.
21354
877175d8
UD
213552011-04-20 Ulrich Drepper <drepper@gmail.com>
21356
21357 * sunrpc/Makefile: Move inclusion of Rules.
21358
ab8eed78
UD
213592011-04-19 Ulrich Drepper <drepper@gmail.com>
21360
21361 * nss/nss_files/files-initgroups.c: New file.
21362 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21363 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21364 _nss_files_initgroups_dyn.
21365
e3d8f584
RS
213662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21367
21368 * elf/elf.h (R_ARM_IRELATIVE): Define.
21369
af190f45
UD
213702011-04-19 Ulrich Drepper <drepper@gmail.com>
21371
21372 * po/ru.po: Update from translation team.
21373
53cf59ef
UD
213742011-04-17 Ulrich Drepper <drepper@gmail.com>
21375
21376 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21377 dependencies.
21378
4c559bcd
MF
213792011-02-06 Mike Frysinger <vapier@gentoo.org>
21380
21381 [BZ #12653]
21382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21383 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21387
4420675c
AS
213882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21389
21390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21391 differing bytes.
21392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21395
75ea32ab
UD
213962011-04-17 Ulrich Drepper <drepper@gmail.com>
21397
21398 [BZ #12420]
21399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21400 storing it.
21401 * stdlib/bug-getcontext.c: New file.
21402 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21403
27390476
AK
214042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21405
21406 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21407 instructions into .machine "z9-109".
21408 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21409 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21410
10442705
AK
214112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21412
21413 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21414 between environment variables and auxiliary vector.
21415
7b57bfe5
UD
214162011-04-16 Ulrich Drepper <drepper@gmail.com>
21417
21418 * Makefile: Add rules to build linkobj/libc.so.
21419 * include/libc-symbols.h: Define libc_hidden_nolink.
21420 * include/rpc/auth.h: Mark functions which are to be hidden.
21421 * include/rpc/auth_des.h: Likewise.
21422 * include/rpc/auth_unix.h: Likewise.
21423 * include/rpc/clnt.h: Likewise.
21424 * include/rpc/des_crypt.h: Likewise.
21425 * include/rpc/key_prot.h: Likewise.
21426 * include/rpc/pmap_clnt.h: Likewise.
21427 * include/rpc/pmap_prot.h: Likewise.
21428 * include/rpc/pmap_rmt.h: Likewise.
21429 * include/rpc/rpc_msg.h: Likewise.
21430 * include/rpc/svc.h: Likewise.
21431 * include/rpc/svc_auth.h: Likewise.
21432 * include/rpc/xdr.h: Likewise.
21433 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21434 * nss/Makefile: Likewise.
21435 * sunrpc/Makefile: Don't install headers. Build library with normal
21436 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21437 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21438 for the compat linking library. Remove use of INTDEF/INTUSE.
21439 * sunrpc/auth_none.c: Likewise.
21440 * sunrpc/auth_unix.c: Likewise.
21441 * sunrpc/authdes_prot.c: Likewise.
21442 * sunrpc/authuxprot.c: Likewise.
21443 * sunrpc/clnt_gen.c: Likewise.
21444 * sunrpc/clnt_perr.c: Likewise.
21445 * sunrpc/clnt_raw.c: Likewise.
21446 * sunrpc/clnt_simp.c: Likewise.
21447 * sunrpc/clnt_tcp.c: Likewise.
21448 * sunrpc/clnt_udp.c: Likewise.
21449 * sunrpc/clnt_unix.c: Likewise.
21450 * sunrpc/des_crypt.c: Likewise.
21451 * sunrpc/des_soft.c: Likewise.
21452 * sunrpc/get_myaddr.c: Likewise.
21453 * sunrpc/key_call.c: Likewise.
21454 * sunrpc/key_prot.c: Likewise.
21455 * sunrpc/netname.c: Likewise.
21456 * sunrpc/pm_getmaps.c: Likewise.
21457 * sunrpc/pm_getport.c: Likewise.
21458 * sunrpc/pmap_clnt.c: Likewise.
21459 * sunrpc/pmap_prot.c: Likewise.
21460 * sunrpc/pmap_prot2.c: Likewise.
21461 * sunrpc/pmap_rmt.c: Likewise.
21462 * sunrpc/publickey.c: Likewise.
21463 * sunrpc/rpc_cmsg.c: Likewise.
21464 * sunrpc/rpc_common.c: Likewise.
21465 * sunrpc/rpc_dtable.c: Likewise.
21466 * sunrpc/rpc_prot.c: Likewise.
21467 * sunrpc/rpc_thread.c: Likewise.
21468 * sunrpc/rtime.c: Likewise.
21469 * sunrpc/svc.c: Likewise.
21470 * sunrpc/svc_auth.c: Likewise.
21471 * sunrpc/svc_authux.c: Likewise.
21472 * sunrpc/svc_raw.c: Likewise.
21473 * sunrpc/svc_run.c: Likewise.
21474 * sunrpc/svc_simple.c: Likewise.
21475 * sunrpc/svc_tcp.c: Likewise.
21476 * sunrpc/svc_udp.c: Likewise.
21477 * sunrpc/svc_unix.c: Likewise.
21478 * sunrpc/svcauth_des.c: Likewise.
21479 * sunrpc/xcrypt.c: Likewise.
21480 * sunrpc/xdr.c: Likewise.
21481 * sunrpc/xdr_array.c: Likewise.
21482 * sunrpc/xdr_float.c: Likewise.
21483 * sunrpc/xdr_intXX_t.c: Likewise.
21484 * sunrpc/xdr_mem.c: Likewise.
21485 * sunrpc/xdr_rec.c: Likewise.
21486 * sunrpc/xdr_ref.c: Likewise.
21487 * sunrpc/xdr_sizeof.c: Likewise.
21488 * sunrpc/xdr_stdio.c: Likewise.
21489
e6c61494
UD
214902011-04-10 Ulrich Drepper <drepper@gmail.com>
21491
21492 [BZ #12650]
21493 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21494 * sysdeps/ia64/dl-tls.h: Likewise.
21495 * sysdeps/powerpc/dl-tls.h: Likewise.
21496 * sysdeps/s390/dl-tls.h: Likewise.
21497 * sysdeps/sh/dl-tls.h: Likewise.
21498 * sysdeps/sparc/dl-tls.h: Likewise.
21499 * sysdeps/x86_64/dl-tls.h: Likewise.
21500 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21501
34fe483e
AS
215022011-03-14 Andreas Schwab <schwab@redhat.com>
21503
21504 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21505 rpath element also skip the following colon.
21506 (expand_dynamic_string_token): Add is_path parameter and pass
21507 down to DL_DST_REQUIRED and _dl_dst_substitute.
21508 (decompose_rpath): Call expand_dynamic_string_token with
21509 non-zero is_path. Ignore empty rpaths.
21510 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21511 with zero is_path.
21512
f12a32e6
AS
215132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21514
21515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21516 Make cancelable.
21517
38a7d692
UD
215182011-04-09 Ulrich Drepper <drepper@gmail.com>
21519
21520 [BZ #12655]
21521 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21522 Patch by Filipe David Manana <fdmanana@apache.org>.
21523
e451d22b
AS
215242011-04-07 Andreas Schwab <schwab@redhat.com>
21525
21526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21527 Maintain aligned stack.
21528 (CHECK_RSP): Remove unused macro.
21529
dedc7c7b
UD
215302011-04-03 Ulrich Drepper <drepper@gmail.com>
21531
21532 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21534
94521213
UD
215352011-04-02 Ulrich Drepper <drepper@gmail.com>
21536
21537 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21538
8cb700c0 21539 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21540
0354e355
L
215412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 [BZ #12518]
21544 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21545 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21546 * sysdeps/x86_64/memmove.c: New file.
21547 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21548 (memcpy): Renamed to ...
21549 (__new_memcpy): This.
21550 (memcpy): Provide GLIBC_2_14 memcpy.
21551 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21552 (memcpy): Provide GLIBC_2_2_5 memcpy.
21553
8593482f
UD
215542011-04-01 Ulrich Drepper <drepper@gmail.com>
21555
21556 [BZ #12631]
21557 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21558
81a5726b
AS
215592011-03-30 Andreas Schwab <schwab@redhat.com>
21560
21561 * misc/syncfs.c: New file.
21562 * misc/Makefile (routines): Add syncfs.
21563 * posix/unistd.h: Declare syncfs.
21564 * sysdeps/unix/syscalls.list: Add syncfs.
21565
00e5419f
AS
215662011-04-01 Andreas Schwab <schwab@redhat.com>
21567
21568 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21569 open_by_handle_at.
21570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21575 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21577
748876bf
UD
215782011-04-01 Ulrich Drepper <drepper@gmail.com>
21579
658e451d
UD
21580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21587
748876bf
UD
21588 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21589 sync_file_range.c with -fexceptions.
21590 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21591 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21592 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21593 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21594 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21595 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21597 sync_file_range as cancellation point
21598 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21599 now a wrapper around __call_sync_file_range with cancellation handling.
21600 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21602 function name to __call_sync_file_range.
21603 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21604 Add call_sync_file_range.
748876bf 21605
6e63d5e1
AS
216062011-04-01 Andreas Schwab <schwab@redhat.com>
21607
21608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21609 bits/timex.h.
6e63d5e1 21610
46998f74
UD
216112011-04-01 Ulrich Drepper <drepper@gmail.com>
21612
4c1423ed
UD
21613 * iconv/iconv.h: Fix typo in comment.
21614 * io/fcntl.h: Likewise.
21615 * libio/stdio.h: Likewise.
21616 * posix/spawn.h: Likewise.
21617 * posix/unistd.h: Likewise.
21618 * stdlib/stdlib.h: Likewise.
21619 * time/time.h: Likewise.
21620 * wcsmbs/wchar.h: Likewise.
21621
158648c0
UD
21622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21623 open_by_handle): Add.
21624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21625 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21626 Augment a few comments.
21627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21632 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21633 open_by_handle.
21634
46998f74
UD
21635 * io/fcntl.h (AT_EMPTY_PATH): Define.
21636
83fe108b
UD
216372011-03-30 Ulrich Drepper <drepper@gmail.com>
21638
21639 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21640 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21641 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21642 to...
21643 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21644 * Versions.def: Add GLIBC_2.14.
21645 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21646 Export.
83fe108b 21647
bb242059
UD
216482011-03-22 Ulrich Drepper <drepper@gmail.com>
21649
21650 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21651 round counter.
21652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21653
c97a1282
L
216542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21655
21656 [BZ #12597]
21657 * string/test-strncmp.c (do_page_test): New function.
21658 (check2): Likewise.
21659 (test_main): Call check2.
21660 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21661
2a115601
UD
216622011-03-20 Ulrich Drepper <drepper@gmail.com>
21663
21664 [BZ #12587]
21665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21666 Handle cache information in CPU leaf 4.
21667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21668
8126d904
UD
216692011-03-18 Ulrich Drepper <drepper@gmail.com>
21670
042c49c6 21671 [BZ #12583]
8126d904
UD
21672 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21673 character representation.
21674 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21675
ccfe366e
RA
216762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21677
21678 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21679 END(__isnan) to END(__isnanf) to match function entry point/label
21680 EALIGN(__isnanf,...).
21681
c6e13027
JJ
216822011-03-10 Jakub Jelinek <jakub@redhat.com>
21683
21684 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21685
33f85a3f
UD
216862011-03-10 Ulrich Drepper <drepper@gmail.com>
21687
028478fa
UD
21688 [BZ #12510]
21689 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21690 copy from the symbol referenced in the relocation to initialize the
21691 used variable.
21692 Patch by Piotr Bury <pbury@goahead.com>.
21693 * elf/Makefile: Add rules to build and tst-unique3.
21694 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21695 * elf/tst-unique3.cc: New file.
21696 * elf/tst-unique3.h: New file.
21697 * elf/tst-unique3lib.cc: New file.
21698 * elf/tst-unique3lib2.cc: New file.
21699
33f85a3f
UD
21700 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21701
03592fc7
MF
217022011-03-10 Mike Frysinger <vapier@gentoo.org>
21703
21704 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21705 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21706 to _start.
03592fc7 21707
6a5ee102
UD
217082011-03-06 Ulrich Drepper <drepper@gmail.com>
21709
21710 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21711 to-be-loaded object along a path to loader is ld.so.
21712
7e4ba49c
HJ
217132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21714 Ulrich Drepper <drepper@gmail.com>
21715
21716 * sysdeps/x86_64/memset.S: After aligning destination, code
21717 branches to different locations depending on the value of
21718 misalignment, when multiarch is enabled. Fix this.
21719
217202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21721
21722 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21723 Set _x86_64_preferred_memory_instruction for AMD processsors.
21724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21725 Set bit_Prefer_SSE_for_memop for AMD processors.
21726
13a804de
UD
217272011-03-04 Ulrich Drepper <drepper@gmail.com>
21728
21729 * libio/fmemopen.c (fmemopen): Optimize a bit.
21730
9d25c392
AS
217312011-03-03 Andreas Schwab <schwab@redhat.com>
21732
21733 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21734
a5543c6a
RM
217352011-03-03 Roland McGrath <roland@redhat.com>
21736
21737 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21738
012d35f7
DM
217392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21740
7e4ba49c 21741 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21742 __bzero_ultra1 instead of __memset_ultra1.
21743
4bff6e01
AS
217442011-02-23 Andreas Schwab <schwab@redhat.com>
21745 Ulrich Drepper <drepper@gmail.com>
21746
21747 [BZ #12509]
21748 * include/link.h (struct link_map): Add l_orig_initfini.
21749 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21750 returning unsuccessfully.
21751 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21752 close of a file loaded at startup, restore the original l_initfini
21753 list.
21754 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21755 list, store the pointer.
21756 * elf/Makefile ($(objpfx)noload-mem): New rule.
21757 (noload-ENV): Define.
21758 (tests): Add $(objpfx)noload-mem.
21759 * elf/noload.c: Include <memcheck.h>.
21760 (main): Call mtrace. Close all opened handles.
21761
f2092faf
AS
217622011-02-17 Andreas Schwab <schwab@redhat.com>
21763
21764 [BZ #12454]
21765 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21766 dependencies are missing.
21767
6c8a2e88
ST
217682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21769
f2092faf 21770 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21771 Hurd needs munmap.
21772 * sysdeps/mach/hurd/ifreq.h: New file.
21773
84a42118
PB
217742011-01-27 Petr Baudis <pasky@suse.cz>
21775 Ulrich Drepper <drepper@gmail.com>
21776
071f805e 21777 [BZ 12445]#
84a42118
PB
21778 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21779 to extend_alloca().
21780 * stdio-common/bug23.c: New file.
21781 * stdio-common/Makefile (tests): Add bug23.
21782
e23fe25b
AS
217832010-09-28 Andreas Schwab <schwab@redhat.com>
21784 Ulrich Drepper <drepper@gmail.com>
21785
21786 [BZ #12489]
21787 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21788 before performing relro protection. At old place add assertion
21789 to make sure nothing changed.
21790
d3f02e10
NS
217912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21792 Glauber de Oliveira Costa <glommer@gmail.com>
21793
21794 * elf/elf.h: Add new ARM TLS relocs.
21795
d55fd7a5
RA
217962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21797
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21799 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21800 cast from r3.
21801 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21802 'tests' variable.
21803 * sysdeps/wordsize-64/tst-writev.c: New file.
21804
2206397e
RA
218052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21806
21807 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21808 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21809 insns in _dl_start to prevent a TOC reference before relocs are
21810 resolved.
21811
e9433893
UD
218122011-02-15 Ulrich Drepper <drepper@gmail.com>
21813
21814 [BZ #12469]
21815 * Makeconfig: Remove RANLIB definition.
21816 * Makerules: Don't use RANLIB.
21817 * aclocal.m4: Remove ranlib test.
21818 * configure.in: No need to check for ranlib.
21819 * elf/rtld-Rules: Don't use RANLIB.
21820
f75286c6
ST
218212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21822
8e31c82d
ST
21823 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21824 protection macro.
21825 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21826 inclusion protection macro.
21827
f75286c6
ST
21828 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21829 SIGRTMIN and SIGRTMAX and print information in that case only when
21830 SIGRTMIN is defined.
21831
c1d0e639
JJ
218322011-02-11 Jakub Jelinek <jakub@redhat.com>
21833
21834 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21835 arginfo fn returning -1.
21836
21837 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21838 and thousands string is zero terminated.
21839
edf9294e
AS
218402011-02-03 Andreas Schwab <schwab@redhat.com>
21841
21842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21843 sysdeps/unix/sysv/linux/bits/socket.h.
21844
2b7e92df
ST
218452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21846
edf9294e
AS
21847 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21848 (__CPU_COUNT): Remove old macros.
21849 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21850 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21851 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21852 (__sched_cpualloc, __sched_cpufree): Add declarations.
21853
a4c7ea7b
UD
218542011-02-05 Ulrich Drepper <drepper@gmail.com>
21855
21856 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21857 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21858 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21859 (readdhstai): Return value of addhstaiX call.
21860 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21861 (addgrbyX): Return value returned by cache_addgr.
21862 (readdgrbyname): Return value returned by addgrbyX.
21863 (readdgrbygid): Likewise.
21864 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21865 (addpwbyX): Return value returned by cache_addpw.
21866 (readdpwbyname): Return value returned by addhstbyX.
21867 (readdpwbyuid): Likewise.
21868 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21869 (addservbyX): Return value returned by cache_addserv.
21870 (readdservbyname): Return value returned by addservbyX:
21871 (readdservbyport): Likewise.
21872 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21873 (addhstbyX): Return value returned by cache_addhst.
21874 (readdhstbyname): Return value returned by addhstbyX.
21875 (readdhstbyaddr): Likewise.
21876 (readdhstbynamev6): Likewise.
21877 (readdhstbyaddrv6): Likewise.
21878 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21879 (readdinitgroups): Return value returned by addinitgroupsX.
21880 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21881 (prune_cache): Keep track of timeout value of re-added entries.
21882 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21883 * nscd/nscd.h: Adjust prototypes of readd* functions.
21884
a0bf67cc
RM
218852011-02-04 Roland McGrath <roland@redhat.com>
21886
21887 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21888 (nis_stats): Likewise.
21889 * nis/nis_modify.c (nis_modify): Likewise.
21890 * nis/nis_remove.c (nis_remove): Likewise.
21891 * nis/nis_add.c (nis_add): Likewise.
21892
21893 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21894
21895 * posix/fnmatch_loop.c: Add some consts.
21896
21897 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21898
435b95eb
L
218992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21900
21901 [BZ #12460]
21902 * config.make.in (config-cflags-novzeroupper): Define.
21903 * configure.in: Substitute libc_cv_cc_novzeroupper.
21904 * elf/Makefile (AVX-CFLAGS): Define.
21905 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21906 (CFLAGS-tst-auditmod4a.c): Likewise.
21907 (CFLAGS-tst-auditmod4b.c): Likewise.
21908 (CFLAGS-tst-auditmod6b.c): Likewise.
21909 (CFLAGS-tst-auditmod6c.c): Likewise.
21910 (CFLAGS-tst-auditmod7b.c): Likewise.
21911 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21912
8517b15e
UD
219132011-02-02 Ulrich Drepper <drepper@gmail.com>
21914
21915 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21916 function to the callback.
21917 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21918
10a656fe
AS
219192011-02-02 Andreas Schwab <schwab@redhat.com>
21920
21921 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21922 of errno.
21923
968dad0a
UD
219242011-01-19 Ulrich Drepper <drepper@gmail.com>
21925
9f94d2ea 21926 [BZ #11724]
968dad0a
UD
21927 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21928 of constructors.
21929 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21930 of destructors.
21931 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21932
21933 [BZ #11724]
21934 * elf/Makefile: Add rules to build and run new test.
21935 * elf/tst-initorder.c: New file.
21936 * elf/tst-initorder.exp: New file.
21937 * elf/tst-initordera1.c: New file.
21938 * elf/tst-initordera2.c: New file.
21939 * elf/tst-initordera3.c: New file.
21940 * elf/tst-initordera4.c: New file.
21941 * elf/tst-initorderb1.c: New file.
21942 * elf/tst-initorderb2.c: New file.
21943 * elf/tst-order-a1.c: New file.
21944 * elf/tst-order-a2.c: New file.
21945 * elf/tst-order-a3.c: New file.
21946 * elf/tst-order-a4.c: New file.
21947 * elf/tst-order-b1.c: New file.
21948 * elf/tst-order-b2.c: New file.
21949 * elf/tst-order-main.c: New file.
21950 New test case by George Gensure <werkt0@gmail.com>.
21951
86e92359
UD
219522010-10-01 Andreas Schwab <schwab@redhat.com>
21953
21954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21955 decoding ACE if AI_CANONIDN.
21956
5d5732b0
UD
219572011-01-18 Ulrich Drepper <drepper@gmail.com>
21958
21959 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21960
a77e8cbc
UD
219612011-01-17 Ulrich Drepper <drepper@gmail.com>
21962
6392473f
UD
21963 * version.h (RELEASE): Bump for 2.13 release.
21964 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21965
620a0529
UD
21966 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21967
18ba70a5
UD
21968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21969 MADV_NOHUGEPAGE.
32465c3e
UD
21970 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21976
c0dafcf1
UD
21977 * posix/getconf.c: Update copyright year.
21978 * catgets/gencat.c: Likewise.
21979 * csu/version.c: Likewise.
21980 * debug/catchsegv.sh: Likewise.
21981 * debug/xtrace.sh: Likewise.
21982 * elf/ldconfig.c: Likewise.
21983 * elf/ldd.bash.in: Likewise.
21984 * elf/sprof.c (print_version): Likewise.
21985 * iconv/iconv_prog.c: Likewise.
21986 * iconv/iconvconfig.c: Likewise.
21987 * locale/programs/locale.c: Likewise.
21988 * locale/programs/localedef.c: Likewise.
21989 * malloc/memusage.sh: Likewise.
21990 * malloc/mtrace.pl: Likewise.
21991 * nscd/nscd.c (print_version): Likewise.
21992 * nss/getent.c: Likewise.
21993
a77e8cbc
UD
21994 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21995 PF_CAIF, and PF_ALG.
21996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21997
77e8bddf
AS
219982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21999
1f20b93a
AS
22000 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22001 (modules-names): Use them.
22002 (ifunc-test-modules, ifunc-pie-tests): Define.
22003 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22004 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22005 (test-extras): Likewise.
22006 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22007 $(compile-command.c).
22008 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22009 (all-built-dso): Define.
22010 (check-textrel.out, check-execstack.out): Depend on it.
22011
77e8bddf
AS
22012 * configure.in: Don't override --enable-multi-arch.
22013
bc425b33
UD
220142011-01-15 Ulrich Drepper <drepper@gmail.com>
22015
22016 [BZ #6812]
22017 * nscd/hstcache.c (tryagain): Define.
22018 (cache_addhst): Return tryagain not notfound for temporary errors.
22019 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22020 failed.
22021
794c3ad3
UD
220222011-01-14 Ulrich Drepper <drepper@gmail.com>
22023
70181fdd
UD
22024 [BZ #10563]
22025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22026 to make the syscall.
22027 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22028
794c3ad3
UD
22029 [BZ #12378]
22030 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22031 and fall back to matching as normal character if the string ends before
22032 the matching ']' is found. This is what POSIX requires.
22033 * posix/testfnm.c: Adjust test result.
22034 * posix/globtest.sh: Adjust test result. Add new test.
22035 * posix/tst-fnmatch.input: Likewise.
22036 * posix/tst-fnmatch2.c: Add new test.
22037
68dc9497
AS
220382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22039
22040 * elf/Makefile (check-execstack): Revert last change. Depend on
22041 check-execstack.h.
22042 (check-execstack.h): New target.
22043 (generated): Add check-execstack.h.
22044 * elf/check-execstack.c: Include "check-execstack.h".
22045 (main): Revert last change.
22046 (handle_file): Return zero if GNU_STACK is absent and
22047 DEFAULT_STACK_PERMS doesn't include PF_X.
22048
451f001b
UD
220492011-01-13 Ulrich Drepper <drepper@gmail.com>
22050
cfa28e56
UD
22051 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22052 in child fails because the descriptor is already closed.
8cf8ce17
UD
22053 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22054 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22056
1086d70d
UD
22057 [BZ #12397]
22058 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22059 syscall.
22060
451f001b
UD
22061 [BZ #10484]
22062 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22063 temporary buffer used to handle multi lookups locally.
a85b5cb4 22064 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22065
08769175
UD
220662011-01-12 Ulrich Drepper <drepper@gmail.com>
22067
22068 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22069 loader is ld.so.
22070
5e49c52e
UD
220712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22072
22073 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22074 alignment for SSE2.
22075
60522a5f
UD
220762011-01-12 Ulrich Drepper <drepper@gmail.com>
22077
22078 [BZ #12394]
22079 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22080 characters. When rounding increased number of integer digits recompute
22081 number of groups.
22082 * stdio-common/tst-grouping.c: New file.
22083 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22084
f257bbd7
UD
220852011-01-09 Ulrich Drepper <drepper@gmail.com>
22086
22087 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22088 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22089
22090 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22091 void.
22092 * bits/select.h: Likewise.
22093
fa9c15cb
UD
220942011-01-08 Ulrich Drepper <drepper@gmail.com>
22095
22096 * po/ja.po: Update from translation team.
22097
16c2895f
DM
220982011-01-04 David S. Miller <davem@sunset.davemloft.net>
22099
22100 [BZ #11155]
22101 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22102 implementation just like for lxstat, fxstatat, et al.
22103
2543fef2
JM
221042010-12-27 Jim Meyering <meyering@redhat.com>
22105
22106 [BZ #12348]
22107 * posix/regexec.c (build_trtable): Return failure indication upon
22108 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22109
98727dbe
UD
221102010-12-25 Ulrich Drepper <drepper@gmail.com>
22111
5bd6dc5c
UD
22112 [BZ #12201]
22113 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22114 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22115 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22117
97983464
UD
22118 [BZ #12207]
22119 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22120
98727dbe
UD
22121 [BZ #12204]
22122 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22123 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22124
4a531bb0
L
221252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22128 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22129 script has SORT_BY_INIT_PRIORITY.
22130 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22131 NO_CTORS_DTORS_SECTIONS is defined.
22132 * elf/soinit.c: Likewise.
22133 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22134 NO_CTORS_DTORS_SECTIONS is defined.
22135 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22136 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22137 * sysdeps/sh/init-first.c: Likewise.
22138 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22139
07eb4b71
UD
221402010-12-24 Ulrich Drepper <drepper@gmail.com>
22141
22142 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22143 always use the slow path.
22144
30950a5f
RA
221452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22146
22147 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22148 similar rule which adds the sysdep directories to the header search in
22149 order to pick up the correct platform stackinfo.h.
22150 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22151 perform test if it is, otherwise return successfully without testing.
22152 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22153 DEFAULT_STACK_PERMS define in stackinfo.h.
22154 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22155 defined in stackinfo.h.
22156 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22157 DEFAULT_STACK_PERMS defined in stackinfo.h.
22158 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22159 * sysdeps/ia64/stackinfo.h: Likewise.
22160 * sysdeps/s390/stackinfo.h: Likewise.
22161 * sysdeps/sh/stackinfo.h: Likewise.
22162 * sysdeps/sparc/stackinfo.h: Likewise.
22163 * sysdeps/x86_64/stackinfo.h: Likewise.
22164 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22165 PF_X for powerpc64. Retain PF_X for powerpc32.
22166
db753e2c
UD
221672010-12-19 Ulrich Drepper <drepper@gmail.com>
22168
14b697f7
UD
22169 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22170 accurately.
db753e2c
UD
22171 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22172 GETDENTS_64BIT_ALIGNED.
22173
28300719
UD
221742010-12-14 Ulrich Drepper <dreper@gmail.com>
22175
14b697f7 22176 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22177
4f197237
AS
221782010-12-10 Andreas Schwab <schwab@redhat.com>
22179
dbb0472f
AS
22180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22181 _GNU_SOURCE.
22182
4f197237
AS
22183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22184 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22185 Remove __restrict.
22186 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22187 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22188
fb88ac72
UD
221892010-12-09 Ulrich Drepper <drepper@gmail.com>
22190
22191 [BZ #11655]
22192 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22193 are initialized.
22194
42acbb92
JJ
221952010-12-09 Jakub Jelinek <jakub@redhat.com>
22196
22197 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22198
c038d98d
UD
221992010-12-03 Ulrich Drepper <drepper@gmail.com>
22200
22201 * po/it.po: Update from translation team.
22202
3a4a2499
L
222032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22204
22205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22206 unused codes.
22207
1e24cf6e
UD
222082010-11-30 Ulrich Drepper <drepper@gmail.com>
22209
22210 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22211
a7690819
AS
222122010-11-24 Andreas Schwab <schwab@redhat.com>
22213
22214 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22215 specially.
22216 (gaih_getanswer_slice): Likewise.
22217
3bf8d1b1
JJ
222182010-10-20 Jakub Jelinek <jakub@redhat.com>
22219
22220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22221
6db52fbb
PB
222222010-05-31 Petr Baudis <pasky@suse.cz>
22223
22224 [BZ #11149]
22225 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22226 silently even in the chroot mode.
22227
eaca7569
UD
222282010-11-22 Ulrich Drepper <drepper@gmail.com>
22229
22230 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22231 last patch a bit. Pretty printing
22232
3056dcdb
UD
222332010-05-31 Petr Baudis <pasky@suse.cz>
22234
22235 [BZ #10085]
22236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22237 initialization of skip_initgroups_dyn.
22238
cf7c9078
UD
222392010-11-19 Ulrich Drepper <drepper@gmail.com>
22240
22241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22243
a1fb5e3e
UD
222442010-11-16 Ulrich Drepper <drepper@gmail.com>
22245
22246 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22247
3540d66b
AS
222482010-11-11 Andreas Schwab <schwab@redhat.com>
22249
22250 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22251 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22252 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22253 ($(objpfx)tst-fnmatch-mem): New rule.
22254 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22255 * posix/tst-fnmatch.c (main): Call mtrace.
22256
13b69574
L
222572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22258
22259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22260 Support Intel processor model 6 and model 0x2c.
22261
da93d214
LM
222622010-11-10 Luis Machado <luisgpm@br.ibm.com>
22263
22264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22265 signed comparison.
22266
8ca52c6e
L
222672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 [BZ #12205]
22270 * string/test-strncasecmp.c (check_result): New function.
22271 (do_one_test): Use it.
22272 (check1): New function.
22273 (test_main): Use it.
22274 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22275 Support strcasecmp and strncasecmp.
22276
69da074d
UD
222772010-11-08 Ulrich Drepper <drepper@gmail.com>
22278
22279 [BZ #12194]
22280 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22282
ff02d528
L
222832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22284
22285 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22286 IFUNC support.
22287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22288 memset-x86-64.
22289 * sysdeps/x86_64/multiarch/bzero.S: New file.
22290 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22291 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22292 * sysdeps/x86_64/multiarch/memset.S: New file.
22293 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22295 Set bit_Prefer_SSE_for_memop for Intel processors.
22296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22297 Define.
22298 (index_Prefer_SSE_for_memop): Define.
22299 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22300
344d0b54
LM
223012010-11-04 Luis Machado <luisgpm@br.ibm.com>
22302
22303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22304 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22305
c0dde15b
UD
223062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22307
22308 [BZ #12191]
22309 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22310 (__x86_64_raw_data_cache_size_half): Likewise.
22311 (__x86_64_raw_shared_cache_size): Likewise.
22312 (__x86_64_raw_shared_cache_size_half): Likewise.
22313
22314 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22315 (__x86_64_raw_data_cache_size_half): Likewise.
22316 (__x86_64_raw_shared_cache_size): Likewise.
22317 (__x86_64_raw_shared_cache_size_half): Likewise.
22318 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22319 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22320 and __x86_64_raw_shared_cache_size_half. Round
22321 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22322 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22323 to multiple of 256 bytes.
22324
0e516e0e
MS
223252010-11-03 Ulrich Drepper <drepper@gmail.com>
22326
22327 [BZ #12167]
22328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22329 of inacessible symlinks. Verify result of symlink before returning it.
22330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22331 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22332
0e012e87
ER
223332010-10-28 Erich Ritz <erichritz@gmail.com>
22334
22335 * math/math.h (isinf): Fix typo in comment.
22336
de0ff7bc
UD
223372010-11-01 Ulrich Drepper <drepper@gmail.com>
22338
22339 * po/da.po: Update from translation team.
22340
fa41c84d
UD
223412010-10-26 Ulrich Drepper <drepper@gmail.com>
22342
22343 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22344 is added to the list.
22345
f0967738
AK
223462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22347 Ulrich Drepper <drepper@gmail.com>
22348
22349 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22350 the global list here. Move code to...
22351 (_dl_add_to_namespace_list): ...here. New function.
22352 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22353 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22354 * elf/dl-load.c (lose): Don't remove the element from the list.
22355 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22356 (_dl_map_object): Likewise.
22357
223582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22359
22360 [BZ #12159]
22361 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22362 into all bytes of SSE register.
22363 Patch by Richard Li <richardpku@gmail.com>.
22364
f0967738 223652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22366
22367 [BZ #12140]
22368 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22369 perturbing.
22370
d0b9e94f
MB
223712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22372
22373 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22374 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22376 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22378 submachine.
22379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22380
8e9f92e9
AS
223812010-10-22 Andreas Schwab <schwab@redhat.com>
22382
22383 * include/dlfcn.h (__RTLD_SECURE): Define.
22384 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22385 mode & __RTLD_SECURE instead.
22386 (open_path): Rename preloaded parameter to secure.
22387 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22388 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22389 * elf/dl-deps.c (openaux): Likewise.
22390 * elf/rtld.c (struct map_args): Remove is_preloaded.
22391 (map_doit): Don't use it.
22392 (dl_main): Likewise.
22393 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22394 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22395
bc96fbda
AS
223962010-09-09 Andreas Schwab <schwab@redhat.com>
22397
22398 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22399 (sysd-rules-targets): Remove duplicates.
22400 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22401 rtld-%.$o dependency.
22402
22cd1c9b
AS
224032010-10-18 Andreas Schwab <schwab@redhat.com>
22404
22405 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22406 _dl_map_object do it.
22407
18edac48
UD
224082010-10-19 Ulrich Drepper <drepper@gmail.com>
22409
22410 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22411 fast fma builtins, define the macros in the C99 standard.
22412 (FP_FAST_FMAF): Likewise.
22413 (FP_FAST_FMAL): Likewise.
22414 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22415
22416 * bits/mathdef.h: Update copyright year.
22417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22418
d2050124
MM
224192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22420
22421 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22422 builtins, define the macros in the C99 standard.
22423 (FP_FAST_FMAF): Likewise.
22424 (FP_FAST_FMAL): Likewise.
22425 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22426 multiply/add.
22427 (FP_FAST_FMAF): Likewise.
22428
475facd1
JJ
224292010-10-15 Jakub Jelinek <jakub@redhat.com>
22430
22431 [BZ #3268]
22432 * math/libm-test.inc (fma_test): Some new testcases.
22433 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22435 y and infinite z. Do multiplication by C already in long double.
22436 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22438 y and infinite z. Do bitwise or of inexact bit into u.d.
22439 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22440 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22441 * sysdeps/i386/fpu/s_fma.S: Removed.
22442 * sysdeps/i386/fpu/s_fmal.S: Removed.
22443
7c08a05c
JJ
224442010-10-16 Jakub Jelinek <jakub@redhat.com>
22445
22446 [BZ #3268]
22447 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22449 computation is not scheduled after fetestexcept. Fix value
22450 of minimum denormal long double.
22451
f3f7372d
JJ
224522010-10-14 Jakub Jelinek <jakub@redhat.com>
22453
22454 [BZ #3268]
22455 * math/libm-test.inc (fma_test): Add some more tests.
22456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22457 correctly.
22458
14d43591
AS
224592010-10-15 Andreas Schwab <schwab@redhat.com>
22460
22461 * scripts/data/localplt-s390-linux-gnu.data: New file.
22462 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22463
5e908464
JJ
224642010-10-13 Jakub Jelinek <jakub@redhat.com>
22465
22466 [BZ #3268]
22467 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22468 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22469 instead of dbl-64.
22470 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22471 inlines.
22472 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22474 if one of x and y is very large and the other is subnormal.
22475 * sysdeps/s390/fpu/s_fmaf.c: New file.
22476 * sysdeps/s390/fpu/s_fma.c: New file.
22477 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22478 * sysdeps/powerpc/fpu/s_fma.S: New file.
22479 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22480 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22481 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22482
224832010-10-12 Jakub Jelinek <jakub@redhat.com>
22484
22485 [BZ #3268]
22486 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22487 fma tests.
22488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22489 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22490 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22491 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22492 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22493 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22495
b833d51f
UD
224962010-10-12 Ulrich Drepper <drepper@redhat.com>
22497
22498 [BZ #12078]
22499 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22500 * posix/bug-regex31.input: Add test case.
22501
1751705d
UD
225022010-10-11 Ulrich Drepper <drepper@gmail.com>
22503
e9b9cbf5
UD
22504 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22505 * posix/bug-regex31.input: New file.
22506
22507 [BZ #12078]
22508 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22509 (parse_sub_exp): Fix last change, use postorder.
22510
ef06edbe
UD
22511 * posix/bug-regex31.c: New file.
22512 * posix/Makefile: Add rules to build and run bug-regex31.
22513
a129c80d
UD
22514 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22515
22516 [BZ #12078]
22517 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22518
b76b818e
UD
22519 [BZ #12108]
22520 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22521 to have entries in sys_siglist.
22522
1751705d
UD
22523 [BZ #12093]
22524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22525 be NULL.
22526
9ff8d36f
JJ
225272010-10-07 Jakub Jelinek <jakub@redhat.com>
22528
22529 [BZ #3268]
22530 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22531 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22532 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22533 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22535 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22536 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22537 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22538 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22539 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22540 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22541 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22542 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22543 * math/ftestexcept.c (fetestexcept): Likewise.
22544 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22545 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22546 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22548 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22549 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22551
af325969
UD
225522010-10-11 Ulrich Drepper <drepper@gmail.com>
22553
c579b202 22554 [BZ #12107]
af325969
UD
22555 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22556 newline.
22557
67a67b95
UD
225582010-10-06 Ulrich Drepper <drepper@gmail.com>
22559
22560 * string/bug-strstr1.c: New file.
22561 * string/Makefile: Add rules to build and run bug-strstr1.
22562
5fb308bc
EB
225632010-10-05 Eric Blake <eblake@redhat.com>
22564
22565 [BZ #12092]
22566 * string/str-two-way.h (two_way_long_needle): Always clear memory
22567 when skipping input due to the shift table.
22568
45db99c7
UD
225692010-10-03 Ulrich Drepper <drepper@gmail.com>
22570
3b111893
UD
22571 [BZ #12005]
22572 * malloc/mcheck.c: Handle large requests.
22573
45db99c7
UD
22574 [BZ #12077]
22575 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22576 for strncmp and strncasecmp.
22577 * string/stratcliff.c: Add tests for strcmp and strncmp.
22578 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22579
cf7a1eb8
NI
225802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22581
22582 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22583 __set_fpscr.
22584
6484ba5e
AJ
225852010-09-30 Andreas Jaeger <aj@suse.de>
22586
22587 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22588 (CGROUP_SUPER_MAGIC): Define.
22589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22590 Handle btrfs and cgroup file systems.
22591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22592 Likewise.
22593
91c42559
LM
225942010-09-27 Luis Machado <luisgpm@br.ibm.com>
22595
22596 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22597 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22598
87a97932
AK
225992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22600
22601 [BZ #12067]
22602 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22603 trying to locate the ELF header.
22604
c21cc9bc
AS
226052010-09-27 Andreas Schwab <schwab@redhat.com>
22606
22607 [BZ #11611]
22608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22609 Mask out sign-bit copies when constructing f_fsid.
22610
315970f6
PB
226112010-09-24 Petr Baudis <pasky@suse.cz>
22612
22613 * debug/stack_chk_fail_local.c: Add missing licence exception.
22614 * debug/warning-nop.c: Likewise.
22615
1ac7a2c7
JM
226162010-09-15 Joseph Myers <joseph@codesourcery.com>
22617
22618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22619 implementing getdents64 using getdents syscall, set d_type if
22620 __ASSUME_GETDENTS32_D_TYPE.
22621
56801c50
AS
226222010-09-16 Andreas Schwab <schwab@redhat.com>
22623
22624 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22625 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22626
dda51327
UD
226272010-09-21 Ulrich Drepper <drepper@redhat.com>
22628
22629 [BZ #12037]
22630 * posix/unistd.h: Undo change of feature selection for ftruncate from
22631 2010-01-11.
22632
8ffcee4a
UD
226332010-09-20 Ulrich Drepper <drepper@redhat.com>
22634
a545ecd9 22635 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22636 detection.
22637
e24f0a8b
AS
226382010-09-20 Andreas Schwab <schwab@redhat.com>
22639
22640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22641 fanotify_mark.
22642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22643
7291c56f
AS
226442010-09-14 Andreas Schwab <schwab@redhat.com>
22645
22646 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22647 variables after CHECK_SP call.
22648 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22649
bc5fb037
AS
226502010-09-13 Andreas Schwab <schwab@redhat.com>
22651 Ulrich Drepper <drepper@redhat.com>
22652
22653 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22654 re-relocationg ld.so.
22655 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22656 _dl_init_paths call.
22657 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22658 here anymore.
22659
e66e7419
UD
226602010-09-14 Ulrich Drepper <drepper@redhat.com>
22661
22662 * resolv/res_init.c (__res_vinit): Count the default server we added.
22663
c044aa75
CLT
226642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22665 Ulrich Drepper <drepper@redhat.com>
22666
22667 [BZ #11968]
22668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22669 (____longjmp_chk): Use %ebx for saving value across system call.
22670 Add unwind info.
22671
32cf4069
AS
226722010-09-06 Andreas Schwab <schwab@redhat.com>
22673
22674 * manual/Makefile: Don't mix pattern rules with normal rules.
22675
817328ee
AS
226762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22677
22678 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22679 operation.
22680 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22681 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22682 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22683 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22685 Likewise.
22686
29fddf61
UD
226872010-09-04 Ulrich Drepper <drepper@redhat.com>
22688
22689 [BZ #11979]
22690 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22691 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22692
0959ffc9
UD
226932010-09-02 Ulrich Drepper <drepper@redhat.com>
22694
22695 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22696 * sysdeps/x86_64/addmul_1.S: Likewise.
22697 * sysdeps/x86_64/lshift.S: Likewise.
22698 * sysdeps/x86_64/mul_1.S: Likewise.
22699 * sysdeps/x86_64/rshift.S: Likewise.
22700 * sysdeps/x86_64/sub_n.S: Likewise.
22701 * sysdeps/x86_64/submul_1.S: Likewise.
22702
ece29840
ST
227032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22704
0959ffc9
UD
22705 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22706 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22707 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22708 * bits/sched.h [__need_schedparam]
ece29840 22709 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22710 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22711 (__defined_schedparam): Define to 1.
ece29840
ST
22712 (__sched_param): New structure, identical to sched_param.
22713 (__need_schedparam): Undefine.
22714
e53a31fe
MF
227152010-08-31 Mike Frysinger <vapier@gentoo.org>
22716
fdc0c10d
MF
22717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22718 (epoll_create1): Declare.
22719
e53a31fe
MF
22720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22721
a726d796
AS
227222010-08-31 Andreas Schwab <schwab@redhat.com>
22723
22724 [BZ #7066]
22725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22726 shifting retval into place.
22727
2f3e3dc7
UD
227282010-09-01 Ulrich Drepper <drepper@redhat.com>
22729
f2933da9
UD
22730 * nis/rpcsvc/nis.h: Update copyright notice.
22731 * nis/rpcsvc/nis.x: Likewise.
22732 * nis/rpcsvc/nis_callback.h: Likewise.
22733 * nis/rpcsvc/nis_callback.x: Likewise.
22734 * nis/rpcsvc/nis_object.x: Likewise.
22735 * nis/rpcsvc/nis_tags.h: Likewise.
22736 * nis/rpcsvc/yp.h: Likewise.
22737 * nis/rpcsvc/yp.x: Likewise.
22738 * nis/rpcsvc/ypupd.h: Likewise.
22739 * nis/yp_xdr.c: Likewise.
22740 * nis/ypupdate_xdr.c: Likewise.
22741
2f3e3dc7
UD
22742 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22743 mainly the body of pmap_getport. Add parameters to specify timeouts.
22744 (pmap_getport): Use __libc_rpc_getport.
22745 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22746 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22747 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22748
f3dcc2f9
AS
227492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22750
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22752 fanotify_mark.
22753
6d34eb5b
RM
227542010-08-27 Roland McGrath <roland@redhat.com>
22755
22756 * sysdeps/i386/i686/multiarch/Makefile
22757 (CFLAGS-varshift.c): New variable.
22758
9ea3de11
UD
227592010-08-27 Ulrich Drepper <drepper@redhat.com>
22760
c96d23fc
UD
22761 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22762 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22763
9ea3de11
UD
22764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22765
22766 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22767
623aac7f
L
227682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22769
22770 * sysdeps/x86_64/strlen.S: Unroll the loop.
22771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22772 strlen-sse2 strlen-sse2-bsf.
22773 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22774 __strlen_no_bsf if bit_Slow_BSF is set.
22775 (__strlen_sse42): Removed.
22776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22777 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22778
8b2b7715
RM
227792010-08-25 Roland McGrath <roland@redhat.com>
22780
22781 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22782 * sysdeps/x86_64/multiarch/varshift.c: New file.
22783 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22784 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22785 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22786 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22787
e73015f2
L
227882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22789
22790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22791 strlen-sse2 strlen-sse2-bsf.
22792 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22793 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22794 (__strlen_sse2): Removed.
22795 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22798 bit_Slow_BSF for Atom.
22799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22800 (index_Slow_BSF): Define.
22801 (HAS_SLOW_BSF): Define.
22802
df24a73e
UD
228032010-08-25 Ulrich Drepper <drepper@redhat.com>
22804
22805 [BZ #10851]
22806 * resolv/res_init.c (__res_vinit): When no server address at all
22807 is given default to loopback.
22808
f2ac4868
RM
228092010-08-24 Roland McGrath <roland@redhat.com>
22810
09055553
RM
22811 * configure.in: Remove config-name.h generation.
22812 * configure: Regenerated.
22813 * config-name.in: File removed.
22814 * scripts/config-uname.sh: New file.
22815 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22816 ($(objdir)config-name.h): New target.
22817
f2ac4868
RM
22818 * sunrpc/rpc_parse.h: Avoid nested comment.
22819
73f27d5e
RH
228202010-08-24 Richard Henderson <rth@redhat.com>
22821 Ulrich Drepper <drepper@redhat.com>
22822 H.J. Lu <hongjiu.lu@intel.com>
22823
22824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22826 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22827 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22828 _mm_alignr_epi8 with _mm_loadu_si128.
22829 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22830 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22831 (__m128i_shift_right): Removed.
22832 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22833 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22834 * sysdeps/x86_64/multiarch/varshift.h: New file.
22835 * sysdeps/x86_64/multiarch/varshift.S: New file.
22836
84b9230c
MF
228372010-08-21 Mike Frysinger <vapier@gentoo.org>
22838
22839 * configure.in: Move assembler checks to before sysdep dir checking.
22840
9bbd0ddc
PB
228412010-08-20 Petr Baudis <pasky@suse.cz>
22842
22843 * LICENSES: Sync the sunrpc license.
22844
9da4bb31
UD
228452010-08-19 Ulrich Drepper <drepper@redhat.com>
22846
a7ab6ec8
UD
22847 * sunrpc/auth_des.c: Update copyright notice once again.
22848 * sunrpc/auth_none.c: Likewise.
22849 * sunrpc/auth_unix.c: Likewise.
22850 * sunrpc/authdes_prot.c: Likewise.
22851 * sunrpc/authuxprot.c: Likewise.
22852 * sunrpc/bindrsvprt.c: Likewise.
22853 * sunrpc/clnt_gen.c: Likewise.
22854 * sunrpc/clnt_perr.c: Likewise.
22855 * sunrpc/clnt_raw.c: Likewise.
22856 * sunrpc/clnt_simp.c: Likewise.
22857 * sunrpc/clnt_tcp.c: Likewise.
22858 * sunrpc/clnt_udp.c: Likewise.
22859 * sunrpc/clnt_unix.c: Likewise.
22860 * sunrpc/des_crypt.c: Likewise.
22861 * sunrpc/des_soft.c: Likewise.
22862 * sunrpc/get_myaddr.c: Likewise.
22863 * sunrpc/getrpcport.c: Likewise.
22864 * sunrpc/key_call.c: Likewise.
22865 * sunrpc/key_prot.c: Likewise.
22866 * sunrpc/openchild.c: Likewise.
22867 * sunrpc/pm_getmaps.c: Likewise.
22868 * sunrpc/pm_getport.c: Likewise.
22869 * sunrpc/pmap_clnt.c: Likewise.
22870 * sunrpc/pmap_prot.c: Likewise.
22871 * sunrpc/pmap_prot2.c: Likewise.
22872 * sunrpc/pmap_rmt.c: Likewise.
22873 * sunrpc/rpc/auth.h: Likewise.
22874 * sunrpc/rpc/auth_unix.h: Likewise.
22875 * sunrpc/rpc/clnt.h: Likewise.
22876 * sunrpc/rpc/des_crypt.h: Likewise.
22877 * sunrpc/rpc/key_prot.h: Likewise.
22878 * sunrpc/rpc/netdb.h: Likewise.
22879 * sunrpc/rpc/pmap_clnt.h: Likewise.
22880 * sunrpc/rpc/pmap_prot.h: Likewise.
22881 * sunrpc/rpc/pmap_rmt.h: Likewise.
22882 * sunrpc/rpc/rpc.h: Likewise.
22883 * sunrpc/rpc/rpc_des.h: Likewise.
22884 * sunrpc/rpc/rpc_msg.h: Likewise.
22885 * sunrpc/rpc/svc.h: Likewise.
22886 * sunrpc/rpc/svc_auth.h: Likewise.
22887 * sunrpc/rpc/types.h: Likewise.
22888 * sunrpc/rpc/xdr.h: Likewise.
22889 * sunrpc/rpc_clntout.c: Likewise.
22890 * sunrpc/rpc_cmsg.c: Likewise.
22891 * sunrpc/rpc_common.c: Likewise.
22892 * sunrpc/rpc_cout.c: Likewise.
22893 * sunrpc/rpc_dtable.c: Likewise.
22894 * sunrpc/rpc_hout.c: Likewise.
22895 * sunrpc/rpc_main.c: Likewise.
22896 * sunrpc/rpc_parse.c: Likewise.
22897 * sunrpc/rpc_parse.h: Likewise.
22898 * sunrpc/rpc_prot.c: Likewise.
22899 * sunrpc/rpc_sample.c: Likewise.
22900 * sunrpc/rpc_scan.c: Likewise.
22901 * sunrpc/rpc_scan.h: Likewise.
22902 * sunrpc/rpc_svcout.c: Likewise.
22903 * sunrpc/rpc_tblout.c: Likewise.
22904 * sunrpc/rpc_util.c: Likewise.
22905 * sunrpc/rpc_util.h: Likewise.
22906 * sunrpc/rpcinfo.c: Likewise.
22907 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22908 * sunrpc/rpcsvc/key_prot.x: Likewise.
22909 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22910 * sunrpc/rpcsvc/mount.x: Likewise.
22911 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22912 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22913 * sunrpc/rpcsvc/rex.x: Likewise.
22914 * sunrpc/rpcsvc/rstat.x: Likewise.
22915 * sunrpc/rpcsvc/rusers.x: Likewise.
22916 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22917 * sunrpc/rpcsvc/spray.x: Likewise.
22918 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22919 * sunrpc/rtime.c: Likewise.
22920 * sunrpc/svc.c: Likewise.
22921 * sunrpc/svc_auth.c: Likewise.
22922 * sunrpc/svc_authux.c: Likewise.
22923 * sunrpc/svc_raw.c: Likewise.
22924 * sunrpc/svc_run.c: Likewise.
22925 * sunrpc/svc_simple.c: Likewise.
22926 * sunrpc/svc_tcp.c: Likewise.
22927 * sunrpc/svc_udp.c: Likewise.
22928 * sunrpc/svc_unix.c: Likewise.
22929 * sunrpc/svcauth_des.c: Likewise.
22930 * sunrpc/xcrypt.c: Likewise.
22931 * sunrpc/xdr.c: Likewise.
22932 * sunrpc/xdr_array.c: Likewise.
22933 * sunrpc/xdr_float.c: Likewise.
22934 * sunrpc/xdr_mem.c: Likewise.
22935 * sunrpc/xdr_rec.c: Likewise.
22936 * sunrpc/xdr_ref.c: Likewise.
22937 * sunrpc/xdr_sizeof.c: Likewise.
22938 * sunrpc/xdr_stdio.c: Likewise.
22939
9da4bb31
UD
22940 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22941 handling.
22942
bdaa77bc
AS
229432010-08-19 Andreas Schwab <schwab@redhat.com>
22944
22945 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22946
fe2f79db
LM
229472010-08-19 Luis Machado <luisgpm@br.ibm.com>
22948
22949 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22950 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22952 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22953 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22954 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22956 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22959 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22960 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22961 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22963
b9b42ee0
AB
229642010-07-26 Anton Blanchard <anton@samba.org>
22965
22966 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22967 * malloc/arena.c (heap_trim): Likewise.
22968
1c06ba31
UD
229692010-08-16 Ulrich Drepper <drepper@redhat.com>
22970
22971 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22972 here. Not...
22973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22974 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22975
f8392f40
L
229762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22977
22978 * sysdeps/i386/elf/Makefile: New file.
22979
3162f12e
AS
229802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22981
22982 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22983 from fanotify_init.
22984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22986
28c90b2c
UD
229872010-08-15 Ulrich Drepper <drepper@redhat.com>
22988
22989 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22990 of strncasecmp_l.
1feccb6c 22991 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22992
ca6bb004
UD
229932010-08-14 Ulrich Drepper <drepper@redhat.com>
22994
e9f82e0d
UD
22995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22996 strncase_l-nonascii.
22997 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22998 Add strncase_l-ssse3.
22999 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23000 * sysdeps/x86_64/strcmp.S: Likewise.
23001 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23002 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23003 * sysdeps/x86_64/strncase.S: New file.
23004 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23005 * sysdeps/x86_64/strncase_l.S: New file.
23006 * string/Makefile (strop-tests): Add strncasecmp.
23007 * string/test-strncasecmp.c: New file.
23008
23009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23010 warning.
23011
ca6bb004
UD
23012 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23014
052fa7b3
AS
230152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23016
23017 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23018
962dba78
UD
230192010-08-12 Ulrich Drepper <drepper@redhat.com>
23020
23021 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23024
bebff237
AM
230252010-05-01 Alan Modra <amodra@gmail.com>
23026
23027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23028 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23029 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23030 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23031 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23032 tidying. Don't tail-call __sigjmp_save for static lib.
23033 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23034 save location.
23035 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23036 (CALL_MCOUNT): Add eh info, and nop after bl.
23037 (TAIL_CALL_SYSCALL_ERROR): New macro.
23038 (PSEUDO_RET): Use it.
23039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23040 Correct save location of integer regs and cr.
23041 (_dl_profile_resolve): Correct cr save location. Delete nops
23042 after bl when SHARED. Reduce cfi size a little by better
23043 placement of cfi directives.
23044 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23045 make a stack frame. Instead use parm save area as a temp.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23047 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23049 Don't make a stack frame for parent, use parm save area.
23050 Increase child stack frame to 112 bytes. Don't save unused reg,
23051 and adjust reg usage. Set up cfi on error recovery and
23052 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23054 (__makecontext): Add dummy nop after jump to exit.
23055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23056 Use correct parm save area and cr save, reduce stack frame.
23057 Correct cfi for possible PSEUDO_RET frame setup.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23059 Branch to local label emitted by PSEUDO_RET rather than
23060 __syscall_error.
23061
02637374
AS
230622010-08-12 Andreas Schwab <schwab@redhat.com>
23063
23064 [BZ #11904]
23065 * locale/programs/locale.c (print_assignment): New function.
23066 (show_locale_vars): Use it.
23067
c3e2f19b
UD
230682010-08-11 Ulrich Drepper <drepper@redhat.com>
23069
3cdaa6ad
UD
23070 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23071 field.
23072 (struct statfs64): Likewise.
23073 (_STATFS_F_FLAGS): Define.
23074 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23076 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23077 (ST_VALID): Define locally.
23078 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23079 __statvfs_getflags, use the provided value.
23080 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23081 __ASSUME_STATFS_F_FLAGS.
23082
754f7da3
UD
23083 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23084
10b3bedc
UD
23085 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23086 Add sys/fanotify.h.
23087 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23088 fanotify_mask for GLIBC_2.13.
23089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23090 fanotify_init and fanotify_mark.
23091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23092 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23093
c08fb0d7
UD
23094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23095 Add prlimit.
23096 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23097 prlimit64 for GLIBC_2.13.
23098 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23099 prlimit64.
23100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23101 syscall.
23102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23107 add prlimit alias.
23108 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23109
15bac72b
UD
23110 [BZ #11903]
23111 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23112 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23113
c3e2f19b
UD
23114 * nss/Makefile: Add rules to build and run tst-nss-test1.
23115 * shlib-versions: Add entry for libnss_test1.
23116 * nss/nss_test1.c: New file.
23117 * nss/tst-nss-test1.c: New file.
23118
23119 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23120 (__nss_configure_lookup): Set appropriate entry in
23121 __nss_configure_lookup to true.
23122 * nss/nsswitch.h: Define enum with indeces of databases in
23123 databases and __nss_database_custom arrays. Declare
23124 __nss_database_custom.
23125 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23126 to avoid using nscd when custom rules are installed.
23127 * nss/getXXbyYY_r.c: Likewise.
23128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23129
23130 * nss/nss_files/files-parse.c: Whitespace fixes.
23131
f15ce4d8
UD
231322010-08-09 Ulrich Drepper <drepper@redhat.com>
23133
23134 [BZ #11883]
23135 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23136 * posix/fnmatch_loop.c: Likewise.
23137
d22e4cc9
AK
231382010-07-17 Andi Kleen <ak@linux.intel.com>
23139
23140 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23141 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23142 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23143 * Versions.def [GLIBC_2.13]: Add.
23144
805bc17d
UD
231452010-08-06 Ulrich Drepper <drepper@redhat.com>
23146
23147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23148 Also fail if tpwd after pwuid call is NULL.
23149
5a42321d
ST
231502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23151
23152 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23153 when converting to ms.
23154
fd3ebeda
ST
231552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23156
23157 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23158 EOPNOTSUPP errors with ENOTTY.
23159 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23160 EOPNOTSUPP errors with ENOTTY.
23161
73507d3a
UD
231622010-07-31 Ulrich Drepper <drepper@redhat.com>
23163
23164 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23165 Add strcasecmp_l-ssse3.
23166 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23167 strcasecmp.
23168 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23169 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23170 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23171
fe36dd02
UD
231722010-07-30 Ulrich Drepper <drepper@redhat.com>
23173
66f6765a
UD
23174 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23175
42e08a54
UD
23176 * string/Makefile (strop-tests): Add strcasecmp.
23177 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23178 strcasecmp_l-nonascii.
23179 (gen-as-const-headers): Add locale-defines.sym.
23180 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23181 * sysdeps/x86_64/strcasecmp.S: New file.
23182 * sysdeps/x86_64/strcasecmp_l.S: New file.
23183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23184 * sysdeps/x86_64/locale-defines.sym: New file.
23185 * string/test-strcasecmp.c: New file.
23186
fe36dd02
UD
23187 * string/test-strcasestr.c: Test both ends of the range of characters.
23188 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23189
48cbc0d6
RM
231902010-07-29 Roland McGrath <roland@redhat.com>
23191
76e6d6bc 23192 [BZ #11856]
48cbc0d6
RM
23193 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23194
880113d9
UD
231952010-07-27 Ulrich Drepper <drepper@redhat.com>
23196
23197 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23198 for ld.so.
23199
deb9cabb
AS
232002010-07-27 Andreas Schwab <schwab@redhat.com>
23201
23202 * manual/memory.texi (Malloc Tunable Parameters): Document
23203 M_PERTURB.
23204
1c7570ff
RM
232052010-07-26 Roland McGrath <roland@redhat.com>
23206
23207 [BZ #11840]
23208 * configure.in (-fgnu89-inline check): Set and substitute
23209 gnu89_inline, not libc_cv_gnu89_inline.
23210 * configure: Regenerated.
23211 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23212
24fb0f88
UD
232132010-07-26 Ulrich Drepper <drepper@redhat.com>
23214
23215 * string/test-strnlen.c: New file.
23216 * string/Makefile (strop-tests): Add strnlen.
23217 * string/tester.c (test_strnlen): Add a few more test cases.
23218 * string/tst-strlen.c: Better error reporting.
23219
23220 * sysdeps/x86_64/strnlen.S: New file.
23221
8e96b93a
UD
232222010-07-24 Ulrich Drepper <drepper@redhat.com>
23223
23224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23225 lower-latency instructions.
23226
dbc676d4
UD
232272010-07-23 Ulrich Drepper <drepper@redhat.com>
23228
23229 * string/test-strcasestr.c: New file.
23230 * string/test-strstr.c: New file.
23231 * string/Makefile (strop-tests): Add strstr and strcasestr.
23232 * string/str-two-way.h: Don't undefine MAX.
23233 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23234
f6a31e0e
AS
232352010-07-21 Andreas Schwab <schwab@redhat.com>
23236
23237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23238 strcasestr-nonascii.
23239 (CFLAGS-strcasestr-nonascii.c): Define.
23240 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23241 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23242 Remove unused attribute.
23243
5dbc3b6c
RM
232442010-07-20 Roland McGrath <roland@redhat.com>
23245
23246 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23247 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23248 ld.so.cache was broken. With it, there is no way to disable dsocaps
23249 like LD_HWCAP_MASK can disable hwcaps.
23250
23d101d8
EPM
232512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23252
23253 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23254
cc9f2e47
UD
232552010-07-16 Ulrich Drepper <drepper@redhat.com>
23256
23257 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23258 call in strcasestr.
23259 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23260 __strcasestr_sse42_nonascii.
23261 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23262 strcasestr-nonascii.c.
23263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23264
77c1b069
LM
232652010-06-15 Luis Machado <luisgpm@br.ibm.com>
23266
23267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23271
440566c3
UD
232722010-07-09 Ulrich Drepper <drepper@redhat.com>
23273
23274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23275 fcntl.
23276
5be9d05d
AS
232772010-07-06 Andreas Schwab <schwab@redhat.com>
23278
c30b7ee2 23279 [BZ #11577]
5be9d05d
AS
23280 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23281 dl_signal_cerror.
23282
8a492a67
UD
232832010-07-06 Ulrich Drepper <drepper@redhat.com>
23284
23285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23286 _PC_PIPE_BUF using F_GETPIPE_SZ.
23287
713df3d5
RM
232882010-07-05 Roland McGrath <roland@redhat.com>
23289
23290 * manual/arith.texi (Rounding Functions): Fix rint description
23291 implicit in round description.
23292
702e8f14
UD
232932010-07-02 Ulrich Drepper <drepper@redhat.com>
23294
23295 * elf/Makefile: Fix linking for a few tests to make recent linker
23296 happy.
23297
52ed8be9
AS
232982010-06-30 Andreas Schwab <schwab@redhat.com>
23299
23300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23301 $(common-objpfx)libc_nonshared.a.
23302
f47c9a11
LM
233032010-06-21 Luis Machado <luisgpm@br.ibm.com>
23304
23305 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23306 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23307 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23308 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23309 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23312 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23327 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23328 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23329 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23330 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23331 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23332 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23333 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23334 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23335 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23336 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23337 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23338 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23353
6fb8cbcb
L
233542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23355
23356 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23357 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23358 * string/memmove.c (memmove): Renamed to ...
23359 (MEMMOVE): ...this. Default to memmove.
23360 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23361 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23362 (END_CHK): Define.
23363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23364 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23365 mempcpy-ssse3-back memmove-ssse3-back.
23366 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23369 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23370 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23371 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23372 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23373 * sysdeps/x86_64/multiarch/memmove.c: New file.
23374 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23375 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23376 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23377 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23378 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23380 Define.
23381 (index_Fast_Copy_Backward): Define.
23382 (HAS_ARCH_FEATURE): Define.
23383 (HAS_FAST_REP_STRING): Define.
23384 (HAS_FAST_COPY_BACKWARD): Define.
23385
4e733bac 233862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23387
23388 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23389 Restore proper fallback handling.
23390
63c4ed22
UD
233912010-06-19 Ulrich Drepper <drepper@redhat.com>
23392
ac2b484c
UD
23393 [BZ #11701]
23394 * posix/group_member.c (__group_member): Correct checking loop.
23395
63c4ed22
UD
23396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23397 OOM in getpwuid_r correctly. Return error number when the caller
23398 should return, otherwise -1.
23399 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23400 call returning > 0 value.
23401 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23402
765ade4b
AS
234032010-06-07 Andreas Schwab <schwab@redhat.com>
23404
23405 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23406 libc_nonshared.a from targets in modules-names.
23407
80da2e09
KS
234082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23409
23410 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23411 requires it.
23412
158db122
LM
234132010-06-10 Luis Machado <luisgpm@br.ibm.com>
23414
23415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23419
caa78cf8
AS
234202010-06-02 Andreas Schwab <schwab@redhat.com>
23421
23422 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23423
b2ef2c01
UD
234242010-06-14 Ulrich Drepper <drepper@redhat.com>
23425
23426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23427 and F_GETPIPE_SZ.
23428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23434
fbd643b6
RM
234352010-06-14 Roland McGrath <roland@redhat.com>
23436
23437 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23438
f32f2869
JJ
234392010-06-07 Jakub Jelinek <jakub@redhat.com>
23440
23441 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23442 __REDIRECT followed by __THROW.
23443 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23444 * posix/getopt.h (getopt): Likewise.
23445
2a50c078
EPM
234462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23447
23448 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23449 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23450 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23451 in AT_FLAGS.
23452 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23453 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23454
eb5ad2eb
LM
234552010-05-28 Luis Machado <luisgpm@br.ibm.com>
23456
23457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23458
3c88fe1e
L
234592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23460
23461 [BZ #11640]
23462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23463 Properly check family and model.
23464
d2f73151
TY
234652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23466
23467 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23468
ebd2e13d
LM
234692010-05-24 Luis Machado <luisgpm@br.ibm.com>
23470
23471 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23472
b32b8b45
UD
234732010-05-21 Ulrich Drepper <drepper@redhat.com>
23474
23475 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23476 symbol reference.
23477
9acbe24d
AS
234782010-05-19 Andreas Schwab <schwab@redhat.com>
23479
23480 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23481 symbol reference.
23482
f0ccf6ea
AS
234832010-05-21 Andreas Schwab <schwab@redhat.com>
23484
3d04ff3a
AS
23485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23486 and internal_recvmmsg.
23487 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23489 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23490 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23491
f0ccf6ea
AS
23492 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23495
5b08ac57
AS
234962010-05-20 Andreas Schwab <schwab@redhat.com>
23497
23498 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23499
4828935d
LM
235002010-05-17 Luis Machado <luisgpm@br.ibm.com>
23501
23502 POWER7 optimizations.
23503 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23504 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23505
373d545e
UD
235062010-05-19 Ulrich Drepper <drepper@redhat.com>
23507
23508 * version.h: Update for 2.13 development version.
23509
21a2b1ae
AS
235102010-05-12 Andrew Stubbs <ams@codesourcery.com>
23511
23512 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23513 exceptions. Return 0.
23514
3f7dcb2b
RM
235152010-05-07 Roland McGrath <roland@redhat.com>
23516
23517 * elf/ldconfig.c (main): Add a const.
23518
5f24d53a 235192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23520
a160f8d8
UD
23521 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23522 (args_options): Add no-idn option.
23523 (ahosts_keys_int): Add idn_flags to ai_flags.
23524 (parse_option): Handle 'i' option to clear idn_flags.
23525
5f24d53a
UD
23526 * malloc/malloc.c (_int_free): Possible race in the most recently
23527 added check. Only act on the data if no current modification
23528 happened.
265bb1ce
UD
23529
23530See ChangeLog.17 for earlier changes.
This page took 3.146651 seconds and 5 git commands to generate.