]> sourceware.org Git - glibc.git/blame - ChangeLog
Add HAS_RTM
[glibc.git] / ChangeLog
CommitLineData
5d7dd1ca
L
12013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4 Initialize COMMON_CPUID_INDEX_7 element.
5 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
6 (CPUID_RTM): Likewise.
7 (HAS_RTM): Likewise.
8 (COMMON_CPUID_INDEX_7): New enum.
9
2f5f40f4
AS
102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11
12 [BZ #14981]
13 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14 size is zero, record memory as freed.
15
4056f4a0
AJ
162013-01-03 Andreas Jaeger <aj@suse.de>
17
18 * po/ia.po: Add new Interlingua translation.
19
ab15736f 202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21
22 * locale/programs/localedef.c: Fix description of '--posix' flag.
23
568035b7
JM
242013-01-02 Joseph Myers <joseph@codesourcery.com>
25
e6898b8d
JM
26 * NEWS: Update dates in second copyright notice.
27 * README: Update copyright dates in example.
28 * manual/libc.texinfo: Update copyright dates.
29 * scripts/test-installation.pl: Update copyright date in --version
30 output.
31
0e2f9562
JM
32 * hurd/ctty-input.c: Fix copyright notice formatting.
33 * hurd/ctty-output.c: Likewise.
34 * hurd/dtable.c: Likewise.
35 * hurd/hurd-raise.c: Likewise.
36 * hurd/hurdprio.c: Likewise.
37 * hurd/msgportdemux.c: Likewise.
38 * misc/sys/file.h: Likewise.
39 * misc/sys/ioctl.h: Likewise.
40 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41 * sysdeps/mach/hurd/chdir.c: Likewise.
42 * sysdeps/mach/hurd/fchdir.c: Likewise.
43 * sysdeps/mach/hurd/rename.c: Likewise.
44 * sysdeps/mach/hurd/rmdir.c: Likewise.
45 * sysdeps/mach/hurd/seekdir.c: Likewise.
46 * sysdeps/mach/hurd/setsid.c: Likewise.
47 * sysdeps/posix/wait3.c: Likewise.
48
568035b7
JM
49 * All files with FSF copyright notices: Update copyright dates
50 using scripts/update-copyrights.
51 * intl/plural.c: Regenerated.
52 * locale/programs/charmap-kw.h: Likewise.
53 * locale/programs/locfile-kw.h: Likewise.
54
da08f647
SP
552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56
0f5477af
SP
57 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58 four values.
59
44e0d4c2
SP
60 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61 calculation loop and add branch prediction.
62
4d55b4e5
SP
63 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
64 check access beyond bounds of m1np.
65
da08f647
SP
66 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67 MPTWO.
68 (__inv): Remove local variable MPTWO to use the global
69 constant.
70 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72 variable MPTWO.
73 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
74 MP3HALFS static const.
75
8e051029
DM
762013-01-01 David S. Miller <davem@davemloft.net>
77
78 * po/ca.po: Update from translation team.
79
f4cf5f2d
JM
802013-01-01 Joseph Myers <joseph@codesourcery.com>
81
82 * scripts/update-copyrights: New file.
83 * Makeconfig: Reformat copyright notice.
84 * ctype/ctype.h: Likewise.
85 * debug/swprintf_chk.c: Likewise.
86 * elf/dl-cache.c: Likewise.
87 * elf/dl-debug.c: Likewise.
88 * elf/dl-object.c: Likewise.
89 * grp/initgroups.c: Likewise.
90 * hurd/Makefile: Likewise.
91 * hurd/hurd/signal.h: Likewise.
92 * hurd/hurdfault.c: Likewise.
93 * hurd/hurdioctl.c: Likewise.
94 * hurd/hurdlookup.c: Likewise.
95 * hurd/intr-msg.c: Likewise.
96 * iconv/gconv_open.c: Likewise.
97 * libio/swprintf.c: Likewise.
98 * locale/lc-ctype.c: Likewise.
99 * locale/nl_langinfo.c: Likewise.
100 * mach/Machrules: Likewise.
101 * mach/Makefile: Likewise.
102 * malloc/obstack.h: Likewise.
103 * manual/Makefile: Likewise.
104 * manual/tsort.awk: Likewise.
105 * misc/bits/stab.def: Likewise.
106 * nis/nis_print_group_entry.c: Likewise.
107 * nis/nis_table.c: Likewise.
108 * nis/nss_compat/compat-pwd.c: Likewise.
109 * nis/nss_compat/compat-spwd.c: Likewise.
110 * po/Makefile: Likewise.
111 * posix/fnmatch.c: Likewise.
112 * posix/regex.h: Likewise.
113 * resolv/Makefile: Likewise.
114 * resolv/nss_dns/dns-network.c: Likewise.
115 * resolv/res_hconf.c: Likewise.
116 * scripts/gen-sorted.awk: Likewise.
117 * soft-fp/soft-fp.h: Likewise.
118 * stdio-common/printf.h: Likewise.
119 * stdlib/monetary.h: Likewise.
120 * stdlib/random.c: Likewise.
121 * stdlib/random_r.c: Likewise.
122 * sysdeps/generic/Makefile: Likewise.
123 * sysdeps/gnu/Makefile: Likewise.
124 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
126 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
129 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
131 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
134 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
135 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
136 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
137 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
138 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
139 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
140 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
141 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
143 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
144 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
145 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
146 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
147 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
148 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
149 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
150 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
151 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
152 * sysdeps/mach/hurd/errnos.awk: Likewise.
153 * sysdeps/mach/hurd/fork.c: Likewise.
154 * sysdeps/mach/hurd/getcwd.c: Likewise.
155 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
156 * sysdeps/mach/hurd/mmap.c: Likewise.
157 * sysdeps/mach/hurd/utimes.c: Likewise.
158 * sysdeps/mach/hurd/xmknod.c: Likewise.
159 * sysdeps/posix/profil.c: Likewise.
160 * sysdeps/posix/readdir_r.c: Likewise.
161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
162 * sysdeps/powerpc/bits/setjmp.h: Likewise.
163 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
164 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
166 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
167 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
168 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
170 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
171 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
172 * sysdeps/pthread/lio_listio.c: Likewise.
173 * sysdeps/sparc/dl-procinfo.h: Likewise.
174 * sysdeps/unix/i386/sysdep.S: Likewise.
175 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
176 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
177 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
178 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
180 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
181 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
182 * sysdeps/unix/sysv/linux/speed.c: Likewise.
183 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
184 * sysdeps/wordsize-32/divdi3.c: Likewise.
185 * time/sys/time.h: Likewise.
186 * wcsmbs/Makefile: Likewise.
187
0549fbba
DM
1882013-01-01 David S. Miller <davem@davemloft.net>
189
a141f1a7
DM
190 * po/fr.po: Update from translation team.
191
0549fbba
DM
192 * catgets/gencat.c: Update copyright year.
193 * csu/version.c: Likewise.
194 * debug/catchsegv.sh: Likewise.
195 * debug/pcprofiledump.c: Likewise.
196 * debug/xtrace.sh: Likewise.
197 * elf/ldconfig.c: Likewise.
198 * elf/ldd.bash.in: Likewise.
199 * elf/pldd.c: Likewise.
200 * elf/sotruss.ksh: Likewise.
201 * elf/sprof.c: Likewise.
202 * iconv/iconv_prog.c: Likewise.
203 * iconv/iconvconfig.c: Likewise.
204 * locale/programs/locale.c: Likewise.
205 * locale/programs/localedef.c: Likewise.
206 * login/programs/pt_chown.c: Likewise.
207 * malloc/memusage.sh: Likewise.
208 * malloc/memusagestat.c: Likewise.
209 * malloc/mtrace.pl: Likewise.
210 * nscd/nscd.c: Likewise.
211 * nss/getent.c: Likewise.
212 * nss/makedb.c: Likewise.
213 * posix/getconf.c: Likewise.
214
18ea052c
SP
2152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
216
217 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
218 numbers.
219
9c89fca6
MF
2202012-12-30 Mike Frysinger <vapier@gentoo.org>
221
222 * math/bits/mathcalls.h (modf): Use __nonnull.
223
085ec079
SP
2242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
225
226 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
227 (split): Use macro CN instead of the bare value.
228 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
229 could be used.
230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
231 instead of the bare value.
232 (power1): Likewise.
233
6d9f97e1
SP
2342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
235
d63f73be
SP
236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
237 __ATAN_TWOM.
238 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
239
6d9f97e1
SP
240 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
241 their values.
242 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
243 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
244 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
245 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
246
4c4febf5
AJ
2472012-12-28 Andreas Jaeger <aj@suse.de>
248
af5843ef
AJ
249 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
250 values are from Linux 3.7.
251
4c4febf5
AJ
252 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
253 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
254
99136f82
SP
2552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
256
2f216c3c 257 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
258 TRUE case.
259
99136f82
SP
260 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
261 (norm): Likewise.
262 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
263 variables with preprocessor constants.
264 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
265 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
267
7fffbdff
BH
2682012-12-27 Bruno Haible <bruno@clisp.org>
269
270 [BZ #14317]
271 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
272 only if needed.
273
b76eb5f0
SP
2742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
275
31a7fe5c
SP
276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
277 and use variable directly.
278 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
279
b76eb5f0
SP
280 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
281 MPONE.
282 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
284 variable MPONE.
285 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
287 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
288 include directive. Remove local variable MPONE.
289 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
290 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
291 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
292
2c8bfe7d
DM
2932012-12-25 David S. Miller <davem@davemloft.net>
294
295 * version.h (RELEASE): Set to "development".
296 (VERSION): Set to "2.17.90".
297 * NEWS: Add 2.18 section.
298
147d03b0
DM
2992012-12-21 David S. Miller <davem@davemloft.net>
300
301 * po/hr.po: Update from translation team.
302
a8ebb2b9
AK
3032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
304
305 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
306
95b4f1b6
SE
3072012-12-19 Steve Ellcey <sellcey@mips.com>
308
b2d94007 309 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 310
cedb2a90
MS
3112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
312
313 * manual/contrib.texi (Contributors): Spelling correction.
314
bbf527d6
DM
3152012-12-15 David S. Miller <davem@davemloft.net>
316
317 * po/ru.po: Update from translation team.
318
bc38c906
DM
3192012-12-13 David S. Miller <davem@davemloft.net>
320
85429b1a
DM
321 * NEWS: Mention IFUNC testsuite enhancements.
322
d283e353
DM
323 * po/pl.po: Update from translation team.
324 * po/bg.po: Likewise.
325
bc38c906
DM
326 * manual/contrib.texi (Contributors): Update entries for Hongjiu
327 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
328
a181b0d7
DM
3292012-12-11 David S. Miller <davem@davemloft.net>
330
4641d57e
DM
331 * po/sv.po: Update from translation team.
332
f7bc6495
DM
333 * po/vi.po: Update from translation team.
334
6fc9048f
DM
335 * po/cs.po: Update from translation team.
336
a181b0d7
DM
337 * po/de.po: Update from translation team.
338 * po/eo.po: Likewise.
339 * po/nl.po: Likewise.
340
f70bfe80
SP
3412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
342
3c8b4190
SP
343 [BZ #14246]
344 * manual/argp.texi (Argp Helper Functions): Move node to follow
345 Argp Parsing State.
346
f70bfe80
SP
347 [BZ #14872]
348 * manual/conf.texi (Limits on File System Capacity): Mention if
349 terminating null is included in the max size.
350
188f0adf
AJ
3512012-12-10 Andreas Jaeger <aj@suse.de>
352
353 * po/cs.po: Update from translation team.
354
56e7d3ad
SP
3552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
356
357 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
358 void pointer and cast to uintptr_t.
359 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
360 path.
361 * sysdeps/s390/s390-64/memcpy.S: Likewise.
362 * sysdeps/s390/s390-64/memset.S: Likewise.
363
76f2d2ea 3642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
365
366 [BZ #14833]
367 * menual/message.texi (Message Translation): Fix typos.
368 (Helper programs for gettext): Likewise.
369
67cbf9a2
AS
3702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
371
372 [BZ #14898]
373 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
374 Change to -1.
375
682d0e9a
DM
3762012-12-07 David S. Miller <davem@davemloft.net>
377
378 * po/libc.pot: Update.
379
573cd484
RH
3802012-12-07 Richard Henderson <rth@redhat.com>
381
7e9da188 382 [BZ #10114]
573cd484
RH
383 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
384 normal/normal case to before the switch.
385 (_FP_DIV): Likewise.
386
e933a943
MF
3872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
388 Mike Frysinger <vapier@gentoo.org>
389
390 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
391 check for __NR_fadvise64_64.
392
82123268
CM
3932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
394
395 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
396 0, not just to plain "0" as a statement.
397 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
398 with cw.
399
d9814526
JM
4002012-12-06 Joseph Myers <joseph@codesourcery.com>
401
402 * NEWS: Use sourceware.org in Bugzilla URL.
403
7728c574
SP
4042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
405
f16946dd
SP
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
407 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
408
5704bbcb
SP
409 * stdio-common/tst-put-error.c (do_test): Add newline to the
410 padded test to ensure flush.
411
17aa0516
JL
4122012-12-05 Jeff Law <law@redhat.com>
413
414 * sunrpc/etc.rpc (fedfs_admin): Add entry.
415
363313b5
JM
4162012-12-05 Joseph Myers <joseph@codesourcery.com>
417
effbd42a
JM
418 * README: Don't refer to ports add-on as distributed separately.
419 Mention AArch64 in list of systems supported in the ports add-on.
420
87600365
JM
421 * LICENSES: Add more non-FSF copyright and license notices.
422
a0d7066a
JM
423 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
424 ((unused)).
425
66ca5a5b
JM
426 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
427
363313b5
JM
428 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
429 10000 as width of padded output.
430
b37984ad
JM
4312012-12-04 Joseph Myers <joseph@codesourcery.com>
432
9003570a
JM
433 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
434
b37984ad
JM
435 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
436 variable LX with __attribute__ ((unused)).
437 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
438 Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
442 with __attribute__ ((unused)).
443
c8df52ec
DM
4442012-12-04 David S. Miller <davem@abraco.davemloft.net>
445
446 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
447
b3b099af
JM
4482012-12-04 Joseph Myers <joseph@codesourcery.com>
449
c33aa6e3
JM
450 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
451 (CFLAGS-nldbl-acos.c): New variable.
452 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
453 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
454 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
455 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
456 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
457 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
458 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
459 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
460 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
461 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
462 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
463 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
464 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
465 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
466 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
467 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
468 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
469 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
470 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
471 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
472 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
473 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
474 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
475 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
476 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
477 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
478 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
479 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
480 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
481 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
482 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
483 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
484 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
485 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
486 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
487 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
488 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
489 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
490 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
491 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
492 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
493 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
494 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
495 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
496 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
497 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
498 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
499 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
500 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
501 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
502 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
503 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
504 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
505 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
506 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
507 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
508 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
509 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
510 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
511 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
512 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
513 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
514 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
515 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
516 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
517 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
518 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
519 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
520 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
521 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
522 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
523 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
524 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
525 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
526 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
527 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
528 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
529 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
530 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
531 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
532 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
533 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
534 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
535 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
536 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
537 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
538 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
539 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
540 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
541 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
542 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
543 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
544 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
545 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
546 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
547 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
548 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
549
20f0018d
JM
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
551 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
552
b3b099af
JM
553 [BZ #14914]
554 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
555 whole low double instead of just low 47 bits when splitting values
556 into two parts.
557
029264d1
AM
5582012-12-03 Allan McRae <allan@archlinux.org>
559
560 * manual/stdio.texi (Predefined Printf Handlers): Remove
561 @hsep and @vsep usage.
562
c9d6789e
MF
5632012-12-03 Mike Frysinger <vapier@gentoo.org>
564
565 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
566 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
567
4b7634a5
JL
5682012-12-03 Jeff Law <law@redhat.com>
569
570 * time/sys/time.h (settimeofday): Do not mark TV argument
571 as __nonnull.
572
eb6cbd24
MF
5732012-12-01 Mike Frysinger <vapier@gentoo.org>
574
575 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
576 when currently writing and seek to current position when not.
577 * libio/Makefile (tests): Remove bug-fclose1.
578 * libio/bug-fclose1.c: Delete.
579
f638872a
JM
5802012-12-01 Joseph Myers <joseph@codesourcery.com>
581
582 * manual/arith.texi (feenableexcept): Fix typo.
583 (fedisableexcept): Likewise.
584
48085d14
RM
5852012-11-30 Roland McGrath <roland@hack.frob.com>
586
587 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
588 second, differently-typed declaration, rather than a cast.
589
1a538b9f
SP
5902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
591
592 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
593 * include/rpc/svc.h: ... here.
594
d07f2ff1 5952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
596
597 [BZ #13013]
598 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
599 depending n and resplen2 to catch cases where answer
600 equals answerp2.
601
c93ec1f0
CD
6022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
603
604 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
605 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
606
37db69de
MF
6072012-11-29 Mike Frysinger <vapier@gentoo.org>
608
609 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
610
e10c4e4f
RM
6112012-11-29 Roland McGrath <roland@hack.frob.com>
612
613 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
614
2af1b328
JL
6152012-11-28 Jeff Law <law@redhat.com>
616
617 [BZ #13761]
618 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
619 dataset_temporary. Track alloca usage into alloca_used.
620 If dataset is large allocate and release it via malloc/free.
621
111db5b1
FW
6222012-06-04 Florian Weimer <fweimer@redhat.com>
623
f06cc227 624 [BZ #14197]
111db5b1
FW
625 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
626
dd694abd
DM
6272012-11-28 David S. Miller <davem@davemloft.net>
628
629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
630
9984dd01
JM
6312012-11-28 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #14803]
634 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
635 of pi/2 rounded to nearest to 64 bits.
636 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
637 nearest to 64 bits.
638 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
639 bits.
640
14bc93a9
JL
6412012-11-28 Jeff Law <law@redhat.com>
642 Martin Osvald <mosvald@redhat.com>
643
644 [BZ #14889]
645 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
646 * sunrpc/svc.c: Include time.h.
647 (__svc_accept_failed): New function.
648 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
649 any reason other than EINTR, call __svc_accept_failed.
650 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
651 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
652
e3c6aa3a
AS
6532012-11-28 Andreas Schwab <schwab@suse.de>
654
655 * scripts/abilist.awk: Also handle indirect functions in .opd
656 section.
657
1bead169
JM
6582012-11-28 Joseph Myers <joseph@codesourcery.com>
659
660 [BZ #13881]
661 * sysdeps/x86/fpu/powl_helper.c: New file.
662 * sysdeps/x86/fpu/Makefile: Likewise.
663 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
664 (p3): New object.
665 (__ieee754_powl): Use __powl_helper for finite arguments except
666 integer exponents below 8.
667 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
668 (p3): New object.
669 (__ieee754_powl): Use __powl_helper for finite arguments except
670 integer exponents below 8.
671 * math/libm-test.inc (pow_test): Add more tests and enable some
672 previously disabled tests.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
675
0817d63d
SP
6762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
677 Carlos O'Donell <carlos_odonell@mentor.com>
678
679 * nss/makedb.c (is_prime): Assert that input is odd and greater
680 than 4. Note that fact in a comment too.
681 (next_prime): Add 4 to input.
682
de2fd463
SP
6832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
684
685 [BZ #11741]
686 * libio/Makefile (tests): Add test case tst-fwrite-error.
687 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
688 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
689 * libio/tst-fwrite-error.c: New test case.
690
c515fb51
L
6912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
692
693 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
694 before casting to void *.
695 * include/libc-internal.h (__pointer_type): New macro.
696 (__integer_if_pointer_type_sub): Likewise.
697 (__integer_if_pointer_type): Likewise.
698 (cast_to_integer): Likewise.
699 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
700 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
701 before casting to atomic64_t.
702 (atomic_exchange_acq): Likewise.
703 (__arch_exchange_and_add_body): Likewise.
704 (__arch_add_body): Likewise.
705 (atomic_add_negative): Likewise.
706 (atomic_add_zero): Likewise.
707
4cf77aa9
JM
7082012-11-26 Joseph Myers <joseph@codesourcery.com>
709
710 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
711 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
712 (add_fdes): Likewise.
713 (linear_search_fdes): Likewise.
714 (binary_search_unencoded_fdes): Likewise.
715
d260b3b4
AS
7162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
717
718 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
719
67060746
AC
7202012-11-24 Adam Conrad <adconrad@0c3.net>
721
722 * configure.in: Autodetect C++ header directories.
723 * configure: Regenerated.
724
800938a1
MF
7252012-11-23 Mike Frysinger <vapier@gentoo.org>
726
727 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
728
4e6e34e6
AS
7292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
730
731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
732
7c7feb47
JM
7332012-11-22 Joseph Myers <joseph@codesourcery.com>
734
7184dcdf
JM
735 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
736 LDBL_MANT_DIG == 106]: Disable some tests.
737 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
738 Likewise.
739 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
740 Likewise.
741
0a42601f
JM
742 [BZ #14871]
743 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
744 input for small inputs. Return +/- pi/2 for large inputs.
745 * math/libm-test.inc (atan_test): Add more tests.
746
79c9b9fe
JM
747 * sysdeps/generic/unwind-dw2-fde-glibc.c
748 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
749 __attribute__ ((unused)).
750
c60d3bf2
JM
751 [BZ #14645]
752 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
753 x * y if x and y are nonzero and z is zero.
754
ef1e0867
JM
755 [BZ #14811]
756 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
757 nonzero exponents with absolute value below 0x1p-117 to +/-
758 0x1p-117.
759
1468ded3
JM
760 [BZ #14869]
761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
762 up arguments below 2**-450, not just those below 2**-500.
763 * math/libm-test.inc (hypot_test): Add another test.
764
8e27e3cc
JM
765 [BZ #14868]
766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
767 Return a+b for ratio over 2**120, not 2**60.
768 * math/libm-test.inc (hypot_test): Add another test.
769
c9c0279b
JM
770 * math/libm-test.inc (clog_test): Use
771 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
772 (clog10_test): Likewise.
773
7c7feb47
JM
774 [BZ #6778]
775 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
776
fff1530e
AS
7772012-11-22 Andreas Schwab <schwab@suse.de>
778
779 * sysdeps/i386/fpu/libm-test-ulps: Update.
780
94558d30
PT
7812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
782
783 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
784 printf output with newline.
785
7e1be741
L
7862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
787
6bfea974
L
788 [BZ #14865]
789 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
790 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
791 -z nodlopen, -z initfirst and -z execstack support.
792 * configure: Regenerated.
793
7e1be741
L
794 * elf/elf.h (DF_1_NODIRECT): New macro.
795 (DF_1_IGNMULDEF): Likewise.
796 (DF_1_NOKSYMS): Likewise.
797 (DF_1_NOHDR): Likewise.
798 (DF_1_EDITED): Likewise.
799 (DF_1_NORELOC): Likewise.
800 (DF_1_SYMINTPOSE): Likewise.
801 (DF_1_GLOBAUDIT): Likewise.
802 (DF_1_SINGLETON): Likewise.
803 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
804 DT_1_SUPPORTED_MASK bits.
805 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
806
105ce2ce
CD
8072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
808
809 * sysdeps/unix/make-syscalls.sh: Document prefixes.
810
123be9de
TS
8112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
812
d072f3f7
TS
813 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
814 macro.
815
123be9de
TS
816 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
817 (sendmmsg): Move declarations...
818 * socket/sys/socket.h: ... here.
819 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
820 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
821 include it from...
822 * socket/recvmmsg.c: ... this new file.
823 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
824 (sendmmsg): Rename to __sendmmsg, create weak alias and make
825 definition of __sendmmsg hidden.
826 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
827 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
828 Move ENOSYS stub into and include it from...
829 * socket/sendmmsg.c: ... this new file.
830 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
831 (sysdep_routines): Move recvmmsg and sendmmsg...
832 * socket/Makefile (routines): ... here.
833 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
834 (GLIBC_PRIVATE): Add __sendmmsg.
835 * include/sys/socket.h (__sendmmsg): Add declarations.
836 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
837 sendmmsg.
838
cf9a5d18
JM
8392012-11-20 Joseph Myers <joseph@codesourcery.com>
840
841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
842 variable I1 with __attribute__ ((unused)).
843 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
844
ecd4caf9
JM
8452012-11-19 Joseph Myers <joseph@codesourcery.com>
846
be14d48f
JM
847 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
848 DUMMY variables with __attribute__ ((unused)).
849
ecd4caf9
JM
850 * bits/byteswap.h: Include <bits/types.h>.
851 (__bswap_64): Use __uint64_t instead of unsigned long long int.
852
986cab95
PT
8532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
854
855 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
856 string_t. Do not manually set errno.
857 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
858 length with __strnlen. Make sure to both set errno and return it on
859 failure.
860
6d33cc9d
DM
8612012-11-19 David S. Miller <davem@davemloft.net>
862
863 With help from Joseph Myers.
864 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
865 very large arguments properly.
866 * math/libm-test.inc (atan_test): New tests.
867 (atan2_test): New tests.
868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
870
ee663277
JM
8712012-11-19 Joseph Myers <joseph@codesourcery.com>
872
877f2d8e
JM
873 [BZ #14856]
874 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
875 Define to 3.
876
116fc08a
JM
877 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
878 [POSIX] (EADDRNOTAVAIL): Likewise.
879 [POSIX] (EAFNOSUPPORT): Likewise.
880 [POSIX] (EALREADY): Likewise.
881 [POSIX] (ECONNABORTED): Likewise.
882 [POSIX] (ECONNREFUSED): Likewise.
883 [POSIX] (ECONNRESET): Likewise.
884 [POSIX] (EDESTADDRREQ): Likewise.
885 [POSIX] (EDQUOT): Likewise.
886 [POSIX] (EHOSTUNREACH): Likewise.
887 [POSIX] (EIDRM): Likewise.
888 [POSIX] (EISCONN): Likewise.
889 [POSIX] (ELOOP): Likewise.
890 [POSIX] (EMULTIHOP): Likewise.
891 [POSIX] (ENETDOWN): Likewise.
892 [POSIX] (ENETUNREACH): Likewise.
893 [POSIX] (ENOBUFS): Likewise.
894 [POSIX] (ENODATA): Likewise.
895 [POSIX] (ENOLINK): Likewise.
896 [POSIX] (ENOMSG): Likewise.
897 [POSIX] (ENOPROTOOPT): Likewise.
898 [POSIX] (ENOSR): Likewise.
899 [POSIX] (ENOSTR): Likewise.
900 [POSIX] (ENOTCONN): Likewise.
901 [POSIX] (ENOTSOCK): Likewise.
902 [POSIX] (EOPNOTSUPP): Likewise.
903 [POSIX] (EOVERFLOW): Likewise.
904 [POSIX] (EPROTO): Likewise.
905 [POSIX] (EPROTONOSUPPORT): Likewise.
906 [POSIX] (EPROTOTYPE): Likewise.
907 [POSIX] (ESTALE): Likewise.
908 [POSIX] (ETIME): Likewise.
909 [POSIX] (ETXTBSY): Likewise.
910 [POSIX] (EWOULDBLOCK): Likewise.
911 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
912 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
913 [POSIX] (SEEK_CUR): Likewise.
914 [POSIX] (SEEK_END): Likewise.
915 [POSIX || UNIX98] (mode_t): Do not require.
916 [POSIX] (off_t): Likewise.
917 [POSIX] (pid_t): Likewise.
918 [POSIX] (sys/stat.h): Do not allow header.
919 [POSIX] (unistd.h): Likewise.
920 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
921 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
922 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
923 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
924 require.
925 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
926 sigevent): Specify elements.
927 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
928 entry.
929 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
930 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
931
a483863f
JM
932 * conform/data/cpio.h-data [POSIX]: Disable whole file.
933 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
934 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
935 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
936 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
937 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
938 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
940 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
941 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
942 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
943 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
944 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
945 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
946 Likewise.
947 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
948 Likewise.
949 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
950 Likewise.
951 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
952 Likewise.
953 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
954 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
955 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
956 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
957 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
958 Specify lower bound on value.
959 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
960 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
961 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
962 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
963 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
964 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
965 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
966 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
967 value.
968 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
969 as optional.
970 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
971 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
972 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
973 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
974 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
975 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
976 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
977 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
978 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
979 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
980 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
981 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
982 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
983 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
984 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
985 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
986 entry.
987 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
988 optional.
989 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
990 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
991 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
992 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
993 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
994 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
995 Likewise.
996 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
997 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
998 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
999 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1001 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1002 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1003 as optional.
1004 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1006 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1008 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1009 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1010 specify as optional.
1011 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1012 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1013 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1014 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1015 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1016 [XPG3] (NL_LANGMAX): Likewise.
1017 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1018 [POSIX || XPG3] (NL_NMAX): Likewise.
1019 [POSIX || XPG3] (NL_SETMAX): Likewise.
1020 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1021 [XPG3] (NZERO): Likewise.
1022 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1023 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1024 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1025 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1026 (REG_ERANGE): Expect.
1027 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1028 optional-constant.
1029 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1030 Use (void) in prototype.
1031 [POSIX] (*_t): Allow.
1032 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1033 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1034 (WRDE_BADVAL): Expect.
1035
5ba924e3
JM
1036 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1037 expect.
1038 [XPG3 || XPG4] (O_RSYNC): Likewise.
1039 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1040 Likewise.
1041 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1042 [XPG3 || XPG4] (sigqueue): Likewise.
1043 [XPG3 || XPG4] (sigtimedwait): Likewise.
1044 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1045 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1046 [XPG3 || XPG4] (vsnprintf): Likewise.
1047 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1048 Likewise.
1049 [XPG3 || XPG4] (blksize_t): Likewise.
1050 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1051 Likewise.
1052 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1053 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1054 [XPG3 || XPG4] (struct itimerspec): Likewise.
1055 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1056 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1057 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1058 [XPG3 || XPG4] (clockid_t): Likewise.
1059 [XPG3 || XPG4] (timer_t): Likewise.
1060 [XPG3 || XPG4] (clock_getres): Likewise.
1061 [XPG3 || XPG4] (clock_gettime): Likewise.
1062 [XPG3 || XPG4] (clock_settime): Likewise.
1063 [XPG3 || XPG4] (nanosleep): Likewise.
1064 [XPG3 || XPG4] (timer_create): Likewise.
1065 [XPG3 || XPG4] (timer_delete): Likewise.
1066 [XPG3 || XPG4] (timer_gettime): Likewise.
1067 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1068 [XPG3 || XPG4] (timer_settime): Likewise.
1069 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1070 [XPG3 || XPG4] (getlogin_r): Likewise.
1071 [XPG3 || XPG4] (pread): Likewise.
1072 [XPG3 || XPG4] (pthread_atfork): Likewise.
1073 [XPG3 || XPG4] (pwrite): Likewise.
1074
ee663277
JM
1075 [BZ #14835]
1076 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1077 <bits/siginfo.h>.
1078
942caa16
PT
10792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1080
e19af380
PT
1081 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1082 finalizing MALLSTREAM.
1083
942caa16
PT
1084 * sysdeps/mach/hurd/syncfs.c: New file.
1085
cfde9b46
SP
10862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1087
1088 [BZ #14719]
1089 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1090 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1091 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1092 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1093 (_nss_dns_gethostbyname4_r): Likewise.
1094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1095 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1096
f6da27e5
PH
10972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1098
1099 [BZ #13763]
1100 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1101
6665d4a2
SM
11022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1103
1f51ee92
SM
1104 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1105 * elf/cache.c (print_entry): Print ",AArch64" for
1106 FLAG_AARCH64_LIB64
1107
6665d4a2
SM
1108 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1109 * elf/cache.c (print_entry): Print ",hard-float" for
1110 FLAG_ARM_LIBHF.
1111
05b227bd
DM
11122012-11-18 David S. Miller <davem@davemloft.net>
1113
1114 With help from Joseph Myers.
1115 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1116 cutoff to 2**-13.
1117 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1118 cutoff to 2**-25.
1119 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1120 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1121 small.
1122 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1123 * math/libm-test.inc (y0_test): New tests.
1124 (y1_test): New tests.
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1128
786b0b67
AS
11292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1130
1131 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1132 64-bit targets.
1133 * configure: Regenerated.
1134
8e18b86d
DM
11352012-11-17 David S. Miller <davem@davemloft.net>
1136
1137 [BZ #14811]
1138 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1139 nonzero exponents with absolute value below 0x1p-128 to +/-
1140 0x1p-128.
1141
531f1ae0
JM
11422012-11-17 Joseph Myers <joseph@codesourcery.com>
1143
12df29e2
JM
1144 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1145
150dc1a0
JM
1146 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1147
531f1ae0
JM
1148 * posix/getconf-speclist.c: New file.
1149 * posix/posix-envs.def: Likewise.
1150 * posix/confstr.c (START_ENV_GROUP): New macro.
1151 (END_ENV_GROUP): Likewise.
1152 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1153 (KNOWN_PRESENT_ENV_STRING): Likewise.
1154 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1155 (UNKNOWN_ENVIRONMENT): Likewise.
1156 (confstr): Include posix-envs.def instead of handling
1157 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1158 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1159 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1160 (END_ENV_GROUP): Likewise.
1161 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1162 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1163 (UNKNOWN_ENVIRONMENT): Likewise.
1164 (__sysconf): Include posix-envs.def instead of handling associated
1165 cases directly here.
1166 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1167 preprocessing getconf-speclist.c rather than running getconf or
1168 generating empty file.
1169
a93f9cbc
PT
11702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1171
1172 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1173
d64d9f87
AL
11742012-11-16 Andrej Lajovic <natrij@gmail.com>
1175
1176 [BZ #14672]
1177 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1178
447885eb
DM
11792012-11-16 David S. Miller <davem@davemloft.net>
1180
1181 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1182 smaller than LDBL_EPSILON/2.0L, just return xm1.
1183
bcbf9830
L
11842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * elf/tst-array1.c (init): Set constructor priority to 1000.
1187 (fini): Set destructor priority to 1000.
1188 * elf/tst-array2dep.c: Likewise.
1189
2b766585
SP
11902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1191
1192 [BZ #11741]
1193 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1194 (_IO_new_file_xsputn): Also return EOF if none of the input
1195 data was written when overflow failed.
1196 * libio/iopadn.c (_IO_padn): Likewise.
1197 * libio/iowpadn.c (_IO_wpadn): Likewise.
1198 * stdio-common/tst-put-error.c: Add copyright notice.
1199 (do_test): Add case for printing padded string.
1200 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1201 _IO_padn returned error.
1202 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1203 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1204 return EOF.
1205
b1848fde
SP
12062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1207
1208 * libio/libioP.h: Add comment note that the references to C++
1209 bits are now obsolete.
1210
2fd89785
MS
12112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1212
1213 * math/libm-test.inc (check_complex): Use asprintf.
1214
e3ea5409
JM
12152012-11-14 Joseph Myers <joseph@codesourcery.com>
1216
1217 * debug/pcprofiledump.c (print_version): Update copyright year.
1218 * malloc/memusagestat.c (print_version): Likewise.
1219
2e64d265
L
12202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 [BZ #14831]
1223 * elf/Makefile (tests): Add tst-audit8.
1224 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1225 ($(objpfx)tst-audit8.out): New target.
1226 (tst-audit8-ENV): New variable.
1227 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1228 audit if l_reloc_result is NULL.
1229 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1230 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1231 * elf/tst-audit8.c: New file.
1232
c485e4d2
MS
12332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1234
1235 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1236 * misc/Makefile (CFLAGS-select.c): Define.
1237 * posix/Makefile (CFLAGS-pause.c): Define.
1238
3a0d900a
DM
12392012-11-13 David S. Miller <davem@davemloft.net>
1240
1241 * crypt/Makefile: Move test targets after toplevel Rules
1242 inclusion. Grab any necessary sysdep routines when linking.
1243 * crypt/md5.c (md5_process_block): Remove define, we will always
1244 name it __md5_process_block.
1245 (md5_finish_ctx): Update md5_process_block call.
1246 (md5_stream): Likewise.
1247 (md5_process_bytes): Likewise.
1248 (md5_process_block): Rename to __md5_process_block and move to ...
1249 * crypt/md5-block.c: ... here.
1250 * crypt/sha256.c (sha256_process_block): Move to ...
1251 * crypt/sha256-block.c: ... here.
1252 * crypt/sha512.c (sha512_process_block): Move to ...
1253 * crypt/sha512-block.c: ... here.
1254 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1255 path.
1256 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1257 * sysdeps/sparc/sparc64/multiarch/Makefile
1258 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1259 crypt subdir.
1260 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1261 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1262 multiarch changes.
1263 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1264 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1265 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1266 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1267 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1268 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1269 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1270 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1271 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1272 file.
1273 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1274 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1275 file.
1276 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1277
8ca89318
JM
12782012-11-13 Joseph Myers <joseph@codesourcery.com>
1279
e27d476a
JM
1280 * timezone/tzselect.ksh: Update from tzcode git revision
1281 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1282 * timezone/zdump.c: Likewise.
1283 * timezone/zic.c: Likewise.
1284 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1285 in TZVERSION setting, not $(PKGVERSION).
1286 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1287 REPORT_BUGS_TO settings.
1288
8ca89318
JM
1289 [BZ #14838]
1290 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1291 macro.
1292
47594329
MS
12932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1294
1295 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1296 detection to immediately after _FP_ROUND().
1297 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1298 bits are 0.
1299
640ac3f1
DM
13002012-11-11 David S. Miller <davem@davemloft.net>
1301
1302 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1303 inttypes.h
1304 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1305 __close rather than their public counterparts.
1306
3d2577bb
JM
13072012-11-10 Joseph Myers <joseph@codesourcery.com>
1308
1309 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1310 file.
1311 [UNIX98] (sem_timedwait): Do not expect.
1312 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1313 [XPG4 || UNIX98] (sockatmark): Do not expect.
1314 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1315 (clock_getcpuclockid): Do not expect.
1316 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1317 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1318 Do not expect.
1319 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1320 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1321 [UNIX98] (vwscanf): Likewise.
1322 [UNIX98] (vswscanf): Likewise.
1323
fb1ae1ee
JM
13242012-11-09 Joseph Myers <joseph@codesourcery.com>
1325
9ec6f8bd
JM
1326 * timezone/version.h: Remove file.
1327 * timezone/README: Do not refer to version.h.
1328 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1329 $(objpfx)version.h.
1330 ($(objpfx)zdump.o): Likewise.
c3f81911 1331 ($(objpfx)version.h): New target.
9ec6f8bd 1332
0aa8f8a1
JM
1333 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1334 2012i.
1335 * timezone/README: Don't mention modification to tzselect.ksh.
1336 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1337 work on unmodified tzselect.ksh. Substitute version numbers in
1338 tzselect.ksh.
1339
4e87147f
JM
1340 * Makefile (format-me): Remove.
1341 (INSTALL): Adjust indentation. Use commands directly instead of
1342 using $(format-me).
1343
8b748aed
JM
1344 * aclocal.m4 (ACX_PKGVERSION): New macro.
1345 (ACX_BUGURL): Likewise.
1346 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1347 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1348 (REPORT_BUGS_TO): Likewise.
1349 * configure: Regenerated.
1350 * config.h.in (PKGVERSION): New macro.
1351 (REPORT_BUGS_TO): Likewise.
1352 * config.make.in (PKGVERSION): New variable.
1353 (PKGVERSION_TEXI): Likewise.
1354 (REPORT_BUGS_TO): Likewise.
1355 (REPORT_BUGS_TEXI): Likewise.
1356 * Makefile (format-me): Use -I$(common-objpfx)manual.
1357 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1358 ($(common-objpfx)manual/%): New target.
1359 (manual/%): Remove target.
1360 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1361 (print_version): Use PKGVERSION.
1362 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1363 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1364 and REPORT_BUGS_TO.
1365 ($(objpfx)xtrace): Likewise.
1366 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1367 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1368 (print_version): Use PKGVERSION.
1369 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1370 (do_version): Use PKGVERSION.
1371 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1372 REPORT_BUGS_TO.
1373 (common-ldd-rewrite): Likewise.
1374 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1375 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1376 (print_version): Use PKGVERSION.
1377 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1378 * elf/pldd.c (argp_program_bug_address): Remove variable.
1379 (more_help): New function.
1380 (argp): Use more_help.
1381 (print_version): Use PKGVERSION.
1382 * elf/sln.c (main): Use PKGVERSION.
1383 (usage): Use REPORT_BUGS_TO.
1384 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1385 (top level): Use PKGVERSION.
1386 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1387 (print_version): Use PKGVERSION.
1388 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1389 (print_version): Use PKGVERSION.
1390 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1391 (print_version): Use PKGVERSION.
1392 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1393 (print_version): Use PKGVERSION.
1394 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1395 (print_version): Use PKGVERSION.
1396 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1397 (print_version): Use PKGVERSION.
1398 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1399 and BUGURL.
1400 ($(objpfx)memusage): Likewise.
1401 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1402 (do_version): Use PKGVERSION.
1403 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1404 (print_version): Use PKGVERSION.
1405 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1406 ($PKGVERSION): New variable.
1407 ($REPORT_BUGS_TO): Likewise.
1408 (usage): Use $REPORT_BUGS_TO.
1409 (top level): Use $PKGVERSION.
1410 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1411 ($(objpfx)pkgvers.texi): New rule.
1412 ($(objpfx)stamp-pkgvers): Likewise.
1413 * manual/install.texi: Include pkgvers.texi.
1414 (--with-pkgversion): Document new configure option.
1415 (--with-bugurl): Likewise.
1416 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1417 than necessarily for this particular distribution. Use
1418 REPORT_BUGS_TO for where to report bugs.
1419 * INSTALL: Regenerated.
1420 * manual/libc.texinfo: Include pkgvers.texi.
1421 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1422 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1423 (print_version): Use PKGVERSION.
1424 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1425 (print_version): Use PKGVERSION.
1426 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1427 (print_version): Use PKGVERSION.
1428 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1429 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1430 macro.
1431 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1432 (print_version): Use PKGVERSION.
1433 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1434 (print_version): Use PKGVERSION.
1435 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1436 and PKGVERSION.
1437
92e4b6a9
JM
1438 * timezone/checktab.awk: Update from tzcode 2012i.
1439 * timezone/ialloc.c: Likewise.
1440 * timezone/private.h: Likewise.
1441 * timezone/scheck.c: Likewise.
1442 * timezone/tzfile.h: Likewise.
1443 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1444 (TZVERSION): Hardcode tzcode version number.
1445 * timezone/zdump.c: Update from tzcode 2012i.
1446 * timezone/zic.c: Likewise.
1447 * timezone/version.h: New file.
1448 * timezone/README: Describe version.h. Update upstream location.
1449
9bde902c
JM
1450 [BZ #14824]
1451 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1452 (mktemp): Enable declaration.
1453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1457 Likewise.
1458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1459 Likewise.
1460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1461 Likewise.
1462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1463 Likewise.
1464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1465 Likewise.
1466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1467 Likewise.
1468
fb1ae1ee
JM
1469 [BZ #14821]
1470 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1471 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1472 for copies of such integer values.
1473 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1474 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1475
2c1adbcb
AJ
14762012-11-09 Andreas Jaeger <aj@suse.de>
1477
1478 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1479 definitions and declarations that are provided by
1480 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1481
d0f8457e
AK
14822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1483
1484 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1485 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1486 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1487 definition.
1488
57241e26
MS
14892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1490
1491 * elf/elf.h: Update comment before AArch64 relocations.
1492
60e8270d
DM
14932012-11-07 David S. Miller <davem@davemloft.net>
1494
1495 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1496 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1497 (__start_context): Declare.
1498 (__makecontext_ret): Delete.
1499 (__makecontext): Hook up __start_context instead of
1500 __makecontext_ret.
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1502 (sysdep_routines): Add __start_context when in stdlib.
1503
0fbb0fbc
JM
15042012-11-07 Joseph Myers <joseph@codesourcery.com>
1505
1506 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1507 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1508 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1509 hardcoded "nm".
1510 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1511 (READELF): New variable. Use it instead of hardcoded "readelf".
1512
eb48db7e
L
15132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1516 * sysdeps/x86/Makefile: Here.
1517 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1518 * sysdeps/x86/tst-xmmymm.sh: This.
1519
05bcf62a
JM
15202012-11-07 Joseph Myers <joseph@codesourcery.com>
1521
c4b6cf53
JM
1522 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1523 expectations.
1524 [UNIX98] (pthread_barrier_t): Do not expect.
1525 [UNIX98] (pthread_barrierattr_t): Likewise.
1526 [UNIX98] (pthread_spinlock_t): Likewise.
1527 [UNIX98] (pthread_barrier_destroy): Likewise.
1528 [UNIX98] (pthread_barrier_init): Likewise.
1529 [UNIX98] (pthread_barrier_wait): Likewise.
1530 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1531 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1532 [UNIX98] (pthread_barrierattr_init): Likewise.
1533 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1534 [UNIX98] (pthread_getcpuclockid): Likewise.
1535 [UNIX98] (pthread_mutex_timedlock): Likewise.
1536 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1537 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1538 [UNIX98] (pthread_sigmask): Likewise.
1539 [UNIX98] (pthread_spin_destroy): Likewise.
1540 [UNIX98] (pthread_spin_init): Likewise.
1541 [UNIX98] (pthread_spin_lock): Likewise.
1542 [UNIX98] (pthread_spin_trylock): Likewise.
1543 [UNIX98] (pthread_spin_unlock): Likewise.
1544 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1545 Do not expect.
1546 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1547 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1548 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1549 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1550 [XPG3 || XPG4] (pthread_key_t): Likewise.
1551 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1552 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1553 [XPG3 || XPG4] (pthread_once_t): Likewise.
1554 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1555 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1557 [XPG3 || XPG4] (pthread_t): Likewise.
1558
cbe6e120
JM
1559 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1560 not expect.
1561 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1562
1b126443
JM
1563 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1564 Change function return type to int.
1565
b961a573
JM
1566 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1567 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1568 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1569 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1570 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1571 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1572 [!POSIX] (posix_madvise): Likewise.
1573 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1574 && !UNIX98].
1575 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1576 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1577 (mode_t): Likewise.
1578 (posix_mem_offset): Likewise.
1579 (posix_typed_mem_get_info): Likewise.
1580 (posix_typed_mem_open): Likewise.
1581
9e188909
JM
1582 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1583 Change condition to [XOPEN2K8].
1584
05bcf62a
JM
1585 * conform/conformtest.pl: Preprocess allow-header data with -x c
1586 instead of from stdin.
1587 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1588 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1589 [C99-based standards] (cerfc): Likewise.
1590 [C99-based standards] (cexp2): Likewise.
1591 [C99-based standards] (cexpm1): Likewise.
1592 [C99-based standards] (clog10): Likewise.
1593 [C99-based standards] (clog1p): Likewise.
1594 [C99-based standards] (clog2): Likewise.
1595 [C99-based standards] (clgamma): Likewise.
1596 [C99-based standards] (ctgamma): Likewise.
1597 [C99-based standards] (cerff): Likewise.
1598 [C99-based standards] (cerfcf): Likewise.
1599 [C99-based standards] (cexp2f): Likewise.
1600 [C99-based standards] (cexpm1f): Likewise.
1601 [C99-based standards] (clog10f): Likewise.
1602 [C99-based standards] (clog1pf): Likewise.
1603 [C99-based standards] (clog2f): Likewise.
1604 [C99-based standards] (clgammaf): Likewise.
1605 [C99-based standards] (ctgammaf): Likewise.
1606 [C99-based standards] (cerfl): Likewise.
1607 [C99-based standards] (cerfcl): Likewise.
1608 [C99-based standards] (cexp2l): Likewise.
1609 [C99-based standards] (cexpm1l): Likewise.
1610 [C99-based standards] (clog10l): Likewise.
1611 [C99-based standards] (clog1pl): Likewise.
1612 [C99-based standards] (clog2l): Likewise.
1613 [C99-based standards] (clgammal): Likewise.
1614 [C99-based standards] (ctgammal): Likewise.
1615 * conform/data/inttypes.h-data [C99-based standards]: Include
1616 stdint.h-data. Remove all expectations for stdint.h contents.
1617 [C99-based standards] (PRI*): Do not allow.
1618 [C99-based standards] (SCN*): Likewise.
1619 [C99-based standards] (*_t): Likewise.
1620 [C99-based-standards] (PRId8): Expect macro.
1621 [C99-based-standards] (PRIi8): Likewise.
1622 [C99-based-standards] (PRIo8): Likewise.
1623 [C99-based-standards] (PRIu8): Likewise.
1624 [C99-based-standards] (PRIx8): Likewise.
1625 [C99-based-standards] (PRIX8): Likewise.
1626 [C99-based-standards] (SCNd8): Likewise.
1627 [C99-based-standards] (SCNi8): Likewise.
1628 [C99-based-standards] (SCNo8): Likewise.
1629 [C99-based-standards] (SCNu8): Likewise.
1630 [C99-based-standards] (SCNx8): Likewise.
1631 [C99-based-standards] (PRIdLEAST8): Likewise.
1632 [C99-based-standards] (PRIiLEAST8): Likewise.
1633 [C99-based-standards] (PRIoLEAST8): Likewise.
1634 [C99-based-standards] (PRIuLEAST8): Likewise.
1635 [C99-based-standards] (PRIxLEAST8): Likewise.
1636 [C99-based-standards] (PRIXLEAST8): Likewise.
1637 [C99-based-standards] (SCNdLEAST8): Likewise.
1638 [C99-based-standards] (SCNiLEAST8): Likewise.
1639 [C99-based-standards] (SCNoLEAST8): Likewise.
1640 [C99-based-standards] (SCNuLEAST8): Likewise.
1641 [C99-based-standards] (SCNxLEAST8): Likewise.
1642 [C99-based-standards] (PRIdFAST8): Likewise.
1643 [C99-based-standards] (PRIiFAST8): Likewise.
1644 [C99-based-standards] (PRIoFAST8): Likewise.
1645 [C99-based-standards] (PRIuFAST8): Likewise.
1646 [C99-based-standards] (PRIxFAST8): Likewise.
1647 [C99-based-standards] (PRIXFAST8): Likewise.
1648 [C99-based-standards] (SCNdFAST8): Likewise.
1649 [C99-based-standards] (SCNiFAST8): Likewise.
1650 [C99-based-standards] (SCNoFAST8): Likewise.
1651 [C99-based-standards] (SCNuFAST8): Likewise.
1652 [C99-based-standards] (SCNxFAST8): Likewise.
1653 [C99-based-standards] (PRId16): Likewise.
1654 [C99-based-standards] (PRIi16): Likewise.
1655 [C99-based-standards] (PRIo16): Likewise.
1656 [C99-based-standards] (PRIu16): Likewise.
1657 [C99-based-standards] (PRIx16): Likewise.
1658 [C99-based-standards] (PRIX16): Likewise.
1659 [C99-based-standards] (SCNd16): Likewise.
1660 [C99-based-standards] (SCNi16): Likewise.
1661 [C99-based-standards] (SCNo16): Likewise.
1662 [C99-based-standards] (SCNu16): Likewise.
1663 [C99-based-standards] (SCNx16): Likewise.
1664 [C99-based-standards] (PRIdLEAST16): Likewise.
1665 [C99-based-standards] (PRIiLEAST16): Likewise.
1666 [C99-based-standards] (PRIoLEAST16): Likewise.
1667 [C99-based-standards] (PRIuLEAST16): Likewise.
1668 [C99-based-standards] (PRIxLEAST16): Likewise.
1669 [C99-based-standards] (PRIXLEAST16): Likewise.
1670 [C99-based-standards] (SCNdLEAST16): Likewise.
1671 [C99-based-standards] (SCNiLEAST16): Likewise.
1672 [C99-based-standards] (SCNoLEAST16): Likewise.
1673 [C99-based-standards] (SCNuLEAST16): Likewise.
1674 [C99-based-standards] (SCNxLEAST16): Likewise.
1675 [C99-based-standards] (PRIdFAST16): Likewise.
1676 [C99-based-standards] (PRIiFAST16): Likewise.
1677 [C99-based-standards] (PRIoFAST16): Likewise.
1678 [C99-based-standards] (PRIuFAST16): Likewise.
1679 [C99-based-standards] (PRIxFAST16): Likewise.
1680 [C99-based-standards] (PRIXFAST16): Likewise.
1681 [C99-based-standards] (SCNdFAST16): Likewise.
1682 [C99-based-standards] (SCNiFAST16): Likewise.
1683 [C99-based-standards] (SCNoFAST16): Likewise.
1684 [C99-based-standards] (SCNuFAST16): Likewise.
1685 [C99-based-standards] (SCNxFAST16): Likewise.
1686 [C99-based-standards] (PRId32): Likewise.
1687 [C99-based-standards] (PRIi32): Likewise.
1688 [C99-based-standards] (PRIo32): Likewise.
1689 [C99-based-standards] (PRIu32): Likewise.
1690 [C99-based-standards] (PRIx32): Likewise.
1691 [C99-based-standards] (PRIX32): Likewise.
1692 [C99-based-standards] (SCNd32): Likewise.
1693 [C99-based-standards] (SCNi32): Likewise.
1694 [C99-based-standards] (SCNo32): Likewise.
1695 [C99-based-standards] (SCNu32): Likewise.
1696 [C99-based-standards] (SCNx32): Likewise.
1697 [C99-based-standards] (PRIdLEAST32): Likewise.
1698 [C99-based-standards] (PRIiLEAST32): Likewise.
1699 [C99-based-standards] (PRIoLEAST32): Likewise.
1700 [C99-based-standards] (PRIuLEAST32): Likewise.
1701 [C99-based-standards] (PRIxLEAST32): Likewise.
1702 [C99-based-standards] (PRIXLEAST32): Likewise.
1703 [C99-based-standards] (SCNdLEAST32): Likewise.
1704 [C99-based-standards] (SCNiLEAST32): Likewise.
1705 [C99-based-standards] (SCNoLEAST32): Likewise.
1706 [C99-based-standards] (SCNuLEAST32): Likewise.
1707 [C99-based-standards] (SCNxLEAST32): Likewise.
1708 [C99-based-standards] (PRIdFAST32): Likewise.
1709 [C99-based-standards] (PRIiFAST32): Likewise.
1710 [C99-based-standards] (PRIoFAST32): Likewise.
1711 [C99-based-standards] (PRIuFAST32): Likewise.
1712 [C99-based-standards] (PRIxFAST32): Likewise.
1713 [C99-based-standards] (PRIXFAST32): Likewise.
1714 [C99-based-standards] (SCNdFAST32): Likewise.
1715 [C99-based-standards] (SCNiFAST32): Likewise.
1716 [C99-based-standards] (SCNoFAST32): Likewise.
1717 [C99-based-standards] (SCNuFAST32): Likewise.
1718 [C99-based-standards] (SCNxFAST32): Likewise.
1719 [C99-based-standards] (PRId64): Likewise.
1720 [C99-based-standards] (PRIi64): Likewise.
1721 [C99-based-standards] (PRIo64): Likewise.
1722 [C99-based-standards] (PRIu64): Likewise.
1723 [C99-based-standards] (PRIx64): Likewise.
1724 [C99-based-standards] (PRIX64): Likewise.
1725 [C99-based-standards] (SCNd64): Likewise.
1726 [C99-based-standards] (SCNi64): Likewise.
1727 [C99-based-standards] (SCNo64): Likewise.
1728 [C99-based-standards] (SCNu64): Likewise.
1729 [C99-based-standards] (SCNx64): Likewise.
1730 [C99-based-standards] (PRIdLEAST64): Likewise.
1731 [C99-based-standards] (PRIiLEAST64): Likewise.
1732 [C99-based-standards] (PRIoLEAST64): Likewise.
1733 [C99-based-standards] (PRIuLEAST64): Likewise.
1734 [C99-based-standards] (PRIxLEAST64): Likewise.
1735 [C99-based-standards] (PRIXLEAST64): Likewise.
1736 [C99-based-standards] (SCNdLEAST64): Likewise.
1737 [C99-based-standards] (SCNiLEAST64): Likewise.
1738 [C99-based-standards] (SCNoLEAST64): Likewise.
1739 [C99-based-standards] (SCNuLEAST64): Likewise.
1740 [C99-based-standards] (SCNxLEAST64): Likewise.
1741 [C99-based-standards] (PRIdFAST64): Likewise.
1742 [C99-based-standards] (PRIiFAST64): Likewise.
1743 [C99-based-standards] (PRIoFAST64): Likewise.
1744 [C99-based-standards] (PRIuFAST64): Likewise.
1745 [C99-based-standards] (PRIxFAST64): Likewise.
1746 [C99-based-standards] (PRIXFAST64): Likewise.
1747 [C99-based-standards] (SCNdFAST64): Likewise.
1748 [C99-based-standards] (SCNiFAST64): Likewise.
1749 [C99-based-standards] (SCNoFAST64): Likewise.
1750 [C99-based-standards] (SCNuFAST64): Likewise.
1751 [C99-based-standards] (SCNxFAST64): Likewise.
1752 [C99-based-standards] (PRIdMAX): Likewise.
1753 [C99-based-standards] (PRIiMAX): Likewise.
1754 [C99-based-standards] (PRIoMAX): Likewise.
1755 [C99-based-standards] (PRIuMAX): Likewise.
1756 [C99-based-standards] (PRIxMAX): Likewise.
1757 [C99-based-standards] (PRIXMAX): Likewise.
1758 [C99-based-standards] (SCNdMAX): Likewise.
1759 [C99-based-standards] (SCNiMAX): Likewise.
1760 [C99-based-standards] (SCNoMAX): Likewise.
1761 [C99-based-standards] (SCNuMAX): Likewise.
1762 [C99-based-standards] (SCNxMAX): Likewise.
1763 [C99-based-standards] (PRIdPTR): Likewise.
1764 [C99-based-standards] (PRIiPTR): Likewise.
1765 [C99-based-standards] (PRIoPTR): Likewise.
1766 [C99-based-standards] (PRIuPTR): Likewise.
1767 [C99-based-standards] (PRIxPTR): Likewise.
1768 [C99-based-standards] (PRIXPTR): Likewise.
1769 [C99-based-standards] (SCNdPTR): Likewise.
1770 [C99-based-standards] (SCNiPTR): Likewise.
1771 [C99-based-standards] (SCNoPTR): Likewise.
1772 [C99-based-standards] (SCNuPTR): Likewise.
1773 [C99-based-standards] (SCNxPTR): Likewise.
1774 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1775 allow.
1776 * conform/data/stdint.h-data: Update comments to clarify
1777 requirements.
1778 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1779 type.
1780 [C99-based standards] (INT8_MAX): Likewise.
1781 [C99-based standards] (INT16_MIN): Likewise.
1782 [C99-based standards] (INT16_MAX): Likewise.
1783 [C99-based standards] (INT32_MIN): Likewise.
1784 [C99-based standards] (INT32_MAX): Likewise.
1785 [C99-based standards] (INT64_MIN): Likewise.
1786 [C99-based standards] (INT64_MAX): Likewise.
1787 [C99-based standards] (UINT8_MAX): Likewise.
1788 [C99-based standards] (UINT16_MAX): Likewise.
1789 [C99-based standards] (UINT32_MAX): Likewise.
1790 [C99-based standards] (UINT64_MAX): Likewise.
1791 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1792 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1793 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1794 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1795 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1796 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1797 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1798 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1799 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1800 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1801 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1802 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1803 [C99-based standards] (INT_FAST8_MIN): Likewise.
1804 [C99-based standards] (INT_FAST8_MAX): Likewise.
1805 [C99-based standards] (INT_FAST16_MIN): Likewise.
1806 [C99-based standards] (INT_FAST16_MAX): Likewise.
1807 [C99-based standards] (INT_FAST32_MIN): Likewise.
1808 [C99-based standards] (INT_FAST32_MAX): Likewise.
1809 [C99-based standards] (INT_FAST64_MIN): Likewise.
1810 [C99-based standards] (INT_FAST64_MAX): Likewise.
1811 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1812 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1813 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1814 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1815 [C99-based standards] (INTPTR_MIN): Likewise.
1816 [C99-based standards] (INTPTR_MAX): Likewise.
1817 [C99-based standards] (UINTPTR_MAX): Likewise.
1818 [C99-based standards] (INTMAX_MIN): Likewise.
1819 [C99-based standards] (INTMAX_MAX): Likewise.
1820 [C99-based standards] (UINTMAX_MAX): Likewise.
1821 [C99-based standards] (PTRDIFF_MIN): Likewise.
1822 [C99-based standards] (PTRDIFF_MAX): Likewise.
1823 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1824 [C99-based standards] (SIZE_MAX): Likewise.
1825 [C99-based standards] (WCHAR_MAX): Likewise.
1826 [C99-based standards] (WINT_MAX): Likewise.
1827 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1828 constraint on value.
1829 [C99-based standards] (WCHAR_MIN): Likewise.
1830 [C99-based standards] (WINT_MIN): Likewise.
1831 [C99-based standards] (*_t): Allow.
1832 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1833 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1834 Include math.h-data and complex.h-data. Remove all expectations
1835 of math.h and complex.h contents.
1836 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1837 at end of line.
1838 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1839 (struct tm): Expect tag.
1840 [C99-based-standards] (wcstof): Expect function.
1841 [C99-based-standards] (wcstold): Likewise.
1842 [C99-based-standards] (wcstoll): Likewise.
1843 [C99-based-standards] (wcstoull): Likewise.
1844 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1845 macro-int-constant. Specify type.
1846 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1847 constraint on value.
1848 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1849 Specify type.
1850 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1851 Specify value.
1852 [ISO C standards]: Do not allow headers.
1853 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1854 wcs[abcdefghijklmnopqrstuvwxyz]*.
1855 [ISO C standards] (*_t): Do not allow.
1856 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1857 Expect function.
1858 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1859 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1860 Specify type.
1861 [ISO C standards]: Do not allow headers.
1862 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1863 is[abcdefghijklmnopqrstuvwxyz]*.
1864 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1865 to[abcdefghijklmnopqrstuvwxyz]*.
1866 [ISO C standards] (*_t): Do not allow.
1867 * conform/data/stdalign.h-data: New file.
1868 * conform/data/stdbool.h-data: Likewise.
1869 * conform/data/stdnoreturn.h-data: Likewise.
1870
7514feb8
RM
18712012-11-07 Roland McGrath <roland@hack.frob.com>
1872
1873 [BZ #14815]
1874 * manual/filesys.texi (Directory Entries): Typo fix.
1875 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1876
19b2ecfc
MS
18772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1878
1879 * elf/elf.h (EM_AARCH64): New macro.
1880 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1881 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1882 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1883 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1884 (R_AARCH64_TLSDESC): Likewise.
1885 (NT_ARM_TLS): Likewise.
1886 (NT_ARM_HW_BREAK): Likewise.
1887 (NT_ARM_HW_WATCH): Likewise.
1888
60e235ee
JM
18892012-11-07 Joseph Myers <joseph@codesourcery.com>
1890
1891 [BZ #14811]
1892 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1893 (__ieee754_powl): Saturate nonzero exponents with absolute value
1894 below 0x1p-79 to +/- 0x1p-79.
1895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1896 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1897 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1898 nonzero exponents with absolute value below 0x1p-32 to +/-
1899 0x1p-32.
1900 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1901 (__ieee754_powl): Saturate nonzero exponents with absolute value
1902 below 0x1p-79 to +/- 0x1p-79.
1903 * math/libm-test.inc (pow_test): Add more tests.
1904
0ab234b7
AK
19052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1906
1907 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1908 _dl_s390_cap_flags with kernel. Increase string length.
1909 (_dl_s390_platforms): Add z196 and zEC12.
1910
45832f74
JM
19112012-11-07 Joseph Myers <joseph@codesourcery.com>
1912
1913 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1914 Change XOPEN21K to XOPEN2K.
1915
19218757
MK
19162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1917
1918 * string/memmove.c: Use memcpy when possible.
1919
c5f45721
AJ
19202012-11-06 Andreas Jaeger <aj@suse.de>
1921
1922 * po/eo.po: Update from translation team.
1923
82477c28
JM
19242012-11-06 Joseph Myers <joseph@codesourcery.com>
1925
1926 [BZ #14793]
1927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1928 exponent and small x and y exponents, scale x or y up. Increase
1929 by 2 the exponent used in scaling up.
1930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1932 * math/libm-test.inc (fma_test): Add more tests.
1933 (fma_test_towardzero): Likewise.
1934 (fma_test_downward): Likewise.
1935 (fma_test_upward): Likewise.
1936
99252c8c
JM
19372012-11-05 Joseph Myers <joseph@codesourcery.com>
1938
acfa885f
JM
1939 [BZ #14805]
1940 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1941 fenv_t *.
1942
99252c8c
JM
1943 [BZ #14801]
1944 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1945 namespace for names of struct fields.
1946 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1947 fenv_t fields.
1948 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1949 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1950
d6d98dea
ST
19512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1952
1953 [BZ #3665]
1954 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1955
e10bb107
TS
19562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1957
1958 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1959 PTR_DEMANGLE.
1960
1961 [BZ #5246]
1962 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1963 PTR_DEMANGLE.
1964
a0c2940d
JM
19652012-11-04 Joseph Myers <joseph@codesourcery.com>
1966
1967 [BZ #14797]
1968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1969 definitely overflow as x * y not x * y + z.
1970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1972 * math/libm-test.inc (fma_test): Add more tests.
1973 (fma_test_towardzero): Likewise.
1974 (fma_test_downward): Likewise.
1975 (fma_test_upward): Likewise.
1976
b830319d
TS
19772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1978
1979 [BZ #157]
1980
1981 * include/stub-tag.h: Remove file.
1982 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1983 '#include' of it.
1984 * manual/maint.texi (Porting): Don't reference it.
1985 * Makerules ($(objpfx)stubs): Likewise.
1986 * dirent/closedir.c: Don't include <stub-tag.h>.
1987 * dirent/dirfd.c: Likewise.
1988 * dirent/fdopendir.c: Likewise.
1989 * dirent/getdents.c: Likewise.
1990 * dirent/getdents64.c: Likewise.
1991 * dirent/opendir.c: Likewise.
1992 * dirent/readdir.c: Likewise.
1993 * dirent/readdir64.c: Likewise.
1994 * dirent/readdir64_r.c: Likewise.
1995 * dirent/readdir_r.c: Likewise.
1996 * dirent/rewinddir.c: Likewise.
1997 * dirent/seekdir.c: Likewise.
1998 * dirent/telldir.c: Likewise.
1999 * gmon/profil.c: Likewise.
2000 * grp/setgroups.c: Likewise.
2001 * inet/if_index.c: Likewise.
2002 * io/access.c: Likewise.
2003 * io/chdir.c: Likewise.
2004 * io/chmod.c: Likewise.
2005 * io/chown.c: Likewise.
2006 * io/close.c: Likewise.
2007 * io/dup.c: Likewise.
2008 * io/dup2.c: Likewise.
2009 * io/dup3.c: Likewise.
2010 * io/euidaccess.c: Likewise.
2011 * io/faccessat.c: Likewise.
2012 * io/fchdir.c: Likewise.
2013 * io/fchmod.c: Likewise.
2014 * io/fchmodat.c: Likewise.
2015 * io/fchown.c: Likewise.
2016 * io/fchownat.c: Likewise.
2017 * io/fcntl.c: Likewise.
2018 * io/flock.c: Likewise.
2019 * io/fstatfs.c: Likewise.
2020 * io/fstatfs64.c: Likewise.
2021 * io/fstatvfs.c: Likewise.
2022 * io/fstatvfs64.c: Likewise.
2023 * io/futimens.c: Likewise.
2024 * io/fxstat.c: Likewise.
2025 * io/fxstat64.c: Likewise.
2026 * io/fxstatat.c: Likewise.
2027 * io/fxstatat64.c: Likewise.
2028 * io/getcwd.c: Likewise.
2029 * io/isatty.c: Likewise.
2030 * io/lchmod.c: Likewise.
2031 * io/lchown.c: Likewise.
2032 * io/link.c: Likewise.
2033 * io/linkat.c: Likewise.
2034 * io/lseek.c: Likewise.
2035 * io/lseek64.c: Likewise.
2036 * io/lxstat64.c: Likewise.
2037 * io/mkdir.c: Likewise.
2038 * io/mkdirat.c: Likewise.
2039 * io/mkfifo.c: Likewise.
2040 * io/mkfifoat.c: Likewise.
2041 * io/open.c: Likewise.
2042 * io/open64.c: Likewise.
2043 * io/openat.c: Likewise.
2044 * io/openat64.c: Likewise.
2045 * io/pipe.c: Likewise.
2046 * io/pipe2.c: Likewise.
2047 * io/poll.c: Likewise.
2048 * io/posix_fadvise.c: Likewise.
2049 * io/posix_fadvise64.c: Likewise.
2050 * io/posix_fallocate.c: Likewise.
2051 * io/posix_fallocate64.c: Likewise.
2052 * io/read.c: Likewise.
2053 * io/readlink.c: Likewise.
2054 * io/readlinkat.c: Likewise.
2055 * io/rmdir.c: Likewise.
2056 * io/sendfile.c: Likewise.
2057 * io/sendfile64.c: Likewise.
2058 * io/statfs.c: Likewise.
2059 * io/statfs64.c: Likewise.
2060 * io/statvfs.c: Likewise.
2061 * io/statvfs64.c: Likewise.
2062 * io/symlink.c: Likewise.
2063 * io/symlinkat.c: Likewise.
2064 * io/ttyname.c: Likewise.
2065 * io/ttyname_r.c: Likewise.
2066 * io/umask.c: Likewise.
2067 * io/unlink.c: Likewise.
2068 * io/unlinkat.c: Likewise.
2069 * io/utime.c: Likewise.
2070 * io/utimensat.c: Likewise.
2071 * io/write.c: Likewise.
2072 * io/xmknod.c: Likewise.
2073 * io/xmknodat.c: Likewise.
2074 * io/xstat.c: Likewise.
2075 * io/xstat64.c: Likewise.
2076 * login/getpt.c: Likewise.
2077 * login/grantpt.c: Likewise.
2078 * login/unlockpt.c: Likewise.
2079 * math/e_acoshl.c: Likewise.
2080 * math/e_acosl.c: Likewise.
2081 * math/e_asinl.c: Likewise.
2082 * math/e_atan2l.c: Likewise.
2083 * math/e_atanhl.c: Likewise.
2084 * math/e_coshl.c: Likewise.
2085 * math/e_expl.c: Likewise.
2086 * math/e_fmodl.c: Likewise.
2087 * math/e_gammal_r.c: Likewise.
2088 * math/e_hypotl.c: Likewise.
2089 * math/e_j0l.c: Likewise.
2090 * math/e_j1l.c: Likewise.
2091 * math/e_jnl.c: Likewise.
2092 * math/e_lgammal_r.c: Likewise.
2093 * math/e_log10l.c: Likewise.
2094 * math/e_log2l.c: Likewise.
2095 * math/e_logl.c: Likewise.
2096 * math/e_powl.c: Likewise.
2097 * math/e_rem_pio2l.c: Likewise.
2098 * math/e_sinhl.c: Likewise.
2099 * math/e_sqrtl.c: Likewise.
2100 * math/fclrexcpt.c: Likewise.
2101 * math/fedisblxcpt.c: Likewise.
2102 * math/feenablxcpt.c: Likewise.
2103 * math/fegetenv.c: Likewise.
2104 * math/fegetexcept.c: Likewise.
2105 * math/fegetround.c: Likewise.
2106 * math/feholdexcpt.c: Likewise.
2107 * math/fesetenv.c: Likewise.
2108 * math/fesetround.c: Likewise.
2109 * math/feupdateenv.c: Likewise.
2110 * math/fgetexcptflg.c: Likewise.
2111 * math/fraiseexcpt.c: Likewise.
2112 * math/fsetexcptflg.c: Likewise.
2113 * math/ftestexcept.c: Likewise.
2114 * math/k_cosl.c: Likewise.
2115 * math/k_rem_pio2l.c: Likewise.
2116 * math/k_sinl.c: Likewise.
2117 * math/k_tanl.c: Likewise.
2118 * math/s_asinhl.c: Likewise.
2119 * math/s_atanl.c: Likewise.
2120 * math/s_cbrtl.c: Likewise.
2121 * math/s_erfl.c: Likewise.
2122 * math/s_expm1l.c: Likewise.
2123 * math/s_log1pl.c: Likewise.
2124 * math/s_tanhl.c: Likewise.
2125 * misc/acct.c: Likewise.
2126 * misc/brk.c: Likewise.
2127 * misc/chflags.c: Likewise.
2128 * misc/chroot.c: Likewise.
2129 * misc/fchflags.c: Likewise.
2130 * misc/fgetxattr.c: Likewise.
2131 * misc/flistxattr.c: Likewise.
2132 * misc/fremovexattr.c: Likewise.
2133 * misc/fsetxattr.c: Likewise.
2134 * misc/fsync.c: Likewise.
2135 * misc/ftruncate.c: Likewise.
2136 * misc/futimes.c: Likewise.
2137 * misc/futimesat.c: Likewise.
2138 * misc/getdomain.c: Likewise.
2139 * misc/getdtsz.c: Likewise.
2140 * misc/gethostid.c: Likewise.
2141 * misc/gethostname.c: Likewise.
2142 * misc/getloadavg.c: Likewise.
2143 * misc/getpagesize.c: Likewise.
2144 * misc/getsysstats.c: Likewise.
2145 * misc/getxattr.c: Likewise.
2146 * misc/gtty.c: Likewise.
2147 * misc/ioctl.c: Likewise.
2148 * misc/lgetxattr.c: Likewise.
2149 * misc/listxattr.c: Likewise.
2150 * misc/llistxattr.c: Likewise.
2151 * misc/lremovexattr.c: Likewise.
2152 * misc/lsetxattr.c: Likewise.
2153 * misc/lutimes.c: Likewise.
2154 * misc/madvise.c: Likewise.
2155 * misc/mincore.c: Likewise.
2156 * misc/mlock.c: Likewise.
2157 * misc/mlockall.c: Likewise.
2158 * misc/mmap.c: Likewise.
2159 * misc/mprotect.c: Likewise.
2160 * misc/msync.c: Likewise.
2161 * misc/munlock.c: Likewise.
2162 * misc/munlockall.c: Likewise.
2163 * misc/munmap.c: Likewise.
2164 * misc/preadv.c: Likewise.
2165 * misc/preadv64.c: Likewise.
2166 * misc/ptrace.c: Likewise.
2167 * misc/pwritev.c: Likewise.
2168 * misc/pwritev64.c: Likewise.
2169 * misc/readv.c: Likewise.
2170 * misc/reboot.c: Likewise.
2171 * misc/remap_file_pages.c: Likewise.
2172 * misc/removexattr.c: Likewise.
2173 * misc/revoke.c: Likewise.
2174 * misc/select.c: Likewise.
2175 * misc/setdomain.c: Likewise.
2176 * misc/setegid.c: Likewise.
2177 * misc/seteuid.c: Likewise.
2178 * misc/sethostid.c: Likewise.
2179 * misc/sethostname.c: Likewise.
2180 * misc/setregid.c: Likewise.
2181 * misc/setreuid.c: Likewise.
2182 * misc/setxattr.c: Likewise.
2183 * misc/sstk.c: Likewise.
2184 * misc/stty.c: Likewise.
2185 * misc/swapoff.c: Likewise.
2186 * misc/swapon.c: Likewise.
2187 * misc/sync.c: Likewise.
2188 * misc/syncfs.c: Likewise.
2189 * misc/syscall.c: Likewise.
2190 * misc/truncate.c: Likewise.
2191 * misc/ualarm.c: Likewise.
2192 * misc/usleep.c: Likewise.
2193 * misc/ustat.c: Likewise.
2194 * misc/utimes.c: Likewise.
2195 * misc/vhangup.c: Likewise.
2196 * misc/writev.c: Likewise.
2197 * posix/_exit.c: Likewise.
2198 * posix/alarm.c: Likewise.
2199 * posix/execve.c: Likewise.
2200 * posix/fexecve.c: Likewise.
2201 * posix/fork.c: Likewise.
2202 * posix/fpathconf.c: Likewise.
2203 * posix/getaddrinfo.c: Likewise.
2204 * posix/getegid.c: Likewise.
2205 * posix/geteuid.c: Likewise.
2206 * posix/getgid.c: Likewise.
2207 * posix/getgroups.c: Likewise.
2208 * posix/getlogin.c: Likewise.
2209 * posix/getlogin_r.c: Likewise.
2210 * posix/getpgid.c: Likewise.
2211 * posix/getpid.c: Likewise.
2212 * posix/getppid.c: Likewise.
2213 * posix/getresgid.c: Likewise.
2214 * posix/getresuid.c: Likewise.
2215 * posix/getsid.c: Likewise.
2216 * posix/getuid.c: Likewise.
2217 * posix/glob64.c: Likewise.
2218 * posix/nanosleep.c: Likewise.
2219 * posix/pathconf.c: Likewise.
2220 * posix/pause.c: Likewise.
2221 * posix/posix_madvise.c: Likewise.
2222 * posix/pread.c: Likewise.
2223 * posix/pread64.c: Likewise.
2224 * posix/pwrite.c: Likewise.
2225 * posix/pwrite64.c: Likewise.
2226 * posix/sched_getaffinity.c: Likewise.
2227 * posix/sched_getp.c: Likewise.
2228 * posix/sched_gets.c: Likewise.
2229 * posix/sched_primax.c: Likewise.
2230 * posix/sched_primin.c: Likewise.
2231 * posix/sched_rr_gi.c: Likewise.
2232 * posix/sched_setaffinity.c: Likewise.
2233 * posix/sched_setp.c: Likewise.
2234 * posix/sched_sets.c: Likewise.
2235 * posix/sched_yield.c: Likewise.
2236 * posix/setgid.c: Likewise.
2237 * posix/setlogin.c: Likewise.
2238 * posix/setpgid.c: Likewise.
2239 * posix/setresgid.c: Likewise.
2240 * posix/setresuid.c: Likewise.
2241 * posix/setsid.c: Likewise.
2242 * posix/setuid.c: Likewise.
2243 * posix/sleep.c: Likewise.
2244 * posix/spawni.c: Likewise.
2245 * posix/sysconf.c: Likewise.
2246 * posix/times.c: Likewise.
2247 * posix/wait.c: Likewise.
2248 * posix/wait3.c: Likewise.
2249 * posix/wait4.c: Likewise.
2250 * posix/waitpid.c: Likewise.
2251 * resolv/gai_sigqueue.c: Likewise.
2252 * resource/getpriority.c: Likewise.
2253 * resource/getrlimit.c: Likewise.
2254 * resource/getrusage.c: Likewise.
2255 * resource/nice.c: Likewise.
2256 * resource/setpriority.c: Likewise.
2257 * resource/setrlimit.c: Likewise.
2258 * resource/ulimit.c: Likewise.
2259 * rt/aio_cancel.c: Likewise.
2260 * rt/aio_fsync.c: Likewise.
2261 * rt/aio_read.c: Likewise.
2262 * rt/aio_sigqueue.c: Likewise.
2263 * rt/aio_suspend.c: Likewise.
2264 * rt/aio_write.c: Likewise.
2265 * rt/clock_getres.c: Likewise.
2266 * rt/clock_gettime.c: Likewise.
2267 * rt/clock_nanosleep.c: Likewise.
2268 * rt/clock_settime.c: Likewise.
2269 * rt/lio_listio.c: Likewise.
2270 * rt/mq_close.c: Likewise.
2271 * rt/mq_getattr.c: Likewise.
2272 * rt/mq_notify.c: Likewise.
2273 * rt/mq_open.c: Likewise.
2274 * rt/mq_receive.c: Likewise.
2275 * rt/mq_send.c: Likewise.
2276 * rt/mq_setattr.c: Likewise.
2277 * rt/mq_timedreceive.c: Likewise.
2278 * rt/mq_timedsend.c: Likewise.
2279 * rt/mq_unlink.c: Likewise.
2280 * rt/shm_open.c: Likewise.
2281 * rt/shm_unlink.c: Likewise.
2282 * rt/timer_create.c: Likewise.
2283 * rt/timer_delete.c: Likewise.
2284 * rt/timer_getoverr.c: Likewise.
2285 * rt/timer_gettime.c: Likewise.
2286 * rt/timer_settime.c: Likewise.
2287 * setjmp/__longjmp.c: Likewise.
2288 * setjmp/setjmp.c: Likewise.
2289 * signal/kill.c: Likewise.
2290 * signal/killpg.c: Likewise.
2291 * signal/raise.c: Likewise.
2292 * signal/sigaction.c: Likewise.
2293 * signal/sigaltstack.c: Likewise.
2294 * signal/sigblock.c: Likewise.
2295 * signal/sigignore.c: Likewise.
2296 * signal/sigintr.c: Likewise.
2297 * signal/signal.c: Likewise.
2298 * signal/sigpause.c: Likewise.
2299 * signal/sigpending.c: Likewise.
2300 * signal/sigqueue.c: Likewise.
2301 * signal/sigreturn.c: Likewise.
2302 * signal/sigset.c: Likewise.
2303 * signal/sigsetmask.c: Likewise.
2304 * signal/sigstack.c: Likewise.
2305 * signal/sigsuspend.c: Likewise.
2306 * signal/sigtimedwait.c: Likewise.
2307 * signal/sigvec.c: Likewise.
2308 * signal/sigwait.c: Likewise.
2309 * signal/sigwaitinfo.c: Likewise.
2310 * signal/sysv_signal.c: Likewise.
2311 * socket/accept.c: Likewise.
2312 * socket/accept4.c: Likewise.
2313 * socket/bind.c: Likewise.
2314 * socket/connect.c: Likewise.
2315 * socket/getpeername.c: Likewise.
2316 * socket/getsockname.c: Likewise.
2317 * socket/getsockopt.c: Likewise.
2318 * socket/isfdtype.c: Likewise.
2319 * socket/listen.c: Likewise.
2320 * socket/recv.c: Likewise.
2321 * socket/recvfrom.c: Likewise.
2322 * socket/recvmsg.c: Likewise.
2323 * socket/send.c: Likewise.
2324 * socket/sendmsg.c: Likewise.
2325 * socket/sendto.c: Likewise.
2326 * socket/setsockopt.c: Likewise.
2327 * socket/shutdown.c: Likewise.
2328 * socket/sockatmark.c: Likewise.
2329 * socket/socket.c: Likewise.
2330 * socket/socketpair.c: Likewise.
2331 * stdio-common/ctermid.c: Likewise.
2332 * stdio-common/cuserid.c: Likewise.
2333 * stdio-common/remove.c: Likewise.
2334 * stdio-common/rename.c: Likewise.
2335 * stdio-common/renameat.c: Likewise.
2336 * stdio-common/tempname.c: Likewise.
2337 * stdlib/getcontext.c: Likewise.
2338 * stdlib/makecontext.c: Likewise.
2339 * stdlib/setcontext.c: Likewise.
2340 * stdlib/swapcontext.c: Likewise.
2341 * stdlib/system.c: Likewise.
2342 * streams/fattach.c: Likewise.
2343 * streams/fdetach.c: Likewise.
2344 * streams/getmsg.c: Likewise.
2345 * streams/getpmsg.c: Likewise.
2346 * streams/putmsg.c: Likewise.
2347 * streams/putpmsg.c: Likewise.
2348 * sysdeps/unix/bsd/getpt.c: Likewise.
2349 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2350 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2351 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2353 Likewise.
2354 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2355 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2356 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2357 * sysvipc/msgctl.c: Likewise.
2358 * sysvipc/msgget.c: Likewise.
2359 * sysvipc/msgrcv.c: Likewise.
2360 * sysvipc/msgsnd.c: Likewise.
2361 * sysvipc/semctl.c: Likewise.
2362 * sysvipc/semget.c: Likewise.
2363 * sysvipc/semop.c: Likewise.
2364 * sysvipc/semtimedop.c: Likewise.
2365 * sysvipc/shmat.c: Likewise.
2366 * sysvipc/shmctl.c: Likewise.
2367 * sysvipc/shmdt.c: Likewise.
2368 * sysvipc/shmget.c: Likewise.
2369 * termios/tcdrain.c: Likewise.
2370 * termios/tcflow.c: Likewise.
2371 * termios/tcflush.c: Likewise.
2372 * termios/tcgetattr.c: Likewise.
2373 * termios/tcgetpgrp.c: Likewise.
2374 * termios/tcsendbrk.c: Likewise.
2375 * termios/tcsetattr.c: Likewise.
2376 * termios/tcsetpgrp.c: Likewise.
2377 * time/adjtime.c: Likewise.
2378 * time/clock.c: Likewise.
2379 * time/getitimer.c: Likewise.
2380 * time/gettimeofday.c: Likewise.
2381 * time/setitimer.c: Likewise.
2382 * time/settimeofday.c: Likewise.
2383 * time/stime.c: Likewise.
2384 * time/time.c: Likewise.
2385
23862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 2387
a20492cf
PT
2388 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2389 /usr/old/bin.
2390
72e182e3
PT
2391 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2392 instead of spaces.
2393 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2394
fbeafede
JM
23952012-11-03 Joseph Myers <joseph@codesourcery.com>
2396
5b5b04d6
JM
2397 [BZ #14796]
2398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2399 FE_TONEAREST before applying Dekker multiplication and Knuth
2400 addition. Clear inexact exceptions and check for exact zero
2401 results afterwards.
2402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2403 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2404 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2405 * math/libm-test.inc (fma_test): Add more tests.
2406 (fma_test_towardzero): Likewise.
2407 (fma_test_downward): Likewise.
2408 (fma_test_upward): Likewise.
2409 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2410 function.
2411 (libc_fesetround): New macro.
2412 (libc_fesetroundf): Likewise.
2413 (libc_fesetroundl): Likewise.
2414 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2415 function.
2416 (libc_fesetround_387): Likewise.
2417 (libc_fesetroundf): New macro.
2418 (libc_fesetround): Likewise.
2419 (libc_fesetroundl): Likewise.
2420 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2421 function.
2422 (libc_fesetroundf): New macro.
2423 (libc_fesetround): Likewise.
2424 (libc_fesetroundl): Likewise.
2425 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2426 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2427 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2428 libm_hidden_ver.
2429 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2430 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2431 libm_hidden_def.
2432 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2433 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2434 libm_hidden_ver.
2435 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2436 libm_hidden_def.
2437
fbeafede
JM
2438 [BZ #3439]
2439 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2440 integer constant usable in #if and use that to give value to enum
2441 constant.
2442 (FE_DIVBYZERO): Likewise.
2443 (FE_UNDERFLOW): Likewise.
2444 (FE_OVERFLOW): Likewise.
2445 (FE_INVALID): Likewise.
2446 (FE_INVALID_SNAN): Likewise.
2447 (FE_INVALID_ISI): Likewise.
2448 (FE_INVALID_IDI): Likewise.
2449 (FE_INVALID_ZDZ): Likewise.
2450 (FE_INVALID_IMZ): Likewise.
2451 (FE_INVALID_COMPARE): Likewise.
2452 (FE_INVALID_SOFTWARE): Likewise.
2453 (FE_INVALID_SQRT): Likewise.
2454 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2455 (FE_TONEAREST): Likewise.
2456 (FE_TOWARDZERO): Likewise.
2457 (FE_UPWARD): Likewise.
2458 (FE_DOWNWARD): Likewise.
2459 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2460 (FE_DIVBYZERO): Likewise.
2461 (FE_OVERFLOW): Likewise.
2462 (FE_UNDERFLOW): Likewise.
2463 (FE_INEXACT): Likewise.
2464 (FE_TONEAREST): Likewise.
2465 (FE_DOWNWARD): Likewise.
2466 (FE_UPWARD): Likewise.
2467 (FE_TOWARDZERO): Likewise.
2468 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2469 (FE_UNDERFLOW): Likewise.
2470 (FE_OVERFLOW): Likewise.
2471 (FE_DIVBYZERO): Likewise.
2472 (FE_INVALID): Likewise.
2473 (FE_TONEAREST): Likewise.
2474 (FE_TOWARDZERO): Likewise.
2475 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2476 (FE_OVERFLOW): Likewise.
2477 (FE_UNDERFLOW): Likewise.
2478 (FE_DIVBYZERO): Likewise.
2479 (FE_INEXACT): Likewise.
2480 (FE_TONEAREST): Likewise.
2481 (FE_TOWARDZERO): Likewise.
2482 (FE_UPWARD): Likewise.
2483 (FE_DOWNWARD): Likewise.
2484 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2485 (FE_DIVBYZERO): Likewise.
2486 (FE_OVERFLOW): Likewise.
2487 (FE_UNDERFLOW): Likewise.
2488 (FE_INEXACT): Likewise.
2489 (FE_TONEAREST): Likewise.
2490 (FE_DOWNWARD): Likewise.
2491 (FE_UPWARD): Likewise.
2492 (FE_TOWARDZERO): Likewise.
2493
105ca950
CM
24942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2495
2496 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2497
a542b389
AS
24982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2499
2500 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2501 commands. Quote $PWD.
2502 (blacklist_exports): Don't use remove_newlines. Replace "declare
2503 -x" by "export".
2504 (remove_newlines): Remove.
2505
f62c8abc
L
25062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2507
2508 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2509 * stdlib/stdlib.h (atof): Moved to ...
2510 * include/bits/stdlib-float.h: Here. New file.
2511 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2512 * stdlib/bits/stdlib-float.h: New file.
2513 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2514 -mno-sse -mno-mmx.
2515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2516 <xmmintrin.h>.
2517
0155d5b2
JM
25182012-11-02 Joseph Myers <joseph@codesourcery.com>
2519
a68d0680
JM
2520 * conform/conformtest.pl (@headers): Add fenv.h.
2521 * conform/data/fenv.h-data: New file.
2522 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2523 include of <math/fenv.h>.
2524
caf7f573
JM
2525 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2526 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2527 && !UNIX98]. Enables tests for XOPEN2K8.
2528 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2529 POSIX2008]: Likewise.
2530
6c073ad6
JM
2531 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2532 (struct rusage): Do not expect type or its members.
2533
0155d5b2
JM
2534 [BZ #3439]
2535 * math/math.h (FP_NAN): Define macro to integer constant usable in
2536 #if and use that to give value to enum constant.
2537 (FP_INFINITE): Likewise.
2538 (FP_ZERO): Likewise.
2539 (FP_SUBNORMAL): Likewise.
2540 (FP_NORMAL): Likewise.
2541
b5dcacb4
AS
25422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2543
2544 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2545 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2546 arguments.
2547
f7934be8
RM
25482012-11-02 Roland McGrath <roland@hack.frob.com>
2549
2550 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2551 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2552 autoconf-time if not.
2553 * configure.in: Remove AC_PREREQ.
2554
d7d08bde
TMQMF
25552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2556
2557 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2558 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2559 of the internal implementation.
2560
dcdae19a
JM
25612012-11-02 Joseph Myers <joseph@codesourcery.com>
2562
2563 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2564 except include of <misc/sys/syslog.h>.
2565
d6cffd3e
AS
25662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2567
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2569 function returns with a NULL context exit with zero.
2570
b3563932
TMQMF
25712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2572
2573 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2574
b288a93d
L
25752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2576
2577 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2578 (run_program_cmd): This.
2579 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2580 (tst_langinfo): New variable. Use it.
2581
a2421a68
SAS
25822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2583
2584 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2585 floating point opcodes.
2586
6f796e1b
TS
25872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2588
7402596b
TS
2589 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2590 variable.
2591
d0d4f868
TS
2592 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2593
6f796e1b
TS
2594 * sysdeps/mach/hurd/powerpc: Remove directory.
2595 * sysdeps/mach/powerpc: Likewise.
2596
4da224a2
AS
25972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2598
2599 * scripts/check-local-headers.sh: Ignore c++ headers.
2600
341dd673
TS
26012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2602
2603 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2604 __libc_cleanup_region_start argument.
2605
473611b2
JM
26062012-11-01 Joseph Myers <joseph@codesourcery.com>
2607
2608 [BZ #14784]
2609 [BZ #14785]
2610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2611 x * y using scaling, not as x * y + z.
2612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2614 * math/libm-test.inc (fma_test): Add more tests.
2615 (fma_test_towardzero): Likewise.
2616 (fma_test_downward): Likewise.
2617 (fma_test_upward): Likewise.
2618
4078da3d
TS
26192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2620
2621 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2622
903252aa
JM
26232012-10-31 Joseph Myers <joseph@codesourcery.com>
2624
2625 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2626 New variable.
2627
cbc818d0
TS
26282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2629
2630 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2631
5a03cb1e
AS
26322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2633
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2635 Fix sort order.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2637 Likewise.
2638
90aff2ff
TMQMF
26392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2640
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2642 Fix the order of the list for glibc 2.17.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2644 Likewise.
2645
1818fcb7
AS
26462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2647
2648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2649
ef82f4da
JM
26502012-10-31 Joseph Myers <joseph@codesourcery.com>
2651
16a0e2ec
JM
2652 [BZ #14610]
2653 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2654 for low part of x being zero before using __atanl (y).
2655 * math/libm-test.inc (atan2_test): Add another test.
2656
0eb69512
JM
2657 * manual/install.texi (Configuring and compiling): Document
2658 general use of test-wrapper and test-wrapper-env.
2659 * INSTALL: Regenerated.
2660
ef82f4da
JM
2661 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2662 (__fma): Do not extract and scale down low bits on after-rounding
2663 systems when result rounded to normal precision would have normal
2664 exponent.
2665 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2666 (__fmal): Do not extract and scale down low bits on after-rounding
2667 systems when result rounded to normal precision would have normal
2668 exponent.
2669 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2670 (__fmal): Do not extract and scale down low bits on after-rounding
2671 systems when result rounded to normal precision would have normal
2672 exponent.
2673 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2674 macro.
2675 (fma_test): Add more tests.
2676 (fma_test_towardzero): Likewise.
2677 (fma_test_downward): Likewise.
2678 (fma_test_upward): Likewise.
2679
954ef0d9
L
26802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * sysdeps/i386/tininess.h: Renamed to ...
2683 * sysdeps/x86/tininess.h: This.
2684 * sysdeps/x86_64/tininess.h: Removed.
2685
df61ffb2
JM
26862012-10-30 Joseph Myers <joseph@codesourcery.com>
2687
2688 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2689 input. Use $(build-program-cmd).
2690 ($(objpfx)tst-array1-static.out): Likewise.
2691 ($(objpfx)tst-array2.out): Likewise.
2692 ($(objpfx)tst-array3.out): Likewise.
2693 ($(objpfx)tst-array4.out): Likewise.
2694 ($(objpfx)tst-array5.out): Likewise.
2695 ($(objpfx)tst-array5-static.out): Likewise.
2696
01767843
CM
26972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2698
47cc1490
CM
2699 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2700 if defined.
2701
01767843
CM
2702 * nss/nsswitch.h (nss_interface_function): Provide new
2703 macro for use with NSS functions.
2704 * grp/initgroups.c: Use new macro.
2705 * nss/getXXbyYY.c: Likewise.
2706 * nss/getXXbyYY_r.c: Likewise.
2707 * nss/getXXent.c: Likewise.
2708 * nss/getXXent_r.c: Likewise.
2709 * sysdeps/posix/getaddrinfo.c: Likewise.
2710
8321aa97
AJ
27112012-10-30 Andreas Jaeger <aj@suse.de>
2712
2713 * po/ru.po: Update Russion translation from translation project.
2714
2a27fd6d
JM
27152012-10-30 Joseph Myers <joseph@codesourcery.com>
2716
8627a232
JM
2717 [BZ #14152]
2718 [BZ #14783]
2719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2720 result and shift together with sticky bit instead of replicating
2721 round-to-nearest rounding.
2722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2724 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2725 missing underflow exceptions.
2726 (fma_test_towardzero): Add more tests.
2727 (fma_test_downward): Likewise.
2728 (fma_test_upward): Likewise.
2729
2a27fd6d
JM
2730 [BZ #14047]
2731 * sysdeps/generic/tininess.h: New file.
2732 * sysdeps/i386/tininess.h: Likewise.
2733 * sysdeps/sh/tininess.h: Likewise.
2734 * sysdeps/x86_64/tininess.h: Likewise.
2735 * stdlib/tst-strtod-underflow.c: Likewise.
2736 * stdlib/tst-tininess.c: Likewise.
2737 * stdlib/strtod_l.c: Include <tininess.h>.
2738 (round_and_return): Do not set errno for exact underflow cases.
2739 Force an underflow exception when setting errno for underflow.
2740 Determine underflow based on rounding to normal precision if
2741 TININESS_AFTER_ROUNDING.
2742 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2743 ERANGE for exact underflow cases.
2744 * stdlib/Makefile (tests): Add tst-tininess and
2745 tst-strtod-underflow.
2746 ($(objpfx)tst-tininess): Use $(link-libm).
2747 ($(objpfx)tst-strtod-underflow): Likewise.
2748
e7170363
AJ
27492012-10-30 Andreas Jaeger <aj@suse.de>
2750
e5088dc6
AJ
2751 [BZ#14767]
2752 * elf/Makefile (tests): Remove conditional for have-initfini-array
2753 since this is now always required and the variable does not exist
2754 anymore.
2755 (tests-static): Likewise.
2756 (modules-names): Likewise.
2757
e7170363 2758 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2759
2760 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2761 merged with constructor/destructor.
2762 (init_array): Likewise.
2763 * elf/tst-array2dep.c (fini_array): Likewise.
2764 (init_array): Likewise.
2765
60457d8a
MF
27662012-10-29 Mike Frysinger <vapier@gentoo.org>
2767
2768 * manual/message.texi: Delete @cartouche tags.
2769
8bece752
PT
27702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2771
94ce799f
PT
2772 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2773 EOPNOTSUPP.
2774 * sysdeps/mach/hurd/fsync.c: Likewise.
2775
8bece752
PT
2776 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2777 [_POSIX_REALTIME_SIGNALS]: Change condition to
2778 [_POSIX_REALTIME_SIGNALS > 0].
2779
86ebe6b1
AJ
27802012-10-27 Andreas Jaeger <aj@suse.de>
2781
2782 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2783 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2785 [__WORDSIZE != 64]: Likewise.
2786
54399c08
L
27872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 * iconvdata/tst-table.sh: Remove ${SHELL}.
2790 * iconvdata/tst-tables.sh: Likewise.
2791
e2211bed
DM
27922012-10-25 David S. Miller <davem@davemloft.net>
2793
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2795 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2796 of strtoull.
2797
f303f97c
DM
2798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2799 ifunc-impl-list.c
2800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2801 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2802 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2803 file.
2804
1e9d84cd
RM
28052012-10-25 Roland McGrath <roland@hack.frob.com>
2806
2807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2808 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2809 __getdirentries.
2810
df381762
JM
28112012-10-25 Joseph Myers <joseph@codesourcery.com>
2812 Jim Blandy <jimb@codesourcery.com>
2813
2814 * scripts/cross-test-ssh.sh: New file.
2815 * manual/install.texi (Configuring and compiling): Document use of
2816 cross-test-ssh.sh.
2817 * INSTALL: Regenerated.
2818
bff64913
PT
28192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2820
2821 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2822 EOPNOTSUPP.
2823
25fe8932
JM
28242012-10-25 Joseph Myers <joseph@codesourcery.com>
2825
2826 * Makeconfig (run-program-prefix): Fix comment.
2827
cc1290d0
JM
28282012-10-24 Joseph Myers <joseph@codesourcery.com>
2829 Jim Blandy <jimb@codesourcery.com>
2830
2831 * Makeconfig (test-wrapper): New variable,
2832 (test-wrapper-env): Likewise.
2833 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2834 (run-built-tests): Define to yes.
2835 (run-program-prefix): Use $(test-wrapper).
2836 (built-program-cmd): Likewise.
2837 * Rules (make-test-out): Use $(test-wrapper-env) and
2838 $(host-built-program-cmd).
2839 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2840 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2841 tst-pathopt.sh.
2842 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2843 $(test-wrapper-env) to tst-rtld-load-self.sh.
2844 ($(objpfx)order2.out): Use $(test-wrapper).
2845 ($(objpfx)tst-initorder.out): Likewise.
2846 ($(objpfx)tst-initorder2.out): Likewise.
2847 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2848 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2849 (test_wrapper_env): New variable. Use it to run ld.so.
2850 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2851 Use it to run ld.so.
2852 (test_wrapper_env): Likewise.
2853 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2854 $(test-wrapper) to run-iconv-test.sh.
2855 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2856 (ICONV): Use $test_wrapper.
2857 * posix/Makefile ($(objpfx)globtest.out): Pass
2858 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2859 globtest.sh, not $(run-program-prefix).
2860 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2861 (test_wrapper): Likewise.
2862 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2863 set together with run_via_rtld_prefix.
2864 (run_program_prefix): Define in terms of test_wrapper and
2865 run_via_rtld_prefix.
2866
6e6249d0
RM
28672012-10-24 Roland McGrath <roland@hack.frob.com>
2868
2869 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2870 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2871 Targets removed.
2872
2873 [BZ #14743]
2874 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2875 Declare __clock_getres, __clock_gettime, __clock_settime,
2876 __clock_nanosleep, and __clock_getcpuclockid.
2877 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2878 Remove librt_hidden_def (clock_gettime).
2879 * sysdeps/unix/clock_gettime.c: Likewise.
2880 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2882 * rt/clock_getres.c: Define __clock_getres as an alias.
2883 * sysdeps/posix/clock_getres.c: Likewise.
2884 * rt/clock_settime.c: Define __clock_settime as an alias.
2885 * sysdeps/unix/clock_settime.c: Likewise.
2886 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2887 * sysdeps/unix/clock_nanosleep.c: Likewise.
2888 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2889 * rt/clock-compat.c: New file.
2890 * rt/Makefile (librt-routines): Add clock-compat and move
2891 $(clock-routines) to ...
2892 (routines): ... here, new variable.
2893 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2894 Don't add get_clockfreq here.
2895 * rt/Versions (libc: GLIBC_2.17): New version set.
2896 Add clock_* symbols here.
2897 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2898 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2899 (GLIBC_2.17): Add clock_* symbols.
2900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2904 Likewise.
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2911 * NEWS: Mention the move.
2912
2913 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2914 Use __open, __read, __close rather than their public counterparts.
2915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2916 (__get_clockfreq_via_cpuinfo): Likewise.
2917 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2918 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2919
2920 * config.h.in (HAVE_IFUNC): New #undef.
2921 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2922 was successful.
2923 * configure: Regenerated.
2924
0cae3f4b
MF
29252012-10-24 Mike Frysinger <vapier@gentoo.org>
2926
2927 * configure.in: Move READELF check to start of file.
2928 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2929 libc_cv_asm_gnu_indirect_function in the process.
2930 * configure: Regenerated.
2931
8175a253
MF
29322012-10-24 Mike Frysinger <vapier@gentoo.org>
2933
2934 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2935 send the output to /dev/null.
2936 (libc_cv_cc_with_libunwind): Likewise.
2937 (libc_cv_as_noexecstack): Likewise.
2938 * configure: Regenerate.
2939
0708a7d1
JM
29402012-10-24 Joseph Myers <joseph@codesourcery.com>
2941
10b40d85
JM
2942 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2943
0708a7d1
JM
2944 * posix/globtest.sh (TMPDIR): Do not set.
2945 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2946 (testout): Likewise.
2947
9fddec1a
AJ
29482012-10-24 Andreas Jaeger <aj@suse.de>
2949
3a8db22f
AJ
2950 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2951 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2952 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2953 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2954 posix_fadvise64, posix_fallocate64.
2955
9fddec1a
AJ
2956 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2957 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2958 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2959 Likewise.
2960 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2961 Likewise.
2962 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2963
2964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2965 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2966 <bits/fcntl-linux.h>.
2967 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2968
2969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2970 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2971 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2972 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2973 [__WORDSIZE != 64]: Likewise.
2974
ebfd1bbd
JM
29752012-10-23 Joseph Myers <joseph@codesourcery.com>
2976
03ac099f
JM
2977 * Makeconfig (run-built-tests): New variable.
2978 * Rules [$(cross-compiling) = yes]: Change condition to
2979 [$(run-built-tests) = no].
2980 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2981 to [$(run-built-tests) = yes].
2982 * elf/Makefile [$(cross-compiling) = no]: Likewise
2983 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2984 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2985 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2986 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2987 * io/Makefile [$(cross-compiling) = no]: Likewise.
2988 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2989 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2990 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2991 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2992 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2993 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2994 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2995 * string/Makefile [$(cross-compiling) = no]: Likewise.
2996
ebfd1bbd
JM
2997 * posix/Makefile ($(objpfx)globtest.out): Pass
2998 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2999 $(rtld-installed-name).
3000 * posix/globtest.sh (elf_objpfx): Remove variable.
3001 (rtld_installed_name): Likewise.
3002 (library_path): Likewise.
3003 (run_program_prefix): New variable. Use for running globtest
3004 binary.
3005
166bca24
JB
30062012-10-23 Jim Blandy <jimb@codesourcery.com>
3007 Joseph Myers <joseph@codesourcery.com>
3008
3009 * Makeconfig (host-built-program-cmd): New variable.
3010 * elf/Makefile (tst-stackguard1-ARGS): Use
3011 $(host-built-program-cmd).
3012 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3013 (tst-spawn-ARGS): Likewise.
3014 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3015
88866099
JM
30162012-10-23 Joseph Myers <joseph@codesourcery.com>
3017 Jim Blandy <jimb@codesourcery.com>
3018
3019 * Makeconfig (run-via-rtld-prefix): New variable.
3020 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3021 (built-program-cmd): Likewise.
3022
b4b4c296
AJ
30232012-10-22 Andreas Jaeger <aj@suse.de>
3024
3025 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3026 __O_RSYNC if it exists, otherwise to O_SYNC.
3027
6fb54a22
JB
30282012-10-22 Jim Blandy <jimb@codesourcery.com>
3029 Joseph Myers <joseph@codesourcery.com>
3030
3031 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3032 /dev/null.
3033 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3034 from /dev/null
3035 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3036 /dev/null.
3037
481b90b9
AJ
30382012-10-22 Andreas Jaeger <aj@suse.de>
3039
2a0e2669
AJ
3040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3041 Define always.
3042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3043
76e38f9a
AJ
3044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3045 bits/fcntl-linux.h.
3046
7cd37b43
AJ
3047 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3048 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3049
481b90b9
AJ
3050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3051 to __O_LARGEFILE.
3052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3053 to __O_LARGEFILE.
3054
aba75984
JB
30552012-10-21 Jim Blandy <jimb@codesourcery.com>
3056 Joseph Myers <joseph@codesourcery.com>
3057
3058 * config.make.in (NM): New variable.
3059
88d4247f
AJ
30602012-10-21 Andreas Jaeger <aj@suse.de>
3061
3062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3063 definitions and declarations that are provided by
3064 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3065
f2eed205
L
30662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3067
3068 [BZ #14683]
3069 * elf/Makefile (tests-static): Add tst-leaks1-static.
3070 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3071 ($(objpfx)tst-leaks1-static): New rule.
3072 ($(objpfx)tst-leaks1-static-mem): Likewise.
3073 (tst-leaks1-static-ENV): New macro.
3074 * elf/dl-open.c (dl_open_worker): Check the main application
3075 only if SHARED is defined.
3076 * elf/tst-leaks1-static.c: New file.
3077
335e6931
AJ
30782012-10-20 Andreas Jaeger <aj@suse.de>
3079
3080 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3081 generic values for Linux.
3082 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3083 and declarations that are provided by <bits/fcntl-linux.h> and
3084 include <bits/fcntl-linux.h>.
3085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3087
ac5c94d3
RM
30882012-10-20 Roland McGrath <roland@hack.frob.com>
3089
3090 * io/fcntl.h: Move include of <bits/types.h> to the top and
3091 include it unconditionally.
3092
de54b33a
L
30932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3094
228cfb01
L
3095 * wcsmbs/Makefile (tests-ifunc): New variable.
3096 (tests): Add $(tests-ifunc).
3097 * wcsmbs/test-wcschr-ifunc.c: New file.
3098 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3099 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3100 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3101 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3102 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3103
69f07e5f
L
3104 * string/Makefile (tests-ifunc): New variable.
3105 (tests): Add $(tests-ifunc).
3106 * string/test-memccpy.c (TEST_NAME): New macro.
3107 * string/test-memchr.c (TEST_NAME): Likewise.
3108 * string/test-memcmp.c (TEST_NAME): Likewise.
3109 * string/test-memcpy.c (TEST_NAME): Likewise.
3110 * string/test-memmem.c (TEST_NAME): Likewise.
3111 * string/test-memmove.c (TEST_NAME): Likewise.
3112 * string/test-memset.c (TEST_NAME): Likewise.
3113 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3114 * string/test-stpcpy.c (TEST_NAME): Likewise.
3115 * string/test-stpncpy.c (TEST_NAME): Likewise.
3116 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3117 * string/test-strcasestr.c (TEST_NAME): Likewise.
3118 * string/test-strcat.c (TEST_NAME): Likewise.
3119 * string/test-strchr.c (TEST_NAME): Likewise.
3120 * string/test-strcmp.c(TEST_NAME): Likewise.
3121 * string/test-strcpy.c (TEST_NAME): Likewise.
3122 * string/test-strcspn.c (TEST_NAME): Likewise.
3123 * string/test-strlen.c (TEST_NAME): Likewise.
3124 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3125 * string/test-strncmp.c (TEST_NAME): Likewise.
3126 * string/test-strncpy.c (TEST_NAME): Likewise.
3127 * string/test-strnlen.c (TEST_NAME): Likewise.
3128 * string/test-strpbrk.c (TEST_NAME): Likewise.
3129 * string/test-strrchr.c (TEST_NAME): Likewise.
3130 * string/test-strspn.c (TEST_NAME): Likewise.
3131 * string/test-strstr.c (TEST_NAME): Likewise.
3132 * string/test-bcopy-ifunc.c: New file.
3133 * string/test-bzero-ifunc.c: Likewise.
3134 * string/test-memccpy-ifunc.c: Likewise.
3135 * string/test-memchr-ifunc.c: Likewise.
3136 * string/test-memcmp-ifunc.c: Likewise.
3137 * string/test-memcpy-ifunc.c: Likewise.
3138 * string/test-memmem-ifunc.c: Likewise.
3139 * string/test-memmove-ifunc.c: Likewise.
3140 * string/test-mempcpy-ifunc.c: Likewise.
3141 * string/test-memset-ifunc.c: Likewise.
3142 * string/test-rawmemchr-ifunc.c: Likewise.
3143 * string/test-stpcpy-ifunc.c: Likewise.
3144 * string/test-stpncpy-ifunc.c: Likewise.
3145 * string/test-strcasecmp-ifunc.c: Likewise.
3146 * string/test-strcasestr-ifunc.c: Likewise.
3147 * string/test-strcat-ifunc.c: Likewise.
3148 * string/test-strchr-ifunc.c: Likewise.
3149 * string/test-strchrnul-ifunc.c: Likewise.
3150 * string/test-strcmp-ifunc.c: Likewise.
3151 * string/test-strcpy-ifunc.c: Likewise.
3152 * string/test-strcspn-ifunc.c: Likewise.
3153 * string/test-strlen-ifunc.c: Likewise.
3154 * string/test-strncasecmp-ifunc.c: Likewise.
3155 * string/test-strncat-ifunc.c: Likewise.
3156 * string/test-strncmp-ifunc.c: Likewise.
3157 * string/test-strncpy-ifunc.c: Likewise.
3158 * string/test-strnlen-ifunc.c: Likewise.
3159 * string/test-strpbrk-ifunc.c: Likewise.
3160 * string/test-strrchr-ifunc.c: Likewise.
3161 * string/test-strspn-ifunc.c: Likewise.
3162 * string/test-strstr-ifunc.c: Likewise.
3163
de54b33a
L
3164 * debug/Makefile (tests-ifunc): New variable.
3165 (tests): Add $(tests-ifunc).
3166 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3167 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3168 * debug/test-stpcpy_chk-ifunc.c: New file.
3169 * debug/test-strcpy_chk-ifunc.c: Likewise.
3170
88481c16
SP
31712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3172
3173 [BZ #13601]
3174 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3175 header is not read in.
3176
135948bd
JM
31772012-10-19 Joseph Myers <joseph@codesourcery.com>
3178
89f1c388
JM
3179 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3180 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3181 directly. Pass built executable to script as
3182 $(built-program-cmd).
3183 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3184 $testprogram without using LD_LIBRARY_PATH and $ldso.
3185
e40a0d21
JM
3186 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3187 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3188 $(rtld-installed-name).
3189 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3190 (rtld_installed_name): Likewise.
3191 (library_path): Likewise.
3192 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3193 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3194 $(run-program-prefix) to tst-tables.sh.
3195 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3196 it to run tst-table-from and tst-table-to.
3197 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3198 Pass it to tst-table.sh.
3199 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3200 $(run-program-prefix) to tst-gettext.sh.
3201 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3202 tst-translit.sh.
3203 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3204 tst-gettext2.sh.
3205 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3206 to run tst-gettext.
3207 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3208 to run tst-gettext2.
3209 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3210 to run tst-translit.
3211 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3212 $(run-program-prefix) to tst-mtrace.sh.
3213 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3214 to run tst-mtrace.
3215 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3216 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3217 $(rtld-installed-name).
3218 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3219 (rtld_installed_name): Likewise.
3220 (run_program_prefix): New variable. Use it to run wordexp-test.
3221
728e272a
JM
3222 * Makeconfig (ARCH): Remove all definitions.
3223 (machine): Likewise.
3224 [ARCH]: Remove conditional code.
3225 [!objdir]: Give error.
3226 [!objdir] (objpfx): Remove.
3227 [!objdir] (common-objpfx): Likewise.
3228 [!objdir] (common-objdir): Likewise.
3229 * configure.in (config_makefile): Remove. Hardcode Makefile in
3230 AC_CONFIG_FILES call.
3231 * configure: Regenerated.
3232
d528cdcf
JM
3233 [BZ #13888]
3234 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3235 or TMPDIR.
3236 (testout): Likewise.
3237
135948bd
JM
3238 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3239 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3240 $(rtld-installed-name).
3241 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3242 (rtld_installed_name): Likwise.
3243 (runit): Remove function.
3244 (run_getconf): New variable, Use it for running getconf binary.
3245
38c78296
L
32462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3247
3248 [BZ #14716]
3249 * string/test-memmem.c (check_result): New function.
3250 (do_one_test): Use it.
3251 (check1): New function.
3252 (test_main): Use it.
3253
d077f65f
MT
32542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3255
3256 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3257
ced52c71
JM
32582012-10-18 Joseph Myers <joseph@codesourcery.com>
3259
3260 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3261 (_G_LSEEK64): Likewise.
3262 (_G_MMAP64): Likewise.
3263 (_G_FSTAT64): Likewise.
3264 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3265 (_G_LSEEK64): Likewise.
3266 (_G_MMAP64): Likewise.
3267 (_G_FSTAT64): Likewise.
3268 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3269 unconditional. Call __mmap64 directly.
3270 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3271 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3272 __lseek64 directly.
3273 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3274 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3275 __mmap64 directly.
3276 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3277 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3278 __lseek64 directly.
3279 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3280 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3281 __lseek64 directly.
3282 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3283 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3284 __lseek64 directly.
3285 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3286 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3287 __fxstat64 directly.
3288 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3289 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3290 unconditional.
3291 (freopen64) [!_G_OPEN64]: Remove conditional code.
3292 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3293 unconditional.
3294 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3295 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3296 unconditional.
3297 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3298 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3299 unconditional.
3300 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3301 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3302 unconditional.
3303 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3304 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3305 unconditional.
3306 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3307 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3308 unconditional.
3309 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3310 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3311 unconditional.
3312 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3313
b741de23
SP
33142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3315
3316 [BZ #12140]
3317 * manual/memory.texi (Malloc Tunable Parameters): Add note
3318 about free list pointers overwriting some perturb bytes.
3319 Wording suggested by Roland McGrath.
3320
f9b9d9c9
JM
33212012-10-17 Joseph Myers <joseph@codesourcery.com>
3322
3323 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3324 (lgamma_test): Likewise.
3325 (tgamma_test): Likewise.
3326
172a631a
FW
33272012-10-16 Florian Weimer <fweimer@redhat.com>
3328
3329 [BZ #14700]
3330 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3331 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3332
e9f37252
MK
33332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3334
3335 * NEWS: Mention BZ #14716.
3336 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3337 when removing AVAILABLE1_USES_J macro.
3338
d394eb74
L
33392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3342 (__bswap_64): __uint64_t for unsigned 64-bit int.
3343
ca38dc17
AS
33442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3345
3346 * include/string.h (memmem): Declare libc hidden alias.
3347 * string/memmem.c (memmem): Define libc hidden alias.
3348 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3349 __read, __close instead of open, read, close.
3350
9a387d1f
L
33512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3352
ac49ecaf
L
3353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3354 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3355 global and hidden.
3356 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3357 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3358 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3359 Likewise.
3360 (__rawmemchr_sse2): Likewise.
3361 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3362 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3363 (__strchr_sse2): Likewise.
3364 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3365 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3366 (__strcasecmp_sse2): Likewise.
3367 (__strncasecmp_sse2): Likewise.
3368 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3369 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3370 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3371 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3372 (__strrchr_sse2): Likewise.
3373 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3374 ifunc-impl-list.c.
3375 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3376 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3377 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3378 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3379 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3380 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3381 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3382 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3383 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3384 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3385 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3386 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3387 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3388 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3389 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3390 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3391 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3392 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3393 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3394 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3395 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3396 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3397 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3398 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3399 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3400 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3401 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3402 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3403 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3404 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3405
b090e8ea
L
3406 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3407 global and hidden.
3408 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3409 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3410 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3411 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3412 Likewise.
3413 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3414 Likewise.
3415 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3416 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3417 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3418 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3419 ifunc-impl-list.c.
3420 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3431 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3438 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3454 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3461
11dd4af6
L
3462 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3463 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3464 * include/ifunc-impl-list.h: New file.
3465 * misc/ifunc-impl-list.c: Likewise.
3466 * misc/Makefile (routines): Add ifunc-impl-list.
3467 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3468 * string/test-string.h: Include <ifunc-impl-list.h>.
3469 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3470 impl_array): New variables.
3471 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3472 are defined.
3473 (test_init): Call __libc_ifunc_impl_list to initialize
3474 func_list if TEST_IFUNC and TEST_NAME are defined.
3475
9a387d1f
L
3476 * string/Makefile (strop-tests): Add bcopy and bzero.
3477 * string/test-bcopy.c: New file.
3478 * string/test-bzero.c: Likewise.
3479 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3480 defined.
3481 * string/test-memset.c: Support bzero test if TEST_BZERO is
3482 defined.
3483 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3484 __libc_memmove.
3485 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3486 __libc_memset.
3487 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3488 of memset.
3489
472371b9
JM
34902012-10-10 Joseph Myers <joseph@codesourcery.com>
3491
1e4a9536
JM
3492 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3493 * configure: Regenerated.
3494
d173d12e
JM
3495 * Makeconfig (+link-static-before-libc): Don't include
3496 $(link-static-libc).
3497
472371b9
JM
3498 * libio/libio.h (_IO_pos_t): Remove.
3499
89a3ad0b
AO
35002012-10-10 Alexandre Oliva <aoliva@redhat.com>
3501
3502 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3503 McGrath.
3504
e7451425
AO
35052012-10-10 Alexandre Oliva <aoliva@redhat.com>
3506
3507 * crypt/crypt-entry.c: Include fips-private.h.
3508 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3509 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3510 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3511 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3512
4ba74a35
AO
35132012-10-10 Alexandre Oliva <aoliva@redhat.com>
3514
3515 * crypt/crypt-private.h: Include stdbool.h.
3516 (_ufc_setup_salt_r): Return bool.
3517 * crypt/crypt-entry.c: Include errno.h.
3518 (__crypt_r): Return NULL with EINVAL for bad salt.
3519 * crypt/crypt_util.c (bad_for_salt): New.
3520 (_ufc_setup_salt_r): Check that salt is long enough and within
3521 the specified alphabet.
3522 * crypt/badsalttest.c: New file.
3523 * crypt/Makefile (tests): Add it.
3524 ($(objpfx)badsalttest): New.
3525
f96f1242
MK
35262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3527
3528 * NEWS: Add entry for BZ #14602.
3529
0e8e0c1c
JM
35302012-10-09 Joseph Myers <joseph@codesourcery.com>
3531
3532 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3533 type-generic.
3534 * math/libm-test.inc: Update comment listing what functions and
3535 macros are tested.
3536 (isgreater_test): New function.
3537 (isgreaterequal_test): Likewise.
3538 (isless_test): Likewise.
3539 (islessequal_test): Likewise.
3540 (islessgreater_test): Likewise.
3541 (isunordered_test): Likewise.
3542 (main): Call the new functions.
3543
273edc5e
RM
35442012-10-09 Roland McGrath <roland@hack.frob.com>
3545
b8493de0
RM
3546 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3547 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3548 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3549 * sysdeps/i386/configure: Regenerated.
3550 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3551 * sysdeps/mach/configure: Regenerated.
3552 * sysdeps/mach/hurd/configure: Regenerated.
3553 * sysdeps/powerpc/configure: Regenerated.
3554 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3555 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3556 * sysdeps/s390/s390-32/configure: Regenerated.
3557 * sysdeps/s390/s390-64/configure: Regenerated.
3558 * sysdeps/sh/configure: Regenerated.
3559 * sysdeps/sparc/configure: Regenerated.
3560 * sysdeps/unix/sysv/linux/configure: Regenerated.
3561 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3562 * sysdeps/x86_64/configure: Regenerated.
3563
273edc5e
RM
3564 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3565 defined. Don't check if MAP is NULL.
3566
c8450f70
JM
35672012-10-09 Joseph Myers <joseph@codesourcery.com>
3568
3569 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3570 (_G_stat64): Likewise.
3571 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3572 (_G_stat64): Likewise.
3573 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3574 instead of struct _G_stat64.
3575 * libio/fileops.c (mmap_remap_check): Likewise.
3576 (decide_maybe_mmap): Likewise.
3577 (_IO_new_file_seekoff): Likewise.
3578 (_IO_file_stat): Likewise.
3579 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3580 _G_off64_t.
3581 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3582 instead of struct _G_stat64.
3583 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3584
57e605ba
MK
35852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3586
3587 [BZ #14602]
3588 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3589 Replace with ...
3590 (CHECK_EOL): New macro.
3591 (two_way_short_needle): Check beginning of haystack for EOL. Use
3592 CHECK_EOL.
3593 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3594 Replace with CHECK_EOL.
3595 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3596 Replace with CHECK_EOL.
3597
ef1bb361
JM
35982012-10-08 Joseph Myers <joseph@codesourcery.com>
3599
3600 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3601 type-generic.
3602 * math/libm-test.inc: Update comment listing what functions and
3603 macros are tested.
3604 (finite_test): New function.
3605 (isinf_test): Likewise.
3606 (isnan_test): Likewise.
3607 (fpclassify_test): Test subnormal input.
3608 (isfinite_test): Likewise.
3609 (isnormal_test): Likewise.
3610 (main): Call the new functions.
3611
55f11534
JN
36122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3613
3614 [BZ #14660]
3615 * Makerules (%.dynsym): Force C locale when running
3616 $(OBJDUMP) --dynamic-syms.
3617
1ab29350
AS
36182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3619
3620 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3621 <stdint.h>.
3622
f1ecb7ef
DM
36232012-10-06 David S. Miller <davem@davemloft.net>
3624
3625 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3626 upper 32-bits of the length value in %o2 since we use branch-on-register
3627 tests which consider the entire 64-bit register.
3628
5d41d91a
L
36292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3630
3631 * string/test-strstr.c (check2): Add a test for page boundary.
3632
3baddb72
DM
36332012-10-05 David S. Miller <davem@davemloft.net>
3634
3635 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3636 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3637 file.
3638 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3639 sysdep_routines.
3640 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3641 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3642 and bzero when HWCAP_SPARC_CRYPTO is present.
3643
9cee5585
L
36442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3645
d7e0dab9
L
3646 [BZ #14602]
3647 * string/test-strstr.c (check2): New function.
3648 (test_main): Call check2.
3649
03759f47
L
3650 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3651 and bug-strchr1.
3652 * string/bug-strcasestr1.c (do_test): Moved to ...
3653 * string/test-strcasestr.c (check1): Here. New function.
3654 (do_one_test): Break out result checking code into ...
3655 (check_result): This. New function.
3656 (do_one_test): Call check_result.
3657 (test_main): Call check1.
3658 * string/bug-strchr1.c (do_test): Moved to ...
3659 * string/test-strchr.c (check1): Here. New function.
3660 (do_one_test): Break out result checking code into ...
3661 (check_result): This. New function.
3662 (do_one_test): Call check_result.
3663 (test_main): Call check1.
3664 * string/bug-strstr1.c (main): Moved to ...
3665 * string/test-strchr.c (check1): Here. New function.
3666 (do_one_test): Break out result checking code into ...
3667 (check_result): This. New function.
3668 (do_one_test): Call check_result.
3669 (test_main): Call check1.
3670 * string/bug-strcasestr1.c: Removed.
3671 * string/bug-strchr1.c: Likewise.
3672 * string/bug-strstr1.c: Likewise.
3673
53cea63e
L
3674 * elf/Makefile (dl-routines): Add hwcaps.
3675 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3676 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3677 (_dl_important_hwcaps): Moved to ...
3678 * elf/dl-hwcaps.c: Here. New file.
3679 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3680
9cee5585 3681 [BZ #14557]
bb859b06
L
3682 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3683 if IS_IN_rtld isn't defined.
3684
9cee5585
L
3685 * elf/dl-support.c (_dl_sysinfo_map): New.
3686 Include "get-dynamic-info.h" and "setup-vdso.h".
3687 (_dl_non_dynamic_init): Call setup_vdso.
3688 * elf/dynamic-link.h: Don't include <assert.h>.
3689 (elf_get_dynamic_info): Moved to ...
3690 * elf/get-dynamic-info.h: Here. New file.
3691 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3692 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3693 * elf/setup-vdso.h: Here. New file.
3694 * elf/rtld.c: Include "setup-vdso.h".
3695 (dl_main): Call setup_vdso.
3696
23c31b76
JM
36972012-10-05 Joseph Myers <joseph@codesourcery.com>
3698
28234b07
JM
3699 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3700 creal in comment listing functions tested. List finite, isinf,
3701 isnan, isless, islessequal, isgreater, isgreaterequal,
3702 islessgreater, isunordered, lgamma_r and pow10 as functions and
3703 macros not tested. Mention which functions not tested are aliases
3704 for other functions. Fix typo. Note that signs of NaNs are not
3705 tested.
3706
23c31b76
JM
3707 * scripts/config.guess: Update from config.git.
3708 * scripts/config.sub: Likewise.
3709
9043e228
RM
37102012-10-04 Roland McGrath <roland@hack.frob.com>
3711
3712 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3713 * misc/madvise.c (madvise): Renamed to __madvise.
3714 Make madvise a weak alias.
3715 * include/sys/mman.h: Declare __madvise.
3716 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3717 * sysdeps/unix/syscalls.list
3718 (madvise): Make __madvise the strong name, and madvise a weak alias.
3719 * sysdeps/unix/sysv/linux/syscalls.list
3720 (madvise, mmap): Remove redundant entries.
3721 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3722 * malloc/malloc.c (mtrim): Likewise.
3723 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3724
f57f8055
RM
37252012-10-03 Roland McGrath <roland@hack.frob.com>
3726
3727 * sysdeps/mach/hurd/dl-cache.c: File removed.
3728 * config.h.in (USE_LDCONFIG): New #undef.
3729 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3730 * configure: Regenerated.
3731 * elf/Makefile (dl-routines): Add dl-cache only under
3732 [$(use-ldconfig) = yes].
3733 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3734 cache on [USE_LDCONFIG].
3735 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3736 [USE_LDCONFIG].
3737 * elf/rtld.c (dl_main): Likewise.
3738
5bb0c10a
PT
37392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3740
3741 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3742 _SC_LEVEL4_CACHE_LINESIZE.
3743
010188c6
RM
37442012-10-03 Roland McGrath <roland@hack.frob.com>
3745
3746 * sysdeps/unix/bsd/confstr.h: File removed.
3747
b6c5ec07
AO
37482012-10-02 Alexandre Oliva <aoliva@redhat.com>
3749
3750 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3751 sys/sdt-config.h.
3752
408223d4
RM
37532012-10-02 Roland McGrath <roland@hack.frob.com>
3754
3755 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3756 Make 'mapoff' field ElfW(Off) rather than off_t.
3757
bb9510dc
DL
37582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3759
fc997c6e
DL
3760 * nscd/Makefile: Remove nscd-cflags and all its users.
3761 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3762 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3763
bb9510dc
DL
3764 [BZ #10631]
3765 * malloc.c (malloc_printerr): Clarify error message.
3766
05699367
L
37672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3768
3769 [BZ #14648]
3770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3771 Set bit_FMA_Usable if FMA is supported.
3772 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3773 macro.
3774 (bit_FMA4_Usable): Updated.
3775 (index_FMA_Usable): New macro.
3776 (CPUID_FMA): Likewise
3777 (HAS_FMA): Defined with bit_FMA_Usable.
3778
51367701
RM
37792012-10-01 Roland McGrath <roland@hack.frob.com>
3780
3781 * bits/types.h (__swblk_t): Type removed.
3782 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3783 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3785 (__SWBLK_T_TYPE): Likewise.
3786 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3787 (__SWBLK_T_TYPE): Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3789 (__SWBLK_T_TYPE): Likewise.
3790 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3791 (__SWBLK_T_TYPE): Likewise.
3792
4d57bf63 37932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3794 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3795
3796 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3797 (xdr_mapname): Use YPMAXMAP as maxsize.
3798 (xdr_peername): Use YPMAXPEER as maxsize.
3799 (xdr_keydat): Use YPAXRECORD as maxsize.
3800 (xdr_valdat): Use YPMAXRECORD as maxsize.
3801
93c65d43
RM
38022012-10-01 Roland McGrath <roland@hack.frob.com>
3803
497a03d6
RM
3804 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3805
93c65d43
RM
3806 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3807 * csu/init-first.c: ... here.
3808 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3809 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3810 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3812 * sysdeps/i386/init-first.c: File removed.
3813 * sysdeps/sh/init-first.c: File removed.
3814
bec749fd
JM
38152012-10-01 Joseph Myers <joseph@codesourcery.com>
3816
3817 [BZ #14645]
3818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3819 if x * y might underflow to zero and z is zero.
3820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3822 * math/libm-test.inc (min_subnorm_value): New variable.
3823 (fma_test): Add more tests.
3824 (fma_test_towardzero): Likewise.
3825 (fma_test_downward): Likewise
3826 (fma_test_upward): Likewise.
3827 (initialize): Set min_subnorm_value.
3828
8ec5b013
JM
38292012-09-29 Joseph Myers <joseph@codesourcery.com>
3830
3831 [BZ #14638]
3832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3833 0 + 0.
3834 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3835 mode for addition resulting in exact zero.
3836 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3838 exact 0 + 0.
3839 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3840 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3841 * math/libm-test.inc (fma_test): Add more tests.
3842 (fma_test_towardzero): New function.
3843 (fma_test_downward): Likewise.
3844 (fma_test_upward): Likewise.
3845 (main): Call the new functions.
3846
b1fa802e
DM
38472012-09-28 David S. Miller <davem@davemloft.net>
3848
3849 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3850
d3b9fd9e
RM
38512012-09-28 Roland McGrath <roland@hack.frob.com>
3852
ea4d37b3
RM
3853 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3854 instead of SIGALRM.
3855
ac51c949
RM
3856 * sysdeps/gnu/_G_config.h: Moved to ...
3857 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3858 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3859 * sysdeps/generic/_G_config.h: ... here.
3860
28c195f7
RM
3861 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3862
848917f9
RM
3863 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3864
6bacf05b
RM
3865 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3866 Conditionalize target on [libnss_test1.so-version].
3867
91363dbb
RM
3868 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3869
cc87f7d8
RM
3870 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3871 (elfobjdir): Move out of conditionals.
3872
b1c608fe
RM
3873 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3874 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3875 (__nss_lookup_function): Conditionalize label remove_from_tree on
3876 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3877
1d9a6d96
DM
38782012-09-28 David S. Miller <davem@davemloft.net>
3879
3880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3881 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3882 file.
3883 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3884 sysdep_routines.
3885 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3887 when HWCAP_SPARC_CRYPTO is present.
3888
72581615
PT
38892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3890
3891 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3892
715a900c
JL
38932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3894
3895 [BZ #6530]
3896 * stdio-common/vfprintf.c (process_string_arg): Revert
3897 2000-07-22 change.
3898
38992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3900
3901 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3902 for testcase.
3903 * stdio-common/tst-sprintf.c: Include <locale.h>
3904 (main): Test sprintf's handling of incomplete multibyte
3905 characters.
3906
9bac1d86
L
39072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3908
3909 * elf/dl-runtime.c (VERSYMIDX): Removed.
3910 * elf/dl-version.c (VERSYMIDX): Likewise.
3911 * elf/do-rel.h (VERSYMIDX): Likewise.
3912 (VALIDX): Likewise.
3913 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3914 * elf/rtld.c (VALIDX): Likewise.
3915 (ADDRIDX): Likewise.
9bac1d86
L
3916 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3917 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3918 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3919 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3920 (VALIDX): Likewise.
3921 (ADDRIDX): Likewise.
9bac1d86 3922
b31606c0
PT
39232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3924
3925 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3926
11541177
JL
39272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3928
3929 [BZ #11438]
3930 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3931 to global scope.
3932 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3933 addresses are in the same scope as 192.0.2/24.
3934 * posix/gai.conf: Document new scope table defaults.
3935
adb26fae
SP
39362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3937
3938 [BZ #5298]
3939 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3940 for ftell. Compute offsets from write pointers instead.
3941 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3942
4573c6b0
SP
39432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3944
3945 [BZ #14543]
3946 * libio/Makefile (tests): New test case tst-fseek.
3947 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3948 combination works in wide mode.
3949 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3950 state when the external buffer state changes.
3951
aa9bbfe6
DM
39522012-09-27 David S. Miller <davem@davemloft.net>
3953
3954 [BZ #14376]
3955 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3956 pass reloc->r_addend in as the 'high' argument to
3957 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3958
784421e7
DM
3959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3960
c39bc8b8
PT
39612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3962
3963 * rt/tst-aio2.c: Include <pthread.h>.
3964 * rt/tst-aio3.c: Likewise.
3965
1ccc2399
SE
39662012-09-27 Steve Ellcey <sellcey@mips.com>
3967
3968 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3969
31ed4153
L
39702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3971
25f5f885
L
3972 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3973 contents on [SHARED].
31ed4153 3974
b7bfe116
MP
39752012-09-26 Marek Polacek <polacek@redhat.com>
3976
3977 [BZ #14530]
3978 [BZ #13741]
3979 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3980 for C++ and GCC <4.3 as well as for non GCC compilers.
3981
43c4edba
MT
39822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3983
3984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3985
6a1bf82f
RM
39862012-09-25 Roland McGrath <roland@hack.frob.com>
3987
3988 * Makefile.in (all, install): Declare with .PHONY.
3989 Reported by Michael Hope <michael.hope@linaro.org>.
3990
8ad11b9a
TMQMF
39912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3992
3993 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3994 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3995 system header.
3996 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3997 Likewise.
3998 (sydep_routines): Add the new and the internal functions.
3999 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4000 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4002 (GLIBC_2.17): Add the new function.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4004 (GLIBC_2.17): Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4006 (GLIBC_2.17): Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4008 (GLIBC_2.17): Likewise.
4009 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4010
7e2fca8d
AM
40112012-09-25 Alan Modra <amodra@gmail.com>
4012
4013 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4014 Add release barrier before setting once_control to say
4015 initialisation is done. Add hints on lwarx. Use macro in
4016 place of isync.
4017 (clear_once_control): Add release barrier.
4018
b87c4b24
JM
40192012-09-25 Joseph Myers <joseph@codesourcery.com>
4020
d032e0d2
JM
4021 [BZ #13629]
4022 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4023 specially.
4024 * math/s_clog10.c (__clog10): Likewise.
4025 * math/s_clog10f.c (__clog10f): Likewise.
4026 * math/s_clog10l.c (__clog10l): Likewise.
4027 * math/s_clogf.c (__clogf): Likewise.
4028 * math/s_clogl.c (__clogl): Likewise.
4029 * math/Makefile (libm-calls): Add x2y2m1.
4030 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4031 (__x2y2m1): Likewise.
4032 (__x2y2m1l): Likewise.
4033 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4034 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4039 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4040 * sysdeps/i386/fpu/libm-test-ulps: Update.
4041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4042
b87c4b24
JM
4043 [BZ #14621]
4044 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4045 int as type of variable DEPTH.
4046 (glob): Use size_t instead of int as type of variables NEWCOUNT
4047 and OLD_PATHC.
4048
6d3bf199
LD
40492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4050
22bf5c17
LD
4051 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4052 Add s_sincosf-sse2.
4053 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4054 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4055 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4056 macros for using routine as __sincosf_ia32.
4057 Use macro for function declaration and weak_alias.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059
4060 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4062
4063 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4064 subnormal argument.
4065 * math/s_cexpf.c (__cexpf): Likewise.
4066 * math/s_csinf.c (__csinf): Likewise.
4067 * math/s_csinhf.c (__csinhf): Likewise.
4068 * math/s_ctanf.c (__ctanf): Likewise.
4069 * math/s_ctanhf.c (__ctanhf): Likewise.
4070 * math/s_ccosh.c (__ccoshf): Likewise.
4071 * math/s_cexp.c (__cexpl): Likewise.
4072 * math/s_csin.c (__csin): Likewise.
4073 * math/s_csinh.c (__csinh): Likewise.
4074 * math/s_ctan.c (__ctan): Likewise.
4075 * math/s_ctanh.c (ctanh): Likewise.
4076 * math/s_ccoshl.c (__ccoshl): Likewise.
4077 * math/s_cexpl.c (__cexpl): Likewise.
4078 * math/s_csinl.c (__csinl): Likewise.
4079 * math/s_csinhl.c (__csinhl): Likewise.
4080 * math/s_ctanl.c (__ctanl): Likewise.
4081 * math/s_ctanhl.c (__ctanhl): Likewise.
4082
203e5603
JM
40832012-09-25 Joseph Myers <joseph@codesourcery.com>
4084
4085 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4086 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4087 (_IO_off_t): Define to __off_t, not _G_off_t.
4088 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4089 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4090 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4091 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4092 type of __dummy and __dummy2 fields.
4093 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4094 (_G_ssize_t): Likewise.
4095 (_G_off_t): Likewise.
4096 (_G_pid_t): Likewise.
4097 (_G_uid_t): Likewise.
4098 (_G_wchar_t): Likewise.
4099 (_G_wint_t): Likewise.
4100 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4101 (_G_ssize_t): Likewise.
4102 (_G_off_t): Likewise.
4103 (_G_pid_t): Likewise.
4104 (_G_uid_t): Likewise.
4105 (_G_wchar_t): Likewise.
4106 (_G_wint_t): Likewise.
4107 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4108 (_G_ssize_t): Likewise.
4109 (_G_off_t): Likewise.
4110 (_G_pid_t): Likewise.
4111 (_G_uid_t): Likewise.
4112 (_G_wchar_t): Likewise.
4113 (_G_wint_t): Likewise.
4114
9fab36eb
SP
41152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
4117 * malloc/arena.c: Include malloc-sysdep.h.
4118 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4119 is sufficient to shrink the heap or an unmap is needed.
4120 * sysdeps/generic/malloc-sysdep.h: New file. Define
4121 new function check_may_shrink_heap.
4122 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4123 new function check_may_shrink_heap.
4124
2b4f00d1
SP
41252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4126
4127 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4128 comments.
4129
9a9028b1
DL
41302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4131
57c69bef
DL
4132 * catgets/test-gencat.sh: Add "set -e".
4133 * elf/tst-pathopt.sh: Likewise.
4134 * grp/tst_fgetgrent.sh: Likewise.
4135 * iconvdata/run-iconv-test.sh: Likewise.
4136 * intl/tst-gettext.sh: Likewise.
4137 * intl/tst-gettext2.sh: Likewise.
4138 * intl/tst-gettext4.sh: Likewise.
4139 * intl/tst-gettext6.sh: Likewise.
4140 * intl/tst-translit.sh: Likewise.
4141 * io/ftwtest-sh: Likewise.
4142 * libio/test-freopen.sh: Likewise.
4143 * malloc/tst-mtrace.sh: Likewise.
4144 * posix/globtest.sh: Likewise.
4145 * posix/tst-getconf.sh: Likewise.
4146 * posix/wordexp-tst.sh: Likewise.
4147 * stdio-common/tst-printf.sh: Likewise.
4148 * stdio-common/tst-unbputc.sh: Likewise.
4149 * stdlib/tst-fmtmsg.sh: Likewise.
4150 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4151 * catgets/Makefile: Do not specify -e option when running
4152 testsuite shell scripts.
4153 * elf/Makefile: Likewise.
4154 * grp/Makefile: Likewise.
4155 * iconvdata/Makefile: Likewise.
4156 * intl/Makefile: Likewise.
4157 * io/Makefile: Likewise.
4158 * libio/Makefile: Likewise.
4159 * malloc/Makefile: Likewise.
4160 * posix/Makefile: Likewise.
4161 * stdio-common/Makefile: Likewise.
4162 * stdlib/Makefile: Likewise.
4163 * sysdeps/x86_64/Makefile: Likewise.
4164
9a9028b1
DL
4165 * io/ftwtest-sh: Add copyright header.
4166 * posix/globtest.sh: Likewise.
4167 * posix/tst-getconf.sh: Likewise.
4168 * posix/wordexp-tst.sh: Likewise.
4169 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4170
ced6f16e
L
41712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4172
94b32c39
L
4173 [BZ #13679]
4174 * Makeconfig (+link): Defined as $(+link-static) if
4175 $(build-shared) isn't yes.
4176 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4177 isn't yes.
4178 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4179
189e935b
L
4180 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4181
ced6f16e
L
4182 [BZ #14562]
4183 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4184 new chunk size with MALLOC_ALIGN_MASK.
4185
a9f8e53a
JM
41862012-09-24 Joseph Myers <joseph@codesourcery.com>
4187
4188 [BZ #5044]
4189 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4190 <rounding-mode.h>.
4191 (__printf_fphex): Determine rounding using get_rounding_mode and
4192 round_away.
4193 * stdio-common/tst-printf-round.c (struct hex_test): New
4194 structure.
4195 (hex_tests): New variable.
4196 (test_hex_in_one_mode): New function.
4197 (do_test): Also run tests for hex float output.
4198
43153109
JM
41992012-09-21 Joseph Myers <joseph@codesourcery.com>
4200
4201 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4202 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4203 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4204 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4205 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4206 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4207 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4208 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4209
8a26625d
JM
42102012-09-20 Joseph Myers <joseph@codesourcery.com>
4211
4212 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4213 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4214 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4215 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4216
f3fd569c
DL
42172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4218
4219 [BZ #14579]
4220 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4221 mode only.
4222 * elf/tst-rtld-load-self.sh: New test.
4223 * elf/Makefile: Run it.
4224
63bbedd4
JM
42252012-09-18 Joseph Myers <joseph@codesourcery.com>
4226
4227 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4228 (tst-writev-ENV): Remove.
4229 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4230
626f8b6a
CM
42312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4232
4233 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4234
b7aaa4d6
JM
42352012-09-17 Joseph Myers <joseph@codesourcery.com>
4236
4237 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4238 unconditional.
4239 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4240 Likewise.
4241 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4242 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4243 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4244 Likewise.
4245
65513990
L
42462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4247
4248 [BZ #14587]
4249 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4250 * config.make.in (have-cpp-asm-debuginfo): Removed.
4251 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4252 * configure: Regenerated.
4253
784761be
JM
42542012-09-14 Joseph Myers <joseph@codesourcery.com>
4255
4256 [BZ #5044]
4257 * stdio-common/printf_fp.c: Include <stdbool.h> and
4258 <rounding-mode.h>.
4259 (___printf_fp): Determine rounding using get_rounding_mode and
4260 round_away.
4261 * stdio-common/tst-printf-round.c: New file.
4262 * stdio-common/Makefile (tests): Add tst-printf-round.
4263 (link-libm): New variable.
4264 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4265
9503345f
L
42662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #14576]
4269 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4270 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4271 Likewise.
4272 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4273 Likewise.
4274
ad35fc00
JM
42752012-09-13 Joseph Myers <joseph@codesourcery.com>
4276
4277 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4278 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4279 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4280 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4281
6c9b0f68
JM
42822012-09-12 Joseph Myers <joseph@codesourcery.com>
4283
4284 [BZ #14518]
4285 * include/rounding-mode.h: New file.
4286 * sysdeps/generic/get-rounding-mode.h: Likewise.
4287 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4288 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4289 (MAX_VALUE): New macro.
4290 (MIN_VALUE): Likewise.
4291 (overflow_value): New function.
4292 (underflow_value): Likewise.
4293 (round_and_return): Use overflow_value and underflow_value to
4294 determine return values in overflow and underflow cases. Use
4295 round_away to determine rounding depending on rounding mode.
4296 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4297 determine return values in overflow and underflow cases.
4298 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4299 (struct test_results): New structure.
4300 (struct test): Use struct test_results to store expected results
4301 for all rounding modes.
4302 (TEST): Include expected results for all rounding modes.
4303 (test_in_one_mode): New function.
4304 (do_test): Use test_in_one_mode to compute and check results.
4305 Check results for all rounding modes.
4306 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4307 $(link-libm).
4308
19fcedd5
AM
43092012-12-09 Allan McRae <allan@archlinux.org>
4310
1e9d84cd 4311 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 4312
8bbfd2f1
JM
43132012-09-11 Joseph Myers <joseph@codesourcery.com>
4314
4315 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4316 (_G_int32_t): Likewise.
4317 (_G_uint16_t): Likewise.
4318 (_G_uint32_t): Likewise.
4319 (_G_HAVE_BOOL): Likewise.
4320 (_G_HAVE_ATEXIT): Likewise.
4321 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4322 (_G_HAVE_IO_FILE_OPEN): Likewise.
4323 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4324 (_G_int32_t): Likewise.
4325 (_G_uint16_t): Likewise.
4326 (_G_uint32_t): Likewise.
4327 (_G_HAVE_BOOL): Likewise.
4328 (_G_HAVE_ATEXIT): Likewise.
4329 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4330 (_G_HAVE_IO_FILE_OPEN): Likewise.
4331 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4332 (_G_int32_t): Likewise.
4333 (_G_uint16_t): Likewise.
4334 (_G_uint32_t): Likewise.
4335 (_G_HAVE_BOOL): Likewise.
4336 (_G_HAVE_ATEXIT): Likewise.
4337 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4338 (_G_HAVE_IO_FILE_OPEN): Likewise.
4339
b1dc5912
L
43402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4341
4342 * csu/libc-tls.c: Update copyright years.
4343
0e886ef9
JM
43442012-09-10 Joseph Myers <joseph@codesourcery.com>
4345
28361c5e
JM
4346 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4347 [!_G_USING_THUNKS]: Remove conditional code.
4348 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4349 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4350
0e886ef9
JM
4351 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4352 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4353 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4354 (_G_VTABLE_LABEL_PREFIX): Likewise.
4355 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4356 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4357 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4358 (_G_VTABLE_LABEL_PREFIX): Likewise.
4359 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4360 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4361 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4362 (_G_VTABLE_LABEL_PREFIX): Likewise.
4363 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4364
bcba7aa2
L
43652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4366
4367 * libio/Makefile: Include ../Makeconfig before tests.
4368 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4369 only if $(build-shared) is yes.
4370
06585ee8
L
4371 * iconv/gconv_db.c: Update copyright years.
4372
80ccd52c
LD
43732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4374
4375 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4376 unwind info if defined PIC. Fix special cases description.
4377 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4378
4379 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4380 DP_HI_MASK entry.
4381 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4382
691bc9c1
L
43832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4384
3d9b46b3
L
4385 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4386
de2139a9
L
4387 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4388 is NULL.
4389
5ca78dd0
L
4390 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4391 (LDLIBS-tst-chk4): This.
4392 (LDFLAGS-tst-chk5): Renamed to ...
4393 (LDLIBS-tst-chk5): This.
4394 (LDFLAGS-tst-chk6): Renamed to ...
4395 (LDLIBS-tst-chk6): This.
4396 (LDFLAGS-tst-lfschk4): Renamed to ...
4397 (LDLIBS-tst-lfschk4): This.
4398 (LDFLAGS-tst-lfschk5): Renamed to ...
4399 (LDLIBS-tst-lfschk5): This.
4400 (LDFLAGS-tst-lfschk6): Renamed to ...
4401 (LDLIBS-tst-lfschk6): This.
4402
691bc9c1
L
4403 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4404 on $(common-objpfx)soversions.mk.
4405
65cafb1c
JM
44062012-09-07 Joseph Myers <joseph@codesourcery.com>
4407
4408 [BZ #10014]
4409 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4410 example host name.
4411
c78ab094
SP
44122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4413
4414 * malloc/arena.c (arena_get_retry): New function that gets
4415 another arena for the caller to try its request on.
4416 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4417 current arena cannot fulfill the request.
4418 (__libc_memalign): Likewise.
4419 (__libc_memalign): Likewise.
4420 (__libc_pvalloc): Likewise.
4421 (__libc_calloc): Likewise.
4422
01f49f59
JT
44232012-09-05 John Tobey <john.tobey@gmail.com>
4424
4425 [BZ #13542]
4426 * manual/arith.texi (Operations on Complex): Fix description
4427 of carg branch cut.
4428
4c23fed5
JM
44292012-09-06 Joseph Myers <joseph@codesourcery.com>
4430
1d3c8572
JM
4431 [BZ #10014]
4432 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4433 host name.
4434
4c23fed5
JM
4435 [BZ #10038]
4436 * manual/memory.texi (Memory): Make order of menu items match
4437 order of sections.
4438
04570aaa
L
44392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4442 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4443 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4444
b80af2f4
L
44452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 * csu/libc-tls.c (static_dtv): Renamed to ...
4448 (_dl_static_dtv): This. Make it global.
4449 (_dl_initial_dtv): Removed.
4450 (__libc_setup_tls): Updated.
4451 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4452 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4453 DL_INITIAL_DTV.
4454
2abe9f15
PM
44552012-09-06 Petr Machata <pmachata@redhat.com>
4456
4457 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4458 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4459 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4460 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4461
0948c3af
L
44622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 [BZ #14545]
4465 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4466 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4467 freeing dtv[-1].
4468
a5055ad1
L
44692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4470
4471 [BZ #14544]
4472 * Makeconfig (link-static-before-libc): Replace $(+prector)
4473 with $(+prectorT).
4474 (link-static-after-libc): Replace $(+postctor) with
4475 $(+postctorT).
4476 (link-bounded): Replace $(+prector)/$(+postctor) with
4477 $(+prectorT)/$(+postctorT).
4478 (+prectorT): New macro.
4479 (+postctorT): Likewise.
4480
ed8c2ecd
JM
44812012-09-06 Joseph Myers <joseph@codesourcery.com>
4482
4483 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4484 (round_str): Handle values above the maximum for IBM long double
4485 as inexact.
4486 * stdlib/tst-strtod-round.c (tests): Regenerated.
4487
14c996c8
AK
44882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4489
4490 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4491 assembler flag.
4492 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4493 zarch_nohighgprs around the zarch optimized routines.
4494 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4495 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4497 for zarch.
4498
430d6ce6
DM
44992012-09-05 David S. Miller <davem@davemloft.net>
4500
4501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4502
ff04dda4
DM
4503 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4504 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4505 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4506 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4507 entries.
4508
24d4e01b
AO
45092012-09-05 Alexandre Oliva <aoliva@redhat.com>
4510
4511 * malloc/arena.c: Fold copyright years.
4512 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4513
61d58174
AO
45142012-09-05 Alexandre Oliva <aoliva@redhat.com>
4515
4516 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4517
20196a5e
AO
45182012-09-05 Alexandre Oliva <aoliva@redhat.com>
4519
4520 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4521
5c447383
AO
45222012-09-05 Alexandre Oliva <aoliva@redhat.com>
4523
4524 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4525 change internal state upon failure.
4526
fad64255
AO
45272012-09-05 Alexandre Oliva <aoliva@redhat.com>
4528
4529 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4530 * malloc/memusage.c (mmap): Likewise.
4531 (mmap64, mremap): Likewise. Adjust name in comment.
4532
1ffb8c90
SP
45332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4534
4535 * libio/fileops.c: Fix typos in comments.
4536 * libio/oldfileops.c: Likewise.
4537 * libio/wfileops.c: Likewise.
4538
6ef9cc37
SP
45392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4540
4541 [BZ #1349]
4542 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4543 (tst-malloc-usable-ENV): Set environment for test case.
4544 * malloc/hooks.c (malloc_check_get_size): New function to get
4545 requested size.
4546 * malloc/malloc.c (musable): Use malloc_check_get_size.
4547 * malloc/tst-malloc-usable.c: New test case.
4548
4d038ae3
AS
45492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4550
4551 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4552
c4e85184
AM
45532012-09-05 Allan McRae <allan@archlinux.org>
4554
b9dafc56 4555 [BZ #13966]
c4e85184
AM
4556 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4557 determine header location.
4558 * configure: Regenerated.
4559
e1343020
AS
45602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4561
4562 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4563 float format.
4564 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4565 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4566 format.
e1343020
AS
4567 (test): Regenerate.
4568
0a9f1987
DM
45692012-09-04 David S. Miller <davem@davemloft.net>
4570
4571 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4572 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4573 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4574
29237804
FW
45752012-09-04 Florian Weimer <fweimer@redhat.com>
4576
4577 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4578 failures.
4579
edb3cb88
FW
4580 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4581
60160d83
JM
45822012-09-04 Joseph Myers <joseph@codesourcery.com>
4583
4584 [BZ #9914]
4585 * libio/iogetdelim.c: Include <limits.h>.
4586 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4587 + len + 1 would overflow.
4588
bcd6c8dc
AJ
45892012-09-03 Andreas Jaeger <aj@suse.de>
4590
4591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4592 * sysdeps/i386/fpu/libm-test-ulps: Update.
4593
4ffffbd2
LD
45942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4595
4596 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4597 Add s_sinf-sse2, s_conf-sse2.
4598
4599 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4600 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4601 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4602 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4603
4604 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4605 for using routine as __sinf_ia32.
4606 Use macro for function declaration and weak_alias.
4607 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4608 for using routine as __cosf_ia32.
4609 Use macro for function declaration and weak_alias.
4610
4611 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4612 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4613
4614 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4615 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4617
4618 * math/libm-test.inc (cos_test): Add more test cases.
4619 (sin_test): Likewise.
4620 (sincos_test): Likewise.
4621
511fa286
AK
46222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4623
4624 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4625 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4626 hidden.
4627 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4628
5f30cfec
L
46292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4630
4631 [BZ #14538]
4632 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4633 first element of the GOT.
4634 (elf_machine_load_address): Return the difference between
4635 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4636
0786794f
AM
46372012-09-01 Allan McRae <allan@archlinux.org>
4638
5f30cfec
L
4639 [BZ #13412]
4640 * configure.in (AWK): Require gawk version 3.0 or later.
4641 * configure: Regenerated.
0786794f 4642
26889eac
JM
46432012-09-01 Joseph Myers <joseph@codesourcery.com>
4644
4645 * sysdeps/unix/sysv/linux/kernel-features.h
4646 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4647 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4648 [__NR_clock_getres]: Make code unconditional.
4649 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4650 (clock_getcpuclockid): Remove code left unreachable by removal of
4651 conditionals.
4652 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4653 code unconditional.
4654 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4655 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4656 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4657 Make code unconditional.
4658 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4659 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/clock_settime.c
4661 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4662 conditional code.
4663 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4664 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4665
d22e28b0
L
46662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 [BZ #14476]
4669 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4670 scripts/test-installation.pl.
4671
4672 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4673 and $ld_so_version if it is set.
4674
050af9c4
SP
46752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
4677 [BZ #14516]
4678 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4679 failure if reading from procfs failed.
4680 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4681
ad845c0b
JM
46822012-08-27 Joseph Myers <joseph@codesourcery.com>
4683
4684 * sysdeps/unix/sysv/linux/kernel-features.h
4685 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4686 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4687 Remove conditional code.
4688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4689 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4690 Remove conditional code.
4691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4692 * sysdeps/unix/sysv/linux/i386/fxstat.c
4693 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4695 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4696 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4698 * sysdeps/unix/sysv/linux/i386/lxstat.c
4699 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4701 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4702 Remove conditional code.
4703 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4704 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4705 Remove conditional code.
4706 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4707 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4708 <kernel-features.h>.
4709 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4710 Remove.
4711 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4712 Remove conditional code.
4713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4714 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4715 Remove conditional.
4716
5dbf56af
MF
47172012-08-27 Mike Frysinger <vapier@gentoo.org>
4718
4719 [BZ #5400]
4720 * NEWS: Add fixed bug number.
4721
d6e70f43
JM
47222012-08-27 Joseph Myers <joseph@codesourcery.com>
4723
7efb4737
JM
4724 [BZ #14519]
4725 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4726 underflowing exponent in case of negative sign.
4727 * stdlib/tst-strtod-round-data: Add more tests.
4728 * stdlib/tst-strtod-round.c (tests): Regenerated.
4729
af92131a
JM
4730 [BZ #3479]
4731 * stdlib/strtod_l.c (NDIG): Remove.
4732 (HEXNDIG): Likewise.
4733 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4734 smallest representable value.
4735 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4736 lie within an exact representation of 1/2 ulp of the result.
4737 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4738 unconditionally.
4739 (TENS_P9_IDX): Define unconditionally.
4740 (TENS_P9_SIZE): Likewise.
4741 (TENS_P10_IDX): Likewise.
4742 (TENS_P10_SIZE): Likewise.
4743 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4744 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4745 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4746 entries for 10^2^13 and 10^2^14.
4747 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4748 (TENS_P13_IDX): Define.
4749 (TENS_P13_SIZE): Likewise.
4750 (TENS_P14_IDX): Likewise.
4751 (TENS_P14_SIZE): Likewise.
4752 (_fpioconst_pow10): Change array size to
4753 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4754 unconditional.
4755 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4756 1024]: Add entries for 10^2^13 and 10^2^14.
4757 [LAST_POW10 > _LAST_POW10]: Remove #error.
4758 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4759 (_fpioconst_pow10): Change array size to
4760 FPIOCONST_POW10_ARRAY_SIZE.
4761 * stdlib/gen-fpioconst.c: New file.
4762 * stdlib/gen-tst-strtod-round.c: Likewise.
4763 * stdlib/tst-strtod-round-data: Likewise.
4764 * stdlib/tst-strtod-round.c: Likewise.
4765 * stdlib/Makefile (tests): Add tst-strtod-round.
4766
d6e70f43
JM
4767 [BZ #14459]
4768 * stdlib/strtod_l.c: Include <stdint.h>.
4769 (NDEBUG): Do not define.
4770 (round_and_return): Change EXPONENT parameter to type intmax_t.
4771 Rearrange calculations to avoid internal overflow possibilities.
4772 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4773 Rearrange calculations to avoid internal overflow possibilities.
4774 Assert that number fits inside MPNSIZE limbs.
4775 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4776 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4777 calculations and add assertions to avoid internal overflow
4778 possibilities. Add casts to avoid signed/unsigned operations.
4779 * stdlib/tst-strtod-overflow.c: New file.
4780 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4781
1f529f7d
MP
47822012-08-25 Marek Polacek <polacek@redhat.com>
4783
4784 * time/time.h: Fix some typos in comments.
4785
59a629f1
RM
47862012-08-23 Roland McGrath <roland@hack.frob.com>
4787
4788 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4789 * posix/tst-rfc3484-2.c: Likewise.
4790 * posix/tst-rfc3484-3.c: Likewise.
4791
d3bafbc9
SM
47922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4793
4794 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4795 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4796
4efcc022
JM
47972012-08-23 Joseph Myers <joseph@codesourcery.com>
4798
4799 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4800 #include of fxstatat64.c.
4801
3cc3ef96
RM
48022012-08-22 Roland McGrath <roland@hack.frob.com>
4803
f04e2132
RM
4804 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4805 * shadow/getspent_r.c: Likewise.
4806 * shadow/getspnam.c: Likewise.
4807 * shadow/getspnam_r.c: Likewise.
4808 * gshadow/getsgent.c: Likewise.
4809 * gshadow/getsgent_r.c: Likewise.
4810 * gshadow/getsgnam.c: Likewise.
4811 * gshadow/getsgnam_r.c: Likewise.
4812 * inet/getnetbyad.c: Likewise.
4813 * inet/getnetbyad_r.c: Likewise.
4814 * inet/getnetbynm.c: Likewise.
4815 * inet/getnetbynm_r.c: Likewise.
4816 * inet/getnetent.c: Likewise.
4817 * inet/getnetent_r.c: Likewise.
4818 * inet/getproto.c: Likewise.
4819 * inet/getproto_r.c: Likewise.
4820 * inet/getprtent.c: Likewise.
4821 * inet/getprtent_r.c: Likewise.
4822 * inet/getprtname.c: Likewise.
4823 * inet/getprtname_r.c: Likewise.
4824 * inet/getrpcbyname.c: Likewise.
4825 * inet/getrpcbyname_r.c: Likewise.
4826 * inet/getrpcbynumber.c: Likewise.
4827 * inet/getrpcbynumber_r.c: Likewise.
4828 * inet/getrpcent.c: Likewise.
4829 * inet/getrpcent_r.c: Likewise.
4830 * inet/getaliasent.c: Likewise.
4831 * inet/getaliasent_r.c: Likewise.
4832 * inet/getaliasname.c: Likewise.
4833 * inet/getaliasname_r.c: Likewise.
4834 * nscd/getgrgid_r.c: Likewise.
4835 * nscd/getgrnam_r.c: Likewise.
4836 * nscd/gethstbyad_r.c: Likewise.
4837 * nscd/gethstbynm3_r.c: Likewise.
4838 * nscd/getpwnam_r.c: Likewise.
4839 * nscd/getpwuid_r.c: Likewise.
4840 * nscd/getsrvbynm_r.c: Likewise.
4841 * nscd/getsrvbypt_r.c: Likewise.
4842 * nscd/gai.c: Likewise.
4843
c53d909c
RM
4844 * configure.in (build_nscd): New substituted variable, set
4845 by --disable-build-nscd and defaults to $use_nscd.
4846 * configure: Regenerated.
4847 * config.make.in (build-nscd): New substituted variable.
4848 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4849 Change conditional to require [$(build-nscd) = yes] as well.
4850 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4851
3cc3ef96
RM
4852 [BZ# 13696]
4853 * configure.in (use_nscd): New substituted variable, set by
4854 --disable-nscd. If enabled, define USE_NSCD.
4855 * configure: Regenerated.
4856 * config.h.in: Add USE_NSCD.
4857 * config.make.in (use-nscd): New substituted variable.
4858 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4859 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4860 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4861 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4862 (CFLAGS-getgrnam_r.c): Likewise.
4863 (CFLAGS-initgroups.c): Likewise.
4864 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4865 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4866 Variables removed.
4867 * inet/getnetgrent_r.c
4868 (nscd_setnetgrent): New function, broken out of ...
4869 (setnetgrent): ... here. Call it.
4870 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4871 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4872 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4873 * nscd/Makefile (routines, aux): Move definitions after include of
4874 Makeconfig. Conditionalize on [$(use-nscd) != no].
4875 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4876 Conditionalize on [USE_NSCD].
4877 (is_nscd, nscd_init_cb): Likewise.
4878 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4879 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4880 * nss/nss_db/db-init.c: Likewise.
4881 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4882 [USE_NSCD].
4883 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4884 (make_request): Use it.
4885 (cache_valid_p): New function.
4886 (__check_pf): Use it.
4887 * NEWS: Add item for --disable-nscd.
4888
07e51550
DL
48892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4890
4891 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4892 to support sed >= 4.2.1-20-ga9bf076.
4893 * configure: Regenerated.
4894
35a5b08b
RM
48952012-08-22 Roland McGrath <roland@hack.frob.com>
4896
4897 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4898 Conditionalize whole body on [IREL].
4899
8479f23a
JL
49002012-08-22 Jeff Law <law@redhat.com>
4901
4902 [BZ #14505]
4903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4904 if the family is PF_UNSPEC.
4905
48da0b21
MF
49062012-08-22 Mike Frysinger <vapier@gentoo.org>
4907
4908 * Makerules (lib-version): Rename from V.
4909 (install-lib-nosubdir): Change V to lib-version.
4910
15d0da8c
WS
49112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4912
4913 [BZ #14252]
4914 * powerpc32/power6/wcschr.c: New file.
4915 * powerpc32/power6/wcscpy.c: New file.
4916 * powerpc32/power6/wcsrchr.c: New file.
4917 * powerpc64/power6/wcschr.c: New file.
4918 * powerpc64/power6/wcscpy.c: New file.
4919 * powerpc64/power6/wcsrchr.c: New file.
4920
bcca0895
MK
49212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4922
4923 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4924 (two_way_short_needle): Use it.
5a4aaa33
RM
4925 * string/strstr.c (AVAILABLE1_USES_J): Define.
4926 * string/strcasestr.c: Likewise.
99677e57
MK
4927
4928 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4929 array references.
4930 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4931
400726de
MK
4932 [BZ #11607]
4933 * NEWS: Add an entry.
4934 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4935 define their defaults.
4936 (two_way_short_needle): Detect end-of-string on-the-fly.
4937 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4938 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4939 * string/bug-strcasestr1.c: New test.
4940 * string/Makefile: Run it.
4941
20a71f2c
MK
49422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4943
4944 [BZ #11607]
4945 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4946 the first character.
4947
21ad0558
RM
49482012-08-21 Roland McGrath <roland@hack.frob.com>
4949
4950 * csu/elf-init.c (__libc_csu_irel): Function removed.
4951 * csu/libc-start.c (apply_irel): New function.
4952 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4953
0e1d9911
JM
49542012-08-21 Joseph Myers <joseph@codesourcery.com>
4955
4956 * sysdeps/unix/sysv/linux/kernel-features.h
4957 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4958 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4959 <kernel-features.h>.
4960 [__NR_fadvise64_64]: Make code unconditional.
4961 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4962 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4963 !__NR_fadvise64_64)]: Likewise.
4964 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4965 !__NR_fadvise64_64))]: Likewise.
4966 [__NR_fadvise64]: Make code unconditional.
4967 [!__NR_fadvise64]: Remove conditional code.
4968 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4969 <kernel-features.h>.
4970 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4971 unconditional.
4972 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4973 conditional code.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4975 not include <kernel-features.h>.
4976 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4977 unconditional.
4978 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4979 conditional code.
4980 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4981 include <kernel-features.h>.
4982 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4983 unconditional.
4984 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4985 conditional code.
4986
14a50c9d
WS
49872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4988
4989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4990 slight instruction rearrangements per scrollpipe analysis.
4991 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4992
c0f4faf0
RM
49932012-08-20 Roland McGrath <roland@hack.frob.com>
4994
696da859
RM
4995 * manual/syslog.texi (syslog; vsyslog, closelog):
4996 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4997 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4998
c0f4faf0
RM
4999 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5000 DSOCAPS to match condition on defining it.
5001
348363b2
JM
50022012-08-20 Joseph Myers <joseph@codesourcery.com>
5003
a35cbf28
JM
5004 * sysdeps/unix/sysv/linux/kernel-features.h
5005 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5007 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5008 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5010 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5011 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5013 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5014 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5015
445f7ecd
JM
5016 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5017 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5018
348363b2
JM
5019 * sysdeps/unix/sysv/linux/kernel-features.h
5020 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5021 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5022 unconditional.
5023 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5024 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5025 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5026 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5027 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5028 Make code unconditional.
5029 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5030 (__mmap64) [!__NR_mmap2]: Likewise.
5031 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5032 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5033 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5034 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5035 [__NR_mmap2]: Make code unconditional.
5036 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5037 (__mmap64) [!__NR_mmap2]: Likewise.
5038
bc5bc0e5
AK
50392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5040
5041 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5042
88d506de
AJ
50432012-08-18 Andreas Jaeger <aj@suse.de>
5044
5045 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5046
493387d2
MF
50472012-08-18 Mike Frysinger <vapier@gentoo.org>
5048
5049 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5050 * include/unistd.h (__have_sock_cloexec): Likewise.
5051 (__have_pipe2): Likewise.
5052 (__have_dup3): Likewise.
5053
a277af22
MF
50542012-08-18 Mike Frysinger <vapier@gentoo.org>
5055
5056 [BZ #9685]
5057 * include/unistd.h (__have_pipe2): Change define into an extern int.
5058 (__have_dup3): Likewise.
5059 * socket/have_sock_cloexec.c: Include fcntl.h.
5060 (__have_pipe2): New variable.
5061 (__have_dup3): Likewise.
5062
fdab8fd3
MF
50632012-08-17 Mike Frysinger <vapier@gentoo.org>
5064
5065 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5066
31035e80
MP
50672012-08-17 Marek Polacek <polacek@redhat.com>
5068
5069 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5070 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5071
3bd9e993
RM
50722012-08-17 Roland McGrath <roland@hack.frob.com>
5073
c91c505f
RM
5074 * configure.in: Add AC_SUBST for sysheaders.
5075 * configure: Regenerated.
5076 * config.make.in (sysheaders): New substituted variable.
5077
7c6f9d53
RM
5078 * sysdeps/unix/mkfifo.c: Moved ...
5079 * sysdeps/posix/mkfifo.c: ... here.
5080 * sysdeps/unix/mkfifoat.c: Moved ...
5081 * sysdeps/posix/mkfifoat.c: ... here.
5082
5083 * sysdeps/unix/utime.c: Moved ...
5084 * sysdeps/posix/utime.c: ... here.
5085
5086 * sysdeps/unix/time.c: Moved ...
5087 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5088 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5090
5091 * sysdeps/unix/nice.c: Moved ...
5092 * sysdeps/posix/nice.c: ... here.
5093
5094 * sysdeps/unix/alarm.c: Moved ...
5095 * sysdeps/posix/alarm.c: ... here.
5096
3bd9e993
RM
5097 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5098
d1f09384
JL
50992012-08-17 Jeff Law <law@redhat.com>
5100
5101 * intl/Makefile (codeset_mo): New variable.
5102 ($(codeset_mo)): New target.
5103 (tst-codeset.out): Depend on that. Remove explicit rule.
5104 (tst-gettext3.out, tst-gettext5.out): Likewise.
5105 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5106 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5107 * intl/tst-codeset.sh: Remove.
5108 * intl/tst-gettext3.sh: Likewise.
5109 * intl/tst-gettext5.sh: Likewise.
5110
2ae1ae5c
RM
51112012-08-17 Roland McGrath <roland@hack.frob.com>
5112
c31fdb83
RM
5113 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5114 * sysdeps/unix/syscalls.list: ... here.
5115
a0844057
RM
5116 * sysdeps/posix/getaddrinfo.c
5117 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5118 (gaiconf_init, gaiconf_reload): Use them.
5119 [!_STATBUF_ST_NSEC]
5120 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5121 Define using time_t rather than struct timespec.
5122
750c1f2a
RM
5123 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5124 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5125 Macros removed.
5126 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5127 [!NO_THREADS].
5128 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5129 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5130 Likewise.
5131
2ae1ae5c
RM
5132 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5133 __libc_cleanup_push argument.
5134
e66a42f5
RM
5135 * bits/param.h: New file.
5136 * misc/sys/param.h: New file.
5137 * include/sys/param.h: New file.
5138 * misc/Makefile (headers): Add bits/param.h.
5139 * sysdeps/generic/sys/param.h: File removed.
5140 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5141 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5142 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 5143 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 5144
b7c08a66
RM
5145 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5146 last change.
5147
b2e1c562
RM
5148 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5149 [_IO_MTSAFE_IO].
5150 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5151 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5152 New macros.
5153
c75ccd4c
RM
5154 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5155 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5156 rather than -D_IO_MTSAFE_IO conditionally.
5157 * stdio-common/Makefile (CPPFLAGS): Likewise.
5158 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5159 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5160 Use $(libio-mtsafe).
5161 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5162 of -D_IO_MTSAFE_IO.
5163 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5164 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5165 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5166 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5167 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5168 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5169 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5170 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5171 (CFLAGS-fread_u_chk.c): Likewise.
5172 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5173 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5174 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5175 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5176 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5177 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5178 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5179 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5180 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5181
5182 * libio/Makefile: Test [$(libc-reentrant) = yes]
5183 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5184
5185 * Makeconfig
5186 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5187 * sysdeps/pthread/configure: File removed.
5188 * sysdeps/pthread/Makeconfig: New file.
5189 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5190 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5191
d9195db8
GB
51922012-08-16 Gary Benson <gbenson@redhat.com>
5193
5194 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5195 unmapping the first object in a namespace.
5196
86466cd9
RM
51972012-08-16 Roland McGrath <roland@hack.frob.com>
5198
5199 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5200 (__internal_setnetgrent): ... this. Add internal_function to
5201 definition. Add libc_hidden_def.
5202 (setnetgrent): Update caller.
5203 (internal_endnetgrent): Renamed to ...
5204 (__internal_endnetgrent): ... this. Add internal_function to
5205 definition. Add libc_hidden_def.
5206 (endnetgrent): Update caller.
5207 (internal_getnetgrent_r): Renamed to ...
5208 (__internal_getnetgrent_r): ... this. Add internal_function to
5209 definition. Add libc_hidden_def.
5210 (__getnetgrent_r): Update caller.
5211 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5212
c3c8283c
JM
52132012-08-16 Joseph Myers <joseph@codesourcery.com>
5214
5215 * stdlib/longlong.h: Update from GCC.
5216
db1ee0a8
RM
52172012-08-16 Roland McGrath <roland@hack.frob.com>
5218
5219 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5220 on _QL, which is set by umul_ppmm but never used.
5221 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5222 variables, which are set by GMP macros but never used.
5223 * stdio-common/_itowa.c (_itowa): Likewise.
5224 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5225 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5226
30f69637
CD
52272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5228
5229 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5230 struct La_sh_regs is not constant.
5231 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5232 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5233 and struct La_sparc64_regs are not constant.
5234
93a78ac4
JM
52352012-08-16 Joseph Myers <joseph@codesourcery.com>
5236
5237 * sysdeps/unix/sysv/linux/kernel-features.h
5238 (__ASSUME_POSIX_TIMERS): Remove.
5239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5240 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5241 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5242 Make code unconditional.
5243 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5244 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5245 Make code unconditional.
5246 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5247 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5248 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5249 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5250 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5251 Make code unconditional.
5252 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5253 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5254 (__libc_missing_posix_timers): Remove.
5255
dd924cd7
RM
52562012-08-15 Roland McGrath <roland@hack.frob.com>
5257
4b4f2771
RM
5258 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5259 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5260
601c888b
RM
5261 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5262
176790a7
RM
5263 * elf/dl-sym.c: Include <stdlib.h>.
5264
329bc018
RM
5265 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5266 constants, which avoids warnings in 32-bit builds.
5267
e04e272d
RM
5268 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5269 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5270
952bf94a
RM
5271 * misc/lseek.c: File moved to ...
5272 * io/lseek.c: ... here.
5273
7c99b50a
RM
5274 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5275
dd924cd7
RM
5276 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5277 shifting LEN more than 31 bits at once.
5278
b3f479a8
LD
52792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5280
5281 [BZ #14195]
8c4ae0d4
RM
5282 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5283 segmentation fault for a case of two empty input strings.
b3f479a8
LD
5284 * string/test-strncasecmp.c (check1): Renamed to...
5285 (bz12205): ...this.
5286 (bz14195): Add new testcase for two empty input strings and N > 0.
5287 (test_main): Call new testcase, adapt for renamed function.
5288
9c55864e
AJ
52892012-08-15 Andreas Jaeger <aj@suse.de>
5290
5291 [BZ #14090]
5292 * crypt/md5test2.c: New test, based on test supplied by Serge
5293 Belyshev <belyshev@depni.sinp.msu.ru>.
5294 * crypt/Makefile (xtests): Add md5test-giant..
5295 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5296
02dcb6c5
PE
52972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5298
5299 [BZ #14090]
5300 * crypt/md5.c (md5_process_block): Don't assume the buffer
5301 length is less than 2**32.
5302 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5303 length is less than 2**64.
5304
a3f95dcc
RM
53052012-08-15 Roland McGrath <roland@hack.frob.com>
5306
be75d758
RM
5307 * string/str-two-way.h: Include <sys/param.h>.
5308 (MAX): Macro removed.
5309
7312ca90
RM
5310 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5311 Move #define and #undef of memmove to just before and after
5312 including <string.h>.
5313
9a0a5486
RM
5314 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5315 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5316 and after including <string.h>. Move declarations of
5317 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5318 to before #include "string/memmove.c".
5319
67cc348d
RM
5320 * include/dirent.h: Declare __getdirentries.
5321
a3f95dcc
RM
5322 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5323 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5324
ca98e171
MF
53252012-08-14 Mike Frysinger <vapier@gentoo.org>
5326
5327 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5328 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5329 * sysdeps/i386/configure: Regenerated.
5330 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5331 STABS_CURRENT_FILE, and STABS_FUN.
5332 (END): Remove call to STABS_FUN_END.
5333 (STABS_CURRENT_FILE1): Delete.
5334 (STABS_CURRENT_FILE): Likewise.
5335 (STABS_FUN): Likewise.
5336 (STABS_FUN_END): Likewise.
5337 (STABS_FUN2): Likewise.
5338 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5339 * sysdeps/x86_64/configure: Regenerated.
5340
5908bf46
RM
53412012-08-14 Roland McGrath <roland@hack.frob.com>
5342
5343 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 5344 * elf/dl-lookup.c: Likewise.
5908bf46 5345
f2c05b9e
JM
53462012-08-14 Joseph Myers <joseph@codesourcery.com>
5347
5348 * sysdeps/unix/sysv/linux/kernel-features.h
5349 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5350 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5351 unconditionally.
5352 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5353 unconditionally.
5354 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5355 condition on __ASSUME_CLONE_THREAD_FLAGS.
5356
e11f5155
AJ
53572012-08-14 Andreas Jaeger <aj@suse.de>
5358
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360
51a9ba86
MK
53612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5362
2fdd4f78
AJ
5363 * include/atomic.h (atomic_exchange_and_add): Split into ...
5364 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5365 New atomic macros.
51a9ba86 5366
ba6cba9e
MT
53672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5368
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5370
42443a47
JL
53712012-08-13 Jeff Law <law@redhat.com>
5372
5373 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5374 null byte in the output string.
5375
121dce05
JM
53762012-08-10 Joseph Myers <joseph@codesourcery.com>
5377
5378 * sysdeps/unix/sysv/linux/kernel-features.h
5379 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5380 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5381 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5382 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5383 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5384 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5385 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5386
bf51f568
JL
53872012-08-09 Jeff Law <law@redhat.com>
5388
5389 [BZ #13939]
5390 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5391 When avoid_arena is set, don't retry in the that arena. Pick the
5392 next one, whatever it might be.
5393 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5394 (arena_lock): Pass in new parameter to arena_get2.
5395 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5396 arena_get2.
5397 (__libc_malloc): Unify retrying after main arena failure with
5398 __libc_memalign version.
5399 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5400
f85fa270
L
54012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5402
5403 [BZ #14166]
5404 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5405 to __redirect_strstr.
5406 (__strstr_sse42): Use typeof __redirect_strstr.
5407 (__strstr_ia32): Likewise.
5408 (__libc_strstr): New prototype.
5409 (strstr): Renamed to ...
5410 (__libc_strstr): This.
5411 (strstr): New strong alias of __libc_strstr.
5412 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5413 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5414 __redirect_time.
5415 Include <time.h>.
5416 (__libc_time): New prototype.
5417 (time_ifunc): Replace time with __libc_time.
5418 (time): New strong alias and hidden definition of __libc_time.
5419 (__GI_time): Remove strong alias.
5420 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5421 Include <stddef.h>.
5422 (memmove): Redefined to __redirect_memmove.
5423 (__memmove_sse2): Use typeof __redirect_memmove.
5424 (__memmove_ssse3): Likewise.
5425 (__memmove_ssse3_back): Likewise.
5426 (__libc_memmove): New prototype.
5427 (memmove): Renamed to ...
5428 (__libc_memmove): This.
5429 (memmove): New strong alias of __libc_memmove.
5430
33b4a91e
MS
54312012-08-08 Mark Salter <msalter@redhat.com>
5432
5433 * elf/elf.h
5434 (R_MN10300_TLS_GD): Define.
5435 (R_MN10300_TLS_LD): Likewise.
5436 (R_MN10300_TLS_LDO): Likewise.
5437 (R_MN10300_TLS_GOTIE): Likewise.
5438 (R_MN10300_TLS_IE): Likewise.
5439 (R_MN10300_TLS_LE): Likewise.
5440 (R_MN10300_TLS_DTPMOD): Likewise.
5441 (R_MN10300_TLS_DTPOFF): Likewise.
5442 (R_MN10300_TLS_TPOFF): Likewise.
5443 (R_MN10300_SYM_DIFF): Likewise.
5444 (R_MN10300_ALIGN): Likewise.
5445 (R_MN10300_NUM): Update.
5446
b36137f1
JM
54472012-08-08 Joseph Myers <joseph@codesourcery.com>
5448
5449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5450 Remove.
5451
cdd915fd
RM
54522012-08-08 Roland McGrath <roland@hack.frob.com>
5453
a2433aac
RM
5454 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5455
cdd915fd
RM
5456 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5457 sysdeps/unix -> sysdeps/posix move.
5458 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5459
bf9b740a
AM
54602012-08-07 Allan McRae <allan@archlinux.org>
5461
5462 [BZ #14303]
5463 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5464 (SUNOS_CPP): Likewise.
5465 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5466 not found.
5467 (open_input): Call CPP using execvp.
5468
93df14ee
JM
54692012-08-07 Joseph Myers <joseph@codesourcery.com>
5470
5471 * sysdeps/unix/sysv/linux/kernel-features.h
5472 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5473 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5474 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5475 (__ASSUME_WAITID_SYSCALL): Likewise.
5476 * sysdeps/unix/sysv/linux/dl-execstack.c
5477 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5478 code unconditional.
5479 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5480 conditional code.
5481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5482 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5483 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5484 code.
5485 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5486 unconditional.
5487 [__ASSUME_WAITID_SYSCALL]: Likewise.
5488 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5489
d34689de
RM
54902012-08-07 Roland McGrath <roland@hack.frob.com>
5491
a281decc
RM
5492 * sysdeps/unix/closedir.c: Renamed to ...
5493 * sysdeps/posix/closedir.c: ... here.
5494 * sysdeps/unix/dirfd.c: Renamed to ...
5495 * sysdeps/posix/dirfd.c: ... here.
5496 * sysdeps/unix/dirstream.h: Renamed to ...
5497 * sysdeps/posix/dirstream.h: ... here.
5498 * sysdeps/unix/fdopendir.c: Renamed to ...
5499 * sysdeps/posix/fdopendir.c: ... here.
5500 * sysdeps/unix/opendir.c: Renamed to ...
5501 * sysdeps/posix/opendir.c: ... here.
5502 * sysdeps/unix/readdir.c: Renamed to ...
5503 * sysdeps/posix/readdir.c: ... here.
5504 * sysdeps/unix/readdir_r.c: Renamed to ...
5505 * sysdeps/posix/readdir_r.c: ... here.
5506 * sysdeps/unix/rewinddir.c: Renamed to ...
5507 * sysdeps/posix/rewinddir.c: ... here.
5508 * sysdeps/unix/seekdir.c: Renamed to ...
5509 * sysdeps/posix/seekdir.c: ... here.
5510 * sysdeps/unix/telldir.c: Renamed to ...
5511 * sysdeps/posix/telldir.c: ... here.
5512 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5513 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5514 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5515 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5516
22895b47
RM
5517 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5518 * bits/fcntl.h: ... here.
5519
707a53b6
RM
5520 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5521 not 0.
5522 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5523 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5524 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5525 (struct flock): Move l_start, l_len to the beginning.
5526 Use __pid_t for l_pid.
5527 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5528 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5529 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5530 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5531 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5532 [__USE_LARGEFILE64] (struct flock64): New type.
5533 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5534
f0bd3e25
RM
5535 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5536 * bits/dirent.h: ... here.
5537
d34689de
RM
5538 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5539 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5540
6dad2c06
JM
55412012-08-07 Joseph Myers <joseph@codesourcery.com>
5542
5543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5544 Change from 2.6.0 to 2.6.16.
5545 * sysdeps/unix/sysv/linux/configure: Regenerated.
5546 * sysdeps/unix/sysv/linux/kernel-features.h
5547 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5548 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5549 version.
5550 (__ASSUME_UTIMES): Likewise.
5551 (__ASSUME_CLONE_STOPPED): Remove.
5552 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5553 architectures, not kernel version.
5554 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5555 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5556 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5557 (__ASSUME_WAITID_SYSCALL): Likewise.
5558 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5559 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5560 * README: State 2.6.16 as minimum Linux kernel version. Do not
5561 refer to older versions.
5562
03af9520
RM
55632012-08-06 Roland McGrath <roland@hack.frob.com>
5564
8e49df1d
RM
5565 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5566 Define alphasort64 as an alias.
5567 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5568 Define versionsort64 as an alias.
5569 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5570 Define scandir64 as an alias.
5571 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5572 Define scandirat64 as an alias.
5573 * dirent/alphasort64.c (alphasort64):
5574 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5575 * dirent/versionsort64.c: Likewise.
5576 * dirent/scandir64.c: Likewise.
5577 * dirent/scandirat64.c: Likewise.
5578 * sysdeps/wordsize-64/alphasort.c: File removed.
5579 * sysdeps/wordsize-64/alphasort64.c: File removed.
5580 * sysdeps/wordsize-64/scandir.c: File removed.
5581 * sysdeps/wordsize-64/scandir64.c: File removed.
5582 * sysdeps/wordsize-64/scandirat.c: File removed.
5583 * sysdeps/wordsize-64/scandirat64.c: File removed.
5584 * sysdeps/wordsize-64/versionsort.c: File removed.
5585 * sysdeps/wordsize-64/versionsort64.c: File removed.
5586 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5592 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5594
5595 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5597 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5599 [defined __arch64__ || defined __sparcv9]
5600 (__INO_T_MATCHES_INO64_T): New macro.
5601 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5602 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5603 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5604 * sysdeps/unix/sysv/linux/bits/dirent.h
5605 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5606 (_DIRENT_MATCHES_DIRENT64): New macro.
5607
03af9520
RM
5608 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5609 Define lockf64 as an alias.
5610 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5611 Define fseeko64 as an alias.
5612 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5613 Define ftello64 as an alias.
5614 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5615 Define _IO_fgetpos64 and fgetpos64 as aliases.
5616 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5617 Define _IO_fsetpos64 and fsetpos64 as aliases.
5618 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5619 Conditionalize body on this.
5620 * libio/fseeko64.c: Likewise.
5621 * libio/ftello64.c: Likewise.
5622 * libio/iofgetpos64.c: Likewise.
5623 * libio/iofsetpos64.c: Likewise.
5624 * sysdeps/wordsize-64/lockf.c: File removed.
5625 * sysdeps/wordsize-64/lockf64.c: File removed.
5626 * sysdeps/wordsize-64/fseeko.c: File removed.
5627 * sysdeps/wordsize-64/fseeko64.c: File removed.
5628 * sysdeps/wordsize-64/ftello.c: File removed.
5629 * sysdeps/wordsize-64/ftello64.c: File removed.
5630 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5631 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5632 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5633 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5634 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5635 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5636 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5637 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5638 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5639 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5640 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5641 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5642 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5643 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5644
5645 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5647 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5649 [defined __arch64__ || defined __sparcv9]
5650 (__OFF_T_MATCHES_OFF64_T): New macro.
5651 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5652 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5654 (__OFF_T_MATCHES_OFF64_T): New macro.
5655
c5757acd
L
56562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5657
5658 * stdlib/secure-getenv.c (__secure_getenv): Replace
5659 GLIBC_2_16 with GLIBC_2_17.
5660
3a31811e
L
56612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5662
5663 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5664 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5665
faa2bccb
DM
56662012-08-03 David S. Miller <davem@davemloft.net>
5667
5668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5669
85fe1997
JM
56702012-08-03 Joseph Myers <joseph@codesourcery.com>
5671
5672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5673 Remove.
5674 (__ASSUME_CORRECT_SI_PID): Likewise.
5675 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5676 (__ASSUME_TMPFS_NAME): Likewise.
5677 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5678 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5679 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5680 (HAVE_AUX_SECURE): Make definition unconditional.
5681 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5682 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5683
4f75b7a0
RM
56842012-08-03 Roland McGrath <roland@hack.frob.com>
5685
5686 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5687 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5688 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5689 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5690 __eloop_threshold instead of SYMLOOP_MAX.
5691
5692 * sysdeps/generic/eloop-threshold.h: New file.
5693 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5694 of MAXSYMLINKS.
5695 * elf/chroot_canon.c (chroot_canon): Likewise.
5696
7aab07e4
JM
56972012-08-03 Joseph Myers <joseph@codesourcery.com>
5698
5699 [BZ #13717]
5700 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5701 Change to 2.6.0 everywhere.
5702 * sysdeps/unix/sysv/linux/configure: Regenerated.
5703 * sysdeps/unix/sysv/linux/kernel-features.h
5704 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5705 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5706 kernel versions.
5707 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5708 (__ASSUME_FUTEX_REQUEUE): Remove.
5709 (__ASSUME_STATFS64): Define unconditionally.
5710 (__ASSUME_AT_SECURE): Likewise.
5711 (__ASSUME_CORRECT_SI_PID): Likewise.
5712 (__ASSUME_TGKILL): Define without depending on kernel version for
5713 i386.
5714 (__ASSUME_UTIMES): Likewise.
5715 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5716 kernel version.
5717 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5718 (__ASSUME_TMPFS_NAME): Likewise.
5719 * README: Update reference to Linux kernel versions.
5720
b67e9372
MP
57212012-08-02 Marek Polacek <polacek@redhat.com>
5722
1f529f7d 5723 [BZ# 14150]
b67e9372
MP
5724 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5725 libc_cv_asm_type_prefix with %.
5726 * configure: Regenerated.
d2441631
RM
5727 * include/libc-symbols.h: Remove comment about
5728 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5729 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5730 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5731 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5732 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5733 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5734 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5735 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5736 * elf/tst-unique2mod1.c: Likewise.
5737 * elf/tst-unique1mod2.c: Likewise.
5738 * elf/tst-unique1mod1.c: Likewise.
5739 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5740 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5741 Replace ASM_TYPE_DIRECTIVE with .type.
5742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5743 * sysdeps/i386/sysdep.h: Likewise.
5744 * sysdeps/x86_64/sysdep.h: Likewise.
5745 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5747 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5748 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5749 * sysdeps/powerpc/powerpc32/sysdep.h:
5750 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5751 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5752 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5753 * sysdeps/i386/fpu/e_powf.S: Likewise.
5754 * sysdeps/i386/fpu/e_expl.S: Likewise.
5755 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5756 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5757 * sysdeps/i386/fpu/e_pow.S: Likewise.
5758 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5759 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5760 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5761 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5762 * sysdeps/i386/fpu/e_log2.S: Likewise.
5763 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5764 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5765 * sysdeps/i386/fpu/e_powl.S: Likewise.
5766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5767 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5768 * sysdeps/i386/fpu/e_logl.S: Likewise.
5769 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5770 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5771 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5772 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5773 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5774 * sysdeps/i386/fpu/e_log.S: Likewise.
5775 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5776 * sysdeps/i386/fpu/e_logf.S: Likewise.
5777 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5778 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5779 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5780 * sysdeps/i386/fpu/e_log10.S: Likewise.
5781 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5782 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5783 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5784 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5785 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5786 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5787 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5788 * sysdeps/i386/i686/strtok.S: Likewise.
5789 * sysdeps/i386/i386-mcount.S: Likewise.
5790 * sysdeps/i386/strtok.S: Likewise.
5791 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5792 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5794 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5795 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5796 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5797 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5798 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5799 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5800 * sysdeps/x86_64/_mcount.S: Likewise.
5801 * sysdeps/x86_64/strtok.S: Likewise.
5802 * sysdeps/sh/_mcount.S: Likewise.
5803
2747bf9a
RM
58042012-08-01 Roland McGrath <roland@hack.frob.com>
5805
5806 * libio/iofopen.c: Include <fcntl.h>.
5807 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5808 (_IO_fopen64, fopen64): Define as aliases.
5809 * libio/iofopen64.c: Include <fcntl.h>.
5810 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5811 Conditionalize body on this.
5812 * sysdeps/wordsize-64/iofopen.c: File removed.
5813 * sysdeps/wordsize-64/iofopen64.c: File removed.
5814
3fb791b8
MP
58152012-08-01 Marek Polacek <polacek@redhat.com>
5816
5817 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5818 Use dlfcn directly instead of a variable.
5819 (binfmt-subdir): Do not define.
5820 (dlfcn): Likewise.
5821
a9f1039f
JM
58222012-08-01 Joseph Myers <joseph@codesourcery.com>
5823
23bddc06
JM
5824 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5825 Remove all definitions.
5826 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5827 <kernel-features.h>.
5828 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5829 (miss_F_GETOWN_EX): Remove all definitions.
5830 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5831 macro definition.
5832 [!__ASSUME_FCNTL64]: Remove conditional code.
5833 [__ASSUME_FCNTL64]: Make code unconditional.
5834 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5835 <kernel-features.h>.
5836 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5837 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5838 (lockf64) [__NR_fcntl64]: Make code unconditional.
5839 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5840
a9f1039f
JM
5841 * sysdeps/unix/sysv/linux/kernel-features.h
5842 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5843 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5844 Make code unconditional.
5845 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5846 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5848 [__NR_vfork]: Make code unconditional.
5849 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5850 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5852 [__NR_vfork]: Make code unconditional.
5853 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5854 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5855
09c0ee5f
RM
58562012-08-01 Roland McGrath <roland@hack.frob.com>
5857
48aec5b9
RM
5858 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5859 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5860
cd97c966
RM
5861 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5862 Define mkstemp64 as an alias.
3f55550c
RM
5863 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5864 Define mkstemps64 as an alias.
cd97c966
RM
5865 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5866 Define mkostemp64 as an alias.
b8625cfc
RM
5867 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5868 Define mkostemps64 as an alias.
cd97c966
RM
5869 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5870 Conditionalize body on this.
5871 * misc/mkostemp64.c: Likewise.
b8625cfc 5872 * misc/mkostemps64.c: Likewise.
3f55550c 5873 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5874 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5875 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5876 * sysdeps/wordsize-64/mkostemp.c: File removed.
5877 * sysdeps/wordsize-64/mkstemp.c: File removed.
5878 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5879 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5880 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5881 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5882
09c0ee5f
RM
5883 [BZ #14138]
5884 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5885 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5886 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5887 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5888
5889 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5890 compat_symbol macros from <shlib-compat.h> rather than the underlying
5891 default_symbol_version and symbol_version macros, so that DEFAULT
5892 lines in shlib-versions are respected.
5893 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5894
7e66ee51
FW
58952012-08-01 Florian Weimer <fweimer@redhat.com>
5896
5897 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5898 Declare with warn_unused_result.
5899 (setgid, setregid, setegid, setresgid): Likewise.
5900 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5901 Likewise.
5902 * WUR-REPORT: Remove set*id functions.
5903
d2a54255
PT
59042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5905
5906 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5907
7ecdb005
RM
59082012-07-31 Roland McGrath <roland@hack.frob.com>
5909
789bd351
RM
5910 * include/sys/socket.h (__libc_accept, __libc_accept4):
5911 Add attribute_hidden.
5912 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5913
40ce302d
RM
5914 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5915 use of PTR_MANGLE.
5916 * inet/getnetgrent_r.c (setup): Likewise.
5917
7ecdb005
RM
5918 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5919
e2eabb2c
DM
59202012-07-31 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923
d0419dbf
JM
59242012-07-31 Joseph Myers <joseph@codesourcery.com>
5925
5926 [BZ #13629]
5927 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5928 value between 1.0 and 2.0 and smaller part has absolute value less
5929 than 1.0.
5930 * math/s_clog10.c (__clog10): Likewise.
5931 * math/s_clog10f.c (__clog10f): Likewise.
5932 * math/s_clog10l.c (__clog10l): Likewise.
5933 * math/s_clogf.c (__clogf): Likewise.
5934 * math/s_clogl.c (__clogl): Likewise.
5935 * math/libm-test.inc (clog_test): Add more tests.
5936 (clog10_test): Likewise.
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939
2bc13872
FW
59402012-07-31 Florian Weimer <fweimer@redhat.com>
5941
5942 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5943 Exit with zero in case no suitable GID is found, and write a
5944 message to standard error.
5945
bea9b193
RM
59462012-07-30 Roland McGrath <roland@hack.frob.com>
5947
5948 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5949 rather than to 1.
5950 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5951 (MAXPATHLEN): Removed.
5952 (NOGROUP, NODEV): New macros.
5953 (setbit, clrbit, isset, isclr): New macros.
5954 (howmany, roundup, powerof2): New macros.
5955 (DEV_BSIZE): New macro.
5956
5957 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5958 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5959
5960 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5961 definition on [!__NO_LONG_DOUBLE_MATH].
5962
5963 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5964 PTR_MANGLE and PTR_DEMANGLE.
5965
5966 * socket/accept4.c (accept4): Rename to __libc_accept4.
5967 Define accept4 as a weak alias.
5968
5969 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5970 on [_DIRENT_HAVE_D_TYPE].
5971 * io/ftw.c (ftw_dir): Likewise.
5972
5973 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5974
5975 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5976
5977 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5978 Use the BSD numbers rather than the arbitrary ones we had.
5979 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5980 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5981 (SIGXCPU, SIGXFSZ): New macros.
5982 (_NSIG): Now 32.
5983
5984 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5985 initializer on [_LIBC_REENTRANT].
5986
5987 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5988 definitions inside [_POSIX_MAPPED_FILES].
5989
5990 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5991
5992 * dirent/opendir.c: Include <fcntl.h>.
5993
5994 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5995 (__libc_getspecific): Likewise.
5996 (__libc_key_create): Likewise.
5997
5998 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5999 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6000 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6001 (tmpfile64): Define as alias.
6002 * sysdeps/wordsize-64/tmpfile.c: File removed.
6003 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6004 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6005 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6006
6007 * stdio-common/vfscanf.c: Include <stdbool.h>.
6008 * nss/makedb.c: Likewise.
6009 * stdio-common/_i18n_number.h: Likewise.
6010 * argp/argp-help.c: Likewise.
6011 * posix/wordexp.c: Likewise.
6012 * sysdeps/posix/spawni.c: Likewise.
6013 * nss/nss_files/files-initgroups.c: Likewise.
6014 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6015 * nss/nss_files/files-initgroups.c: Likewise.
6016 * nss/nss_db/db-netgrp.c: Likewise.
6017 * nss/nss_db/db-initgroups.c: Likewise.
6018 * io/fchmodat.c: Include <sys/stat.h>.
6019
6020 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6021 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6022
6023 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6024 [HAVE_MMAP].
6025
6026 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6027 Add multiple inclusion protection.
6028
e5abc686
DM
60292012-07-27 David S. Miller <davem@davemloft.net>
6030
6031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6032
815e6fa3
GB
60332012-07-27 Gary Benson <gbenson@redhat.com>
6034
6035 [BZ #14298]
6036 * elf/rtld.c: Include <stap-probe.h>.
6037 (dl_main): Added static probes "init_start" and "init_complete".
6038 * elf/dl-load.c: Include <stap-probe.h>.
6039 (lose): Take new parameter "nsid".
6040 Added static probe "map_failed".
6041 (_dl_map_object_from_fd): Pass namespace id to lose.
6042 Added static probe "map_start".
6043 (open_verify): Pass namespace id to lose.
6044 * elf/dl-open.c: Include <stap-probe.h>.
6045 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6046 and "reloc_complete".
6047 * elf/dl-close.c: Include <stap-probe.h>.
6048 (_dl_close_worker): Added static probes "unmap_start" and
6049 "unmap_complete".
6050 * elf/rtld-debugger-interface.txt: New file documenting the above.
6051
9f98c16c
RM
60522012-07-26 Roland McGrath <roland@hack.frob.com>
6053
6054 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6055 rather than a string variable.
6056 * sunrpc/rpc_main.c (h_output): Likewise.
6057 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6058
f3c22df3
PT
60592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6060
6061 * inet/check_native.c: New file.
6062
3129cfc6
JM
60632012-07-26 Joseph Myers <joseph@codesourcery.com>
6064
da865e95
JM
6065 [BZ #13629]
6066 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6067 if larger part has absolute value 1.0.
6068 * math/s_clog10.c (__clog10): Likewise.
6069 * math/s_clog10f.c (__clog10f): Likewise.
6070 * math/s_clog10l.c (__clog10l): Likewise.
6071 * math/s_clogf.c (__clogf): Likewise.
6072 * math/s_clogl.c (__clogl): Likewise.
6073 * math/libm-test.inc (clog_test): Add more tests.
6074 (clog10_test): Likewise.
6075 * sysdeps/i386/fpu/libm-test-ulps: Update.
6076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6077
3129cfc6
JM
6078 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6079 (pltexit): Likewise.
6080 (La_regs): Likewise.
6081 (La_retval): Likewise.
6082 (int_retval): Likewise.
6083 Update #error for removed macros to refer only to definitions in
6084 tst-audit.h.
6085 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6086 macro.
6087 (pltexit): Likewise.
6088 (La_regs): Likewise.
6089 (La_retval): Likewise.
6090 (int_retval): Likewise.
6091 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6092 macro.
6093 (pltexit): Likewise.
6094 (La_regs): Likewise.
6095 (La_retval): Likewise.
6096 (int_retval): Likewise.
6097 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6098 macro.
6099 (pltexit): Likewise.
6100 (La_regs): Likewise.
6101 (La_retval): Likewise.
6102 (int_retval): Likewise.
6103 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6104 macro.
6105 (pltexit): Likewise.
6106 (La_regs): Likewise.
6107 (La_retval): Likewise.
6108 (int_retval): Likewise.
6109 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6110 macro.
6111 (pltexit): Likewise.
6112 (La_regs): Likewise.
6113 (La_retval): Likewise.
6114 (int_retval): Likewise.
6115 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6116 macro.
6117 (pltexit): Likewise.
6118 (La_regs): Likewise.
6119 (La_retval): Likewise.
6120 (int_retval): Likewise.
6121 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6122 macro definitions in tst-audit.h.
6123 * sysdeps/i386/tst-audit.h: New file.
6124 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6125 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6126 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6127 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6128 * sysdeps/sh/tst-audit.h: Likewise.
6129 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6130 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6131 * sysdeps/x86_64/tst-audit.h: Likewise.
6132
bfc07087
AJ
61332012-07-26 Andreas Jaeger <aj@suse.de>
6134
b1b2aaf8
AJ
6135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6136 ptrace.
6137
6138 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6139 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6140 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6141 PTRACE_O_MASK.
6142 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6143 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6144 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6145
bfc07087
AJ
6146 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6147 value.
6148
6149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6150 _sigsys.
6151 (si_call_addr, si_syscall, si_arch): Define new macro.
6152 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6153 _sigsys.
6154 (si_call_addr, si_syscall, si_arch): Define new marcro.
6155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6156 _sigsys.
6157 (si_call_addr, si_syscall, si_arch): Define new macro.
6158 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6159 _sigsys.
6160 (si_call_addr, si_syscall, si_arch): Define new macro.
6161
89b4b02f
JM
61622012-07-25 Joseph Myers <joseph@codesourcery.com>
6163
6164 [BZ #13717]
6165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6166 Change to 2.4.21 where previously 2.4.1.
6167 * sysdeps/unix/sysv/linux/configure: Regenerated.
6168 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6169 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6170 Linux kernel version.
6171 (__ASSUME_STD_AUXV): Remove.
6172 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6173 kernel version.
6174 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6175 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6176 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6177 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6178 (__ASSUME_NETLINK_SUPPORT): Likewise.
6179 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6180 (__no_netlink_support): Remove conditional definition.
6181 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6182 Remove.
6183 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6184 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6185 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6186 (if_nameindex_ioctl): Remove.
6187 (if_nameindex_netlink): Do not handle __no_netlink_support.
6188 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6189 code.
6190 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6191 Remove conditional code.
6192 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6193 code.
6194 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6195 unconditional.
6196 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6197 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6198 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6199 Remove.
6200 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6201 [!__ASSUME_STD_AUXV]: Remove conditional code.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6203 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6204 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6206 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6207 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6208 code.
6209 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6211 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6212 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6213 conditional code.
6214 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6216 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6217 code.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6219 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6220 conditional code.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6222 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6223 code unconditional.
6224 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6225 conditional code.
6226 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6227 unconditional.
6228 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6229 conditional code.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6231 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6232 unconditional.
6233 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6234 conditional code.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6236 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6237 code unconditional.
6238 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6239 conditional code.
6240 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6241 unconditional.
6242 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6243 conditional code.
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6245 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6246 code unconditional.
6247 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6248 conditional code.
6249 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6250 unconditional.
6251 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6252 conditional code.
6253
842a39cd
AS
62542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6255
6256 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6257 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6258 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6259 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6260 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6261 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6262 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6263 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6264 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6265 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6266 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6267 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6268 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6269 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6270 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6271 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6272 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6273 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6274 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6276 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6277 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6278 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6279
84b3fd84
FW
62802012-07-25 Florian Weimer <fweimer@redhat.com>
6281
6282 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
6283 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6284 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6285 Introduce __libc_secure_getenv.
0c7936d5
FW
6286 * stdlib/Versions (2.17): Add secure_getenv
6287 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6288 * stdlib/secure-getenv.c: Rename __secure_getenv to
6289 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6290 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
6291 * stdlib/tst-secure-getenv.c: New.
6292 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
6293 * manual/startup.texi (Environment Access): Document
6294 secure_getenv.
84b3fd84
FW
6295 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6296 __libc_secure_getenv.
6297 * inet/ruserpass.c (ruserpass): Likewise.
6298 * malloc/mtrace.c (mtrace): Likewise.
6299 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 6300 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
6301 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6302 * sysdeps/posix/tempname.c: Likewise. Evaluate
6303 HAVE_SECURE_GETENV.
6304 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 6305 __secure_getenv to __libc_secure_getenv.
84b3fd84 6306 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6308 Likewise.
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6310 Likewise.
6311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 6318
56e49b71
JM
63192012-07-25 Joseph Myers <joseph@codesourcery.com>
6320
6321 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6322 (struct La_i86_retval): Likewise.
6323 (struct La_x86_64_regs): Likewise.
6324 (struct La_x86_64_retval): Likewise.
6325 (struct La_x32_regs): Likewise.
6326 (struct La_x32_retval): Likewise.
6327 (struct La_ppc32_regs): Likewise.
6328 (struct La_ppc32_retval): Likewise.
6329 (struct La_ppc64_regs): Likewise.
6330 (struct La_ppc64_retval): Likewise.
6331 (struct La_sh_regs): Likewise.
6332 (struct La_sh_retval): Likewise.
6333 (struct La_s390_32_regs): Likewise.
6334 (struct La_s390_32_retval): Likewise.
6335 (struct La_s390_64_regs): Likewise.
6336 (struct La_s390_64_retval): Likewise.
6337 (struct La_sparc32_regs): Likewise.
6338 (struct La_sparc32_retval): Likewise.
6339 (struct La_sparc64_regs): Likewise.
6340 (struct La_sparc64_retval): Likewise.
6341 (struct audit_ifaces): Remove architecture-specific pltenter and
6342 pltexit members.
6343 * sysdeps/i386/ldsodefs.h: New file.
6344 * sysdeps/powerpc/ldsodefs.h: Likewise.
6345 * sysdeps/s390/ldsodefs.h: Likewise.
6346 * sysdeps/sh/ldsodefs.h: Likewise.
6347 * sysdeps/sparc/ldsodefs.h: Likewise.
6348 * sysdeps/x86_64/ldsodefs.h: Likewise.
6349
354691b7
MP
63502012-07-25 Marek Polacek <polacek@redhat.com>
6351
6352 [BZ #6808]
6353 * math/libm-test.inc (yn_test): Add another test.
6354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6355 to ERANGE when the result is +-Inf.
6356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6357 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6358 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6359 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6360
bf9e2071
JM
63612012-07-24 Joseph Myers <joseph@codesourcery.com>
6362
6363 * conform/data/time.h-data (NULL): Use macro-constant. Require
6364 equal to 0.
6365 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6366 clock_t.
6367 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6368
57633811
TS
63692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6370
6371 * configure.in <sysdeps resolving>: Correct printing
6372 Implies_before.
6373 * configure: Regenerate.
6374
c23c33b0
TS
63752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6376
6377 * math/w_ilogb.c: Include <limits.h>.
6378 * math/w_ilogbl.c: Likewise.
6379
b5982523
JM
63802012-07-20 Joseph Myers <joseph@codesourcery.com>
6381
6382 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6383 va_copy. Document allowing for unavailable va_copy only as
6384 pre-C99 compatibility.
6385 * manual/string.texi (Copying and Concatenation): Use va_copy
6386 instead of __va_copy in concat example.
6387
ac4ea442
PT
63882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6389
6390 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6391 (__sendto): Use create_address_port. Initialize APORT and deallocate
6392 it if not null.
6393
f98eafbd
PT
6394 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6395 with O_NOLINK passed to __file_name_lookup.
6396
898c7aab
PT
6397 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6398 with O_NOLINK passed to __file_name_lookup.
6399
0ced335a
PT
6400 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6401 negative N or less than NGIDS.
6402
b3404dbd
PT
6403 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6404 type to string_t. Set ERANGE as errno and return it if NAME is not big
6405 enough. Use memcpy instead of strncpy.
6406
0f48659e
JM
64072012-07-20 Joseph Myers <joseph@codesourcery.com>
6408
6409 * elf/Makefile (check-data): Remove.
6410 (localplt.data): New vpath directive.
6411 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6412 instead of $(check-data).
6413 * scripts/data/localplt-generic.data: Move to ...
6414 * sysdeps/generic/localplt.data: ... here.
6415 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6416 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6417 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6419 ... here.
6420 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6422 ... here.
6423 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6425 ... here.
6426 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6428 ... here.
6429 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6431 ... here.
6432 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6434 ... here.
6435
d37cbdaa
AZ
64362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437
6438 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6439 PPC32 and PPC64 files.
6440 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6441 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6442
46f85fc2
AK
64432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6444
6445 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6446 __makecontext_ret to ...
6447 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6448 ... here and call exit if uc_link is NULL. New file.
6449 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6450 __makecontext_ret.S.
6451 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6452 __makecontext_ret to ...
6453 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6454 ... here and call exit if uc_link is NULL. New file.
6455 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6456 __makecontext_ret.S.
6457
08f43f9b
AK
64582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6459
6460 * elf/elf.h (R_390_IRELATIVE): New definition.
6461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6462 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6463 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6464 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6465 (elf_machine_lazy_rel): Likewise.
6466 * sysdeps/s390/dl-irel.h: New file.
6467 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6468 * sysdeps/s390/s390-64/memset.S: New asm code.
6469 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6470 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6471 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6472 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6473 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6474 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6475 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6476 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6477 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6478 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6479 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6480 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6481 * sysdeps/s390/s390-32/memset.S: New asm code.
6482 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6483
3b05db33
MP
64842012-07-17 Marek Polacek <polacek@redhat.com>
6485
6486 [BZ #14349]
6487 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6488 * sysdeps/s390/s390-64/configure.in: Likewise.
6489 * sysdeps/sparc/configure.in: Likewise.
6490 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6491 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6492 * sysdeps/i386/configure.in: Likewise.
6493 * sysdeps/x86_64/configure.in: Likewise.
6494 * sysdeps/sh/configure.in: Likewise.
6495 * sysdeps/s390/s390-32/configure: Regenerated.
6496 * sysdeps/s390/s390-64/configure: Likewise.
6497 * sysdeps/x86_64/configure: Likewise.
6498 * sysdeps/sh/configure: Likewise.
6499 * sysdeps/powerpc/powerpc64/configure: Likewise.
6500 * sysdeps/powerpc/powerpc32/configure: Likewise.
6501 * sysdeps/sparc/configure: Likwise.
6502 * sysdeps/i386/configure: Likewise.
6503
a66877c6
MP
6504 * elf/dl-open.c: Comment fixes.
6505
cfc82fd8
JM
65062012-07-17 Joseph Myers <joseph@codesourcery.com>
6507
bd29910a
JM
6508 * Makefile [CXX] (check-data): Remove.
6509 [CXX] (c++-types.data): New vpath directive.
6510 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6511 vpath. Do not allow for C++ type data being missing.
6512 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6513 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6514 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6515 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6516 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6517 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6518 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6520 ... here.
6521 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6523 ... here.
6524 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6526 ... here.
6527 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6529 ... here.
6530 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6532 ... here.
6533 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6535 ... here.
6536 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6538 ... here.
6539 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6541
cfc82fd8
JM
6542 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6543 definitions to architecture-specific files.
6544 (TLS_IE): Likewise.
6545 (TLS_LD): Likewise.
6546 (TLS_GD): Likewise.
6547 * sysdeps/i386/tls-macros.h: New file.
6548 * sysdeps/powerpc/tls-macros.h: Likewise.
6549 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6550 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6551 * sysdeps/sh/tls-macros.h: Likewise.
6552 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6553 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6554 * sysdeps/x86_64/tls-macros.h: Likewise.
6555
f7db3170
TS
65562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6557
07cbfc23
TS
6558 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6559 zero value for regular exit case.
6560
f7db3170
TS
6561 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6562 (__start_context): Preserve zero value for regular exit case.
6563
dc97c227
TS
65642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6565 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6566
6567 * manual/setjmp.texi (setcontext): Clarify normal process
6568 termination when uc_link is the null pointer.
6569 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6570 exit call.
6571
d0cd7d02
AS
65722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6573
6574 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6575 preprocessor. Test for each exception mask separately.
6576
dd318934
AJ
65772012-07-16 Andreas Jaeger <aj@suse.de>
6578
6579 * po/ru.po: Update from translation team.
6580
8048311a
JM
65812012-07-15 Joseph Myers <joseph@codesourcery.com>
6582
6583 * conform/data/string.h-data (NULL): Use macro-constant. Require
6584 equal to 0.
6585 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6586 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6587 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6588 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6589 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6590
b637d46e
AJ
65912012-07-13 Andreas Jaeger <aj@suse.de>
6592
6593 * po/fr.po: Update from translation team.
6594
541428fe
MP
65952012-07-12 Marek Polacek <polacek@redhat.com>
6596
6597 [BZ #14173]
6598 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6599 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6600 loop condition.
6601
ec332e94
JM
66022012-07-12 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #13717]
6605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6606 Change to 2.4.1 where previously 2.4.0.
6607 * sysdeps/unix/sysv/linux/configure: Regenerated.
6608 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6609 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6610 version.
6611 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6612 (__ASSUME_AT_CLKTCK): Remove.
6613 (__ASSUME_AT_PAGESIZE): Likewise.
6614 (__ASSUME_AT_XID): Likewise.
6615 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6616 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6617 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6618 unconditionally.
6619 (HAVE_AUX_PAGESIZE): Likewise.
6620 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6621 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6622 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6623
7b6e99be
JB
66242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6625
6626 [BZ #14307]
6627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6628 the temporary buffer used to invoke __gethostbyname2_r,
6629 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6630 host_data / struct gaih_addrtuple.
6631 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6632 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6633 header file nss/nsswitch.h.
6634 * nss/nsswitch.h (global scope): Add definition of implementation
6635 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6636 resolv/nss_dns/dns-host.c).
6637
608404eb
AJ
66382012-07-11 Andreas Jaeger <aj@suse.de>
6639
6640 * po/fr.po: Update from translation team.
6641
71220aca
AJ
6642 * po/sv.po: Update from translation team
6643 * po/fr.po: Another update from translation team.
6644
28cfe843
AZ
66452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6648 for subnormals or multiply small sinh result by itself.
6649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6651
6b90f981
DM
66522012-07-11 David S. Miller <davem@davemloft.net>
6653
6654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6655
c6825772
AS
66562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6657
6658 [BZ #14347]
6659 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6660 (INTERNAL_MARK): Shift it here.
6661
7b8e0d49
MP
66622012-07-10 Marek Polacek <polacek@redhat.com>
6663
6664 [BZ #14151]
6665 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6666 libc_cv_asm_global_directive with .globl.
6667 * configure: Regenerated.
6668 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6669 with .globl.
6670 * sysdeps/i386/configure: Regenerated.
6671 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6672 with .globl.
6673 * sysdeps/x86_64/configure: Regenerated.
6674 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6675 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6676 * elf/tst-unique2mod2.c: Likewise.
6677 * elf/tst-unique2mod1.c: Likewise.
6678 * elf/tst-unique1mod2.c: Likewise.
6679 * elf/tst-unique1mod1.c: Likewise.
6680 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6683 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6684 * sysdeps/mach/sysdep.h: Likewise.
6685 * sysdeps/i386/sysdep.h: Likewise.
6686 * sysdeps/i386/i386-mcount.S: Likewise.
6687 * sysdeps/x86_64/_mcount.S: Likewise.
6688 * sysdeps/x86_64/sysdep.h: Likewise.
6689 * sysdeps/sh/_mcount.S: Likewise.
6690 * sysdeps/sh/sysdep.h: Likewise.
6691 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6692 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6693 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6695 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6696 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6697 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6698 * locale/localeinfo.h: Likewise.
6699 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6700 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6701
6c55cda3
RM
67022012-07-09 Roland McGrath <roland@hack.frob.com>
6703
6704 [BZ #14336]
6705 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6706 system".
6707 * manual/message.texi (The Uniforum approach): Likewise.
6708 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6709 (glibc iconv Implementation): Likewise.
6710
638a572e
JM
67112012-07-09 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #14337]
6714 * math/s_clog.c (__clog): Avoid scaling a value down where that
6715 could result in underflow.
6716 * math/s_clog10.c (__clog10): Likewise.
6717 * math/s_clog10f.c (__clog10f): Likewise.
6718 * math/s_clog10l.c (__clog10l): Likewise.
6719 * math/s_clogf.c (__clogf): Likewise.
6720 * math/s_clogl.c (__clogl): Likewise.
6721 * math/libm-test.inc (clog_test): Add more tests.
6722 (clog10_test): Likewise.
6723 * sysdeps/i386/fpu/libm-test-ulps: Update.
6724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6725
261f4859
AS
67262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6727
0abaf3e4
AS
6728 [BZ #14283]
6729 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6730 by 7 not 8 to examine high bit of fractional part.
6731
261f4859
AS
6732 [BZ #14042]
6733 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6734 for call to __mcount_internal.
6735 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6736 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6737 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6738
f17ac40d
JM
67392012-07-06 Joseph Myers <joseph@codesourcery.com>
6740
9ad63c23
JM
6741 [BZ #14154]
6742 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6743 approximation for values within 0x1p-13f of an odd multiple of
6744 pi/4.
6745 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6746 exception. Add more tests.
6747 * sysdeps/i386/fpu/libm-test-ulps: Update.
6748
f17ac40d
JM
6749 [BZ #6778]
6750 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6751 inputs and return -1 for them. Do not check for +Inf in case not
6752 reachable for +Inf.
6753 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6754 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6755 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6756 and return -1 for them. Do not check for +Inf in case not
6757 reachable for +Inf.
6758 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6759 define.
6760 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6761 and return -1 for them. Do not check for +Inf in case not
6762 reachable for +Inf.
6763 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6764 spurious underflow.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767
fb21f89b
MF
67682012-07-06 Mike Frysinger <vapier@gentoo.org>
6769
6770 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6771
cdfe2c5e
JM
67722012-07-05 Joseph Myers <joseph@codesourcery.com>
6773
6774 [BZ #14157]
6775 [BZ #14331]
6776 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6777 could result in spurious underflow. Scale down values above
6778 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6779 * math/s_csqrtf.c (__csqrtf): Likewise.
6780 * math/s_csqrtl.c (__csqrtl): Likewise.
6781 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6782 spurious underflow.
6783 * sysdeps/i386/fpu/libm-test-ulps: Update.
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6785
70d35b67
AS
67862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6787
704bc459
AS
6788 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6789 xopen-msg.sed.
6790 * catgets/xopen-msg.awk: New file.
6791 * catgets/xopen-msg.sed: Removed.
6792
70d35b67
AS
6793 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6794 po2text.sed.
6795 * intl/po2test.awk: New file.
6796 * intl/po2test.sed: Removed.
6797
ca61cf32
JM
67982012-07-04 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #14328]
6801 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6802 or multiply small sinh result by itself.
6803 * math/s_ctanf.c (__ctanf): Likewise.
6804 * math/s_ctanh.c (__ctanh): Likewise.
6805 * math/s_ctanhf.c (__ctanhf): Likewise.
6806 * math/s_ctanhl.c (__ctanhl): Likewise.
6807 * math/s_ctanl.c (__ctanl): Likewise.
6808 * math/libm-test.inc (ctan_test_tonearest): New function.
6809 (ctan_test_towardzero): Likewise.
6810 (ctan_test_downward): Likewise.
6811 (ctan_test_upward): Likewise.
6812 (ctanh_test_tonearest): Likewise.
6813 (ctanh_test_towardzero): Likewise.
6814 (ctanh_test_downward): Likewise.
6815 (ctanh_test_upward): Likewise.
6816 (main): Call these new functions.
6817 * sysdeps/i386/fpu/libm-test-ulps: Update.
6818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819
ca48a46a
MF
68202012-07-03 Mike Frysinger <vapier@gentoo.org>
6821
6822 * .gitignore: Delete /ports entry.
6823
9d63d37d
AJ
68242012-07-03 Andreas Jaeger <aj@suse.de>
6825
6826 * po/bg.po: Update from translation team.
6827 * po/cs.po: Likewise.
6828 * po/de.po: Likewise.
6829 * po/hr.po: Likewise.
6830 * po/nl.pl: Likewise.
6831 * po/pl.po: Likewise.
6832 * po/vi.po: Likewise.
6833
370ca3d2
JM
68342012-07-03 Joseph Myers <joseph@codesourcery.com>
6835
95f5a9a8
JM
6836 * Makeconfig [!+link] (+link-before-libc): New variable.
6837 [!+link] (+link-after-libc): Likewise.
6838 [!+link] (+link-tests): Likewise.
6839 [!+link] (+link): Define in terms of $(+link-before-libc) and
6840 $(+link-after-libc).
6841 [!+link-static] (+link-static-before-libc): New variable.
6842 [!+link-static] (+link-static-after-libc): Likewise.
6843 [!+link-static] (+link-static-tests): Likewise.
6844 [!+link-static] (+link-static): Define in terms of
6845 $(+link-static-before-libc) and $(+link-static-after-libc).
6846 [build-shared] (link-libc-before-gnulib): New variable.
6847 [build-shared] (link-libc-tests): Likewise.
6848 [build-shared] (link-libc): Define in terms of
6849 $(link-libc-before-gnulib).
6850 [!build-shared] (link-libc-tests): New variable.
6851 (link-libc-static-tests): New variable.
6852 [!gnulib] (gnulib-arch): New variable.
6853 [!gnulib] (gnulib-tests): Likewise.
6854 [!gnulib] (static-gnulib-arch): Likewise.
6855 [!gnulib] (static-gnulib-tests): Likewise.
6856 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6857 Define with "=" instead of ":=".
6858 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6859 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6860 * Rules (binaries-all-notests): New variable.
6861 (binaries-all-tests): Likewise.
6862 (binaries-static-notests): Likewise.
6863 (binaries-static-tests): Likewise.
6864 (binaries-all): Define using $(binaries-all-notests) and
6865 $(binaries-all-tests).
6866 (binaries-static): Define using $(binaries-static-notests) and
6867 $(binaries-static-tests).
6868 (binaries-shared-tests): New variable.
6869 (binaries-shared-notests): Likewise.
6870 (binaries-shared): Remove variable.
6871 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6872 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6873 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6874 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6875 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6876 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6877 * elf/Makefile (sln-modules): New variable.
6878 (extra-objs): Add $(sln-modules:=.o).
6879 (ldconfig-modules): Add static-stubs.
6880 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6881 * elf/static-stubs.c: New file.
6882
7a845b2c
JM
6883 [BZ #14283]
6884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6885 by 7 not 8 to examine high bit of fractional part. Use volatile
6886 variables when splitting into final array of floats if
6887 __FLT_EVAL_METHOD__ != 0.
6888 * math/libm-test.inc (cos_test): Add another test.
6889 (sin_test): Likewise.
6890 * sysdeps/i386/fpu/libm-test-ulps: Update.
6891
e2283f38
JM
6892 [BZ #14273]
6893 * math/libm-test.inc (cosh_test): Add more tests.
6894
370ca3d2
JM
6895 * version.h (RELEASE): Set to "development".
6896 (VERSION): Set to "2.16.90".
6897
ee9247c3
CD
68982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6899
6900 * NEWS: Update copyright. Remove last-updated date.
6901 Mention math library bug fixes and timezone data changes.
6902 * README: Mention GNU/Hurd, x32, and HPPA support status.
6903
4648c381
TS
69042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6905
6906 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6907
aac78a43
AJ
69082012-06-27 Andreas Jaeger <aj@suse.de>
6909
6910 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6911
ed3dbfad
AJ
69122012-06-25 Andreas Jaeger <aj@suse.de>
6913
6914 * sysdeps/s390/fpu/libm-test-ulps: Update.
6915
4d0ee855
AS
69162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6917 Thomas Schwinge <thomas@codesourcery.com>
6918
6919 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6920 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6922 fanotify_mark.
6923
af1bce34
TS
69242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6925
a9fa33ba
TS
6926 * sysdeps/mach/start.c: Remove file.
6927 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6928 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6929 * sysdeps/sh/init-first.c: Likewise.
6930
58f902b8
TS
6931 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6932 registers for frame unwinding purposes, add CFI directives.
6933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6934 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6935 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6936 Likewise.
6937
1518f58b
TS
6938 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6939 __fortify_fail returning.
6940 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6941
db9b5059
TS
6942 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6943 sysdeps/sh/____longjmp_chk.S.
6944 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6945 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6946 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6947 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6948
967705fe
TS
6949 * sysdeps/sh/abort-instr.h: New file.
6950 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6951 process in case exit returns.
6952
a9def8c4
TS
6953 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6954 initialize the GOT register before use.
6955
2a649725
TS
6956 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6957 calculation of ARGC > 4.
6958
af1bce34
TS
6959 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6960 meaningful names to some local labels.
6961
d230f50a
KK
69622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6963 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6964
6965 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6966 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6967 (__arch_compare_and_exchange_val_16_acq): Likewise.
6968 (__arch_compare_and_exchange_val_32_acq): Likewise.
6969 (atomic_exchange_and_add): Fix gUSA sequence.
6970 (atomic_add): Likewise.
6971 (atomic_add_negative): Likewise.
6972 (atomic_add_zero): Likewise.
6973 (atomic_bit_test_set): Likewise.
6974
0479b305
AS
69752012-06-22 Andreas Schwab <schwab@redhat.com>
6976
6977 [BZ #13579]
6978 * include/link.h (struct link_map): Add l_free_initfini.
6979 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6980 l_initfini.
6981 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6982 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6983 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6984 set.
6985
0e3933b9
CD
69862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6987
6988 * configure.in: Use AC_LANG_SOURCE.
6989 * configure: Regenerate.
6990
4248b1b1
RM
69912012-06-22 Roland McGrath <roland@hack.frob.com>
6992
6993 * configure.in (libc_cv_localstatedir): New substituted variable.
6994 * configure: Regenerated.
6995 * config.make.in (localstatedir): New variable, substituted from
6996 libc_cv_localstatedir.
6997 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6998 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6999 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7000 * sysdeps/gnu/configure: Regenerated.
7001
006dd861
JL
70022012-06-21 Jeff Law <law@redhat.com>
7003
7004 [BZ #14277]
7005 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7006 free. Simplify list management for _LIBC case.
7007
79662d42
JM
70082012-06-21 Joseph Myers <joseph@codesourcery.com>
7009
b7abb4bf
JM
7010 [BZ #14273]
7011 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7012 Clear sign bit of 64-bit integer value before comparing against
7013 overflow value.
7014
79662d42
JM
7015 * sysdeps/mach/configure: Regenerated.
7016
1f150908
L
70172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 [BZ #14278]
7020 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7021
28363bbf
JL
70222012-06-21 Jeff Law <law@redhat.com>
7023
7024 [BZ #13882]
7025 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7026 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7027 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7028 * elf/dl-open.c (dl_open_worker): Likewise.
7029
09615db4
CD
70302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7031
7032 * scripts/list-sources.sh: Scan PORTS for translations.
7033 * po/libc.pot: Regenerated.
7034
2174c6dd
AJ
70352012-06-21 Andreas Jaeger <aj@suse.de>
7036
7037 [BZ #12194]
7038 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7039 warning.
7040 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7041 * bits/byteswap-16.h (__bswap_16): Likewise.
7042 * bits/byteswap.h (__bswap_constant_16): Likewise.
7043
3ee947b1
L
70442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 [BZ #14117]
a2f34833
L
7047 * sysdeps/i386/fpu_control.h: Removed.
7048 * sysdeps/x86_64/fpu_control.h: Moved to ...
7049 * sysdeps/x86/fpu_control.h: Here.
7050
3ee947b1
L
7051 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7052 (_FPU_SETCW): Likewise.
7053
ed1825f8
L
70542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7055
25f1282a
L
7056 [BZ #14117]
7057 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7058 * sysdeps/x86/fpu/bits/mathinline.h: This.
7059 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7060
ed1825f8
L
7061 [BZ #14050]
7062 [BZ #14117]
7063 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7064 functions if __x86_64__ is defined.
7065
36d54b74
CLT
70662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7067
7068 * string/endian.h: Add !__ASSEMBLER__ condition for including
7069 conversion interfaces.
7070
10285c21
JM
70712012-06-15 Joseph Myers <joseph@codesourcery.com>
7072
7073 [BZ #14241]
7074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7075 of ABS(x) in calculating zero to negative powers other than odd
7076 integers.
7077 * math/libm-test.inc (pow_test): Add more tests.
7078
06c5abbd
AJ
70792012-06-15 Andreas Jaeger <aj@suse.de>
7080
7081 * manual/contrib.texi (Contributors): Update entry of Liubov
7082 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7083 Machado Filho.
7084
a3aeac40
CH
70852012-06-15 Cyril Hrubis <metan@ucw.cz>
7086
7087 * string/string.h: Add __wur to GNU version of strerror_r.
7088
49bdf4c1
L
70892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7090
7091 [BZ #14229]
7092 * string/Makefile (tests): Add tst-strtok_r.
7093 * string/tst-strtok_r.c: New file.
7094 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7095 RAX_LP/RDX_LP on SAVE_PTR.
7096
834f9b8d
RM
70972012-06-14 Roland McGrath <roland@hack.frob.com>
7098
7099 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7100
75fa1921
JM
71012012-06-14 Joseph Myers <joseph@codesourcery.com>
7102
7103 * libm_test.inc (csqrt_test): Allow more spurious underflow
7104 exceptions.
7105 (j0_test): Likewise.
7106 (j1_test): Likewise.
7107 (y0_test): Likewise.
7108 (y1_test): Likewise.
7109
771766df
CD
71102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7111
7112 * po/Makefile (libc.pot): Use UTF-8 charset.
7113
ceb9e56b
PP
71142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7115
7116 [BZ #14210]
7117 Suppress sign-conversion warning from FD_SET.
7118 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7119 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7120 not unsigned long int.
7121 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7122
ddb28975
L
71232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7124
7125 [BZ #14050]
7126 [BZ #14117]
7127 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7128 __extern_always_inline instead of __extern_inline.
7129 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7130 (__signbit): Likewise.
7131 (__signbitl): Support C++ namespace.
7132 (lrintf): New inline function.
7133 (lrint): Likewise.
7134 (llrintf): Likewise.
7135 (llrint): Likewise.
7136 (fmaxf): Likewise.
7137 (fmax): Likewise.
7138 (fminf): Likewise.
7139 (fmin): Likewise.
7140 (rint): Likewise.
7141 (rintf): Likewise.
7142 (ceil): Likewise.
7143 (ceilf): Likewise.
7144 (floor): Likewise.
7145 (floorf): Likewise.
7146 (nearbyint): Likewise.
7147 (nearbyintf): Likewise.
7148
d7b4fb26
TS
71492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7150
7151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7152 non-default versions.
7153
eb55f5c2
RM
71542012-06-11 Roland McGrath <roland@hack.frob.com>
7155
7156 [BZ #14218]
7157 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7158
366af02c
TS
71592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7160
99ff6e5c
TS
7161 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7162 (FE_UPWARD, FE_DOWNWARD): Don't define.
7163 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7164 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7165
366af02c
TS
7166 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7167 reading it.
7168 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7169 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7170
793ea851
KK
71712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7172
7173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7175 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7177
a728a38f
L
71782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7179
7180 [BZ #14117]
c08010c7
L
7181 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7182 * sysdeps/i386/fpu/Implies: New file.
7183 * sysdeps/x86_64/fpu/Implies: Likewise.
7184 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7185 * sysdeps/x86/fpu/bits/fenv.h: This.
7186
a728a38f
L
7187 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7188 __SSE_MATH__.
7189
6e230d11
SP
71902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7191
7192 [BZ #14134]
7193 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7194 character 0xffff that matches the last element of the
7195 conversion table.
7196
1b671feb
AZ
71972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7198
7199 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7200 fmodl commit.
7201
6043738b
AZ
72022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203
7204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7205 values higher than 25.6283.
7206
34ae0b32
AZ
72072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7208
7209 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7210 subnormal exponent extraction and add some __builtin_expect.
7211 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7212 Fix for subnormal mantissa calculation.
7213
1214ec8f
MF
72142012-06-04 Mike Frysinger <vapier@gentoo.org>
7215
7216 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7217 cpu2 is -1 and errno is not ENOSYS.
7218
f3d1f93c
L
72192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7220
7221 [BZ #14117]
0e4a3cd7
L
7222 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7223 * sysdeps/x86/bits/string.h: This.
7224 * sysdeps/x86_64/bits/string.h: Removed.
7225
6704c645
L
7226 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7227 if not compiling for x86-64, but compiling for >= i486.
7228
48495318
L
7229 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7230 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7231
14adcbfc
L
7232 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7233 New macro from Linux kernel 3.4.0.
7234 (FP_XSTATE_MAGIC2): Likewise.
7235 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7236 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7237 (struct _fpx_sw_bytes): New struct.
7238 (struct _xsave_hdr): Likewise.
7239 (struct _ymmh_state): Likewise.
7240 (struct _xstate): Likewise.
7241
68e408ab
L
7242 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7243 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7244 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7245 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7247 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7248
f3d1f93c
L
7249 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7250 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7251 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7252 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7253 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7254 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7255
d9dc34cd
TMQMF
72562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7257
7258 [BZ #13743]
7259 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7260 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7261 (sysdep_headers): Include sys/platform/ppc.h.
7262 * sysdeps/powerpc/test-gettimebase.c: Test for
7263 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7264 * manual/Makefile (appendices): Include platform.texi.
7265 * manual/contrib.texi (Contributors): Update @node pointers.
7266 * manual/maint.texi (Maintenance): Likewise.
7267 (Platform): New node.
7268 * manual/platform.texi: New file. Document the new features.
7269
4af3879c
SP
72702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7271 Jakub Jelinek <jakub@redhat.com>
7272
7273 [BZ #14188]
7274 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7275 where __builtin_expect is unavailable.
7276
2fd6ff13
DM
72772012-06-03 David S. Miller <davem@davemloft.net>
7278
7279 * stdlib/longlong.h: Updated from GCC.
7280
173f7220
AS
72812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7282
7283 [BZ #14042]
7284 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7285 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7286 __mcount_internal.
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7288 (GLIBC_2.16): Likewise.
7289
f34a1c6f
L
72902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7291
7292 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7293
88a4576f
JM
72942012-06-01 Joseph Myers <joseph@codesourcery.com>
7295
ea32bcdd
JM
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7297 (default-abi): New variable.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7300 variable.
7301 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7302 Likewise.
7303 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7306 Likewise.
7307
88a4576f
JM
7308 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7309 definition. Document in comment.
7310
402fe938
DM
73112012-06-01 David S. Miller <davem@davemloft.net>
7312
7313 * stdlib/longlong.h: Updated from GCC.
7314
3553723f
L
73152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 [BZ #14117]
3bd872c4
L
7318 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7319 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7320 sys/debugreg.h sys/io.h here.
7321 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7322 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7323 sys/io.h.
7324 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7325 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7326 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7327 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7328 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7329 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7330
3553723f
L
7331 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7332 Define only if __x86_64__ is defined.
7333
4842e4fe
JM
73342012-06-01 Joseph Myers <joseph@codesourcery.com>
7335
c5bfe3d5
JM
7336 [BZ #14048]
7337 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7338 Use int64_t for variable i.
7339 * math/libm-test.inc (fmod_test): Add more tests.
7340
4842e4fe
JM
7341 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7342 z computation is not scheduled after fetestexcept.
7343 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7344 Use math_force_eval instead of asm to ensure calculation scheduled
7345 before exception test.
7346 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7347 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7348
efb73488
AJ
73492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7350
7351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7352 computation is not scheduled after fetestexcept.
7353
29bcce7c
L
73542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7355
7356 [BZ #14117]
7357 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7358 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7359
73a68f94
AZ
73602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7361
7362 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7363 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7364
67b6df78
L
73652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7366
edf2933a 7367 [BZ #14117]
ebc64a18
L
7368 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7369 <bits/wordsize.h>.
7370 (__WCHAR_MIN): Support __WORDSIZE == 64.
7371 (__WCHAR_MAX): Likewise.
7372
edf2933a
L
7373 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7375
57c6cf40
L
7376 [BZ #14183]
7377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7378 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7379
67b6df78 7380 [BZ #14117]
8eb6281e
L
7381 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7382 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7383
aac639f4
L
7384 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7385 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7386
67b6df78
L
7387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7388 Defined to 1 if __x86_64__ isn't defined.
7389 (_STAT_VER_LINUX_OLD): New.
7390 (st_atime): Remove duplicate.
7391 (st_mtime): Likewise.
7392 (st_ctime): Likewise.
7393
1c2cfe81
DM
73942012-05-31 David S. Miller <davem@davemloft.net>
7395
7396 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7397 entries.
7398
5be8418c
AS
73992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7400
e7725326
AS
7401 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7402 gen-libm-test.pl.
7403
5be8418c
AS
7404 [BZ #14132]
7405 * elf/dl-reloc.c: Include <_itoa.h>.
7406 (_dl_reloc_bad_type): Remove use of INTUSE.
7407 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7408 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7409 * stdio-common/psiginfo.c (psiginfo): Likewise.
7410 * stdio-common/psignal.c (psignal): Likewise.
7411 * string/strsignal.c (strsignal): Likewise.
7412 * include/signal.h (_sys_siglist): Declare hidden proto.
7413 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7414 INTVARDEF with libc_hidden_data_def.
7415 * stdio-common/itoa-udigits.c: Likewise.
7416 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7417 (_itoa_lower_digits_internal): Remove declaration.
7418 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7419 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7420 (_sys_sigabbrev_internal): Remove aliases.
7421 (_sys_siglist): Define hidden alias.
7422
507352f1
MT
74232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7424
7425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7426 bits/sysctl.h.
7427
42bbb1c3
L
74282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 [BZ #14117]
6bd784b6
L
7431 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7432 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7433
8bca20f0
L
7434 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7435 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7436 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7437 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7438 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7439 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7440
f9e890a9
L
7441 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7442 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7443 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7444
471101a1
L
7445 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7446 with __addr.
7447 (insw): Likewise.
7448 (insl): Likewise.
7449 (outsb): Likewise.
7450 (outsw): Likewise.
7451 (outsl): Likewise.
7452
6451c862
L
7453 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7455 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7456
a254b8c9
L
7457 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7458 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7460 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7461 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7462 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7463
b8dfdd92
L
7464 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7465 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7466
578cd270
L
7467 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7468 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7469
de662f5f
L
7470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7471 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7472 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7473
25653439
L
7474 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7475 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7476 to ...
7477 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7478
6bad24a0
L
7479 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7480 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7481 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7482
42bbb1c3
L
7483 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7484 for x86-64.
7485 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7486
2d10d547
JM
74872012-05-31 Joseph Myers <joseph@codesourcery.com>
7488
7489 * math/math.h (M_El): Use two more decimal places.
7490 (M_LOG2El): Likewise.
7491 (M_LOG10El): Likewise.
7492 (M_LN2l): Likewise.
7493 (M_LN10l): Likewise.
7494 (M_PIl): Likewise.
7495 (M_PI_2l): Likewise.
7496 (M_PI_4l): Likewise.
7497 (M_1_PIl): Likewise.
7498 (M_2_PIl): Likewise.
7499 (M_2_SQRTPIl): Likewise.
7500 (M_SQRT2l): Likewise.
7501 (M_SQRT1_2l): Likewise.
7502
f230c29b
DM
75032012-05-31 David S. Miller <davem@davemloft.net>
7504
7505 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7506 values between float registers.
7507 * sysdeps/sparc/sparc64/memset.S: Likewise.
7508 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7509
fed806c3
MF
75102012-05-31 Mike Frysinger <vapier@gentoo.org>
7511
7512 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7513 -D_FORTIFY_SOURCE=1.
7514 (CPPFLAGS-tst-longjmp_chk.c): Define.
7515 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7516 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7517 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7518 CFLAGS-tst-wchar-h.c.
7519
30917259
MP
75202012-05-31 Marek Polacek <polacek@redhat.com>
7521
7522 [BZ #14132]
7523 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7524 __endmntent_internal): Remove declaration.
7525 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7526 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7527 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7528
1c58d5dc
DM
75292012-05-30 David S. Miller <davem@davemloft.net>
7530
7531 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7532 (___Q_simulate_exceptions): Use real FP ops rather than writing
7533 into the %fsr.
7534 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7535 Likewise.
7536
7dc00e0d
L
75372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7538
7539 [BZ #14117]
0bd53985
L
7540 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7541 * sysdeps/x86/bits/xtitypes.h: This.
7542
3a257e66
L
7543 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7544 * sysdeps/x86/bits/wordsize.h: This.
7545
62f62904
L
7546 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7547 * sysdeps/x86/bits/huge_vall.h: This.
7548
404fe9d9
L
7549 * sysdeps/i386/bits/select.h: Removed.
7550 * sysdeps/x86_64/bits/select.h: Renamed to ...
7551 * sysdeps/x86/bits/select.h: This.
7552
d48d0446
L
7553 * sysdeps/i386/bits/setjmp.h: Removed.
7554 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7555 * sysdeps/x86/bits/setjmp.h: This.
7556
7dc00e0d
L
7557 * sysdeps/i386/bits/mathdef.h: Removed.
7558 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7559 * sysdeps/x86/bits/mathdef.h: This.
7560
03277f8f
AS
75612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7562
7563 [BZ #14132]
7564 * include/sys/socket.h (__connect_internal)
7565 (__libc_sa_len_internal): Remove declaration.
7566 (__connect, __libc_sa_len): Declare hidden_proto.
7567 (SA_LEN): Remove use of INTUSE.
7568 * socket/connect.c: Add libc_hidden_def.
7569 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7570 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7571 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7572 alias.
7573 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7574 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7575 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7576 of adding _internal alias.
7577
13764867
L
75782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7579
7580 [BZ #14117]
6bd97696
L
7581 * sysdeps/i386/bits/link.h: Removed.
7582 * sysdeps/i386/bits/linkmap.h: Likewise.
7583 * sysdeps/x86_64/bits/link.h: Renamed to ...
7584 * sysdeps/x86/bits/link.h: This.
7585 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7586 * sysdeps/x86/bits/linkmap.h: This.
7587
f726f0bb
L
7588 * sysdeps/i386/bits/endian.h: Removed.
7589 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7590 * sysdeps/x86/bits/endian.h: This.
7591
13764867
L
7592 * sysdeps/i386/bits/byteswap.h: Removed.
7593 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7594 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7595 * sysdeps/x86/bits/byteswap.h: This.
7596 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7597 * sysdeps/x86/bits/byteswap-16.h: This.
7598 * sysdeps/i386/Implies: Add x86.
7599 * sysdeps/x86_64/Implies: Likewise.
7600
ae251b0b
DM
76012012-05-30 David S. Miller <davem@davemloft.net>
7602
7603 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7604 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7605 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7606 (FP_TRAPPING_EXCEPTIONS): Define.
7607 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7608 (FP_TRAPPING_EXCEPTIONS): Define.
7609 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7610 subnormals only when inexact has been signalled or underflow
7611 exceptions are enabled.
7612 (_FP_PACK_CANONICAL): Likewise.
7613
d5c90867
L
76142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7615
7616 [BZ #14183]
7617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7618 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7619
63f1549e
RH
76202012-05-30 Richard Henderson <rth@twiddle.net>
7621
8d8f2279
RH
7622 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7623 with #ifndef NOT_IN_libc.
7624
63f1549e
RH
7625 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7626 marked to avoid plt entry.
7627
0ab0291b
L
76282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 [BZ #14112]
7631 * Makeconfig (default-abi): New macro.
7632 (abi-includes): Likewise.
7633 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7634 $(abi-$(default-abi)-lib-soname) for soname if defined.
7635 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7636 abi-variants.
7637 * Makefile (installed-stubs): Likewise.
7638 * include/stubs-biarch.h: Removed.
7639 * scripts/lib-names.awk: Only handle one library at a time.
7640 * scripts/soversions.awk: Remove WORDSIZE support.
7641 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7642 entries.
7643 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7644 Removed.
7645 (syscall-list-default-condition): Likewise.
7646 (syscall-list-default-condition): Likewise.
7647 (syscall-list-includes): Likewise.
7648 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7649 syscall-list-* with abi-*. Handle undefined abi-variants.
7650 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7651 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7652 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7653 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7654 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7655 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7656 Removed.
7657 (syscall-list-32-options): Likewise.
7658 (syscall-list-32-condition): Likewise.
7659 (syscall-list-64-options): Likewise.
7660 (syscall-list-64-condition): Likewise.
7661 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7662 macro.
7663 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7664 Renamed to ...
7665 (abi-*): This.
7666 (abi-64-ld-soname): New macro.
7667 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7669 Renamed to ...
7670 (abi-*): This.
7671 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7672 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7673
4da0431d
JM
76742012-05-30 Joseph Myers <joseph@codesourcery.com>
7675
3a85279c
JM
7676 * sysdeps/unix/sysv/linux/kernel-features.h
7677 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7678 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7679 include <kernel-features.h>.
7680 [!__NR_ftruncate64]: Remove conditional code.
7681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7682 [__NR_ftruncate64]: Make code unconditional.
7683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7684 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7685 include <kernel-features.h>.
7686 [!__NR_ftruncate64]: Remove conditional code.
7687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7688 [__NR_ftruncate64]: Make code unconditional.
7689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7691 include <kernel-features.h>.
7692 [!__NR_ftruncate64]: Remove conditional code.
7693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7694 [__NR_ftruncate64]: Make code unconditional.
7695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7697 include <kernel-features.h>.
7698 [!__NR_ftruncate64]: Remove conditional code.
7699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7700 [__NR_ftruncate64]: Make code unconditional.
7701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7702
4da0431d
JM
7703 * configure.in (libc_cv_fpie): Weaken to a compile test using
7704 LIBC_TRY_CC_OPTION.
7705 * configure: Regenerated.
7706
11ef492c
AK
77072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7708
7709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7713 Refreshed.
7714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7720 Refreshed.
7721
d66ef399
DM
77222012-05-27 David S. Miller <davem@davemloft.net>
7723
7724 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7725 (___Q_zero): New.
7726 (__Q_simulate_exceptions): Return void. Change to simulate
7727 exceptions by writing into the %fsr.
7728 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7729 (__Qp_handle_exceptions): Likewise.
7730 (numbers): Delete.
7731 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7732 __Qp_handle_exceptions.
7733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7734 __Qp_handle_exceptions.
7735 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7736 as unused and give dummy FP_RND_NEAREST initializer.
7737 (FP_INHIBIT_RESULTS): Define.
7738 (___Q_simulate_exceptions): Update declaration.
7739 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7740 formatting.
7741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7742 as unused and give dummy FP_RND_NEAREST initializer.
7743 (__Qp_handle_exceptions): Update declaration.
7744 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7745 formatting.
7746
04fb54b5
TS
77472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7748
7749 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7750 the temporary FPU control word.
7751 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7752 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7753 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7754 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7756 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7757 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7758 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7759 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7760 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7762
3f99608f
KK
77632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7764
7765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7766 fields.
7767
65a4de4e
CLT
77682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7769
7770 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7771 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7772 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7773 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7774 Likewise.
7775 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7776 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7777 Likewise.
7778
15749d40
UD
77792012-05-27 Ulrich Drepper <drepper@gmail.com>
7780
7781 * po/h.po: Update from translation team.
7782
25dbcb27
AS
77832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7784
3d3f8e55
AS
7785 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7786
25dbcb27
AS
7787 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7788 handling of denormals.
7789 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7790 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7791 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7792 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7796 Likewise.
7797
7ad47a80 77982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7799
7800 [BZ #14152]
7801 * math/libm-test.inc (fma_test): Don't always expect underflow
7802 exception.
7803
9c6ea9fa
SP
78042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7805
7806 [BZ #12416]
7807 * elf/tst-execstack.c: Include stackinfo.h.
7808 (do_test): Adjust test case to ensure that pthread_getattr_np
7809 behaviour remains the same after marking stack executable.
7810
a8239222
JM
78112012-05-25 Joseph Myers <joseph@codesourcery.com>
7812
7813 * sysdeps/unix/sysv/linux/kernel-features.h
7814 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7816 kernel-features.h.
7817 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7818 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7819 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7820 kernel-features.h.
7821 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7822 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7823
918b5606
L
78242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7825
7826 * configure.in: Define the default includes to being none.
7827 * configure: Regenerated.
7828
3a097cc7
RM
78292012-05-25 Roland McGrath <roland@hack.frob.com>
7830
8422c9a5
RM
7831 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7832 * sysdeps/x86_64/setjmp.S: Likewise.
7833 * sysdeps/i386/bsd-setjmp.S: Likewise.
7834 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7835 * sysdeps/i386/setjmp.S: Likewise.
7836 * sysdeps/i386/__longjmp.S: Likewise.
7837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7838 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7839
3a097cc7
RM
7840 * include/stap-probe.h: New file.
7841 * configure.in: Handle --enable-systemtap.
7842 * configure: Regenerated.
7843 * config.h.in (USE_STAP_PROBE): New #undef.
7844 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7845 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7846 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7847
21708942
JM
78482012-05-25 Joseph Myers <joseph@codesourcery.com>
7849
7850 [BZ #13717]
7851 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7852 to 2.4.0 where earlier.
7853 * sysdeps/unix/sysv/linux/configure: Regenerated.
7854 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7855 <kernel-features.h>.
7856 [__ASSUME_32BITUIDS]: Make code unconditional.
7857 [!__ASSUME_32BITUIDS]: Remove conditional code.
7858 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7859 <kernel-features.h>.
7860 [__ASSUME_32BITUIDS]: Make code unconditional.
7861 [!__ASSUME_32BITUIDS]: Remove conditional code.
7862 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7863 [__ASSUME_32BITUIDS]: Make code unconditional.
7864 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7865 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7866 <kernel-features.h>.
7867 [__ASSUME_32BITUIDS]: Make code unconditional.
7868 [!__ASSUME_32BITUIDS]: Remove conditional code.
7869 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7870 <kernel-features.h>.
7871 [__ASSUME_32BITUIDS]: Make code unconditional.
7872 [!__ASSUME_32BITUIDS]: Remove conditional code.
7873 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7874 <kernel-features.h>.
7875 [__ASSUME_32BITUIDS]: Make code unconditional.
7876 [!__ASSUME_32BITUIDS]: Remove conditional code.
7877 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7878 <kernel-features.h>.
7879 [__ASSUME_32BITUIDS]: Make code unconditional.
7880 [!__ASSUME_32BITUIDS]: Remove conditional code.
7881 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7882 <kernel-features.h>.
7883 [__ASSUME_32BITUIDS]: Make code unconditional.
7884 [!__ASSUME_32BITUIDS]: Remove conditional code.
7885 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7886 <kernel-features.h>.
7887 [__ASSUME_32BITUIDS]: Make code unconditional.
7888 [!__ASSUME_32BITUIDS]: Remove conditional code.
7889 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7890 <kernel-features.h>.
7891 [__ASSUME_32BITUIDS]: Make code unconditional.
7892 [!__ASSUME_32BITUIDS]: Remove conditional code.
7893 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7894 <kernel-features.h>.
7895 [__ASSUME_32BITUIDS]: Make code unconditional.
7896 [!__ASSUME_32BITUIDS]: Remove conditional code.
7897 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7898 <kernel-features.h>.
7899 [__ASSUME_32BITUIDS]: Make code unconditional.
7900 [!__ASSUME_32BITUIDS]: Remove conditional code.
7901 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7902 <kernel-features.h>.
7903 [__ASSUME_32BITUIDS]: Make code unconditional.
7904 [!__ASSUME_32BITUIDS]: Remove conditional code.
7905 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7906 <kernel-features.h>.
7907 [__NR_setresgid] (__setresgid): Do not declare.
7908 [__ASSUME_32BITUIDS]: Make code unconditional.
7909 [!__ASSUME_32BITUIDS]: Remove conditional code.
7910 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7911 <kernel-features.h>.
7912 [__NR_setresuid] (__setresuid): Do not declare.
7913 [__ASSUME_32BITUIDS]: Make code unconditional.
7914 [!__ASSUME_32BITUIDS]: Remove conditional code.
7915 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7916 <kernel-features.h>.
7917 [__ASSUME_32BITUIDS]: Make code unconditional.
7918 [!__ASSUME_32BITUIDS]: Remove conditional code.
7919 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7920 <kernel-features.h>.
7921 [__ASSUME_32BITUIDS]: Make code unconditional.
7922 [!__ASSUME_32BITUIDS]: Remove conditional code.
7923 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7924 <kernel-features.h>.
7925 [__ASSUME_32BITUIDS]: Make code unconditional.
7926 [!__ASSUME_32BITUIDS]: Remove conditional code.
7927 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7928 <kernel-features.h>.
7929 [__ASSUME_32BITUIDS]: Make code unconditional.
7930 [!__ASSUME_32BITUIDS]: Remove conditional code.
7931 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7932 <kernel-features.h>.
7933 [__ASSUME_32BITUIDS]: Make code unconditional.
7934 [!__ASSUME_32BITUIDS]: Remove conditional code.
7935 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7936 <kernel-features.h>.
7937 [__ASSUME_32BITUIDS]: Make code unconditional.
7938 [!__ASSUME_32BITUIDS]: Remove conditional code.
7939 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7940 <kernel-features.h>.
7941 [__ASSUME_32BITUIDS]: Make code unconditional.
7942 [!__ASSUME_32BITUIDS]: Remove conditional code.
7943 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7944 <kernel-features.h>.
7945 [__ASSUME_32BITUIDS]: Make code unconditional.
7946 [!__ASSUME_32BITUIDS]: Remove conditional code.
7947 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7948 <kernel-features.h>.
7949 [__ASSUME_32BITUIDS]: Make code unconditional.
7950 [!__ASSUME_32BITUIDS]: Remove conditional code.
7951 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7952 <kernel-features.h>.
7953 [__ASSUME_32BITUIDS]: Make code unconditional.
7954 [!__ASSUME_32BITUIDS]: Remove conditional code.
7955 * sysdeps/unix/sysv/linux/kernel-features.h
7956 (__ASSUME_SETRESUID_SYSCALL): Remove.
7957 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7958 (__ASSUME_32BITUIDS): Likewise.
7959 (__ASSUME_LDT_WORKS): Likewise.
7960 (__ASSUME_O_DIRECTORY): Likewise.
7961 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7962 architecture but not kernel version.
7963 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7964 (__ASSUME_MMAP2_SYSCALL): Likewise.
7965 (__ASSUME_STAT64_SYSCALL): Likewise.
7966 (__ASSUME_IPC64): Likewise.
7967 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7968 <kernel-features.h>.
7969 [__ASSUME_32BITUIDS]: Make code unconditional.
7970 [!__ASSUME_32BITUIDS]: Remove conditional code.
7971 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7972 <kernel-features.h>.
7973 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7974 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7975 132096]: Remove conditional code.
7976 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7977 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7978 <kernel-features.h>.
7979 [__ASSUME_32BITUIDS]: Make code unconditional.
7980 [!__ASSUME_32BITUIDS]: Remove conditional code.
7981 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7982 <kernel-features.h>.
7983 [__ASSUME_32BITUIDS]: Make code unconditional.
7984 [!__ASSUME_32BITUIDS]: Remove conditional code.
7985 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7986 <kernel-features.h>.
7987 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7988 unconditional.
7989 (__setresgid): Do not declare.
7990 [__ASSUME_32BITUIDS]: Make code unconditional.
7991 [!__ASSUME_32BITUIDS]: Remove conditional code.
7992 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7993 <kernel-features.h>.
7994 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7995 unconditional.
7996 (__setresuid): Do not declare.
7997 [__ASSUME_32BITUIDS]: Make code unconditional.
7998 [!__ASSUME_32BITUIDS]: Remove conditional code.
7999 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8000 <kernel-features.h>.
8001 [__ASSUME_32BITUIDS]: Make code unconditional.
8002 [!__ASSUME_32BITUIDS]: Remove conditional code.
8003 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8004 <kernel-features.h>.
8005 [__ASSUME_32BITUIDS]: Make code unconditional.
8006 [!__ASSUME_32BITUIDS]: Remove conditional code.
8007
a386f1cc
RH
80082012-05-25 Richard Henderson <rth@twiddle.net>
8009
8010 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8011 dl_hwcap to ifunc resolver.
8012 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8013 elf_ifunc_invoke.
8014 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8015 dl_hwcap to ifunc resolver.
8016 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8017
b6550497
JM
80182012-05-24 Joseph Myers <joseph@codesourcery.com>
8019
8020 [BZ #14153]
8021 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8022 for |x| <= 2**-26, not 2**-57.
8023 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8024 exception.
8025
b0bc23a1
JL
80262012-05-24 Jeff Law <law@redhat.com>
8027
8028 * stdio-common/Makefile (tests): Add bug25.
8029 * stdio-common/bug25.c: New test.
8030
347c92e9
L
80312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8032
8033 [BZ #13576]
8034 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8035 multiple of MALLOC_ALIGNMENT in size.
8036 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8037
6bcc8b3f
JM
80382012-05-24 Joseph Myers <joseph@codesourcery.com>
8039
8040 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8041 Require >= 256.
8042 (FILENAME_MAX): Use macro-int-constant.
8043 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8044 (_IOFBF): Use macro-int-constant.
8045 (_IOLBF): Likewise.
8046 (_IONBF): Likewise.
8047 (SEEK_CUR): Likewise.
8048 (SEEK_END): Likewise.
8049 (SEEK_SET): Likewise.
8050 (TMP_MAX): Likewise.
8051 (EOF): Use macro-int-constant. Require < 0.
8052 (NULL): Use macro-constant. Require == 0.
8053 (stdin): Require type to be FILE *.
8054 (stdout): Likewise.
8055 (stderr): Likewise.
8056 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8057 macro-int-constant.
8058 (EXIT_SUCCESS): Likewise.
8059 (NULL): Use macro-constant. Require == 0.
8060 (RAND_MAX): Use macro-int-constant.
8061 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8062 [C99-based standards] (strtof): Require function.
8063 [C99-based standards] (strtold): Likewise.
8064 [C99-based standards] (strtoll): Likewise.
8065 [C99-based standards] (strtoull): Likewise.
8066 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8067 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8068 [ISO || ISO99 || ISO11] (math.h): Likewise.
8069 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8070 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8072
d18ea0c5
AS
80732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8074
8075 [BZ #14132]
56d25bb8
AS
8076 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8077 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8078 * intl/dgettext.c (DCGETTEXT): Likewise.
8079 * intl/gettext.c (DCGETTEXT): Likewise.
8080 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8081 * posix/regex_internal.h (gettext): Likewise.
8082 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8083 Remove declaration.
8084 * include/argz.h (__argz_count_internal)
8085 (__argz_stringify_internal): Remove declaration.
8086 (__argz_count, __argz_stringify): Declare hidden proto.
8087 * intl/dcgettext.c: Remove use of INTDEF.
8088 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8089 * string/argz-stringify.c: Likewise.
8090 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8091 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8092 Declare hidden proto.
d18ea0c5
AS
8093 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8094 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8095 Declare hidden proto.
8096 * include/stdio.h (__asprintf_internal): Don't declare.
8097 (__asprintf): Don't define as macro. Declare hidden proto.
8098 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8099 (__fsetlocking): Declare hidden proto.
8100 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8101 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8102 hidden proto.
8103 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8104 (_IO_setlinebuf): Remove use of INTUSE.
8105 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8106 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8107 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8108 Remove declaration.
8109 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8110 (_IO_do_flush): Remove use of INTUSE.
8111 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8112 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8113 (_IO_adjust_column, _IO_least_wmarker)
8114 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8115 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8116 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8117 (_IO_default_doallocate, _IO_wdefault_doallocate)
8118 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8119 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8120 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8121 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8122 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8123 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8124 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8125 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8126 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8127 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8128 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8129 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8130 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8131 proto.
8132 (_IO_flush_all_internal, _IO_adjust_column_internal)
8133 (_IO_default_uflow_internal, _IO_default_finish_internal)
8134 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8135 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8136 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8137 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8138 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8139 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8140 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8141 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8142 (_IO_file_close_internal, _IO_file_close_it_internal)
8143 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8144 (_IO_file_init_internal, _IO_file_attach_internal)
8145 (_IO_file_fopen_internal, _IO_file_read_internal)
8146 (_IO_file_sync_internal, _IO_file_seek_internal)
8147 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8148 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8149 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8150 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8151 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8152 (_IO_list_all_internal, _IO_link_in_internal)
8153 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8154 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8155 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8156 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8157 (_IO_do_write_internal, _IO_padn_internal)
8158 (_IO_getline_info_internal, _IO_getline_internal)
8159 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8160 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8161 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8162 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8163 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8164 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8165 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8166 with libc_hidden_ver, remove use of INTUSE.
8167 * libio/genops.c: Likewise.
8168 * libio/freopen.c: Likewise.
8169 * libio/freopen64.c: Likewise.
8170 * libio/iofclose.c: Likewise.
8171 * libio/iofdopen.c: Likewise.
8172 * libio/iofflush.c: Likewise.
8173 * libio/iofflush_u.c: Likewise.
8174 * libio/iofgets.c: Likewise.
8175 * libio/iofgets_u.c: Likewise.
8176 * libio/iofopen.c: Likewise.
8177 * libio/iofopncook.c: Likewise.
8178 * libio/iofread.c: Likewise.
8179 * libio/iofread_u.c: Likewise.
8180 * libio/ioftell.c: Likewise.
8181 * libio/iofwrite.c: Likewise.
8182 * libio/iogetline.c: Likewise.
8183 * libio/iogets.c: Likewise.
8184 * libio/iogetwline.c: Likewise.
8185 * libio/iopadn.c: Likewise.
8186 * libio/iopopen.c: Likewise.
8187 * libio/ioseekoff.c: Likewise.
8188 * libio/ioseekpos.c: Likewise.
8189 * libio/iosetbuffer.c: Likewise.
8190 * libio/iosetvbuf.c: Likewise.
8191 * libio/ioungetc.c: Likewise.
8192 * libio/ioungetwc.c: Likewise.
8193 * libio/iovdprintf.c: Likewise.
8194 * libio/iovsprintf.c: Likewise.
8195 * libio/iovsscanf.c: Likewise.
8196 * libio/memstream.c: Likewise.
8197 * libio/obprintf.c: Likewise.
8198 * libio/oldfileops.c: Likewise.
8199 * libio/oldiofclose.c: Likewise.
8200 * libio/oldiofdopen.c: Likewise.
8201 * libio/oldiofopen.c: Likewise.
8202 * libio/oldiopopen.c: Likewise.
8203 * libio/oldstdfiles.c: Likewise.
8204 * libio/putc.c: Likewise.
8205 * libio/setbuf.c: Likewise.
8206 * libio/setlinebuf.c: Likewise.
8207 * libio/stdfiles.c: Likewise.
8208 * libio/strops.c: Likewise.
8209 * libio/vasprintf.c: Likewise.
8210 * libio/vscanf.c: Likewise.
8211 * libio/vsnprintf.c: Likewise.
8212 * libio/vswprintf.c: Likewise.
8213 * libio/wfiledoalloc.c: Likewise.
8214 * libio/wfileops.c: Likewise.
8215 * libio/wgenops.c: Likewise.
8216 * libio/wmemstream.c: Likewise.
8217 * libio/wstrops.c: Likewise.
8218 * libio/__fpurge.c: Likewise.
8219 * libio/__fsetlocking.c: Likewise.
8220 * assert/assert.c: Likewise.
8221 * debug/fgets_chk.c: Likewise.
8222 * debug/fgets_u_chk.c: Likewise.
8223 * debug/fread_chk.c: Likewise.
8224 * debug/fread_u_chk.c: Likewise.
8225 * debug/gets_chk.c: Likewise.
8226 * debug/obprintf_chk.c: Likewise.
8227 * debug/vasprintf_chk.c: Likewise.
8228 * debug/vdprintf_chk.c: Likewise.
8229 * debug/vsnprintf_chk.c: Likewise.
8230 * debug/vsprintf_chk.c: Likewise.
8231 * malloc/mtrace.c: Likewise.
8232 * misc/error.c: Likewise.
8233 * misc/syslog.c: Likewise.
8234 * stdio-common/asprintf.c: Likewise.
8235 * stdio-common/fxprintf.c: Likewise.
8236 * stdio-common/getw.c: Likewise.
8237 * stdio-common/isoc99_fscanf.c: Likewise.
8238 * stdio-common/isoc99_scanf.c: Likewise.
8239 * stdio-common/isoc99_vfscanf.c: Likewise.
8240 * stdio-common/isoc99_vscanf.c: Likewise.
8241 * stdio-common/isoc99_vsscanf.c: Likewise.
8242 * stdio-common/printf-prs.c: Likewise.
8243 * stdio-common/printf_fp.c: Likewise.
8244 * stdio-common/printf_fphex.c: Likewise.
8245 * stdio-common/printf_size.c: Likewise.
8246 * stdio-common/putw.c: Likewise.
8247 * stdio-common/scanf.c: Likewise.
8248 * stdio-common/sprintf.c: Likewise.
8249 * stdio-common/tmpfile.c: Likewise.
8250 * stdio-common/vfprintf.c: Likewise.
8251 * stdio-common/vfscanf.c: Likewise.
8252 * stdlib/strfmon_l.c: Likewise.
8253 * sunrpc/openchild.c: Likewise.
8254 * sunrpc/xdr_stdio.c: Likewise.
8255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8256 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8257
d6c33fda
RM
82582012-05-24 Roland McGrath <roland@hack.frob.com>
8259
c1487492
RM
8260 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8261
8262 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8263 in the third column, to generate for the shared library an IFUNC
8264 that uses _dl_vdso_vsym.
8265 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8266 * Makeconfig (object-suffixes-noshared): New variable.
8267
8268 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8269 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8270 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8271 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8272
d6c33fda
RM
8273 [BZ #14132]
8274 * include/sys/time.h (__gettimeofday): Remove macro.
8275 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8276 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8277 Remove INTDEF.
8278 (__gettimeofday): Add libc_hidden_def.
8279 (gettimeofday): Add libc_hidden_weak.
8280 * sysdeps/mach/gettimeofday.c: Likewise.
8281 * sysdeps/posix/gettimeofday.c: Likewise.
8282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8283 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8285 (__gettimeofday_internal): Remove strong_alias.
8286 (__gettimeofday): Add libc_hidden_def.
8287 (gettimeofday): Add libc_hidden_weak.
8288 * sysdeps/unix/syscalls.list (gettimeofday):
8289 Remove __gettimeofday_internal alias.
8290
b5a2bbe6
L
82912012-05-24 Daniel Jacobowitz <drow@false.org>
8292 H.J. Lu <hongjiu.lu@intel.com>
8293
8294 [BZ #12495]
8295 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8296 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8297 (largebin_index_32_big): New.
8298 (largebin_index): Use it for 16-byte alignment.
8299 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8300 correction with front_misalign.
8301
cfba4fda
L
83022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8303
7f907421
L
8304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8306 Likewise.
8307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8308 Likewise.
8309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8310 Likewise.
8311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8312 Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8314 Likewise.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8316 Likewise.
8317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8318 Likewise.
8319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8320 Likewise.
8321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8322 Likewise.
8323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8324 Likewise.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8326 Likewise.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8328 Likewise.
8329
cfba4fda
L
8330 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8331 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8332
80bad0cc
JM
83332012-05-24 Joseph Myers <joseph@codesourcery.com>
8334
7a25eb06
JM
8335 [BZ #10846]
8336 [BZ #14036]
8337 * math/libm-test.inc (exp_test): Add test from bug 14036.
8338 (pow_test): Add test from bug 10846.
8339
795405f9
JM
8340 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8341 and other flags.
8342 (special_function): Do not include flags in test name.
8343 (parse_args): Likewise.
8344 * sysdeps/i386/fpu/libm-test-ulps: Update.
8345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8347 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8349
80bad0cc
JM
8350 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8351 exceptions.
8352 * math/libm-test.inc ("Philosophy"): Update comment about
8353 exception testing.
8354 (UNDERFLOW_EXCEPTION): New macro.
8355 (UNDERFLOW_EXCEPTION_OK): Likewise.
8356 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8357 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8358 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8359 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8360 (INVALID_EXCEPTION_OK): Update value.
8361 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8362 (OVERFLOW_EXCEPTION_OK): Likewise.
8363 (IGNORE_ZERO_INF_SIGN): Likewise.
8364 (test_exceptions): Handle underflow exceptions.
8365 (acos_test): Update for underflow exception expectations.
8366 (cexp_test): Likewise.
8367 (clog_test): Likewise.
8368 (clog10_test): Likewise.
8369 (csqrt_test): Likewise.
8370 (ctan_test): Likewise.
8371 (ctanh_test): Likewise.
8372 (exp_test): Likewise.
8373 (exp10_test): Likewise.
8374 (exp2_test): Likewise.
8375 (expm1_test): Likewise.
8376 (fma_test): Likewise.
8377 (j0_test): Likewise.
8378 (jn_test): Likewise.
8379 (nexttoward_test): Likewise.
8380 (pow_test): Likewise.
8381 (scalbn_test): Likewise.
8382 (scalbln_test): Likewise.
8383 (tan_test): Likewise.
8384 (y1_test): Likewise.
8385 * sysdeps/i386/fpu/libm-test-ulps: Update.
8386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8387
9e0e3d0b
DM
83882012-05-23 David S. Miller <davem@davemloft.net>
8389
8390 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8391 (__libc_sigaction): Remove unused local variables.
8392
ccd0a08f
L
83932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8396
62bdf9a6
PE
83972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8398
f8591f80
PE
8399 mktime: avoid signed integer overflow
8400 * time/mktime.c (__mktime_internal): Do not mishandle the case
8401 where diff == INT_MIN.
8402
94c7d826
PE
8403 mktime: simplify computation of average
8404 * time/mktime.c (ranged_convert): Use new time_t_avg function
8405 instead of rolling our own (probably-slower) code.
8406
ce73d683
PE
8407 mktime: do not assume signed right shift propagates sign bit
8408 * time/mktime.c (isdst_differ): New static function.
8409 (__mktime_internal): No need to normalize tm_isdst now.
8410 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8411 tm_isdst values.
8412
72a22e59
PE
8413 mktime: merge another wrapv change from gnulib
8414 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8415 from some compilers.
8416
68605433
PE
8417 mktime: remove incorrect attempt at unusual arithmetics
8418 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8419 The code didn't really work on such machines anyway.
8420 (TYPE_MINIMUM): Assume two's complement.
8421 (twos_complement_arithmetic): Verify that long_int and time_t
8422 are two's complement (or unsigned, in the latter case).
8423
03cf7fe3
PE
8424 mktime: check signed shifts on long_int and time_t, too
8425 * time/mktime.c (SHR): Check that shifts work as desired
8426 on the types long_int and time_t too, as SHR is used on
8427 such types.
8428
f04dfbc2
PE
8429 mktime: do not assume 'long' is wide enough
8430 * time/mktime.c (verify): Move decl up.
8431 (long_int): New type.
8432 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8433 to remove assumption in the code that 'long' is wide enough to
8434 store year values. This assumption is not true on x32 and on
8435 some non-glibc platforms.
8436
62bdf9a6
PE
8437 mktime: merge wrapv change from gnulib
8438 * time/mktime.c (WRAPV): New macro.
8439 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8440 (guess_time_tm, __mktime_internal): Do not assume that signed
8441 integer overflow wraps around; modern compilers generate code
8442 where this assumption is no longer valid.
8443
5e292e4f
L
84442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8447 Replace "jmp L(pseudo_end)" with "ret".
8448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8449 Likewise.
8450
8caf8c87
AJ
84512012-05-23 Andreas Jaeger <aj@suse.de>
8452
8453 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8454 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8455
1a09dc56
AJ
84562012-05-23 Andreas Jaeger <aj@suse.de>
8457 Maximilian Attems <max@stro.at>
8458
8459 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8460 New macros.
8461
1c87aba0
L
84622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8465 code so that pseudo_end is just ret and the stack pointer is
8466 correct also for static library in error case.
8467
40e45bd5
JM
84682012-05-23 Joseph Myers <joseph@codesourcery.com>
8469
c2670533
JM
8470 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8471 move to syscalls.list.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8476
40e45bd5
JM
8477 * manual/install.texi (Running make install): Do not mention Linux
8478 kernel version for which pt_chown is not needed.
8479 (Linux): Do not mention problems with nscd with 2.0 kernels.
8480 * INSTALL: Regenerated.
8481
be08eda5
AJ
84822012-05-23 Andreas Jaeger <aj@suse.de>
8483
8484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8485 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8486 macro.
8487 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8488 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8489 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8490 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8491 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8492 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8493 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8497 * sysdeps/unix/sysv/linux/bits/in.h
8498 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8499
a6a056bb
RM
85002012-05-22 Roland McGrath <roland@hack.frob.com>
8501
8502 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8503 (PREPARE_VERSION): Just use assert instead, it will be elided
8504 under [NDEBUG] anyway.
8505
c9009328
L
85062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * sysdeps/unix/sysv/linux/Makefile: Include
8509 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8510 (sysdep_routines): Remove sysctl.
c9009328
L
8511 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8512 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8513 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8514 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8515 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8516
73338355
AJ
85172012-05-22 Andreas Jaeger <aj@suse.de>
8518
8519 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8520 that pseudo_end is just ret and the stack pointer is correct also
8521 for static library in error case.
8522
d44638b0
PP
85232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8524
8525 [BZ #14122]
8526 * nss/nsswitch.c (defconfig_entries): New variable.
8527 (__nss_database_lookup): Don't leak defconfig entries.
8528 (nss_parse_service_list): Don't leak on error paths.
8529 (free_database_entries): New function.
8530 (free_defconfig): New function.
8531 (free_mem): Move common code to free_database_entries.
8532
31a39bd8
L
85332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8534
da0331a8
L
8535 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8536 Add arch_prctl.
8537 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8538
31a39bd8
L
8539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8540 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8542 New macro.
8543 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8544 (INTERNAL_SYSCALL_TYPES): Likewise.
8545 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8546 (LOAD_REGS_TYPES_[1-6]): Likewise.
8547 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8548 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8549
45470df3
AZ
85502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8551
8552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8553 copysignl for GLIBC_2_0.
8554 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8555 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8557 logbl for GLIBC_2_0.
8558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8559 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8560
98a61bcb
L
85612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8562
a4f6e481
L
8563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8565
f63d5db6
L
8566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8567 Use "neg %eax".
8568
98a61bcb
L
8569 * time/mktime.c: Update copyright years.
8570
95770f14
PE
85712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8572
6226efbd
PE
8573 mktime: merge comment-quoting-style change from gnulib
8574 * time/mktime.c: Quote 'like this' in comments.
8575 The GNU coding standards suggest that we no longer quote `like this',
8576 as "`" and "'" are typically rendered asymmetrically nowadays.
8577 The typical gnulib style is to quote 'like this' when quoting
8578 code, and "like this" when quoting English.
8579
b99e4f78
PE
8580 * time/mktime.c (compile-command): Add "-I.".
8581
643e01e6
PE
8582 mktime: merge mktime-internal.h change from gnulib
8583 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8584
2554247d
PE
8585 mktime: merge time_r change from gnulib
8586 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8587
826dd0ab
PE
8588 mktime: merge DEBUG change from gnulib
8589 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8590 case system <time.h> has a #define.
8591
bd83aabe
PE
8592 mktime: merge <sys/types.h> change from gnulib
8593 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8594 since <time.t> is now guaranteed to define time_t.
8595
95770f14
PE
8596 mktime: merge HAVE_CONFIG_H change from gnulib
8597 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8598
5e1a27a9
L
85992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8600
0e44a77e
L
8601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8602 Use "neg %eax".
8603
5e1a27a9
L
8604 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8605 __rlim_t cast.
8606 (struct rusage): Use anonymous union to pad each field to
8607 __syscall_slong_t.
8608
46259bec
DM
86092012-05-21 David S. Miller <davem@davemloft.net>
8610
8611 * Makefules (o-iterator): Remove .s cases.
8612 (compile-command.s): Delete.
8613 (COMPILE.s): Delete.
8614 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8615
59f0c22e
JM
86162012-05-21 Joseph Myers <joseph@codesourcery.com>
8617
8618 * configure.in (libc_cv_predef_stack_protector): Only consider
8619 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8620 * configure: Regenerated.
8621
20c07380
L
86222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8623
bbb3154b
L
8624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8625 New macro. Use R*LP on int and pointer.
8626 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8627 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8628 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8629 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8630
20c07380
L
8631 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8632 [__WORDSIZE_TIME64_COMPAT32] instead of
8633 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8634 (struct utmp): Likewise.
8635 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8636 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8637 Renamed to ...
8638 (__WORDSIZE_TIME64_COMPAT32): This.
8639 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8640 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8641 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8642 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8643 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8644 (__WORDSIZE_TIME64_COMPAT32): New macro.
8645
d8d1017e
AJ
86462012-05-21 Andreas Jaeger <aj@suse.de>
8647
8648 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8649 only if [SHARED]. Add prototype for __wcschr_ia32.
8650
6c7fb145
RM
86512012-05-21 Roland McGrath <roland@hack.frob.com>
8652
8653 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8654 of %rbp unmolested in the jmp_buf while mangling the low bits.
8655 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8656 unmolested high bits of %rbp while demangling the low bits.
8657 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8658
66274218
AJ
86592012-05-21 Andreas Jaeger <aj@suse.de>
8660
07c58f8f
AJ
8661 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8662 * sunrpc/svc_simple.c: Use it for registerrpc.
8663 * sunrpc/xcrypt.c: Use it for passwd2des.
8664
66274218
AJ
8665 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8666
61f65140
L
86672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8668
8669 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8670 Don't define if [__SYSCALL_WORDSIZE != 32].
8671 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8672 New macro.
8673
5fefb436
AJ
86742012-05-21 Bruno Haible <bruno@clisp.org>
8675 Andreas Jaeger <aj@suse.de>
8676
8677 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8678 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8679 inptr and inend for must_buffer_ch.
8680 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8681 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8682 * stdio-common/Makefile (tests): Remove bug15.
8683 (bug15-ENV): Remove macro.
8684 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8685 anymore.
8686
d8e272ab
AJ
86872012-05-19 Andreas Jaeger <aj@suse.de>
8688 Roland McGrath <roland@hack.frob.com>
8689
8690 * manual/contrib.texi: Completely rewritten. It contains now an
8691 alphabetical list of contributors and their contributions.
8692
4a56a162
RH
86932012-05-21 Richard Henderson <rth@twiddle.net>
8694
8695 * misc/getauxval.c (__getauxval): Use unsigned long int.
8696 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8697 (getauxval): Use unsigned long int.
8698
d024d23c
L
86992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8702
cbc00a03
RM
87032012-05-21 Roland McGrath <roland@hack.frob.com>
8704
8705 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8706 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8707 __alignof__ (long double).
8708
478143fa
AZ
87092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8710
8711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8712
c7683a6d
RH
87132012-05-20 Richard Henderson <rth@twiddle.net>
8714
8715 * misc/getauxval.c: New file.
8716 * misc/sys/auxv.h: New file.
8717 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8718 (routines): Add getauxval.
8719 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8721 * elf/dl-sysdep.c (_dl_auxv): Remove.
8722 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8723 * elf/dl-support.c (_dl_auxv): New variable.
8724 (_dl_aux_init): Initialize it.
8725 * manual/startup.texi (Auxiliary Vector): New node.
8726 * sysdeps/generic/bits/hwcap.h: New file.
8727 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8728 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8729 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8730 * sysdeps/sparc/sysdep.h: ... here. Include it.
8731 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8734 Update.
c7683a6d
RH
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8743
a6f1845d
AZ
87442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8745
8746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8747
cbcbe830
DM
87482012-05-19 David S. Miller <davem@davemloft.net>
8749
8750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8751
e0b16cc2
JM
87522012-05-19 Joseph Myers <joseph@codesourcery.com>
8753
8754 [BZ #14123]
8755 * math/s_ccosh.c: Include <float.h>
8756 (__ccosh): Avoid internal overflow calculating sinh and cosh
8757 values before multiplying by sin and cos values.
8758 * math/s_ccoshf.c: Likewise.
8759 * math/s_ccoshl.c: Likewise.
8760 * math/s_csin.c: Likewise.
8761 * math/s_csinf.c: Likewise.
8762 * math/s_csinl.c: Likewise.
8763 * math/s_csinh.c: Likewise.
8764 * math/s_csinhf.c: Likewise.
8765 * math/s_csinhl.c: Likewise.
8766 * math/libm-test.inc (ccos_test): Add more tests.
8767 (ccosh_test): Likewise.
8768 (csin_test): Likewise.
8769 (csinh_test): Likewise.
8770 * sysdeps/i386/fpu/libm-test-ulps: Update.
8771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8772
6ad13e08
L
87732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8774
f66f0ce8
L
8775 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8776 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8777
6ad13e08
L
8778 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8779
b1d072a7
JM
87802012-05-19 Joseph Myers <joseph@codesourcery.com>
8781
8782 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8783 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8784 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8785 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8786 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8787 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8788 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8789 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8790 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8791 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8792 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8793 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8794 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8795 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8796 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8797 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8798 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8799 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8800 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8801 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8802 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8803 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8804 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8805 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8806 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8807 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8808 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8809 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8810 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8811 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8812 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8813
9eae47cb
AJ
88142012-05-18 Andreas Jaeger <aj@suse.de>
8815
8816 * csu/.gitignore: Delete.
8817
bb07f69f
L
88182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8821 (timex): Use __syscall_slong_t.
8822
e6bdb741
AJ
88232012-05-18 Andreas Jaeger <aj@suse.de>
8824 Carlos O'Donell <carlos_odonell@mentor.com>
8825
8826 * manual/install.texi (Configuring and compiling): Update
8827 description about files modified in the source directory.
d6c33fda 8828 * INSTALL: Regenerated.
e6bdb741 8829
1b74487e
L
88302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8831
8832 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8833 value. Use "or" to set return value to -1.
8834 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8835 negate return value.
8836
a88b64b9
TMQMF
88372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8838
8839 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8840 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8841 failure if the compiler has Graphite support disabled.
8842 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8843 Likewise.
8844 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8845 CFLAGS-memmove.c): Likewise.
8846 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8847 Likewise.
8848
3707636e
L
88492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8850
610b8622
L
8851 * sysdeps/x86_64/x32/_itoa.h: New file.
8852
7cd195df
L
8853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8854 getdents system call only if kernel and user dirents have the
8855 same d_ino and d_off.
8856
94b07d20
L
8857 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8858 LLONG_MAX != LONG_MAX.
8859 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8860 (_fitoa_word): Likewise.
8861
18298070
L
8862 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8863 years.
8864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8865 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8867
553c7ea4
L
8868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8869 include <bits/wordsize.h>. Check __x86_64__ instead of
8870 __WORDSIZE.
8871 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8872 if __x86_64__ is defined. Use anonymous union on fpstate.
8873
3707636e
L
8874 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8875 anonymous union.
8876
b53ef01a
AS
88772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8878
37fb1dc0
AS
8879 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8880 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8881 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8882 Refer to _rtld_local_ro instead of _rtld_global_ro.
8883 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8884 Likewise.
8885 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8886 Likewise.
8887 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8888 Likewise.
8889 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8890 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8891 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8892
b53ef01a
AS
8893 * sysdeps/powerpc/powerpc32/dl-machine.c
8894 (__elf_machine_runtime_setup) [PROF]: Don't reference
8895 _dl_prof_resolve.
8896
7a185db2
AJ
88972012-05-18 Andreas Jaeger <aj@suse.de>
8898
8899 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8900 function only available for GCCs before 3.4 since GCC 3.4
8901 introduced a builtin.
8902 (lrint): Likewise.
8903 (llrintf): Likewise.
8904 (llrint): Likewise.
8905 (fmaxf): Likewise.
8906 (fmax): Likewise.
8907 (fminf): Likewise.
8908 (fmin): Likewise.
8909 (rint): Likewise.
8910 (rintf): Likewise.
8911 (nearbyint): Likewise.
8912 (nearbyintf): Likewise.
8913 (ceil): Likewise.
8914 (ceilf): Likewise.
8915 (floor): Likewise.
8916 (floorf): Likewise.
8917
3e5aef87
L
89182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8919
428bd707
L
8920 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8921 on both fields and cast pointer to __syscall_ulong_t.
8922
3e5aef87
L
8923 * bits/types.h (__fsword_t): New type.
8924 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8925 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8926 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8927 (__FSWORD_T_TYPE): Likewise.
8928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8929 (__FSWORD_T_TYPE): Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8931 (__FSWORD_T_TYPE): Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8933 (__FSWORD_T_TYPE): Likewise.
8934 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8935 __SWORD_TYPE with __fsword_t.
8936 (statfs64): Likewise.
8937
1ba7c3dc
DM
89382012-05-17 David S. Miller <davem@davemloft.net>
8939
8940 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8941
59910343
AJ
89422012-05-17 Andreas Jaeger <aj@suse.de>
8943
8944 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8945 warning.
8946
2e4c1e9e
L
89472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8950
de7f5ce7
AJ
89512012-05-17 Andreas Jaeger <aj@suse.de>
8952
8953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8954 when it is used.
8955
286abc3d
CM
89562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8957
8958 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8959
477cc68e
L
89602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8961
8962 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8963 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8964
1a0994f5
CD
89652012-05-17 Andreas Jaeger <aj@suse.de>
8966 Carlos O'Donell <carlos_odonell@mentor.com>
8967
8968 [BZ #14059]
8969 * sysdeps/x86_64/multiarch/init-arch.h
8970 (bit_YMM_Usable): Rename to...
8971 (bit_AVX_Usable): ... this.
8972 (bit_FMA4_Usable): New macro.
8973 (bit_XMM_state): New macro.
8974 (bit_YMM_state): New macro.
8975 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8976 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8977 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8978 (CPUID_OSXSAVE): New macro.
8979 (CPUID_AVX): New macro.
8980 (CPUID_FMA4): New macro.
8981 (index_YMM_Usable): Rename to...
8982 (index_AVX_Usable): ... this.
8983 (HAS_AVX): Use HAS_ARCH_FEATURE.
8984 (HAS_FMA4): Likewise.
8985 (HAS_YMM_USABLE): Remove.
8986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8987 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8988 are present.
8989 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8990 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8991 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8992 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8993 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8994
0af797de
CM
89952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8996
8997 * math/libm-test.c: Support platforms without multiple rounding modes.
8998 * math/bug-nextafter.c: Support platforms without FP exceptions.
8999 * math/bug-nexttoward.c: Likewise.
9000 * math/test-fenv.c: Likewise.
9001 * math/test-misc.c: Likewise.
9002 * stdlib/bug-getcontext.c: Likewise.
9003
e39745ff
AJ
90042012-05-17 Andreas Jaeger <aj@suse.de>
9005
9006 * manual/examples/search.c (critter_cmp): Change signature to
9007 avoid warnings.
9008 * manual/string.texi (Collation Functions): Likewise.
9009
48970aba
L
90102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9011
9012 * bits/types.h: Fold copyright years.
9013 * bits/typesizes.h: Likewise.
9014 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9018 * time/time.h: Likewise.
9019
bedee953
PP
90202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9021
9022 [BZ #208]
9023 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9024 in instead of returning them. Return void.
9025 (__libc_mallinfo): Accumulate over all arenas.
9026 (__malloc_stats): Adjust for change in int_mallinfo interface.
9027
61653dfb
RM
90282012-05-16 Roland McGrath <roland@hack.frob.com>
9029
30b99d79
RM
9030 [BZ #10375]
9031 * configure.in (NM): Add AC_CHECK_TOOL for it.
9032 (libc_extra_cflags): New substituted variable.
9033 Check for -fstack-protector being used implicitly.
9034 * configure: Regenerated.
9035 * config.make.in (config-extra-cflags): New variable,
9036 gets @libc_extra_cflags@.
9037 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9038
61653dfb
RM
9039 [BZ #10375]
9040 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9041 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9042 * configure: Regenerated.
9043 * config.make.in (CPPUNDEFS): New substituted variable.
9044 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9045 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9046 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9047
661768bb
L
90482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9051 (mq_attr): Use __syscall_slong_t.
9052
d4261567
L
90532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9056 Check __x86_64__ instead of __WORDSIZE.
9057 (_STAT_VER_LINUX): Likewise.
9058 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9059 __syscall_ulong_t and __syscall_slong_t.
9060 (stat64): Likewise.
9061
cf3ff365
L
90622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9063
9064 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9065
76cf3e4d
L
90662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9067
9068 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9069
a637753a
L
90702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9071
9072 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9073 __syscall_ulong_t.
9074
d5e05119
L
9075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9076 include <bits/wordsize.h>. Check __x86_64__ instead of
9077 __WORDSIZE.
9078 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9079 defined.
9080 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9081
f62ee380
L
9082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9083 include <bits/wordsize.h>. Check __x86_64__ instead of
9084 __WORDSIZE.
9085 (user_regs_struct): Use "__extension__ unsigned long long"
9086 instead of "unsigned long" if __x86_64__ is defined.
9087 (user): Likewise. Pad after pointer field if __ILP32__ is
9088 defined.
9089
4e124ced
JM
90902012-05-16 Joseph Myers <joseph@codesourcery.com>
9091
6a3951a0
JM
9092 * configure.in (makeinfo): Require version 4.5 or later. Allow
9093 versions 5 to 9.
9094 * configure: Regenerated.
9095 * manual/install.texi (texinfo): Increase version requirement to
9096 4.5 or later.
9097 * INSTALL: Regenerated.
9098
4e124ced
JM
9099 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9100
953ca31a
L
91012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9104
617aca05
L
9105 * sysdeps/x86_64/x32/ffs.c: New file.
9106
5762f7ae
L
9107 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9108 __syscall_ulong_t.
9109 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9110 defined. Use __syscall_ulong_t.
9111 (shminfo): Use __syscall_ulong_t.
9112 (shm_info): Likewise.
9113
a26b6856
L
9114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9115 __syscall_ulong_t.
9116
cb2b9ef7
L
9117 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9118 <bits/wordsize.h>.
9119 (msgqnum_t): Use __syscall_ulong_t.
9120 (msglen_t): Likewise.
9121 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9122 __syscall_ulong_t.
9123
34683bb0
L
9124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9125 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9126
84a68786
L
9127 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9128
48baa5f1
L
9129 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9130 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9131
180be88b
L
9132 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9133 __syscall_slong_t.
9134
5e90c8ad
L
9135 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9136 include <bits/wordsize.h>. Check __x86_64__ instead of
9137 __WORDSIZE.
9138
23dfb58b
L
9139 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9140 "unsigned long long int" if __x86_64__ is defined.
9141 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9142
ce5d54b0
L
9143 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9144 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9145 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9146
13dc9eac
L
9147 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9148 <stdint.h>.
9149 (GET_PC): Cast to uintptr_t first.
9150 (GET_FRAME): Likewise.
9151 (GET_STACK): Likewise.
9152
a7895d15
L
9153 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9156 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9158 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9161 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9162 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9163 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9164 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9165 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9166 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9167 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9169 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9170 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9171 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9172 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9173 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9175 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9177 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9179 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9182
656416c9
AS
91832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9184
5bd66283
AS
9185 * Makerules (+depfiles): Also collect depfiles from .oS in
9186 $(extra-objs).
9187 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9188 .oS, $(libnldbl-routines)).
9189
656416c9
AS
9190 * Makerules (native-compile-mkdep-flags): Define.
9191 * sunrpc/Makefile (extra-objs): Add $(addprefix
9192 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9193 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9194 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9195 calling $(make-target-directory).
9196
a46f2169
L
91972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9198
9199 * bits/types.h (__snseconds_t): Removed.
9200 * time/time.h (struct timespec): Replace __snseconds_t with
9201 __syscall_slong_t.
9202 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9203 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9204 Likewise.
9205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9206 (__SNSECONDS_T_TYPE): Likewise.
9207 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9208 (__SNSECONDS_T_TYPE): Likewise.
9209 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9210 (__SNSECONDS_T_TYPE): Likewise.
9211
6af6528b
L
92122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9213
9214 * sysdeps/mach/hurd/bits/typesizes.h
9215 (__SYSCALL_SLONG_TYPE): New macro.
9216 (__SYSCALL_ULONG_TYPE): Likewise.
9217
de986b56
L
92182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9219
9220 * bits/types.h (__syscall_slong_t): New type.
9221 (__syscall_ulong_t): Likewise.
9222
9223 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9224 (__SYSCALL_ULONG_TYPE): Likewise.
9225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9226 (__SYSCALL_SLONG_TYPE): Likewise.
9227 (__SYSCALL_ULONG_TYPE): Likewise.
9228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9229 (__SYSCALL_SLONG_TYPE): Likewise.
9230 (__SYSCALL_ULONG_TYPE): Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9232 (__SYSCALL_SLONG_TYPE): Likewise.
9233 (__SYSCALL_ULONG_TYPE): Likewise.
9234
85736dc7
L
92352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9236
9237 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9238 Add sigaltstack-offsets.sym.
9239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9240 <sigaltstack-offsets.h>.
9241 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9242 longjmp_msg pointer.
9243 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9244 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9245 signal stack.
9246 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9247
cc03b296
JM
92482012-05-15 Joseph Myers <joseph@codesourcery.com>
9249
a9538892
JM
9250 * elf/stackguard-macros.h: Remove file.
9251 * sysdeps/generic/stackguard-macros.h: New file.
9252 * sysdeps/i386/stackguard-macros.h: Likewise.
9253 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9254 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9255 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9256 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9257 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9258 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9259 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9260 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9261 <elf/stackguard-macros.h>.
9262
cc03b296
JM
9263 [BZ #14109]
9264 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9265 __aligned__ in attribute.
9266 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9267 (gregset_t): Likewise.
9268
93171016
L
92692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9270
9271 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9272 * sysdeps/x86_64/64/Implies-after: Here. New file.
9273 * sysdeps/x86_64/x32/Implies-after: New file.
9274
d86813a0
L
92752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9276
9277 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9278 and access return value for _dl_profile_fixup. Use R10_LP to
9279 load frame size.
9280
2953ec75
L
92812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9284
3b550e9e
L
92852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9288 * sysdeps/x86_64/x32/sysdep.h: New file.
9289
eda41706
L
92902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9291
9292 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9293 * sysdeps/x86_64/setjmp.S: Likewise.
9294
9ea01d93
AZ
92952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9296
9297 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9298 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9299 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9300 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9301 remove unused global constant.
9302
02a91938
CM
93032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9304
9305 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9306 include of <not-cancel.h>.
9307
6540185f
RM
93082012-05-15 Roland McGrath <roland@hack.frob.com>
9309
9310 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9311
509072a0
AJ
93122012-05-15 Jeff Law <law@redhat.com>
9313 Andreas Jaeger <aj@suse.de>
9314
9315 [BZ #13594]
9316 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9317 out from...
9318 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9319 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9320 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9321 code changing __hst_map_handle.map.
9322
ba75122d
RM
93232012-05-15 Roland McGrath <roland@hack.frob.com>
9324
9325 * configure.in (sysnames): Look for Implies-before and Implies-after
9326 files.
9327 * configure: Regenerated.
9328
890d8bd8
L
93292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9330
9331 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9332 8-byte data alignment with LP_SIZE alignment.
9333
f6ee6623
L
93342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9337 into R10_LP.
9338
ea2626f6
L
93392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9340
9341 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9342
085f715e
L
93432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9346 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9347 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9348 Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9350
be8498fc
L
93512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9354 (stackinfo_sub_sp): Likewise.
9355
70bc83b9
L
93562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9359 RAX_LP.
9360
9bc0b730
L
93612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9364 into R*_LP.
9365
6d2850e7
L
93662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9367
9368 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9369 sizes into R*_LP.
9370
3cb84561
L
93712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9374
54e2ed81
L
93752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9378 into R11_LP and load __x86_64_shared_cache_size_half into
9379 R8_LP.
9380
8a17f349
L
93812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9384 R8_LP.
9385
777b1eea
AZ
93862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9387
9388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9389 logb for POWER7.
9390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9391 logbf for POWER7.
9392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9393 logbl for POWER7.
9394 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9395 powerpc32/power7/fpu/s_logb.c via #include.
9396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9397 powerpc32/power7/fpu/s_logbf.c via #include.
9398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9399 powerpc32/power7/fpu/s_logbl.c via #include.
9400
d20d4ac2
JM
94012012-05-15 Joseph Myers <joseph@codesourcery.com>
9402
9403 * README.libm: Remove file.
9404
6cdef1ab
L
94052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9406
9407 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9408 count for x32. Use R*_LP and omit operand-size suffix.
9409
0b254d8f
L
94102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9411
9412 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9413 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9414 * sysdeps/x86_64/x32/shlib-versions: New file.
9415
ceb809dc
RM
94162012-05-14 Roland McGrath <roland@hack.frob.com>
9417
9418 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9419 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9420 Use _dl_fatal_printf instead.
9421
37f1abd4
JM
94222012-05-14 Joseph Myers <joseph@codesourcery.com>
9423
9424 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9425 set if not set by the user. Do not allow for being unset.
9426 * sysdeps/unix/sysv/linux/configure: Regenerated.
9427
11de3a33
L
94282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9429
9430 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9431 the `q' suffix from lea and replace .quad with ASM_ADDR.
9432
e02f153a
L
94332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9434
9435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9436 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9437 instead of $17.
9438 (PTR_DEMANGLE): Likewise.
9439
520ae0fd
L
94402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9441
9442 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9443 (LP_OP): Likewise.
9444 (ASM_ADDR): Likewise.
9445 (RAX_LP): Likewise.
9446 (RBP_LP): Likewise.
9447 (RBX_LP): Likewise.
9448 (RCX_LP): Likewise.
9449 (RDI_LP): Likewise.
9450 (RSI_LP): Likewise.
9451 (RSP_LP): Likewise.
9452 (R8_LP): Likewise.
9453 (R9_LP): Likewise.
9454 (R10_LP): Likewise.
9455 (R10_LP): Likewise.
9456 (R11_LP): Likewise.
9457 (R12_LP): Likewise.
9458 (R13_LP): Likewise.
9459 (R14_LP): Likewise.
9460 (R15_LP): Likewise.
9461
b985be81
L
94622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9463
9464 * sysdeps/x86_64/x32/dl-machine.h: New file.
9465
6a4888ff
AJ
94662012-05-14 Andreas Jaeger <aj@suse.de>
9467
9468 * manual/Makefile (subdir): Remove export of subdir.
9469 (all): Remove target.
9470 (.PHONY): Remove all from list.
9471 (mkinstalldirs): Remove.
9472 (.PHONY): Remove installdirs from list.
9473 ($(inst_infodir)/libc.info): Use make-target-directory.
9474 (installdirs): Remove.
9475 (subdir_%): Remove.
9476 (glibc-targets): Remove.
9477 (lib): Remove.
9478 (stubs): Remove.
9479 ($(objpfx)stubs ../po/manual.pot): Remove.
9480 ($(objpfx)stamp%): Remove.
9481 (make-target-directory): Remove.
9482 (subdir_install): Remove.
9483 (routines): Remove.
9484 (aux): Remove.
9485 (sources): Remove.
9486 (objects): Remove.
9487 (headers): Remove.
9488
9489 [BZ #13750]
9490 * manual/.gitignore: Remove, it's not needed anymore.
9491 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9492 all files in it.
9493 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9494 directory.
9495 (texis): Renamed to $(objpfx)texis.
9496 (texis-path): New, contains path to generated files.
9497 (chapters.%): Use texis-path for complete path, add extra argument
9498 libc-texinfo.sh.
9499 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9500 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9501 (summary,texi, stamp-summary): Use complete path of
9502 files. Generate files in build dir.
9503 (dir-add.texi): Build in build dir.
9504 (libm-err.texi,stamp-libm-err): Likewise.
9505 (version.texi, stamp-version): Likewise.
9506 (.%c.texi): Likewise.
9507 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9508 (mostlyclean): Remove target.
9509 (realclean): Remove target.
9510 (generated): Add new variable with contents from mostlyclean and
9511 realclean, remove entries duplicated in common-mostlyclean, add
9512 stamp-libm-err and stamp-version.
9513 (generated-dirs): Add libc directory.
9514 ($(inst_infodir)/libc.info): Install files from build dir.
9515
9516 * manual/install.texi (Configuring and compiling): Adjust since
9517 the info files are not part of the tar ball anymore.
9518
7ac77294
AJ
95192012-05-14 Andreas Jaeger <aj@suse.de>
9520
9521 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9522 variable.
9523
ffb7875d
JM
95242012-05-14 Joseph Myers <joseph@codesourcery.com>
9525
9526 [BZ #13717]
9527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9528 to 2.2.0 where earlier.
9529 * sysdeps/unix/sysv/linux/configure: Regenerated.
9530 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9531 Remove conditional code.
9532 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9533 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9534 Remove conditional code.
9535 [!__NR_lchown]: Likewise.
9536 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9537 [__NR_lchown]: Likewise.
9538 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9539 comment referencing __ASSUME_LCHOWN_SYSCALL.
9540 * sysdeps/unix/sysv/linux/i386/sigaction.c
9541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9543 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9544 Remove conditional code.
9545 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9546 (__protocol_available): Remove #if 0 code.
9547 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9548 conditional code.
9549 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9550 * sysdeps/unix/sysv/linux/kernel-features.h
9551 (__ASSUME_GETCWD_SYSCALL): Don't define.
9552 (__ASSUME_REALTIME_SIGNALS): Likewise.
9553 (__ASSUME_PREAD_SYSCALL): Likewise.
9554 (__ASSUME_PWRITE_SYSCALL): Likewise.
9555 (__ASSUME_POLL_SYSCALL): Likewise.
9556 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9557 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9558 non-SPARC.
9559 (__ASSUME_SIOCGIFNAME): Don't define.
9560 (__ASSUME_MSG_NOSIGNAL): Likewise.
9561 (__ASSUME_SENDFILE): Define unconditionally.
9562 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9563 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9564 conditional code.
9565 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9566 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9567 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9568 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9569 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9570 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9571 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9585 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9588 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9591 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9592 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9594 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9596 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9597 Remove conditional code.
9598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9599 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9600 Remove conditional code.
9601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9602 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9603 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9604 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9605 Remove conditional code.
9606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9607 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9608 Remove conditional code.
9609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9610 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9611 Remove conditional code.
9612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9613 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9614 Remove conditional code.
9615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9616 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9617 Remove conditional code.
9618 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9619 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9620 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9621 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9622 * sysdeps/unix/sysv/linux/sigaction.c
9623 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9624 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9625 * sysdeps/unix/sysv/linux/sigpending.c
9626 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9627 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9628 * sysdeps/unix/sysv/linux/sigprocmask.c
9629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9631 * sysdeps/unix/sysv/linux/sigsuspend.c
9632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9635 (__libc_missing_rt_sigs): Remove.
9636 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9637 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9638 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9639 Remove conditional code.
9640 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9641 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9642 return 1.
9643 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9644 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9645 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9646 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9647
1bfb7291
AJ
96482012-05-14 Andreas Jaeger <aj@suse.de>
9649
caae5a81
AJ
9650 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9651 it's not used in glibc.
9652 (__coshm1): Likewise.
9653 (__acosh1p): Likewise.
9654 (__sgn): Likewise.
9655
1bfb7291
AJ
9656 * manual/string.texi (Copying and Concatenation): Add missing
9657 variable in concat example.
9658 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9659
c044d724
L
96602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9661
144c5467 9662 [BZ #14103]
c044d724
L
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9664 __builtin_clzl with __builtin_clzll.
9665
2523c62b
L
96662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9667
9668 [BZ #14104]
9669 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9670 libc_freeres_ptr.
9671
d7bb4c42
LD
96722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9673
9674 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9675 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9676 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9678
9dc4e1fb
MF
96792012-05-14 Mike Frysinger <vapier@gentoo.org>
9680
9681 * NEWS: Update ia64 info.
9682
c7df0112
AS
96832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9684
9685 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9686 used as bcopy.
9687
dc70356c
TS
96882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9689
9690 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9691 * sysdeps/unix/syscalls.list (dup3): Likewise.
9692 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9693 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9694
9fb1a21f
L
96952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9696
9697 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9698 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9699
4822a2a5
L
97002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9701
9702 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9703 thread pointer.
9704 (TLS_IE): Use mov/add instead of movq/addq to load thread
9705 pointer.
9706 (TLS_GD_PREFIX): New.
9707 (TLS_GD): Use it.
9708
842b81d6
DM
97092012-05-11 David S. Miller <davem@davemloft.net>
9710
9711 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9712 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9713 (_FPU_SETCW): Likewise.
9714
1cf463cd
L
97152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9718 is 32-byte aligned.
9719
60cc4a18
AS
97202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9721
9722 [BZ #11837]
9723 * iconvdata/gb18030.c: Update tables.
9724 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9725 characters specially.
9726 (BODY for TO_LOOP): Add encoding of missing ranges.
9727
febb44a4
TS
97282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9729
9730 [BZ #13673]
9731 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9732 * sysdeps/mach/hurd/dup3.c: Likewise.
9733 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9734 * sysdeps/powerpc/memmove.c:: Likewise.
9735
0a10fb9e
L
97362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9739 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9740
df8a552f
L
97412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 * elf/elf.h (R_X86_64_RELATIVE64): New.
9744 (R_X86_64_NUM): Updated.
9745 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9746 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9747 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9748 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9749 tst-quad1pie tst-quad2pie
9750 (modules-names): Add tst-quadmod1 tst-quadmod2.
9751 ($(objpfx)tst-quad1): New dependency.
9752 ($(objpfx)tst-quad2): Likewise.
9753 ($(objpfx)tst-quad1pie): Likewise.
9754 ($(objpfx)tst-quad2pie): Likewise.
9755 * sysdeps/x86_64/tst-quad1.c: New file.
9756 * sysdeps/x86_64/tst-quad1pie.c: New file.
9757 * sysdeps/x86_64/tst-quad2.c: Likewise.
9758 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9759 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9760 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9761 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9762 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9763
f34d6f84
ST
97642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9765
f42d41d1
ST
9766 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9767 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9768 * streams/stropts.h (t_scalar_t): Define type.
9769
3c3571fc
ST
9770 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9771 (_PATH_PRESERVE): Set to "/var/lib".
9772 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9773
61f06bd3
ST
9774 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9775 instead of int.
9776
918d4d71
ST
9777 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9778 if __dir_mkfile succeeded.
9779
f34d6f84
ST
9780 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9781 checking for _hurd_dtablesize. Unlock it right after having
9782 finished _hurd_dtable allocation.
9783
10589b4a
TS
97842012-05-10 Thomas Schwinge <thomas@schwinge.name>
9785
674cdbc7
TS
9786 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9787 * sysdeps/mach/hurd/configure: Regenerated.
9788 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9789 special-casing to...
9790 * sysdeps/gnu/configure.in: ... this new file.
9791 * sysdeps/unix/sysv/linux/configure: Regenerated.
9792 * sysdeps/gnu/configure: New generated file.
9793
8e41b99f
TS
9794 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9795 for Linux: use nsec instead of usec, as well as:
9796 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9797 members of type struct timespec.
9798 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9799 New macros.
9800 (struct stat64): Likewise.
9801 (_STATBUF_ST_NSEC): New macro.
9802 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9803
10589b4a
TS
9804 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9805 __strtoul_internal rather than strtoul.
9806
63643c85
PT
98072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9808
9809 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9810 and reject them.
9811
3faebe6a
ST
98122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9813
9814 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9815 which preserves existing values.
9816 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9817
c6474b07
PT
98182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9819
9820 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9821 TIMEOUT values. Return EINVAL for NFDS values either negative or
9822 greater than FD_SETSIZE.
9823
1043890b
ST
98242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9825
9826 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9827 allocated, call __vm_protect to finish enabling the existing space, and
9828 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9829 allocate the remainder.
9830
37ed8b9b
PT
98312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9832
9833 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9834 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9835
db653660
ST
98362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9837
37ed8b9b
PT
9838 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9839 sysdeps/mach/hurd/readlink.c.
b29d4053 9840
db653660
ST
9841 * posix/tst-sysconf.c (posix_options): Only use
9842 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9843 _POSIX_SYNCHRONIZED_IO when they are defined
9844 * sysdeps/mach/hurd/bits/posix_opt.h:
9845 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9846 (_XOPEN_REALTIME): Undefine macro.
9847 (_XOPEN_REALTIME_THREADS): Undefine macro.
9848 (_XOPEN_SHM): Undefine macro.
9849 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9850 macro to -1.
9851 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9852 macro to -1.
9853 (_POSIX_ASYNC_IO): Undefine macro.
9854 (_POSIX_PRIORITIZED_IO): Undefine macro.
9855 (_POSIX_SPIN_LOCKS): Define macro to -1.
9856
ee16e894
ST
9857 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9858 SA_NODEFER, SA_RESETHAND.
9859 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9860 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9861 F_DUPFD_CLOEXEC.
9862
6103ae3b
TS
98632012-05-10 Thomas Schwinge <thomas@schwinge.name>
9864
9865 * elf/Makefile (pldd-modules): Define unconditionally.
9866
80b4e5f3
TS
98672012-05-10 Thomas Schwinge <thomas@schwinge.name>
9868
9869 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9870
edadcbd6
ST
98712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9872
9873 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9874 Return ENOENT when name is empty.
9875 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9876
80694780
TS
98772012-05-10 Thomas Schwinge <thomas@schwinge.name>
9878
1792c087
TS
9879 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9880
80694780
TS
9881 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9882
6b645f0d
ST
98832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9884
80694780
TS
9885 Fix mlock in all cases except non-readable pages.
9886 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9887 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9888
6b645f0d
ST
9889 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9890 (__mkdir): When path is `/', just fail with EEXIST.
9891 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9892
e468f8a3
TS
98932012-05-10 Thomas Schwinge <thomas@schwinge.name>
9894
9895 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9896 <sys/uio.h> (for writev).
9897 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9898 and <sys/param.h> (for MIN).
9899
a4186cff
PT
99002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9901
9902 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9903 REQUESTED_TIME. Properly set the remaining time and return EINTR
9904 if interrupted.
9905
510bbf14
TS
99062012-05-10 Thomas Schwinge <thomas@schwinge.name>
9907
9908 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9909 Depend on against $(link-rpcuserlibs).
9910
5d5722e8
ST
99112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9912
a4186cff
PT
9913 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9914 (__libc_stack_end): Do not use attribute_relro.
9915 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9916 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9917 to libthread-provided value.
a4186cff
PT
9918 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9919 attribute_relro.
5d5722e8 9920
37233df9
TS
99212012-05-10 Thomas Schwinge <thomas@schwinge.name>
9922
be971a2b
TS
9923 [BZ #3748]
9924 * bits/libc-lock.h (__libc_once_get): New macro.
9925 * sysdeps/mach/bits/libc-lock.h: Likewise.
9926 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9927 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9928 instead of using implementation details.
9929
37233df9
TS
9930 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9931 * libio/freopen.c: Likewise.
9932 * libio/freopen64.c: Likewise.
9933 * misc/syslog.c: Likewise.
9934 * nscd/connections.c: Likewise.
9935 * nscd/netgroupcache.c: Likewise.
9936 * sysdeps/posix/getcwd.c: Likewise.
9937
38de94a5
RM
99382012-05-10 Roland McGrath <roland@hack.frob.com>
9939
9940 * math/w_ilogbf.c: Add #include <limits.h>.
9941
67530489
ST
99422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9943
a4186cff 9944 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9945 path instead of returning without unlocking.
9946
67530489
ST
9947 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9948 immediate-write ioctls.
9949 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9950
5aa3a74a
TS
99512012-05-10 Thomas Schwinge <thomas@schwinge.name>
9952
18bad2ae
TS
9953 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9954 __builtin_frame_address instead of making assumptions about the
9955 location of the return address relative to DATA. Force early load of
9956 the return address.
9957 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9958 __builtin_frame_address.
9959
5aa3a74a
TS
9960 dup3 for GNU Hurd.
9961 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9962 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9963 implement dup3 and do some further code clean-ups.
9964 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9965 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9966
ecd0de9a
ST
99672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9968
cd9fa985
ST
9969 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9970
a4186cff
PT
9971 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9972 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9973 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9974 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9975 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9976 d->port.lock.
802ca5a5 9977
a4186cff
PT
9978 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9979 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9980 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9981
bcf55240
TS
99822012-05-10 Thomas Schwinge <thomas@schwinge.name>
9983
6960eb42
TS
9984 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9985 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9986 definitions.
9987
eb43375f
TS
9988 accept4 for GNU Hurd.
9989 * include/sys/socket.h (__libc_accept4): New prototype.
9990 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9991 to implement __libc_accept4.
9992 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9993 __libc_accept4.
9994 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9995
bcf55240
TS
9996 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9997 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9998 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9999 signal-defines.sym.
10000
6178c55b
ST
100012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10002
a4186cff 10003 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10004
6f080c2f
TS
100052012-05-10 Thomas Schwinge <thomas@schwinge.name>
10006
10007 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10008 assertion on O_CLOEXEC flag.
10009 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10010 * hurd/intern-fd.c: Likewise.
10011 * hurd/port2fd.c: Likewise.
10012
bcfe3a54
ST
100132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10014
10015 [BZ #3906]
10016 * bits/in.h (IPV6_PKTINFO): Define new macro.
10017 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10018
89c9aa49
AZ
100192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10020
10021 [BZ #13954]
10022 [BZ #13955]
10023 [BZ #13956]
10024 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10026 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10030 * math/libm-test.inc (logb_test) : Additional logb tests.
10031
021db4be
AJ
100322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10033 Andreas Jaeger <aj@suse.de>
10034
10035 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10036 * configure: Regenerated.
10037 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10038 * config.make.in (link-obsolete-rpc): New substituted variable.
10039 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10040 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10041 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10042 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10043 so that libc.a contains the symbols.
10044 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10045 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10046 * sunrpc/auth_none.c: Likewise.
10047 * sunrpc/auth_unix.c: Likewise.
10048 * sunrpc/authdes_prot.c: Likewise.
10049 * sunrpc/authuxprot.c: Likewise.
10050 * sunrpc/clnt_gen.c: Likewise.
10051 * sunrpc/clnt_perr.c: Likewise.
10052 * sunrpc/clnt_raw.c: Likewise.
10053 * sunrpc/clnt_simp.c: Likewise.
10054 * sunrpc/clnt_tcp.c: Likewise.
10055 * sunrpc/clnt_udp.c: Likewise.
10056 * sunrpc/clnt_unix.c: Likewise.
10057 * sunrpc/des_crypt.c: Likewise.
10058 * sunrpc/des_soft.c: Likewise.
10059 * sunrpc/get_myaddr.c: Likewise.
10060 * sunrpc/key_call.c: Likewise.
10061 * sunrpc/key_prot.c: Likewise.
10062 * sunrpc/netname.c: Likewise.
10063 * sunrpc/pm_getmaps.c: Likewise.
10064 * sunrpc/pm_getport.c: Likewise.
10065 * sunrpc/pmap_clnt.c: Likewise.
10066 * sunrpc/pmap_prot.c: Likewise.
10067 * sunrpc/pmap_prot2.c: Likewise.
10068 * sunrpc/pmap_rmt.c: Likewise.
10069 * sunrpc/publickey.c: Likewise.
10070 * sunrpc/rpc_cmsg.c: Likewise.
10071 * sunrpc/rpc_common.c: Likewise.
10072 * sunrpc/rpc_dtable.c: Likewise.
10073 * sunrpc/rpc_prot.c: Likewise.
10074 * sunrpc/rpc_thread.c: Likewise.
10075 * sunrpc/rtime.c: Likewise.
10076 * sunrpc/svc.c: Likewise.
10077 * sunrpc/svc_auth.c: Likewise.
10078 * sunrpc/svc_raw.c: Likewise.
10079 * sunrpc/svc_run.c: Likewise.
10080 * sunrpc/svc_tcp.c: Likewise.
10081 * sunrpc/svc_udp.c: Likewise.
10082 * sunrpc/svc_unix.c: Likewise.
10083 * sunrpc/svcauth_des.c: Likewise.
10084 * sunrpc/xcrypt.c: Likewise.
10085 * sunrpc/xdr.c: Likewise.
10086 * sunrpc/xdr_array.c: Likewise.
10087 * sunrpc/xdr_float.c: Likewise.
10088 * sunrpc/xdr_intXX_t.c: Likewise.
10089 * sunrpc/xdr_mem.c: Likewise.
10090 * sunrpc/xdr_rec.c: Likewise.
10091 * sunrpc/xdr_ref.c: Likewise.
10092 * sunrpc/xdr_sizeof.c: Likewise.
10093 * sunrpc/xdr_stdio.c: Likewise.
10094
b5c086a2
RM
100952012-05-10 Roland McGrath <roland@hack.frob.com>
10096
10097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10098 change. Update copyright years.
10099
6d74dd09
JM
101002012-05-10 Joseph Myers <joseph@codesourcery.com>
10101
10102 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10103
28e72501
MK
101042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10105 Joseph Myers <joseph@codesourcery.com>
10106 Paul Pluzhnikov <ppluzhnikov@google.com>
10107
10108 [BZ #14012]
10109 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10110 requiring rpcgen.
10111 [cross-compiling] (extra-libs): Likewise.
10112 [cross-compiling] (extra-libs-others): Likewise.
10113 [cross-compiling] (librpcsvc-routines): Likewise.
10114 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10115 [cross-compiling] (omit-deps): Likewise.
10116 (sunrpc-CPPFLAGS): New variable.
10117 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10118 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10119 (cross-rpcgen-objs): New variable.
10120 (extra-objs): Append $(cross-rpcgen-objs).
10121 ($(cross-rpcgen-objs)): New rule.
10122 ($(objpfx)cross-rpcgen): Likewise.
10123 (rpcgen-cmd): Define to use $(built-program-file). Expand
10124 comment.
10125 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10126 ($(objpfx)x%.stmp): Likewise.
10127 * sunrpc/proto.h [IS_IN_build] (_): Define.
10128 [IS_IN_build] (_libc_intl_domainname): Likewise.
10129
c8c59454
L
101302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10133 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10134 and R_X86_64_TPOFF64.
10135
6f27cd16
JM
101362012-05-10 Joseph Myers <joseph@codesourcery.com>
10137
10138 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10139 sysdeps/unix/sysv/syscalls.list.
10140 (stime): Likewise.
10141 (utime): Likewise.
10142 * sysdeps/unix/sysv/syscalls.list: Remove file.
10143
02467e1c
PE
101442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10145
10146 [BZ #3440]
10147 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10148 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10149 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10150 (__LC_IDENTIFICATION): Make these macros useful in #if
10151 expressions, as required by C99.
10152
da392631
AS
101532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10154
10155 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10156 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10157 after this.
10158
8115f29b
L
101592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10160
10161 * stdlib/longlong.h: Updated from GCC.
10162
bdd74070
AJ
101632012-05-09 Andreas Jaeger <aj@suse.de>
10164
edfe0dbe
AJ
10165 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10166 default is first entry.
10167 (run_mode): Set type.
10168 (main): Remove informal message about syslog.
10169 (options): Fix typo.
10170
bcfe3a54
ST
10171 [BZ #14053]
10172 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 10173 to asm.
bcfe3a54
ST
10174 (lrint): Likewise.
10175 (llrintf): Likewise.
10176 (llrint): Likewise.
10177 (rint): Likewise.
10178 (rintf): Likewise.
10179 (nearbyint): Likewise.
10180 (nearbyintf): Likewise.
bdd74070 10181
91d8d69e
AJ
101822012-05-09 Andreas Jaeger <aj@suse.de>
10183 Pedro Alves <palves@redhat.com>
10184
10185 * nscd/nscd.c (run_mode): Use enum.
10186 (main): Cleanup coding style issue.
10187
bb90b80b
AJ
101882012-05-09 Alexandre Oliva <aoliva@redhat.com>
10189 Andreas Jaeger <aj@suse.de>
10190
bcfe3a54
ST
10191 * nscd/nscd.c (go_background): Replaced with...
10192 (run_mode): ... this.
bb90b80b 10193 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
10194 (options): Add -F --foreground.
10195 (main): Implement it.
10196 (parse_opt): Parse it.
bb90b80b 10197
1a4b75a1
AJ
101982012-05-09 Andreas Jaeger <aj@suse.de>
10199
10200 [BZ #14083]
10201 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10202 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10203 -Wconversion warning.
10204 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10205 Likewise.
10206
b1cc2472
JM
102072012-05-09 Joseph Myers <joseph@codesourcery.com>
10208
10209 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10210 == 0.
10211 (LC_ALL): Use macro-int-constant.
10212 (LC_COLLATE): Likewise.
10213 (LC_CTYPE): Likewise.
10214 (LC_MESSAGES): Likewise.
10215 (LC_MONETARY): Likewise.
10216 (LC_NUMERIC): Likewise.
10217 (LC_TIME): Likewise.
10218 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10219 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10221 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10222 Specify type.
10223 [C99-based standards] (float_t): Expect type.
10224 [C99-based standards] (double_t): Expect type.
10225 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10226 type.
10227 [C99-based standards] (HUGE_VALL): Likewise.
10228 [C99-based standards] (INFINITY): Likewise.
10229 [C99-based standards] (NAN): Likewise.
10230 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10231 [C99-based standards] (FP_NAN): Likewise.
10232 [C99-based standards] (FP_NORMAL): Likewise.
10233 [C99-based standards] (FP_SUBNORMAL): Likewise.
10234 [C99-based standards] (FP_ZERO): Likewise.
10235 [C99-based standards] (FP_FAST_FMA): Use
10236 optional-macro-int-constant. Specify type. Require == 1.
10237 [C99-based standards] (FP_FAST_FMAF): Likewise.
10238 [C99-based standards] (FP_FAST_FMAL): Likewise.
10239 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10240 [C99-based standards] (FP_ILOGBNAN): Likewise.
10241 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10242 Specify type.
10243 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10244 [C99-based standards] (math_errhandling): Specify type.
10245 [ISO99 || ISO11] (signgam): Do not allow.
10246 [non-C99-based standards] (copysignf): Do not allow.
10247 [non-C99-based standards] (exp2f): Likewise.
10248 [non-C99-based standards] (log2f): Likewise.
10249 [non-C99-based standards] (modff): Allow.
10250 [non-C99-based standards] (erff): Do not allow.
10251 [non-C99-based standards] (erfcf): Likewise.
10252 [non-C99-based standards] (gammaf): Likewise.
10253 [non-C99-based standards] (hypotf): Likewise.
10254 [non-C99-based standards] (j0f): Likewise.
10255 [non-C99-based standards] (j1f): Likewise.
10256 [non-C99-based standards] (jnf): Likewise.
10257 [non-C99-based standards] (lgammaf): Likewise.
10258 [non-C99-based standards] (tgammaf): Likewise.
10259 [non-C99-based standards] (y0f): Likewise.
10260 [non-C99-based standards] (y1f): Likewise.
10261 [non-C99-based standards] (ynf): Likewise.
10262 [non-C99-based standards] (isnanf): Likewise.
10263 [non-C99-based standards] (acoshf): Likewise.
10264 [non-C99-based standards] (asinhf): Likewise.
10265 [non-C99-based standards] (atanhf): Likewise.
10266 [non-C99-based standards] (cbrtf): Likewise.
10267 [non-C99-based standards] (expm1f): Likewise.
10268 [non-C99-based standards] (ilogbf): Likewise.
10269 [non-C99-based standards] (log1pf): Likewise.
10270 [non-C99-based standards] (logbf): Likewise.
10271 [non-C99-based standards] (nextafterf): Likewise.
10272 [non-C99-based standards] (remainderf): Likewise.
10273 [non-C99-based standards] (rintf): Likewise.
10274 [non-C99-based standards] (scalbf): Likewise.
10275 [non-C99-based standards] (copysignl): Likewise.
10276 [non-C99-based standards] (exp2l): Likewise.
10277 [non-C99-based standards] (log2l): Likewise.
10278 [non-C99-based standards] (modfl): Allow.
10279 [non-C99-based standards] (erfl): Do not allow.
10280 [non-C99-based standards] (erfcl): Likewise.
10281 [non-C99-based standards] (gammal): Likewise.
10282 [non-C99-based standards] (hypotl): Likewise.
10283 [non-C99-based standards] (j0l): Likewise.
10284 [non-C99-based standards] (j1l): Likewise.
10285 [non-C99-based standards] (jnl): Likewise.
10286 [non-C99-based standards] (lgammal): Likewise.
10287 [non-C99-based standards] (tgammal): Likewise.
10288 [non-C99-based standards] (y0l): Likewise.
10289 [non-C99-based standards] (y1l): Likewise.
10290 [non-C99-based standards] (ynl): Likewise.
10291 [non-C99-based standards] (isnanl): Likewise.
10292 [non-C99-based standards] (acoshl): Likewise.
10293 [non-C99-based standards] (asinhl): Likewise.
10294 [non-C99-based standards] (atanhl): Likewise.
10295 [non-C99-based standards] (cbrtl): Likewise.
10296 [non-C99-based standards] (expm1l): Likewise.
10297 [non-C99-based standards] (ilogbl): Likewise.
10298 [non-C99-based standards] (log1pl): Likewise.
10299 [non-C99-based standards] (logbl): Likewise.
10300 [non-C99-based standards] (nextafterl): Likewise.
10301 [non-C99-based standards] (remainderl): Likewise.
10302 [non-C99-based standards] (rintl): Likewise.
10303 [non-C99-based standards] (scalbl): Likewise.
10304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10305 [non-C99-based standards] (FP_*): Do not allow.
10306 [C99-based standards] (FP_*): Change to
10307 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10308 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10309 allow.
10310 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10311 (SIG_ERR): Likewise.
10312 [X/Open-based standards] (SIG_HOLD): Likewise.
10313 (SIG_IGN): Likewise.
10314 (SIGABRT): Use macro-int-constant. Specify type. Require
10315 positive value.
10316 (SIGFPE): Likewise.
10317 (SIGILL): Likewise.
10318 (SIGINT): Likewise.
10319 (SIGSEGV): Likewise.
10320 (SIGTER): Likewise.
10321 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10322 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10323 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10324 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10325 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10326 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10327 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10328 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10329 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10330 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10331 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10332 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10333 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10334 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10335 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10336 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10337 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10338 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10339 [X/Open-based standards] (SIGTRAP): Likewise.
10340 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10341 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10342 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10343 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10344 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10345 allow.
10346
b9f1922d
IW
103472012-05-08 Ian Wienand <ianw@vmware.com>
10348
10349 [BZ #14080]
10350 * time/tzset.c (__tzset_parse_tz): Update default rules for
10351 daylight time changes in the Energy Policy Act of 2005.
10352
1db86e88
AJ
103532012-05-09 Andreas Jaeger <aj@suse.de>
10354
10355 [BZ #13983]
10356 * elf/ldconfig.c (parse_conf): Change string to make clear that
10357 ldconfig only issued a warning if ld.so.conf does not exist.
10358
dee4a4e3
DM
103592012-05-08 David S. Miller <davem@davemloft.net>
10360
ee0db190
DM
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10362 movxtod instead of popping the value on the stack.
10363
dee4a4e3
DM
10364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10365
6a43ec98
CD
103662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10367
10368 * config.h.in: Add HAVE_ARM_PCS_VFP.
10369
05c2c961
RMG
103702012-05-08 Roland Mc Grath <roland@hack.frob.com>
10371
bcfe3a54
ST
10372 [BZ #13979]
10373 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10374 checking but the checks are disabled for any reason.
05c2c961 10375
4b30f61a
L
103762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10379 and ELF64_R_TYPE with ELFW(R_TYPE).
10380
eee2bc67
JM
103812012-05-08 Joseph Myers <joseph@codesourcery.com>
10382
7ea5391a
JM
10383 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10384 (ulimit): Likewise.
10385
eee2bc67
JM
10386 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10387 (settimeofday): Likewise.
10388
abb66a67
MF
103892012-05-08 Mike Frysinger <vapier@gentoo.org>
10390
10391 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10392 a struct th_u2 inside the union, and move tu_block/tu_code into
10393 a new th_u3 union of tu_block/tu_code inside of that. Move
10394 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10395 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10396 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10397 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10398 (th_stuff): Change to th_u1.tu_stuff.
10399 (th_data): Define.
10400 (th_msg): Change to th_u1.th_u2.tu_data.
10401
7f18b530
DM
104022012-05-07 David S. Miller <davem@davemloft.net>
10403
05760585
DM
10404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10405
7f18b530
DM
10406 [BZ #14074]
10407 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10408 (SETUP_PIC_REG): Use it.
10409 (SETUP_PIC_REG_LEAF): Use it.
10410
495fd99f
JM
104112012-05-07 Joseph Myers <joseph@codesourcery.com>
10412
10413 [BZ #13885]
10414 [BZ #13923]
10415 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10416 USE_AS_EXPM1L.
10417 (EXPL_FINITE): Likewise.
10418 (FLDLOG): Likewise.
10419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10420 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10421 e_expl.S.
10422 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10423 USE_AS_EXPM1L.
10424 (EXPL_FINITE): Likewise.
10425 (FLDLOG): Likewise.
10426 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10427 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10428 e_expl.S.
10429 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10430 test of -max_value argument for long double.
10431 * sysdeps/i386/fpu/libm-test-ulps: Update.
10432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433
6693d694
DM
104342012-05-06 David S. Miller <davem@davemloft.net>
10435
10436 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10437 quad soft-float symbols whose references which are compiler
10438 generated.
10439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10440
6c23e11c
JM
104412012-05-06 Joseph Myers <joseph@codesourcery.com>
10442
d8b82cad
JM
10443 [BZ #13884]
10444 [BZ #13914]
10445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10446 USE_AS_EXP10L.
10447 (EXPL_FINITE): Likewise.
10448 (FLDLOG): Likewise.
10449 (c0): Likewise.
10450 (c1): Likewise.
10451 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10452 Adjust comments for base varying.
10453 (__expl_finite): Change alias to EXPL_FINITE.
10454 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10455 e_expl.S.
10456 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10457 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10459 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10460 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10461 USE_AS_EXP10L.
10462 (EXPL_FINITE): Likewise.
10463 (FLDLOG): Likewise.
10464 (c0): Likewise.
10465 (c1): Likewise.
10466 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10467 Adjust comments for base varying.
10468 (__expl_finite): Change alias to EXPL_FINITE.
10469 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10470 tests for bugs.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10472
6c23e11c
JM
10473 [BZ #14064]
10474 * math/libm-test.inc (check_float_internal): Correct ulp
10475 calculation for subnormal expected results.
10476
29ba805c
AJ
104772012-05-06 Andreas Jaeger <aj@suse.de>
10478
10479 * Makeconfig (+math-flags): New, set to -frounding-math.
10480 (+cflags): Add +math-flags so that all of glibc gets compiled with
10481 it.
10482
10483 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10484
7b17aeda
JM
104852012-05-05 Joseph Myers <joseph@codesourcery.com>
10486
5779f134
JM
10487 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10488 Disable one test.
10489
41498f4d
JM
10490 [BZ #13787]
10491 [BZ #13922]
10492 [BZ #14036]
10493 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10494 (__ieee754_expl): Allow for and saturate large arguments.
10495 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10496 (u_threshold): Likewise.
10497 (__exp): Call __ieee754_exp before checking for overflow and
10498 underflow.
10499 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10500 (u_threshold): Likewise.
10501 (__expf): Call __ieee754_expf before checking for overflow and
10502 underflow.
10503 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10504 (u_threshold): Likewise.
10505 (__expl): Call __ieee754_expl before checking for overflow and
10506 underflow.
10507 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10508 (__ieee754_expl): Allow for and saturate large arguments.
10509 * math/libm-test.inc (exp_test): Add another test. Do not allow
10510 missing overflow exception on overflow.
10511 (expm1_test): Do not allow missing overflow exception on overflow.
10512
6698b8bf
JM
10513 * sysdeps/i386/fpu/e_expl.c: Move to ...
10514 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10515 rather than using inline asm.
10516 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10517 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10518 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10519
7b17aeda
JM
10520 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10521 (nice): Likewise.
10522 (poll): Likewise.
10523 (signal): Likewise.
10524 (time): Likewise.
10525 (times): Likewise.
10526
f7c85819
JM
105272012-05-04 Joseph Myers <joseph@codesourcery.com>
10528
10529 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10530 sysdeps/unix/common/syscalls.list.
10531 (fchmod): Likewise.
10532 (fchown): Likewise.
10533 (ftruncate): Likewise.
10534 (getrusage): Likewise.
10535 (gettimeofday): Likewise.
10536 (setpgid): Likewise.
10537 (setregid): Likewise.
10538 (setreuid): Likewise.
10539 (sigaction): Likewise.
10540 (truncate): Likewise.
10541 (vhangup): Likewise.
10542 * sysdeps/unix/common/syscalls.list: Remove file.
10543 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10544 * sysdeps/unix/sysv/linux/Implies: Likewise.
10545
336270d0
L
105462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10550 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10551 Moved to ...
10552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10553 Here.
10554 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10555 to ...
10556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10557 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10558 to ...
10559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10560 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10561 to ...
10562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10563 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10564 to ...
10565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10566 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10567 to ...
10568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10569 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10570 to ...
10571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10572 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10573 to ...
10574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10575 Here.
10576 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10577 to ...
10578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10579 Here.
10580 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10581 to ...
10582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10584 Moved to ...
10585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10586 Here.
10587 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10588 to ...
10589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10590
d128e450
JM
105912012-05-04 Joseph Myers <joseph@codesourcery.com>
10592
fa8ee516
JM
10593 * sysdeps/unix/common/bits/dirent.h: Remove file.
10594 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10595
d128e450
JM
10596 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10597 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10598 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10599 * sysdeps/unix/bsd/isatty.c: Likewise.
10600 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10601 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10602 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10603
ff8faaf0 106042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10605
62881be4 10606 [BZ #13563]
31dc8730
AZ
10607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10608 long double comparison inaccuracies.
10609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10611
6fef930c
AS
106122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10613
10614 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10616
8f203e6c
JM
106172012-05-04 Joseph Myers <joseph@codesourcery.com>
10618
10619 [BZ #14049]
10620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10621 nonzero digits before rounding a hex value.
10622 * stdlib/tst-strtod.c (tests): Add another test.
10623
5197d9c2
AK
106242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10625
10626 * sysdeps/s390/fpu/libm-test-ulps: Update.
10627
f0c1dedf
AJ
106282012-05-03 Andreas Jaeger <aj@suse.de>
10629
10630 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10631 does not get optimized out.
10632 (malloc_opt_barrier): New.
10633
a65ef2ae 106342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10635 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10636
2b942cb7 10637 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10638 intermediate file deletion.
2b942cb7 10639 (generated): Add .symlist files.
a65ef2ae 10640
54b71e02
JM
106412012-05-03 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #13775]
10644 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10645 Redirect under this condition.
10646 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10647 [__USE_GNU] (__dprintf_chk): Not under this condition.
10648 [__USE_GNU] (__vdprintf_chk): Likewise.
10649 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10650 under this condition.
10651 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10652 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10653 [__USE_XOPEN2K8] (vdprintf): Likewise.
10654 [__USE_GNU] (__dprintf_chk): Not under this condition.
10655 [__USE_GNU] (__vdprintf_chk): Likewise.
10656 [__USE_GNU] (dprintf): Likewise.
10657 [__USE_GNU] (vdprintf): Likewise.
10658
d3dfcc41
RM
106592012-05-03 Roland McGrath <roland@hack.frob.com>
10660
10661 * elf/Makefile (common-generated): Set this instead of generated for
10662 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10663 $(all-built-dso)-derived lists.
10664
7ac30cc5
AJ
106652012-05-03 Andreas Jaeger <aj@suse.de>
10666
0c51e550
AJ
10667 * sysdeps/i386/fpu/libm-test-ulps: Update.
10668
7ac30cc5
AJ
10669 * FAQ: Removed.
10670 * FAQ.in: Likewise.
10671 * scripts/gen-FAQ.pl: Likewise.
10672 * manual/install.texi (Installation): Point to online location of
10673 FAQ.
10674 * Makefile (files-for-dist): Remove FAQ.
10675 (FAQ): Remove.
10676
d4c2917f
AM
106772012-05-02 Allan McRae <allan@archlinux.org>
10678
10679 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10680 (LDFLAGS-reldepmod5.so): Likewise.
10681 (LDFLAGS-reldep6mod1.so): Likewise.
10682 (LDFLAGS-reldep6mod4.so): Likewise.
10683 (LDFLAGS-reldep8mod3.so): Likewise.
10684 (LDFLAGS-unload4mod1.so): Likewise.
10685 (LDFLAGS-unload4mod2.so): Likewise.
10686 (LDFLAGS-tst-initorder): Likewise.
10687 (LDFLAGS-tst-initordera2.so): Likewise.
10688 (LDFLAGS-tst-initordera3.so): Likewise.
10689 (LDFLAGS-tst-initordera4.so): Likewise.
10690 (LDFLAGS-tst-initorderb2.so): Likewise.
10691 (LDFLAGS-noload): Likewise.
10692 (LDFLAGS-next): Likewise.
10693 (LDFLAGS-order2mod1.so): Likewise.
10694 (LDFLAGS-order2mod2.so): Likewise.
10695 (LDFLAGS-tst-initorder2): Likewise.
10696 (LDFLAGS-tst-initorder2a.so): Likewise.
10697 (LDFLAGS-tst-initorder2b.so): Likewise.
10698 (LDFLAGS-tst-initorder2c.so): Likewise.
10699 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10700
d77f993f
DM
107012012-05-02 David S. Miller <davem@davemloft.net>
10702
10703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10704
171a70b4
PP
107052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10706
10707 [BZ #14055]
10708 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10709
0be196ad
AJ
107102012-05-02 Andreas Jaeger <aj@suse.de>
10711
10712 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10713 since we manipulate rounding mode.
10714 (CPPFLAGS-test-idouble.c): Likewise.
10715 (CPPFLAGS-test-ifloat.c): Likewise.
10716 (CFLAGS-test-ldouble.c): Likewise.
10717 (CFLAGS-test-double.c): Likewise.
10718 (CFLAGS-test-float.c): Likewise.
10719 (CFLAGS-test-misc.c): Likewise.
10720 (CFLAGS-test-test-fenv.c): Likewise.
10721
4f9d04aa
AZ
107222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10723
2b942cb7
RM
10724 [BZ #2550]
10725 [BZ #2570]
10726 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10727 comparisons to determine direction to adjust input.
4f9d04aa 10728
82a79e7d
RM
107292012-05-01 Roland McGrath <roland@hack.frob.com>
10730
f5a01ca9
RM
10731 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10732 output to the target.
10733
90fe4186
RM
10734 * scripts/localplt.awk: New file.
10735 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10736 (check-localplt-CFLAGS): Variable removed.
10737 ($(all-built-dso:=.jmprel)): New static pattern rule.
10738 (generated): Add those targets.
10739 (localplt-built-dso): New variable.
10740 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10741
10742 * elf/check-localplt.c: File removed.
10743
82397ed6
RM
10744 * scripts/check-execstack.awk: New file.
10745 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10746 (check-execstack-CFLAGS): Variable removed.
10747 ($(objpfx)check-execstack.h): Target removed.
10748 ($(objpfx)execstack-default): New target.
10749 (generated): Add that instead of check-execstack.h.
10750 ($(all-built-dso:=.phdr)): New static pattern rule.
10751 (generated): Add those targets.
10752 * elf/check-execstack.c: File removed.
10753
82a79e7d
RM
10754 * scripts/check-textrel.awk: New file.
10755 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10756 (check-textrel-CFLAGS): Variable removed.
10757 (all-built-dso): Use := to define.o
10758 ($(all-built-dso:=.dyn)): New static pattern rule.
10759 (generated): Add those targets.
10760 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10761 * config.make.in (READELF): New substituted variable.
10762 * elf/check-textrel.c: File removed.
10763
62fde54f 107642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10765
615605c9
JM
10766 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10767 allow.
10768 * conform/data/ctype.h-data [C99-based standards] (isblank):
10769 Expect function.
10770 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10771 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10773 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10774 Specify type. Require positive value.
10775 (EILSEQ): Likewise.
10776 (ERANGE): Likewise.
10777 [ISO || POSIX] (EILSEQ): Do not expect.
10778 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10779 Specify type. Require positive value.
10780 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10781 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10782 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10785 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10787 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10788 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10789 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10790 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10791 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10792 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10793 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10794 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10795 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10796 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10797 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10798 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10799 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10800 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10801 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10802 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10803 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10804 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10805 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10806 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10807 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10808 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10809 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10810 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10811 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10812 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10813 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10814 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10815 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10816 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10817 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10818 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10819 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10820 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10821 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10822 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10823 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10824 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10825 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10826 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10827 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10828 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10829 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10830 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10831 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10832 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10833 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10834 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10835 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10836 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10837 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10838 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10839 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10840 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10841 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10842 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10843 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10844 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10845 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10846 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10847 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10848 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10849 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10850 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10851 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10852 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10853 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10854 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10855 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10856 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10857 Require >= 2.
10858 (FLT_ROUNDS): Expect as macro, not constant.
10859 (FLT_MANT_DIG): Use macro-int-constant.
10860 (DBL_MANT_DIG): Likewise.
10861 (LDBL_MANT_DIG): Likewise.
10862 (FLT_DIG): Likewise.
10863 (DBL_DIG): Likewise.
10864 (LDBL_DIG): Likewise.
10865 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10866 (DBL_MIN_EXP): Likewise.
10867 (LDBL_MIN_EXP): Likewise.
10868 (FLT_MAX_EXP): Use macro-int-constant.
10869 (DBL_MAX_EXP): Likewise.
10870 (LDBL_MAX_EXP): Likewise.
10871 (FLT_MAX_10_EXP): Likewise.
10872 (DBL_MAX_10_EXP): Likewise.
10873 (LDBL_MAX_10_EXP): Likewise.
10874 (FLT_MAX): Use macro-constant.
10875 (DBL_MAX): Likewise.
10876 (LDBL_MAX): Likewise.
10877 (FLT_EPSILON): Use macro-constant. Give upper bound.
10878 (DBL_EPSILON): Likewise.
10879 (LDBL_EPSILON): Likewise.
10880 (FLT_MIN): Likewise.
10881 (DBL_MIN): Likewise.
10882 (LDBL_MIN): Likewise.
10883 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10884 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10885 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10886 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10887 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10888 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10889 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10890 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10891 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10892 [ISO11] (FLT_TRUE_MIN): Likewise.
10893 [ISO11] (LDBL_TRUE_MIN): Likewise.
10894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10895 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10896 (SCHAR_MIN): Use macro-int-constant. Specify type.
10897 (SCHAR_MAX): Likewise.
10898 (UCHAR_MAX): Likewise.
10899 (CHAR_MIN): Likewise.
10900 (CHAR_MAX): Likewise.
10901 (MB_LEN_MAX): Use macro-int-constant.
10902 (SHRT_MIN): Use macro-int-constant. Specify type.
10903 (SHRT_MAX): Likewise.
10904 (USHRT_MAX): Likewise.
10905 (INT_MAX): Likewise.
10906 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10907 bound negative.
10908 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10909 bound with "U".
10910 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10911 bound with "L".
10912 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10913 bound negative. Suffix upper bound with "L".
10914 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10915 bound with "UL".
10916 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10917 Specify type.
10918 [C99-based standards] (LLONG_MAX): Likewise.
10919 [C99-based standards] (ULLONG_MAX): Likewise.
10920 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10921 == 0.
10922 [ISO11] (max_align_t): Require type.
10923 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10924
c9140a62
JM
10925 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10926 from $CFLAGS, without defining away __attribute__ calls.
10927 (checknamespace): Use $CFLAGS_namespace.
10928
9af0bf29
JM
10929 * conform/conformtest.pl (@keywords): Only include C99 keywords
10930 for standards based on C99 or C11.
10931
343222a2
JM
10932 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10933 Disable tests.
10934 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10935 UNIX98]: Likewise.
10936
661f8cf0
JM
10937 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10938 usability of symbols in #if.
10939
ee74b9cb
JM
10940 * conform/conformtest.pl: If macro or constant types start
10941 "promoted:", expect the symbol to be of the following type
10942 promoted by the integer promotions.
62fde54f 10943
aafc49b3
JM
10944 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10945 in one place. Also handle "macro-constant".
10946
fefdf574
JM
10947 * conform/conformtest.pl: Only accept expected macro values with
10948 "==". Parse all "macro" lines in one place.
10949 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10950
f2d922fe
JM
10951 * conform/conformtest.pl: Handle braced types on "constant" lines
10952 instead of handling "typed-constant".
10953 * conform/data/signal.h-data: Use "constant" instead of
10954 "typed-constant".
10955
d22956c9
JM
10956 * conform/conformtest.pl: Handle "optional-" at start of lines in
10957 one place rather than duplicating several cases. Handle each
10958 format of "macro" line with initial "optional-".
10959
028e2e38
JM
10960 * conform/conformtest.pl: Only accept expected constant or
10961 optional-constant values with "==". Parse all "constant" lines in
10962 one place. Parse all "optional-constant" lines in one place.
10963 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10964 * conform/data/fmtmsg.h-data: Likewise.
10965 * conform/data/netinet/in.h-data: Likewise.
10966 * conform/data/tar.h-data: Likewise.
10967 * conform/data/limits.h-data: Use "==" form on "constant" and
10968 "optional-constant" lines.
10969
1b8f2850
JM
10970 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10971 Use -std=c99 for XOPEN2K.
10972 (@knownproblems): Remove.
10973 (newtoken): Don't check %isknown.
10974
a05a144b
JM
10975 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10976 Do not expect macro.
10977 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10978 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10981 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10982 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10983 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10984 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10985 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10986 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10987 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10988 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10989 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10990 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10991 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10992 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10993 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10994 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10995 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10996 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10997 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10998 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10999 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11000 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11001 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11002 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11003 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11004 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11005 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11006 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11007 [XPG3] (acosh): Likewise.
11008 [XPG3] (asinh): Likewise.
11009 [XPG3] (atanh): Likewise.
11010 [XPG3] (cbrt): Likewise.
11011 [XPG3] (expm1): Likewise.
11012 [XPG3] (ilogb): Likewise.
11013 [XPG3] (log1p): Likewise.
11014 [XPG3] (logb): Likewise.
11015 [XPG3] (nextafter): Likewise.
11016 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11017 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11018 [XPG3] (remainder): Likewise.
11019 [XPG3] (rint): Likewise.
11020 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11021 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11022 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11023 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11024 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11025 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11026 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11027 [UNIX98 || XOPEN2K] (scalb): Expect.
11028 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11029 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11030 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11031 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11032 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11033 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11034 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11035 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11036 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11037 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11038 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11039 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11040 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11041 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11042 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11043 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11044 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11045 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11046 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11047 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11048 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11049 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11050 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11051 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11052 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11053 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11054 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11055 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11056 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11057 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11058 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11059 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11060 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11061 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11062 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11063 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11064 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11065 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11066 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11067 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11068 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11069 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11070 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11071 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11072 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11073 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11074 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11075 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11076 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11077 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11078 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11079 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11080 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11081 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11082 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11083 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11084 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11086 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11087 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11088 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11089 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11090 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11091 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11092 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11093 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11094 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11095 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11096 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11097 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11098 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11099 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11100 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11101 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11102 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11103 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11104 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11105 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11106 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11107 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11108 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11109 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11110 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11111 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11112 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11113 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11114 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11115 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11116 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11117 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11118 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11119 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11120 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11121 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11122 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11123 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11124 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11125 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11126 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11127 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11128 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11129 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11130 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11131 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11132 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11133 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11134 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11135 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11136 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11137 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11138 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11139 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11140 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11141 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11142 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11143 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11144 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11145 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11146 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11147 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11148 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11149 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11150 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11151 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11152 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11153 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11154 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11155 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11156 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11157 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11158 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11159 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11160 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11161 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11162 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11164 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11165
73c5ebe3
JM
11166 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11167 _XOPEN_SOURCE_EXTENDED for XPG4.
11168
39c33b6c
JM
11169 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11170
62fde54f
JM
11171 * Makeconfig (localtime): Remove variable.
11172 (inst_localtime-file): Likewise.
11173
0741d64c
AS
111742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11175
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11177 Update.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11179 Update.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11181 Update.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11183 Update.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11185 Update.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11187 Update.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11189 Update.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11191 Update.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11193 Update.
11194
7cb029ee
JM
111952012-05-01 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #2550]
11198 [BZ #2570]
11199 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11200 comparisons to determine direction to adjust input.
11201 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11202 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11203 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11204 Likewise.
11205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11206 Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11208 Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11211 Likewise.
11212 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11213 Likewise.
11214 * math/libm-test.inc (nexttoward_test): Add more tests.
11215
412bd966
AS
112162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11217
11218 [BZ #14040]
11219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11220 in version GLIBC_2.1, not GLIBC_2.0.
11221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11222 Likewise.
11223
9568c0c2
JM
112242012-04-30 Joseph Myers <joseph@codesourcery.com>
11225
adfbc8ac
JM
11226 [BZ #13942]
11227 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11228 (1 - x) * (1 + x).
11229 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11230 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11231 * math/libm-test.inc (acos_test): Add more tests.
11232 (asin_test): Likewise.
11233 * sysdeps/i386/fpu/libm-test-ulps: Update.
11234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11235
5ba3cc69
JM
11236 [BZ #14034]
11237 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11238 of square root.
11239 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11240 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11241 * math/libm-test.inc (acos_test_tonearest): New function.
11242 (acos_test_towardzero): Likewise.
11243 (acos_test_downward): Likewise.
11244 (acos_test_upward): Likewise.
11245 (asin_test_tonearest): Likewise.
11246 (asin_test_towardzero): Likewise.
11247 (asin_test_downward): Likewise.
11248 (asin_test_upward): Likewise.
11249 (main): Call the new functions.
11250 * sysdeps/i386/fpu/libm-test-ulps: Update.
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11252
9568c0c2
JM
11253 [BZ #13884]
11254 [BZ #13924]
11255 * math/e_exp10.c: Include <float.h>.
11256 (__ieee754_exp10): Handle underflow here rather than multiplying
11257 large negative argument by M_LN10.
11258 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11259 of __ieee754_expf.
11260 * math/e_exp10l.c: Include <float.h>.
11261 (__ieee754_exp10l): Handle underflow here rather than multiplying
11262 large negative argument by M_LN10l.
11263 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11264 spurious overflow exception on underflow.
11265
5ac3ea17
MP
112662012-04-29 Marek Polacek <polacek@redhat.com>
11267
11268 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11269 (__fortify_function): New macro.
11270 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11271 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11272 __extern_always_inline.
11273 * libio/bits/stdio2.h: Likewise.
11274 * libio/bits/stdio.h: Likewise.
11275 * string/string.h: Likewise.
11276 * string/bits/string3.h: Likewise.
11277 * include/stdio.h: Likewise.
11278 * stdlib/bits/stdlib.h: Likewise.
11279 * stdlib/stdlib.h: Likewise.
11280 * rt/bits/mqueue2.h: Likewise.
11281 * rt/mqueue.h: Likewise.
11282 * posix/bits/unistd.h: Likewise.
11283 * posix/unistd.h: Likewise.
11284 * io/bits/poll2.h: Likewise.
11285 * io/bits/fcntl2.h: Likewise.
11286 * io/fcntl.h: Likewise.
11287 * io/sys/poll.h: Likewise.
11288 * misc/bits/syslog.h: Likewise.
11289 * misc/bits/syslog-ldbl.h: Likewise.
11290 * misc/sys/syslog.h: Likewise.
11291 * socket/bits/socket2.h: Likewise.
11292 * socket/sys/socket.h: Likewise.
11293 * debug/tst-chk1.c: Likewise.
11294 * wcsmbs/bits/wchar2.h: Likewise.
11295 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11296 * wcsmbs/wchar.h: Likewise.
11297
ecf0ebfb
AJ
112982012-04-29 Andreas Jaeger <aj@suse.de>
11299
11300 * Makerules (tests): Remove enable-check-abi protection.
11301 (check-abi-warn): Remove.
11302 (check-abi-%): Remove check-abi-warn usage.
11303
11304 * configure.in: Remove check-abi configure option.
11305 * configure: Regenerated.
11306 * config.make.in (enable-check-abi): Remove.
11307
6d5c57fa
AS
113082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11309
24c5d07e 11310 [BZ #14033]
ded5180a
AS
11311 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11312 double functions to double *_finite functions.
11313
7e0d315d
AS
11314 [BZ #13941]
11315 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11316 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11317 LDBL_MIN_EXP.
11318 * stdio-common/Makefile (tests): Add tst-sprintf3.
11319 * stdio-common/tst-sprintf3.c: New file.
11320
6d5c57fa
AS
11321 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11322 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11323
0749ff8b
JM
113242012-04-28 Joseph Myers <joseph@codesourcery.com>
11325
11326 * conform/conformtest.pl: Remove duplicate typed-constant
11327 handling.
11328
8dbd5d7b
DM
113292012-04-28 David S. Miller <davem@davemloft.net>
11330
11331 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11332 (check-abi-%): Remove AWK script prerequisite and explicit
11333 abilist directory.
11334 (check-abi): Rewrite to just diff the symlist with the abilist.
11335 (config-tls, config-abi-config): Delete, no longer used.
11336 (update-abi-%): Remove AWK script and explicit abilist directory.
11337 (update-abi): Rewrite to simply compare and conditionally copy the
11338 symlist and the sysdep abilist file. Remove update-abi-config
11339 checks.
11340 * abilist/ld.abilist: Remove.
11341 * abilist/libBrokenLocale.abilist: Remove.
11342 * abilist/libanl.abilist: Remove.
11343 * abilist/libcrypt.abilist: Remove.
11344 * abilist/libdl.abilist: Remove.
11345 * abilist/librt.abilist: Remove.
11346 * abilist/libthread_db.abilist: Remove.
11347 * abilist/libutil.abilist: Remove.
11348 * scripts/extract-abilist.awk: Remove.
11349 * scripts/merge-abilist.awk: Remove.
11350 * sysdeps/generic/libcidn.abilist: New file.
11351 * sysdeps/generic/libnss_compat.abilist: New file.
11352 * sysdeps/generic/libnss_db.abilist: New file.
11353 * sysdeps/generic/libnss_dns.abilist: New file.
11354 * sysdeps/generic/libnss_files.abilist: New file.
11355 * sysdeps/generic/libnss_hesiod.abilist: New file.
11356 * sysdeps/generic/libnss_nis.abilist: New file.
11357 * sysdeps/generic/libnss_nisplus.abilist: New file.
11358 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11359 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11360 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11361 file.
11362 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11363 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11364 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11365 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11366 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11367 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11368 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11369 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11370 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11371 file.
11372 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11373 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11374 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11375 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11376 file.
11377 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11378 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11379 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11380 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11381 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11382 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11383 file.
11384 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11385 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11386 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11387 file.
11388 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11390 New file.
11391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11392 New file.
11393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11394 New file.
11395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11396 New file.
11397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11398 New file.
11399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11400 New file.
11401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11402 New file.
11403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11404 New file.
11405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11406 New file.
11407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11408 New file.
11409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11410 New file.
11411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11412 New file.
11413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11414 New file.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11416 file.
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11418 New file.
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11420 New file.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11422 file.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11424 New file.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11426 New file.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11428 file.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11430 New file.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11432 New file.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11434 New file.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11436 New file.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11438 New file.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11440 New file.
11441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11443 file.
11444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11445 New file.
11446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11447 file.
11448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11449 file.
11450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11451 file.
11452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11453 file.
11454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11455 file.
11456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11457 New file.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11459 file.
11460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11461 file.
11462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11463 New file.
11464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11465 file.
11466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11468 file.
11469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11470 New file.
11471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11472 file.
11473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11474 file.
11475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11476 file.
11477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11478 file.
11479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11480 file.
11481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11482 New file.
11483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11484 file.
11485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11486 file.
11487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11488 New file.
11489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11490 file.
11491 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11492 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11493 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11494 file.
11495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11496 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11497 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11498 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11499 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11500 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11501 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11502 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11503 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11504 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11507 file.
11508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11509 New file.
11510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11511 file.
11512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11513 file.
11514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11515 file.
11516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11517 file.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11519 file.
11520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11521 New file.
11522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11523 New file.
11524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11525 file.
11526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11527 New file.
11528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11529 file.
11530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11532 file.
11533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11534 New file.
11535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11536 file.
11537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11538 file.
11539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11540 file.
11541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11542 file.
11543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11544 file.
11545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11546 New file.
11547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11548 New file.
11549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11550 file.
11551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11552 New file.
11553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11554 file.
11555
41d73a1b
JM
115562012-04-28 Joseph Myers <joseph@codesourcery.com>
11557
11558 * conform/conformtest.pl: Fix typo in handling typed-constant from
11559 allow-header.
11560
28aeeda4
JM
115612012-04-27 Joseph Myers <joseph@codesourcery.com>
11562
adae8f5e
JM
11563 * README: Cut down references to pre-2.6 Linux kernels and
11564 Linuxthreads. Update lists of configurations in libc and ports
11565 and sort alphabetically. Say "or newer" with Linux kernel version
11566 requirements.
11567
28aeeda4
JM
11568 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11569
a462cb63
RA
115702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11571
11572 [BZ #887]
11573 * math/libm-test.inc (logb_test_downward): New test to expose
11574 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11575 rounding mode.
11576
6ad3493e
JM
115772012-04-27 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #14027]
11580 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11581 to be done.
11582 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11583 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11584
2ce4f015
JM
115852012-04-26 Joseph Myers <joseph@codesourcery.com>
11586
5aeb141a
JM
11587 * sysdeps/unix/i386/brk.S: Remove file.
11588 * sysdeps/unix/i386/dl-brk.S: Likewise.
11589 * sysdeps/unix/i386/pipe.S: Likewise.
11590 * sysdeps/unix/i386/sigreturn.S: Likewise.
11591 * sysdeps/unix/i386/syscall.S: Likewise.
11592 * sysdeps/unix/i386/vfork.S: Likewise.
11593 * sysdeps/unix/i386/wait.S: Likewise.
11594
7143acae
JM
11595 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11596 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11597
2ce4f015
JM
11598 * configure.in (arm*-none*): Do not allow without
11599 --enable-hacker-mode.
11600 (netbsd*): Remove case setting base_os.
11601 (386bsd*): Likewise.
11602 (freebsd*): Likewise.
11603 (bsdi*): Likewise.
11604 (osf*): Likewise.
11605 (sunos*): Likewise.
11606 (ultrix*): Likewise.
11607 (newsos*): Likewise.
11608 (dynix*): Likewise.
11609 (*bsd*): Likewise.
11610 (sysv*): Likewise.
11611 (isc*): Likewise.
11612 (esix*): Likewise.
11613 (sco*): Likewise.
11614 (minix*): Likewise.
11615 (irix4*): Likewise.
11616 (irix6*): Likewise.
11617 (solaris[2-9]*): Likewise.
11618 (none): Likewise.
11619 * configure: Regenerated.
11620
0ac229c8
AZ
116212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 [BZ #11521]
11624 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11625 overflow or cancellation in calculating denominator.
11626 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11627 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11628 down expression to avoid unexpected rounding in newer GCCs.
11629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11630
33f244f4
DM
116312012-04-26 David S. Miller <davem@davemloft.net>
11632
11633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11634 long-double compat symbols.
11635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11648
cfa1f3e8
DM
116492012-04-25 David S. Miller <davem@davemloft.net>
11650
11651 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11652 HWCAP_* values only after the memory barriers have been defined.
11653 (atomic_full_barrier): Define.
11654 (atomic_read_barrier): Define.
11655 (atomic_write_barrier): Define.
11656
6e236b92
SP
116572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11658
11659 * shlib-versions: Add libgcc_s version information.
11660 * sysdeps/generic/libgcc_s.h: Remove.
11661 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11662 libgcc_s.h.
11663 * sysdeps/gnu/unwind-resume.c: Likewise.
11664 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11665
aab39a09
DM
116662012-04-25 David S. Miller <davem@davemloft.net>
11667
11668 * sysdeps/unix/sparc/brk.S: Delete.
11669 * sysdeps/unix/sparc/dl-brk.S: Delete.
11670 * sysdeps/unix/sparc/pipe.S: Delete.
11671 * sysdeps/unix/sparc/sysdep.S: Delete.
11672 * sysdeps/unix/sparc/sysdep.h: Delete.
11673 * sysdeps/unix/sparc/vfork.S: Delete.
11674 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11675 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11676 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11677 ret_ERRVAL, r0, r1, MOVE): Define.
11678 (JUMPTARGET): Remove.
11679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11680 sysdeps/unix/sparc/sysdep.h
11681 (ENTRY, END): Remove.
11682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11683
a3cc4f48
JM
116842012-04-25 Joseph Myers <joseph@codesourcery.com>
11685
2ed8cda2
JM
11686 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11687 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11688 -DIS_IN_build.
11689
35d76d59
JM
11690 * timezone/README: Update upstream location and email address for
11691 tzcode and tzdata.
11692 * timezone/zdump.c: Update from tzcode 2012b.
11693 * timezone/zic.c: Likewise.
11694
a3cc4f48
JM
11695 * configure.in (libc_cv_as_needed): Remove test.
11696 * configure: Regenerated.
11697 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11698 conditional definition.
11699 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11700 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11701 * config.make.in (have-as-needed): Remove variable.
11702
ceab42c3
SP
117032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11704 Paul Pluzhnikov <ppluzhnikov@google.com>
11705
11706 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11707 strings correctly.
11708
3ce2865f
CLT
117092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11710
11711 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11712 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11713 * sysdeps/sh/strlen.S: Likewise.
11714
f37e0d68
JM
117152012-04-24 Joseph Myers <joseph@codesourcery.com>
11716
ae186e9a
JM
11717 * sysdeps/unix/fork.S: Remove file.
11718 * sysdeps/unix/i386/fork.S: Likewise.
11719 * sysdeps/unix/sparc/fork.S: Likewise.
11720
b96914af
JM
11721 * sysdeps/unix/system.c: Remove file.
11722 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11723
f37e0d68
JM
11724 * sysdeps/unix/getegid.S: Remove file.
11725 * sysdeps/unix/geteuid.S: Likewise.
11726
87ef29ca
RM
117272012-04-24 Roland McGrath <roland@hack.frob.com>
11728
83bcd236
RM
11729 * scripts/check-localplt.awk: New file.
11730 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11731 of diff.
11732 * scripts/data/localplt-generic.data: Add a comment.
11733
87ef29ca
RM
11734 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11735 NODE when __dir_mkfile failed.
11736 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11737 Reported by Ludovic Courtès <ludo@gnu.org>.
11738
e5a6e567
AJ
117392012-04-24 Andreas Jaeger <aj@suse.de>
11740
11741 * Makerules (common-clean): Also remove gen-as-const-headers
11742 files.
11743
c1820385
JM
117442012-04-24 Joseph Myers <joseph@codesourcery.com>
11745
11746 * Makerules (native-compile): Do not change working directory for
11747 build. Use $(OUTPUT_OPTION) in command.
11748 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11749
94e02fc4
AZ
117502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11751
11752 [BZ #13886]
11753 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11754 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11755 * math/libm-test.inc (floor_test): Add more tests.
11756 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11757
3a533ca3
JM
117582012-04-24 Joseph Myers <joseph@codesourcery.com>
11759
940ab4b3
JM
11760 * sysdeps/unix/getdents.c: Remove file.
11761 * sysdeps/unix/sysv/getdents.c: Likewise.
11762 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11763
90e037bd
JM
11764 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11765 sysdeps/unix/mman/syscalls.list.
11766 (mmap): Likewise.
11767 (mprotect): Likewise.
11768 (msync): Likewise.
11769 (munmap): Likewise.
11770 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11771 * sysdeps/unix/mman/syscalls.list: Remove.
11772 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11773
3a533ca3
JM
11774 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11775 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11776 * configure: Regenerated.
11777 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11778 $(libgcc_s_suffix).
11779 * config.make.in (libgcc_s_suffix): Remove variable.
11780
1ad743de
JM
117812012-04-23 Joseph Myers <joseph@codesourcery.com>
11782
4ad451e2
JM
11783 * sysdeps/unix/sysv/gethostname.c: Move to ...
11784 * sysdeps/posix/gethostname.c: ... here.
11785
5e37ce39
JM
11786 * sysdeps/unix/execve.S: Remove file.
11787
1ad743de
JM
11788 * sysdeps/unix/_exit.S: Remove file.
11789
4e681b5b
AJ
117902012-04-23 Andreas Jaeger <aj@suse.de>
11791
11792 [BZ #13739]
11793 * manual/Makefile: Remove make dist support, there's no
11794 need for a stand-alone documentation tar ball.
11795 (TEXI2DVI): Define always, it's not in Makeconfig.
11796 (dist): Removed.
11797 (tar-it): Removed.
11798 (edition): Removed.
11799 (glibc-doc-$(edition).tar): Removed
11800 (%.Z): Removed.
11801 (%.gz): Removed.
11802 (%.uu): Removed.
11803 (ETAGS): Remove, it's in Makeconfig.
11804 (move-if-change): Remove, it's in Makeconfig.
11805
38686a03 118062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
11807
11808 [BZ #13970]
11809 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11810 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11811 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11812 (strtod_l, strtof_l, strtold_l): Remove __wur.
11813 It is not necessarily an error to ignore strtol's return value.
11814 One can reliably look at the stored endptr to decide whether
11815 the number had valid syntax.
11816
7c0616fa
AJ
118172012-04-21 Andreas Jaeger <aj@suse.de>
11818
803cb6b7 11819 [BZ #13739]
7c0616fa
AJ
11820 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11821
b0fe253f
JM
118222012-04-21 Joseph Myers <joseph@codesourcery.com>
11823
11824 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11825 * sysdeps/unix/sysv/Versions: Remove file.
11826
8280f22d
MT
118272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11828
11829 [BZ #13927]
11830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11831
75ce411f 118322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11833
11834 [BZ #7064]
11835 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11836 version from __vm86.
11837
097d59fa
JM
118382012-04-20 Joseph Myers <joseph@codesourcery.com>
11839
a90f3bcb
JM
11840 * sysdeps/unix/common/lxstat.c: Remove file.
11841 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11842
edc7ea78
JM
11843 * sysdeps/unix/sysv/Makefile: Remove file.
11844
cb78c221
JM
11845 * sysdeps/unix/sysv/direct.h: Remove file.
11846
efa6a45f
JM
11847 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11848 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11849 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11850 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11851 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11852 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11853 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11854
9c9f2d0c
JM
11855 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11856
4541c83b
JM
11857 * sysdeps/unix/xmknod.c: Remove file.
11858 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11859
f5d153a0
JM
11860 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11861
aa746595
JM
11862 * sysdeps/unix/sysv/i386/time.S: Remove file.
11863
cce5905e
JM
11864 * sysdeps/unix/fxstat.c: Remove file.
11865 * sysdeps/unix/xstat.c: Likewise.
11866 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11867
37fa3841
JM
11868 * sysdeps/unix/sysv/sigaction.c: Remove file.
11869
ff1962a3
JM
11870 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11871 (sysdep_headers): Remove variable.
11872 [termio.h not in sysdep_headers] (generated): Likewise.
11873 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11874 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11875 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11876 * sysdeps/unix/sysv/tcflow.c: Likewise.
11877 * sysdeps/unix/sysv/tcflush.c: Likewise.
11878 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11879 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11880 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11881 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11882 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11883
e7740d31
JM
11884 * sysdeps/unix/siglist.c: Remove file.
11885
ee06f18b
JM
11886 * sysdeps/unix/getppid.S: Remove file.
11887
097d59fa
JM
11888 * sysdeps/unix/mkdir.c: Remove file.
11889 * sysdeps/unix/rmdir.c: Likewise.
11890
ff3d51ec
AS
118912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11892
11893 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11894 ERR_MAX value.
11895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11896 errlist-compat value.
11897
50f81fd7
DM
118982012-04-18 David S. Miller <davem@davemloft.net>
11899
11900 * sysdeps/generic/memcopy.h (reg_char): Delete.
11901 * debug/strcat_chk.c: Use char, not reg_char.
11902 * debug/strcpy_chk.c: Likewise.
11903 * debug/strncat_chk.c: Likewise.
11904 * debug/strncpy_chk.c: Likewise.
11905 * string/memchr.c: Likewise.
11906 * string/memrchr.c: Likewise.
11907 * string/rawmemchr.c: Likewise.
11908 * string/strcat.c: Likewise.
11909 * string/strchr.c: Likewise.
11910 * string/strchrnul.c: Likewise.
11911 * string/strcmp.c: Likewise.
11912 * string/strcpy.c: Likewise.
11913 * string/strncat.c: Likewise.
11914 * string/strncmp.c: Likewise.
11915 * string/strncpy.c: Likewise.
11916
8ff41c46
WS
119172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11918
11919 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11920 __builtin_memcopy is called when src and dest ranges are known to not
11921 overlap.
11922
6b652f46
WS
119232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11924
11925 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11926 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11927 fwd_align_merge macro call.
11928 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11929 bwd_align_merge macro call.
11930 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11931
b282631e
WS
119322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11933
11934 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11935 bwd_align_merge macros.
11936 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11937 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11938 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11939
95aa737c
DM
119402012-04-18 David S. Miller <davem@davemloft.net>
11941
11942 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11943
7a99a614
AJ
119442012-04-18 Andreas Jaeger <aj@suse.de>
11945
11946 [BZ# 6794]
11947 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11948 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11950
11951 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11952 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11953 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11954
11955 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11956 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11957 Adjust for changed ldbl-128 files.
11958
11959 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11960 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11961 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11962
e5270c23
DM
119632012-04-17 David S. Miller <davem@davemloft.net>
11964
11965 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11966
fb5e92c9
AS
119672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11968
11969 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11970 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11971 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11972 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11973 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11974 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11975
76da7265
AZ
119762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977
11978 [BZ #6794]
11979 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11980 * math/libm-test.inc: Add ilogb errno and exception tests.
11981 * math/w_ilogb.c: New file: ilogb wrapper.
11982 * math/w_ilogbf.c: New file: ilogbf wrapper.
11983 * math/w_ilogbl.c: New file: ilogbl wrapper.
11984 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11985 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11986 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11987 exception being thrown with 0.0 as argument.
11988 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11989 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11990 exception being thrown with 0.0 as argument.
11991 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11992 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11993 exception being thrown with 0.0 as argument.
11994 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11995 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11996 exception being thrown with 0.0 as argument.
11997 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11998 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11999 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12000 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12002 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12003 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12004 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12005 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12006
0396e69d
PB
120072012-04-17 Petr Baudis <pasky@ucw.cz>
12008
12009 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12010 with altivec.
12011
750b5926
MP
120122012-04-16 Marek Polacek <polacek@redhat.com>
12013
12014 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12015
751728a1
MP
120162012-04-16 Marek Polacek <polacek@redhat.com>
12017
12018 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12019 operands of fdivp instruction.
12020
34a27407
L
120212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12024 * elf/tst-auditmod3b.c: Likewise.
12025 * elf/tst-auditmod4b.c: Likewise.
12026 * elf/tst-auditmod5b.c: Likewise.
12027 * elf/tst-auditmod6b.c: Likewise.
12028 * elf/tst-auditmod6c.c: Likewise.
12029 * elf/tst-auditmod7b.c: Likewise.
12030 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12031 * sysdeps/x86_64/preconfigure.in: Likewise.
12032 * sysdeps/x86_64/preconfigure: Regenerated.
12033
7e73e17d
L
120342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12035
12036 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12037 __ILP32__.
12038
c7a6ab72
AB
120392012-04-13 Antoine Balestrat <merkil33@gmail.com>
12040
12041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12042 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12043
a9e8e0e0
CL
120442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12045
12046 [BZ #13973]
12047 * locale/iso-639.def: Fix gl language name. Spotted by
12048 Yaron Shahrabani.
12049
ec98af7d
RM
120502012-04-12 Roland McGrath <roland@hack.frob.com>
12051
12052 [BZ #2074]
12053 * libio/libio.h (__io_write_fn): Update comment.
12054
247c3ede
PB
120552012-04-12 Petr Baudis <pasky@ucw.cz>
12056
12057 [BZ #2074]
12058 * stdio.texi (Hook Functions): The user provided writer function
12059 is not allowed to return -1.
12060
55939d6d
DM
120612012-04-11 David S. Miller <davem@davemloft.net>
12062
12063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12064
90020f5a
MF
120652012-04-11 Mike Frysinger <vapier@gentoo.org>
12066
12067 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12068 Add a leading slash to rtkaio.
12069
288f9098
JM
120702012-04-11 Jim Meyering <meyering@redhat.com>
12071
90020f5a
MF
12072 [BZ #11959]
12073 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12074 It is not necessarily an error to ignore fwrite's return
12075 value. One can reliably use ferror to test for errors after
12076 the fact.
288f9098 12077
4be2b570
L
120782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12079
12080 * bits/types.h (__snseconds_t): New type.
12081 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12082
12083 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12085 (__SNSECONDS_T_TYPE): Likewise.
12086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12087 (__SNSECONDS_T_TYPE): Likewise.
12088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12089 (__SNSECONDS_T_TYPE): Likewise.
12090
288f9098 120912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12092
12093 [BZ #2636]
12094 * manual/time.texi (Processor Time): Return type of times is
12095 elapsed real time since an arbitrary point in the past.
12096 (CPU Time): Move CLK_TCK from here...
12097 (Processor Time): ...to here. Correct description.
12098 * manual/conf.texi (Constants for Sysconf): Correct description of
12099 _SC_CLK_TCK.
12100
d7dd4413
DM
121012012-04-10 David S. Miller <davem@davemloft.net>
12102
12103 [BZ #13967]
12104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12105 where the is a gap between DT_REL(A) and DT_JMPREL.
12106
b46068fc
L
121072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12108
12109 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12110 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12111 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12112
73d65cc3
SP
121132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12114
12115 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12116 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12117 (dl_main): Handle --inhibit-cache.
12118 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12119 _dl_inhibit_cache.
12120 * elf/dl-load.c (_dl_map_object): Use it.
12121 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12122
bcc8d661
JM
121232012-04-09 Joseph Myers <joseph@codesourcery.com>
12124
8f9a2fae
JM
12125 [BZ #13872]
12126 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12127 (__ieee754_powl): Saturate large exponents rather than testing for
12128 overflow of y*log2(x).
12129 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12130 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12131 exceptions.
12132
bcc8d661
JM
12133 [BZ #11521]
12134 * math/s_ctan.c: Include <float.h>.
12135 (__ctan): Avoid internal overflow or cancellation in calculating
12136 denominator.
12137 * math/s_ctanf.c: Likewise.
12138 * math/s_ctanl.c: Likewise.
12139 * math/s_ctanh.c: Likewise.
12140 * math/s_ctanhf.c: Likewise.
12141 * math/s_ctanhl.c: Likewise.
12142 * math/libm-test.inc (ctan_test): Add more tests.
12143 (ctanh_test): Likewise.
12144 * sysdeps/i386/fpu/libm-test-ulps: Update.
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
823fbbb4
AJ
121472012-04-09 Andreas Jaeger <aj@suse.de>
12148
03879793
AJ
12149 [BZ #6894]
12150 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12151 is an optional BSD extension.
12152
823fbbb4
AJ
12153 [BZ #10254]
12154 * manual/stdio.texi (Opening Streams): Document additional fopen
12155 parameters.
12156
8de131cb
RM
121572012-04-09 Roland McGrath <roland@hack.frob.com>
12158
12159 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12160 %eax without telling the compiler.
12161
c0ed9d7d
CD
121622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12163
12164 [BZ # 13963]
12165 * manual/install.texi: Use sourceware.org.
12166
c483f6b4
JM
121672012-04-09 Joseph Myers <joseph@codesourcery.com>
12168
d7dd9453
JM
12169 [BZ #13873]
12170 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12171 (__ieee754_pow): Generate overflow and underflow using huge*huge
12172 and tiny*tiny rather than just returning constant infinity or zero
12173 for large exponents.
12174 * math/libm-test.inc (pow_test): Require overflow exceptions for
12175 applicable cases of large exponents.
12176
c483f6b4
JM
12177 [BZ #706]
12178 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12179 (__ieee754_pow): Use iterative multiplication algorithm only for
12180 integer exponents with absolute value below 1024. Check for odd
12181 integer exponents when using algorithm for real exponents.
12182 * math/libm-test.inc (pow_test): Add more tests.
12183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12184
d2de7579
JM
121852012-04-08 Joseph Myers <joseph@codesourcery.com>
12186
12187 [BZ #13705]
12188 * math/libm-test.inc (exp_test): Do not allow overflow exception
12189 on underflow test.
12190
f77f1232
AJ
121912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12192
12193 [BZ #13705]
12194 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12195 instead of __kernel_standard_f.
12196
3884932b
MF
121972012-04-08 Mike Frysinger <vapier@gentoo.org>
12198
12199 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12200 * sysdeps/x86_64/memset_chk.S: Likewise.
12201
54472e9c
AJ
122022012-04-08 Andreas Jaeger <aj@suse.de>
12203
6ab0fbfc
AJ
12204 [BZ #10153]
12205 * manual/startup.texi (Environment Access): Describe return value
12206 for putenv and setenv.
12207
61efba8c
AJ
12208 [BZ #6895]
12209 * manual/filesys.texi (Directory Entries): Add description for
12210 DT_LNK.
12211
95c3f29a
AJ
12212 [BZ #6890]
12213 * manual/filesys.texi (Directory Entries): Clarify that it's file
12214 system not operating system in the description of DT_UNKNOWN.
12215
54472e9c
AJ
12216 [BZ #6578]
12217 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12218
624254b1
SC
122192012-04-08 Stephen Compall <s11@member.fsf.org>
12220
12221 [BZ #6649]
12222 * manual/llio.texi (Opening and Closing Files): Add cross
12223 reference to explain mode argument.
12224
1e4920e0
MF
122252012-04-07 Mike Frysinger <vapier@gentoo.org>
12226
12227 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12228 * sysdeps/x86_64/memset_chk.S: Likewise.
12229
5ed848f3
DM
122302012-04-07 David S. Miller <davem@davemloft.net>
12231
12232 * elf/elf.h (R_SPARC_WDISP10): Define.
12233 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12234 R_SPARC_SIZE32.
12235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12236 R_SPARC_SIZE64 and R_SPARC_H34.
12237
96154cd8
CD
122382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12239
12240 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12241 conditions and remove no longer applicable assertion.
12242
9904dc47
L
122432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 * bits/byteswap.h: Include <features.h>.
12246 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12247 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12248
f8887d0a
L
122492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12250
12251 * bits/byteswap.h (__bswap_16): Removed.
12252 Include <bits/byteswap-16.h> to get __bswap_16.
12253 * sysdeps/i386/bits/byteswap.h: Likewise.
12254 * sysdeps/s390/bits/byteswap.h: Likewise.
12255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12256 * bits/byteswap-16.h: New file.
12257 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12258 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12259 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12260 * string/Makefile (headers): Add bits/byteswap-16.h.
12261
62470f60
PP
122622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12263
12264 [BZ #13895]
12265 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12266 extra indirection.
12267 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12268 * nss/tst-nss-static.c: New.
12269
4dad7bab
RM
122702012-04-06 Robert Millan <rmh@gnu.org>
12271
12272 [BZ #6486]
12273 * manual/llio.texi (File Position Primitive): lseek
12274 refers to WHENCE when it really means OFFSET.
12275
e9142a17
AJ
122762012-04-06 Andreas Jaeger <aj@suse.de>
12277
2c040eff
AJ
12278 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12279 strncmp declarations.
12280
e9142a17
AJ
12281 * abilist/libc.abilist: Add __poll and __ppoll.
12282
ff9f1c5f
DM
122832012-04-05 David S. Miller <davem@davemloft.net>
12284
dcd2ae90
DM
12285 * scripts/check-local-headers.sh: Accept a host triplet in the
12286 path matched by the exclude regexp.
12287
993eb054
DM
12288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12289 definition.
12290 * sysdeps/powerpc/powerpc32/dl-machine.h
12291 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12292 * sysdeps/s390/s390-32/dl-machine.h
12293 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12294 * sysdeps/sparc/sparc32/dl-machine.h
12295 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12296 * sysdeps/sparc/sparc64/dl-machine.h
12297 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12298
ff9f1c5f
DM
12299 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12300 lazy binding.
48e2e132 12301 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
12302 undefined symbol errors.
12303
48e2e132 12304 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
12305 DT_NEEDED entries.
12306
e80d6f94
MM
123072012-04-05 Michael Matz <matz@suse.de>
12308
12309 [BZ #13592]
12310 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12311
349fa79f
AJ
123122012-04-05 Andreas Jaeger <aj@suse.de>
12313
12314 [BZ #13908]
12315 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12316 comment.
12317
f402708f
KK
123182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12319
12320 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12321 which ROUND is no valid rounding mode.
12322
2ecccfc9
KK
123232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12324
12325 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12326 read again.
12327 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12328
8a53f50f
KK
123292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12330
12331 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12332 an exception using FPU order intentionally.
12333
123342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12335
12336 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12337 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12338 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12339 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12340
d653abb7
SJ
123412012-04-05 Simon Josefsson <simon@josefsson.org>
12342
12343 [BZ #12340]
12344 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12345 EINVAL when BUFLEN is too smal.
12346
c3b1bf7d
TS
123472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12348
12349 [BZ #13553]
12350 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12351 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12352
b1aa60f3
AJ
123532012-04-03 Andreas Jaeger <aj@suse.de>
12354
c3b1bf7d 12355 [BZ #13938]
67f60a26
AJ
12356 * manual/setjmp.texi (System V contexts): Fix sentence.
12357
b1aa60f3
AJ
12358 [BZ #13926]
12359 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12360 New macro for this case.
12361 [!__GNUC__] (__bswap_64): New inline function for this case.
12362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12363 * bits/byteswap.h: Likewise.
12364 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12365 ull, guard with __GLIBC_HAVE_LONG_LONG.
12366
12367 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12368 __GLIBC_HAVE_LONG_LONG.
12369
12370 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12371 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12372
39c59c35
TMQMF
123732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12374
12375 [BZ #13691]
12376 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12377 inptr and inend, rather than using last_ch.
12378
135ffda8
DM
123792012-04-02 David S. Miller <davem@davemloft.net>
12380
12381 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12382 * stdio-common/printf-parse.h (read_int): Change return type to
12383 'int', return -1 on INT_MAX overflow.
12384 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12385 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12386 overflows INT_MAX. Check for overflow of in-format-string precision
12387 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12388 SIZE_MAX not INT_MAX for integer overflow test.
12389 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12390 skip the construct in the format string but do not record anything.
12391 * stdio-common/bug22.c: Adjust to test both width/prevision
12392 INT_MAX overflow as well as total length INT_MAX overflow. Check
12393 explicitly for proper errno values.
12394
228c019e
TS
123952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12396
302cadd3
TS
12397 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12398 CHAR_MAX.
12399 * string/test-strcmp.c [! WIDE]: Likewise.
12400 * time/tst-mktime2.c: Likewise for INT_MAX.
12401 * string/test-string.h: #include <sys/param.h> for MIN.
12402
228c019e
TS
12403 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12404 * sysdeps/i386/init-first.c (init): Likewise.
12405 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12406 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12407 * sysdeps/sh/init-first.c (init): Likewise.
12408
cfa633f5
UD
124092012-04-01 Ulrich Drepper <drepper@gmail.com>
12410
12411 * po/ru.po: Update from translation team.
d1635ef8 12412 * po/vi.po: Likewise.
cfa633f5 12413
6cd0a5ea
SP
124142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12415
12416 * resolv/nss_dns/dns-host.c: Merge copyright years.
12417
4b43400f
LD
124182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12419
12420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12421 Optimize memcpy with prefetch if
12422 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12423 src, dst pointers have unequal 16 byte alignments.
12424
48c41d04
SP
124252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12426
12427 [BZ #13928]
12428 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12429 from a CNAME entry and return the minimum ttl for the query.
12430 (gaih_getanswer_slice): Likewise.
12431
b8dc394d
JL
124322012-03-30 Jeff Law <law@redhat.com>
12433
12434 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12435 due to long keys.
12436 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12437 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12438
2f5a5ed0
JL
12439 * resolv/nss_dns/dns-host.c: Update copyright year.
12440
1d39e359
UD
124412012-03-30 Ulrich Drepper <drepper@gmail.com>
12442
c030f70c 12443 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12444 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12445
1d39e359
UD
12446 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12447 comments for sendmmsg.
12448
124492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12450
12451 [BZ #13691]
12452 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12453 with only 1 character between 0x0041 and 0x01b0.
12454 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12455 * wcsmbs/tst-mbsnrtowcs.c: New file.
12456
20fde227
DM
124572012-03-29 David S. Miller <davem@davemloft.net>
12458
12459 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12460 small copies by hand.
12461
984a4237
JL
124622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12463
12464 [BZ #13761]
12465 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12466 _nss_compat_initgroups_dyn): Fall back to malloc/free
12467 for large group memberships.
12468
18c9d62b
DM
124692012-03-28 David S. Miller <davem@davemloft.net>
12470
88d85d4f
DM
12471 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12472 that branches into memcpy.
12473 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12474 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12476 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12478 bits.
12479 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12480 implementation too.
12481 * sysdeps/sparc/mempcpy.S: New file.
12482
e5aa83e1
DM
12483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12484 the IFUNC routine in the libc case.
12485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12486
88570753
DM
12487 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12488 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12489 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12490 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12491 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12492 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12493 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12494 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12495
249d7567
DM
12496 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12497 loop to 256 bytes instead of 64 bytes and fix test signedness.
12498
18c9d62b
DM
12499 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12500 * sysdeps/sparc/sparc32/Makefile: rather than here...
12501 * sysdeps/sparc/sparc64/Makefile: and here.
12502
05f3d1f6
UD
125032012-03-28 Ulrich Drepper <drepper@gmail.com>
12504
12505 * malloc/mallocbug.c: Avoid warnings about unused variables.
12506
86ae07a8
JL
125072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12508
12509 [BZ #13760]
12510 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12511 in the right place. Discard and retry query if response is
12512 larger than input buffer size.
12513
41bf21a1
JM
125142012-03-28 Joseph Myers <joseph@codesourcery.com>
12515
d6270972
JM
12516 [BZ #369]
12517 [BZ #2678]
12518 [BZ #3866]
12519 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12520 x for large integer exponent.
12521 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12522 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12523 sign of result as needed afterwards.
12524 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12526 result for underflowing pow the same as for overflow.
12527 (__kernel_standard_l): Handle powl overflow and underflow here
12528 rather than calling __kernel_standard.
12529 * math/libm-test.inc (pow_test): Add more tests.
12530
414fca03 12531 [BZ #3868]
41bf21a1
JM
12532 [BZ #13879]
12533 [BZ #13910]
12534 [BZ #13911]
12535 [BZ #13912]
12536 [BZ #13913]
12537 [BZ #13915]
12538 [BZ #13916]
12539 [BZ #13917]
12540 [BZ #13918]
12541 [BZ #13919]
12542 [BZ #13920]
12543 [BZ #13921]
12544 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12545 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12546 (__kernel_standard_l): New function.
12547 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12548 __kernel_standard.
12549 * math/w_acosl.c (__acosl): Likewise.
12550 * math/w_asinl.c (__asinl): Likewise.
12551 * math/w_atan2l.c (__atan2l): Likewise.
12552 * math/w_atanhl.c (__atanhl): Likewise.
12553 * math/w_coshl.c (__coshl): Likewise.
12554 * math/w_exp10l.c (__exp10l): Likewise.
12555 * math/w_exp2l.c (__exp2l): Likewise.
12556 * math/w_fmodl.c (__fmodl): Likewise.
12557 * math/w_hypotl.c (__hypotl): Likewise.
12558 * math/w_j0l.c (__j0l, __y0l): Likewise.
12559 * math/w_j1l.c (__j1l, __y1l): Likewise.
12560 * math/w_jnl.c (__jnl, __ynl): Likewise.
12561 * math/w_lgammal.c (__lgammal): Likewise.
12562 * math/w_log10l.c (__log10l): Likewise.
12563 * math/w_log2l.c (__log2l): Likewise.
12564 * math/w_logl.c (__logl): Likewise.
12565 * math/w_powl.c (__powl): Likewise.
12566 * math/w_remainderl.c (__remainderl): Likewise.
12567 * math/w_scalbl.c (sysv_scalbl): Likewise.
12568 * math/w_sinhl.c (__sinhl): Likewise.
12569 * math/w_sqrtl.c (__sqrtl): Likewise.
12570 * math/w_tgammal.c (__tgammal): Likewise.
12571 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12572 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12573 * math/libm-test.inc (acos_test): Add more tests.
12574 (acosh_test): Likewise.
12575 (asin_test): Likewise.
12576 (atanh_test): Likewise.
12577 (exp_test): Likewise.
12578 (exp10_test): Likewise.
12579 (exp2_test): Likewise.
12580 (expm1_test): Likewise.
12581 (lgamma_test): Likewise.
12582 (log_test): Likewise.
12583 (log10_test): Likewise.
12584 (log1p_test): Likewise.
12585 (log2_test): Likewise.
12586 (pow_test): Do not allow some spurious overflow exceptions.
12587 (sqrt_test): Add more tests.
12588 (tgamma_test): Likewise.
12589 (y0_test): Likewise.
12590 (y1_test): Likewise.
12591 (yn_test): Likewise.
12592
dd62fda6
AB
125932012-03-27 Anton Blanchard <anton@samba.org>
12594
12595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12596 MAP_HUGETLB.
12597 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12598 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12599 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12600
1e3cdfda
AJ
126012012-03-27 David S. Miller <davem@davemloft.net>
12602
b855ab85
DM
12603 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12604
1e3cdfda
AJ
12605 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12606 have-as-vis3 check.
12607
126082012-03-27 Andreas Jaeger <aj@suse.de>
12609
12610 * sysdeps/x86_64/elf/configure.in: Moved to ...
12611 * sysdeps/x86_64/configure.in: ... here.
12612 * sysdeps/x86_64/elf/start.S: Moved to ...
12613 * sysdeps/x86_64/start.S: ... here.
12614 * sysdeps/x86_64/elf/configure: Delete.
12615
12616 * sysdeps/x86_64/configure.in: Merge contents from
12617 sysdeps/i386/configure.in (without i686 check).
12618
12619 * sysdeps/i386/elf/Versions: Merge into ...
12620 * sysdeps/i386/Versions: ... this.
12621 * sysdeps/i386/elf/Versions: Delete file.
12622 * sysdeps/i386/elf/start.S: Moved to ...
12623 * sysdeps/i386/start.S: ...here.
12624 * sysdeps/i386/elf/configure.in: Merge into...
12625 * sysdeps/i386/configure.in: ...here.
12626 * sysdeps/i386/elf/configure.in: Delete file.
12627 * sysdeps/i386/elf/configure: Delete file.
12628
12629 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12630 * debug/backtracesyms.c: ... here.
12631 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12632 * debug/backtracesymsfd.c: ... here.
12633 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12634 * sysdeps/generic/ifunc-sel.h: ... here.
12635
12636 * sysdeps/unix/i386/start.c: Delete file.
12637 * sysdeps/unix/sparc/start.c: Delete file.
12638 * sysdeps/unix/start.c: Delete file.
12639
12640 * sysdeps/sh/elf/configure.in: Moved to ...
12641 * sysdeps/sh/configure.in: ... here.
12642 * sysdeps/sh/elf/start.S: Moved to ...
12643 * sysdeps/sh/start.S: ... here.
12644 * sysdeps/sh/elf/configure: Delete file.
12645
12646 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12647 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12648 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12649 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12650 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12651 * sysdeps/powerpc/powerpc64/start.S: here.
12652 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12653 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12654 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12655 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12656 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12657
12658 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12659 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12660 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12661 * sysdeps/powerpc/powerpc32/start.S: ... here.
12662 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12663 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12664 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12665
12666 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12667 * sysdeps/powerpc/ifunc-sel.h: ... here.
12668 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12669 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12670
12671 * sysdeps/sparc/elf/configure.in: Moved to ...
12672 * sysdeps/sparc/configure.in: ... here.
12673 * sysdeps/sparc/elf/configure: Delete file.
12674 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12675 * sysdeps/sparc/sparc32/start.S: ... here.
12676 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12677 * sysdeps/sparc/sparc64/start.S: ... here.
12678 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12679 * sysdeps/sparc/sparc32/Makefile: ... this.
12680 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12681 * sysdeps/sparc/sparc64/Makefile: ... this.
12682
12683 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12684 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12685 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12686 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12687 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12688 * sysdeps/s390/s390-32/setjmp.S: ... here.
12689 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12690 * sysdeps/s390/s390-32/configure.in: ... here.
12691 * sysdeps/s390/s390-32/elf/configure: Delete file.
12692 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12693 * sysdeps/s390/s390-32/start.S: ... here.
12694
12695 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12696 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12697 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12698 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12699 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12700 * sysdeps/s390/s390-64/setjmp.S: ... here.
12701 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12702 * sysdeps/s390/s390-64/configure.in: ... here
12703 * sysdeps/s390/s390-64/elf/configure: Delete file.
12704 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12705 * sysdeps/s390/s390-64/start.S: ... here.
12706 * sysdeps/s390/s390-64/elf/configure: Delete.
12707
12708 * configure.in: Remove support for elf directories in sysdeps.
12709
12710 * configure: Regenerated.
12711 * sysdeps/i386/configure: Regenerated.
12712 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12713 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12714 * sysdeps/s390/s390-32/configure: Regenerated.
12715 * sysdeps/s390/s390-64/configure: Regenerated.
12716 * sysdeps/sh/configure: Regenerated.
12717 * sysdeps/sparc/configure: Regenerated.
12718 * sysdeps/x86_64/configure: Regenerated.
12719
a3f61311
AS
127202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12721
c876e002
AS
12722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12723
a3f61311
AS
12724 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12725 denormal result into account.
12726
ac4c54f0
RM
127272012-03-25 Roland McGrath <roland@hack.frob.com>
12728
12729 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12730 Reported by Allan McRae <allan@archlinux.org>.
12731
6a9b9c02
JL
127322012-03-23 Jeff Law <law@redhat.com>
12733
12734 * nss/getnssent.c (__nss_getent): Fix typo.
12735
4c42a0c1
DM
127362012-03-23 David S. Miller <davem@davemloft.net>
12737
12738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12739
1532c7ac
L
127402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12741
12742 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12743 to pad to uint64_t for each field.
12744 (dl_tls_index): Replace unsigned long with uint64_t.
12745
3ff42526
PP
127462012-03-23 Daniel Jacobowitz <dmj@google.com>
12747 Paul Pluzhnikov <ppluzhnikov@google.com>
12748
12749 [BZ #6528]
12750 * grp/Makefile (otherlibs): Don't set it.
12751 * inet/Makefile (otherlibs): Likewise.
12752 * login/Makefile (otherlibs): Likewise.
12753 * nscd/Makefile (otherlibs): Likewise.
12754 * posix/Makefile (otherlibs): Likewise.
12755 * pwd/Makefile (otherlibs): Likewise.
12756 * rt/Makefile (otherlibs): Likewise.
12757 * sunrpc/Makefile (otherlibs): Likewise.
12758 * nss/Makefile (otherlibs): Likewise.
12759 Add libnss_files to routines and static-only-routines.
12760 ($(objpfx)getent): Remove rule.
12761 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12762 static-only-routines.
12763
7c69cd14
JM
127642012-03-22 Joseph Myers <joseph@codesourcery.com>
12765
12766 [BZ #13892]
12767 * math/s_cexp.c: Include <float.h>.
12768 (__cexp): Handle exp result overflowing not necessarily
12769 overflowing both real and imaginary parts of result.
12770 * math/s_cexpf.c: Likewise.
12771 * math/s_cexpl.c: Likewise.
12772 * math/libm-test.inc (cexp_test): Add more tests.
12773 * sysdeps/i386/fpu/libm-test-ulps: Update.
12774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12775
81b035fe
L
127762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12777
12778 * include/link.h (ELFW): New macro.
12779 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12780 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12781
1da7940c
L
127822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12783
12784 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12785 with uint64_t.
12786
b749dbb9
L
127872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12788
12789 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12790 declaration.
12791 (struct La_x32_retval): Likewise.
12792
2ff87f3f
L
127932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12794
12795 * sysdeps/x86_64/preconfigure.in: New file.
12796 * sysdeps/x86_64/preconfigure: New generated file.
12797
c0df8e69
JM
127982012-03-22 Joseph Myers <joseph@codesourcery.com>
12799
48e44791
JM
12800 [BZ #13824]
12801 * math/e_exp2l.c: Include <float.h>.
12802 (__ieee754_exp2l): Handle overflow and underflow cases
12803 separately. Only pass fractional part of argument to
12804 __ieee754_expl.
12805 * math/libm-test.inc (exp2_test): Add more tests.
12806
c0df8e69
JM
12807 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12808 negating x to take absolute value.
12809 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12810 Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12813 Likewise.
12814 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12815 computing low part if x was negated.
12816 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12817
c8e43ba7
L
128182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12819
12820 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12821 la_x32_gnu_pltexit.
12822 (pltexit): Cast int_retval to ptrdiff_t.
12823 * elf/tst-auditmod3b.c: Likewise.
12824 * elf/tst-auditmod4b.c: Likewise.
12825 * elf/tst-auditmod5b.c: Likewise.
12826 * elf/tst-auditmod6b.c: Likewise.
12827 * elf/tst-auditmod6c.c: Likewise.
12828 * elf/tst-auditmod7b.c: Likewise.
12829
12830 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12831 and x32_gnu_pltexit.
12832
12833 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12834 __ELF_NATIVE_CLASS.
12835 (La_x32_regs): New macro.
12836 (La_x32_retval): Likewise.
12837 (la_x32_gnu_pltenter): New function prototype.
12838 (la_x32_gnu_pltexit): Likewise.
12839
7998fa78
AS
128402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12841
dcb33988
AS
12842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12843 exponent.
12844
233fc563
AS
12845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12846
7998fa78
AS
12847 * configure.in (libc_cv_cc_nofma): Check for option to disable
12848 generation of FMA instructions.
12849 * configure: Regenerate.
12850 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12851 * sysdeps/ieee754/dbl-64/Makefile: New file.
12852 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12853 Remove brandred-fma4.
12854 (CFLAGS-brandred-fma4.c): Remove.
12855 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12856 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12857 define.
12858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12859 define.
12860
8e95c99a
L
128612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12862
12863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12864 LLONG_MAX != LONG_MAX.
12865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12866 (_fitoa_word): Likewise.
12867 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12868 LLONG_MAX != LONG_MAX.
12869 * stdio-common/_itowa.h: Include <_itoa.h>.
12870 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12871 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12872 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12873 only if not defined.
12874 (_ITOA_WORD_TYPE): Likewise.
12875 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12876 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12877
6f4db457
DM
128782012-03-21 David S. Miller <davem@davemloft.net>
12879
12880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12881
7785fe5a
L
128822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12883
12884 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12885 of x86_64 when setting libc_cv_slibdir, libdir and
12886 libc_cv_localedir.
12887 * sysdeps/unix/sysv/linux/configure: Regenerated.
12888
4535cd55
JM
128892012-03-21 Joseph Myers <joseph@codesourcery.com>
12890
12891 * manual/lang.texi (Old Varargs): Remove section.
12892 (How Variadic): Update menu.
12893 (va_start): Do not mention varargs.h.
12894
17228132
TS
128952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12896 Joseph Myers <joseph@codesourcery.com>
12897
12898 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12899 link test.
12900 * configure: Regenerated.
12901
8149f976
TS
129022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12903
05f3d1f6
UD
12904 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12905 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12906 conformtest.pl
8149f976 12907
1a4ac776
JM
129082012-03-21 Joseph Myers <joseph@codesourcery.com>
12909
be22ce65
JM
12910 * NOTES: Remove.
12911 * Makefile (files-for-dist): Remove NOTES.
12912 (NOTES): Remove rule.
12913 * README: Don't refer to NOTES.
12914 * manual/creature.texi: Don't include macros.texi.
12915 * manual/intro.texi (creature.texi): Remove comment referring to
12916 NOTES.
12917
40b601fb
JM
12918 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12919 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12920 * configure: Regenerated.
12921 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12922 LIBC_TRY_CC_OPTION.
12923 (libc_cv_as_i686): Likewise.
12924 (libc_cv_cc_avx): Likewise.
12925 (libc_cv_cc_sse2avx): Likewise.
12926 (libc_cv_cc_fma4): Likewise.
12927 (libc_cv_cc_novzeroupper): Likewise.
12928 * sysdeps/i386/configure: Regenerated.
12929
1a4ac776
JM
12930 [BZ #13883]
12931 * sysdeps/i386/fpu/s_cexp.S: Remove.
12932 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12933 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12934 * math/libm-test.inc (cexp_test): Add more tests.
12935 * sysdeps/i386/fpu/libm-test-ulps: Update.
12936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12937
a458e7fe
AM
129382012-03-21 Allan McRae <allan@archlinux.org>
12939
12940 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12941
0cb7efc5
JM
129422012-03-21 Joseph Myers <joseph@codesourcery.com>
12943
12944 [BZ #13871]
12945 * math/w_exp2.c: Do not include <float.h>.
12946 (o_threshold, u_threshold): Remove.
12947 (__exp2): Calculate result before checking finiteness and calling
12948 __kernel_standard.
12949 * math/w_exp2f.c: Likewise.
12950 * math/w_exp2l.c: Likewise.
12951 * math/libm-test.inc (exp2_test): Require overflow exception for
12952 1e6 input.
2460d3aa
JM
12953
12954 [BZ #3866]
12955 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12956 range of signed 64-bit integers before using fistpll. Remove
12957 checks for whether integers fit in mantissa bits.
12958 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12959 the range of signed 32-bit integers before using fistpl. Remove
12960 checks for whether integers fit in mantissa bits.
12961 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12962 (__ieee754_powl): Test for y outside the range of signed 64-bit
12963 integers before using fistpll. Reduce 64-bit values to 63-bit
12964 ones as needed.
12965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12966 divide-by-zero is raised for zero to large negative powers.
12967 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12968 (__ieee754_powl): Test for y outside the range of signed 64-bit
12969 integers before using fistpll. Reduce 64-bit values to 63-bit
12970 ones as needed.
12971 * math/libm-test.inc (pow_test): Add more tests.
12972
eb96ffb0
L
129732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12974
12975 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12976 <stdio-common/_itoa.h>.
12977 * debug/segfault.c: Likewise.
12978 * elf/dl-cache.c: Likewise.
12979 * elf/dl-minimal.c: Likewise.
12980 * elf/dl-misc.c: Likewise.
12981 * elf/dl-sysdep.c: Likewise.
12982 * elf/dl-version.c: Likewise.
12983 * elf/rtld.c: Likewise.
12984 * hurd/hurdsock.c: Likewise.
12985 * hurd/lookup-retry.c: Likewise.
12986 * malloc/malloc.c: Likewise.
12987 * malloc/mtrace.c: Likewise.
12988 * nscd/nscd_getgr_r.c: Likewise.
12989 * nscd/nscd_getpw_r.c: Likewise.
12990 * nscd/nscd_getserv_r.c: Likewise.
12991 * posix/getopt_init.c: Likewise.
12992 * posix/wordexp.c: Likewise.
12993 * stdio-common/_itoa.c: Likewise.
12994 * stdio-common/printf_fphex.c: Likewise.
12995 * stdio-common/vfprintf.c: Likewise.
12996 * string/_strerror.c: Likewise.
12997 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12998 * sysdeps/i386/i686/hp-timing.h: Likewise.
12999 * sysdeps/mach/_strerror.c: Likewise.
13000 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13001 * sysdeps/mach/hurd/sethostid.c: Likewise.
13002 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13003 * sysdeps/mach/xpg-strerror.c: Likewise.
13004 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13006 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13007 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13008 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13009 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13010 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13011 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13012 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13013 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13014 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13015 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13016 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13017 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13018 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13019 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13020 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13021 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13022 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13023 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13024 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13025
13026 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13027
13028 * stdio-common/_itoa.h: Moved to ...
13029 * sysdeps/generic/_itoa.h: Here.
13030
13031 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13032
13033 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13034 instead of "_itoa.h" and "_itowa.h".
13035 * stdio-common/vfprintf.: Likewise.
13036
d1af992d
L
130372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13038
13039 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13040 <bits/wordsize.h>.
13041 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13042 (__signbit): Likwise.
13043 (llrintf): Likwise.
13044 (llrint): Likwise.
13045
114883e0
L
130462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13047
13048 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13049 __WORDSIZE != 64.
13050
c135cc1b
JM
130512012-03-20 Joseph Myers <joseph@codesourcery.com>
13052
13053 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13054 OVERFLOW_EXCEPTION_OK.
13055 * math/libm-test.inc ("Philosophy"): Update comment about
13056 exception testing.
13057 (OVERFLOW_EXCEPTION): Define.
13058 (OVERFLOW_EXCEPTION_OK): Likewise.
13059 (INVALID_EXCEPTION_OK): Renumber.
13060 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13061 (IGNORE_ZERO_INF_SIGN): Likewise.
13062 (test_exceptions): Handle FE_OVERFLOW.
13063 (exp10_test): Expect overflow exceptions.
13064 (exp2_test): Likewise.
13065 (expm1_test): Likewise.
13066 (nextafter_test): Likewise.
13067 (pow_test): Likewise.
13068 (scalbn_test): Likewise.
13069 (scalbln_test): Likewise.
13070
95443d88
L
130712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13072
13073 * sysdeps/x86_64/bits/atomic.h
13074 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13075 64bit integer.
13076 (atomic_exchange_acq): Likewise.
13077 (__arch_exchange_and_add_body): Likewise.
13078 (__arch_add_body): Likewise.
13079 (atomic_add_negative): Likewise.
13080 (atomic_add_zero): Likewise.
13081
490df6c4
L
130822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13083
c2722551 13084 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13085 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13086
5e52b189
L
130872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13088
13089 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13090 Check __x86_64__ instead of __WORDSIZE.
13091
a9879d4c
L
130922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13093
13094 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13095
5df98260
DM
130962012-03-19 David S. Miller <davem@davemloft.net>
13097
e1497744
DM
13098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13099
5df98260
DM
13100 * sysdeps/sparc/fpu/fenv_private.h: New file.
13101 * sysdeps/sparc/fpu/math_private.h: Use it.
13102 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13103 Remove.
13104 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13105 (libc_feholdexcept_setroundl): Remove.
13106 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13107 Remove.
13108 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13109 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13110
b4c35121
L
131112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13112
13113 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13114 int64_t instead of long int.
13115 (INSERT_WORDS64): Likwise.
13116
56965fd7
L
131172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13118
13119 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13120 _Unwind_GetCFA return to _Unwind_Ptr first.
13121
83d1aec8
JM
131222012-03-19 Joseph Myers <joseph@codesourcery.com>
13123
1897ad44
JM
13124 [BZ #13629]
13125 * math/s_clog.c: Include <float.h>.
13126 (__clog): Scale large or subnormal inputs.
13127 * math/s_clogf.c: Likewise.
13128 * math/s_clogl.c: Likewise.
13129 * math/s_clog10.c: Include <float.h>.
13130 (M_LOG10_2): Define.
13131 (__clog10): Scale large or subnormal inputs.
13132 * math/s_clog10f.c: Likewise.
13133 * math/s_clog10l.c: Likewise.
13134 * math/libm-test.inc (clog_test): Add more tests.
13135 (clog10_test): Likewise.
13136 * sysdeps/i386/fpu/libm-test-ulps: Update.
13137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13138
7726d6a9
JM
13139 [BZ #11451]
13140 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13141 x and y.
13142 * math/libm-test.inc (atan2_test): Add another test.
13143
83d1aec8
JM
13144 * Makerules (common-objdir-compile): Remove.
13145 * sysdeps/unix/Makefile (config-generated): Do not add
13146 $(unix-generated) to variable.
13147 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13148 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13149 Remove rule.
13150 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13151 Likewise.
13152 [generic bits/local_lim.h] (before-compile): Do not append to
13153 variable.
13154 [generic bits/local_lim.h] (common-generated): Likewise.
13155 [generic sys/param.h] (before-compile): Do not append to variable.
13156 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13157 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13158 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13159 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13160 include.
13161 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13162 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13163 [generic sys/param.h] ($(addprefix
13164 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13165 [generic sys/param.h] (common-generated): Do not append to
13166 variable.
13167 [generic sys/param.h] (sysdep_headers): Likewise.
13168 [generic bits/errno.h] (before-compile): Do not append to
13169 variable.
13170 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13171 rule.
13172 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13173 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13174 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13175 [generic bits/errno.h] (common-generated): Do not append to
13176 variable.
13177 [generic bits/ioctls.h] (before-compile): Do not append to
13178 variable.
13179 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13180 rule.
13181 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13182 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13183 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13184 rule.
13185 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13186 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13187 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13188 [generic bits/ioctls.h] (common-generated): Do not append to
13189 variable.
13190 [generic sys/syscall.h] (syscall.h): Remove variable.
13191 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13192 rule.
13193 [generic sys/syscall.h] (before-compile): Do not append to
13194 variable.
13195 [generic sys/syscall.h] (common-generated): Likewise.
13196 * sysdeps/unix/errnos-tmpl.c: Remove file.
13197 * sysdeps/unix/errnos.awk: Likewise.
13198 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13199 * sysdeps/unix/ioctls.awk: Likewise.
13200 * sysdeps/unix/mk-local_lim.c: Likewise.
13201 * sysdeps/unix/snarf-ioctls: Likewise.
13202
4851a949
RH
132032012-03-19 Richard Henderson <rth@twiddle.net>
13204
bd37f2ee
RH
13205 * sysdeps/i386/fpu/fenv_private.h: New file.
13206 * sysdeps/i386/fpu/math_private.h: Use it.
13207 (math_opt_barrier, math_force_eval): Remove.
13208 (libc_feholdexcept_setround_53bit): Remove.
13209 (libc_feupdateenv_53bit): Remove.
13210 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13211 (math_opt_barrier, math_force_eval): Remove.
13212 (libc_feholdexcept): Remove.
13213 (libc_feholdexcept_setround): Remove.
13214 (libc_fetestexcept, libc_fesetenv): Remove.
13215 (libc_feupdateenv_test): Remove.
13216 (libc_feupdateenv, libc_feholdsetround): Remove.
13217 (libc_feresetround): Remove.
13218
d0adc922
RH
13219 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13220 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13221
0fe0f1f8
RH
13222 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13223 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13224 (libc_feupdateenv_testl): New.
13225 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13226 (libc_feupdateenv_testf): New.
13227 (libc_feupdateenv): Use libc_feupdateenv_test.
13228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13229 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13230
eb92c487
RH
13231 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13232 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13233 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13234 (libc_feresetround_noex): New.
13235 (libc_feresetround_noexf): New.
13236 (libc_feresetround_noexl): New.
13237 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13238 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13239 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13240 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13241 SET_RESTORE_ROUND.
13242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13244 (__cos): Likewise.
13245 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13246 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13247 SET_RESTORE_ROUND_NOEX.
13248 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13249 SET_RESTORE_ROUND_NOEXF.
13250 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13251 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13252 (libc_feholdsetroundf): New.
13253 (libc_feresetround, libc_feresetroundf): New.
13254
7d2e8012
RH
13255 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13256 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13257 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13258
b4dabbb4
RH
13259 * sysdeps/generic/math_private.h: Include <fenv.h>.
13260 (default_libc_feholdexcept): New.
13261 (default_libc_feholdexcept_setround): New.
13262 (default_libc_fesetenv, default_libc_feupdateenv): New.
13263 (libc_feholdexcept): Only define if undefined.
13264 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13265 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13266 (libc_feholdexcept_setroundl): Likewise.
13267 (libc_feholdexcept_setround_53bit): Likewise.
13268 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13269 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13270 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13271 (libc_feupdateenv_53bit): Likewise.
13272 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13273 (libc_feholdexcept): Convert from macro to inline function.
13274 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13275 (libc_fesetenv, libc_feupdateenv): Likewise.
13276
4851a949
RH
13277 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13278 not previously defined.
13279 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13280 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13281 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13282 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13283 * sysdeps/ieee754/flt-32/math_private.h: New file.
13284 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13285 math_private.h below SET_FLOAT_WORD.
13286 (__isnan, __isinf_ns, __finite): Remove.
13287 (__isnanf, __isinf_nsf, __finitef): Remove.
13288
e79d442e
AS
132892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13290
13291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13292
90b80344
DM
132932012-03-17 David S. Miller <davem@davemloft.net>
13294
13295 [BZ #6471]
13296 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13297 for 2.16.
13298
edc21804
DM
132992012-03-16 David S. Miller <davem@davemloft.net>
13300
77e927af
DM
13301 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13302 warnings.
13303
374976dd
DM
13304 [BZ #6471]
13305 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13306 properly.
13307 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13308 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13309 sysdep_routines when subdir is sysvipc.
13310 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13311 __getshmlba helper.
13312
edc21804
DM
13313 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13314
473c3ef3
L
133152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13316
13317 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13318 [__LP64__].
13319
eb0f39b6
L
133202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13321
13322 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13324 (__lround): Renamed to ...
13325 (__llround): This. Replace long int with long long int.
13326 Define lround functions as aliases of llround functions.
13327 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13328
6b6cd74b
L
133292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13332 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13333 adresses to uintptr_t. Replace "long int" and "unsigned long
13334 int" with "greg_t" on va_arg.
13335
f1a77b01
L
133362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13337
13338 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13339 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13340
13341 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13342 Move e_machine check before EI_CLASS check. Handle x32
13343 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13344 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13345 SKIP_EM_IA_64 and include
13346 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13347
13348 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13349 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13350 (add_system_dir): New macro.
13351
13352 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13353 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13354
11b90b9f
JM
133552012-03-16 Joseph Myers <joseph@codesourcery.com>
13356
c36e1d23
JM
13357 [BZ #2551]
13358 [BZ #2552]
13359 [BZ #2553]
13360 [BZ #2554]
13361 [BZ #2562]
13362 [BZ #2563]
13363 [BZ #2565]
13364 [BZ #2566]
13365 [BZ #2576]
13366 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13367 (y0): Likewise.
13368 * math/w_j0f.c (j0f): Likewise.
13369 (y0f): Likewise.
13370 * math/w_j0l.c (__j0l): Likewise.
13371 (__y0l): Likewise.
13372 * math/w_j1.c (j1): Likewise.
13373 (y1): Likewise.
13374 * math/w_j1f.c (j1f): Likewise.
13375 (y1f): Likewise.
13376 * math/w_j1l.c (__j1l): Likewise.
13377 (__y1l): Likewise.
13378 * math/w_jn.c (jn): Likewise.
13379 (yn): Likewise.
13380 * math/w_jnf.c (jnf): Likewise.
13381 (ynf): Likewise.
13382 * math/w_jnl.c (__jnl): Likewise.
13383 (__ynl): Likewise.
13384 * math/libm-test.inc (j0_test): Add more tests.
13385 (j1_test): Likewise.
13386 (jn_test): Likewise. Add trailing semicolon to existing test.
13387 (y0_test): Likewise.
13388 (y1_test): Likewise.
13389 * sysdeps/i386/fpu/libm-test-ulps: Update.
13390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391
11b90b9f
JM
13392 [BZ #13851]
13393 [BZ #13854]
13394 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13395 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13396 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13397 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13398 (__tanl): Set errno for infinite argument.
13399 * sysdeps/i386/fpu/mptan.c: Remove.
13400 * sysdeps/i386/fpu/s_tan.S: Likewise.
13401 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13402 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13403 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13404 * math/libm-test.inc (tan_test): Add more tests and enable more
13405 tests for double and long double.
13406 * sysdeps/i386/fpu/libm-test-ulps: Update.
13407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13408
6a1bd2a1
JK
134092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13410
13411 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13412 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13413
10a803e0
RM
134142012-03-16 Roland McGrath <roland@hack.frob.com>
13415
13416 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13417 * configure.in: Use it for both main tree and add-ons.
13418 * configure: Regenerated.
13419
f196c7f7
L
134202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13421
13422 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13423
8848d99d
JM
134242012-03-16 Joseph Myers <joseph@codesourcery.com>
13425
96cbe7f4
JM
13426 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13427 in comment.
13428
8848d99d
JM
13429 [BZ #13851]
13430 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13431 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13435 infinite argument.
13436 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13437 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13438 != 0 for prec == 2.
13439 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13440 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13441 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13442 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13443 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13444 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13445 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13446 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13447 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13448 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13449 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13450 * math/libm-test.inc (cos_test): Add more tests and enable more
13451 tests for long double.
13452 (sin_test): Likewise.
13453 (sincos_test): Likewise.
13454 * sysdeps/i386/fpu/libm-test-ulps: Update.
13455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13456
dd7f4703
DM
134572012-03-16 David S. Miller <davem@davemloft.net>
13458
13459 * sysdeps/sparc/fpu/math_private.h: New file.
13460
006f1daa
DM
134612012-03-15 David S. Miller <davem@davemloft.net>
13462
c0c83bc8
DM
13463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13464 file.
e6a62e18 13465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13467 file.
e6a62e18
DM
13468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13469 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13474 sysdep routines.
13475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13476
88cb87d9
DM
13477 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13478 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13479
006f1daa 13480 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13482 sparc-ifunc.h
006f1daa 13483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13485 Likewise.
13486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13487 Likewise.
006f1daa
DM
13488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13492 Likewise.
006f1daa
DM
13493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13498 Likewise.
13499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13500 Likewise.
006f1daa
DM
13501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13507 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13508 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13516 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13520 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13525
11e0098e
AS
135262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13527
13528 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13529 scaling.
13530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13531
e85b09d0
AJ
135322012-03-15 Andreas Jaeger <aj@suse.de>
13533
13534 [BZ #13852]
13535 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13536 ieee754/flt-32 implementation for sin, cos and sincos.
13537 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13538 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13539 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13540 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13541 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13542 ieee754/flt-32 implementation for tan.
13543
13544 * math/libm-test.inc (cos_test): Enable some large input tests for
13545 float as well
13546 (sin_test): Likewise.
13547 (sincos_test): Likewise.
13548 (tan_test): Add tests for large input.
13549
13550 * sysdeps/i386/fpu/libm-test-ulps: Update.
13551
81c64153
AJ
135522012-03-15 Andreas Jaeger <aj@suse.de>
13553
13554 [BZ #13658]
13555 * math/libm-test.inc (cos_test): Add more test cases.
13556 (sin_test): Likewise.
13557 (sincos_test): Likewise.
13558
7bbfa5c6
AJ
135592012-03-15 Andreas Jaeger <aj@suse.de>
13560
13561 [BZ #13837]
13562 * math/libm-test.inc (cos_test): Add a test case for large input
13563 value.
13564 (sin_test): Likewise.
13565 (sincos_test): Likewise.
13566
135672012-03-15 Andreas Jaeger <aj@suse.de>,
13568 Joseph Myers <joseph@codesourcery.com>
13569
13570 [BZ #13658]
0671f479 13571 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13572 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13573 * sysdeps/i386/fpu/branred.c: Likewise.
13574 * sysdeps/i386/fpu/dosincos.c: Likewise.
13575 * sysdeps/i386/fpu/mpa.c: Likewise.
13576 * sysdeps/i386/fpu/s_cos.S: Likewise.
13577 * sysdeps/i386/fpu/s_sin.S: Likewise.
13578 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13579 * sysdeps/i386/fpu/sincos32.c: Likewise.
13580
13581 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13582 Define.
13583 (libc_feupdateenv_53bit): Define.
13584 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13585 Define.
13586 (libc_feupdateenv_53bit): Define.
13587
13588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13589 53 bit (without extend i386 double precision).
13590
13591 * math/libm-test.inc (sincos_test): Add tests for large input.
13592 (sin): Likewise.
13593 (cos): Likewise.
13594
13595 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13596
9cad04ea
AS
135972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13598
13599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13600
f7062b9a
DM
136012012-03-15 David S. Miller <davem@davemloft.net>
13602
13603 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13604 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13606 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13619 file.
f7062b9a 13620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13622 file.
f7062b9a 13623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13625 file.
f7062b9a 13626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13628 file.
f7062b9a
DM
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13631 fmin/fmax sysdep routines.
13632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13633
7bd951ff
DM
136342012-03-14 David S. Miller <davem@davemloft.net>
13635
559398ab
DM
13636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13640 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13645 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13664 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13665 routines.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13667 file.
559398ab 13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13670 file.
559398ab 13671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13673 file.
559398ab 13674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13676 file.
559398ab 13677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13679 file.
559398ab 13680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13682 file.
13683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13684 file.
13685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13686 file.
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13688 file.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13690 New file.
13691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13692 file.
13693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13694 file.
559398ab 13695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13697 file.
559398ab 13698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13700 file.
559398ab 13701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13703 file.
559398ab 13704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13706 VIS3 routines.
559398ab
DM
13707
13708 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13709 New file.
13710
5a1c1e32
DM
13711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13712
eae47a36
DM
13713 * sysdeps/sparc/configure.in: New file.
13714 * sysdeps/sparc/configure: Generate.
13715 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13716 * configure: Regenerate.
13717 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13718 * config.make.in (have-as-vis3): New.
13719 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13720 available use -Av9d instead of -Av9a.
13721 * sysdeps/sparc/sparc64/Makefile: Likewise.
13722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13724 New file.
13725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13726 file.
13727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13728 New file.
13729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13730 file.
eae47a36
DM
13731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13733 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13736
c0c83bc8
DM
13737 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13738 fzeros/fnegs to load 0x80000000 into a float register instead of
13739 using the stack.
7bd951ff
DM
13740 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13741
bd951ccb
JM
137422012-03-14 Joseph Myers <joseph@codesourcery.com>
13743
13744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13745 bits/syscall.h.
13746 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13747 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13748 ($(inst_includedir)/bits/syscall.h): Remove rule.
13749 ($(objpfx)bits/syscall.d): Include instead of
13750 $(objpfx)syscall-list.d.
13751 (generated): Change syscall-list.h and syscall-list.d to
13752 bits/syscall.h and bits/syscall.d.
13753
bb4e6db2
RM
137542012-03-14 Roland McGrath <roland@hack.frob.com>
13755
13756 [BZ #13846]
13757 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13758
aa4a2ae1
JM
137592012-03-14 Joseph Myers <joseph@codesourcery.com>
13760
e456826d
JM
13761 [BZ #13841]
13762 * math/s_csqrt.c: Include <float.h>.
13763 (__csqrt): Scale large or subnormal inputs.
13764 * math/s_csqrtf.c: Likewise.
13765 * math/s_csqrtl.c: Likewise.
13766 * math/libm-test.inc (csqrt_test): Add more tests.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769
aa4a2ae1
JM
13770 [BZ #13840]
13771 * math/libm-test.inc (hypot_test): Add more tests.
13772
7c10fd35
DM
137732012-03-13 David S. Miller <davem@davemloft.net>
13774
13775 [BZ #13840]
13776 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13777 double-precision for the calculation instead of scaling.
13778
f453b98b
JM
137792012-03-13 Joseph Myers <joseph@codesourcery.com>
13780
13781 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13782 manipulate bits before adding and subtracting TWO52[sx].
13783 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13785 Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13787
09a3453f
DM
137882012-03-13 David S. Miller <davem@davemloft.net>
13789
8e59da90
DM
13790 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13791 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13792 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13793 rtld-global-offsets.h
13794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13795
2a8ab7f2
DM
13796 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13797 large parameters.
13798
10f62770
DM
13799 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13800
5f0bdb18
DM
13801 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13802 'err' in the ifdef scope in which it is actually used.
13803
09a3453f
DM
13804 * nss/nss_db/db-init.c: Include string.h
13805
b4b2eb5e
DM
138062012-03-12 David S. Miller <davem@davemloft.net>
13807
98bb2f1c
DM
13808 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13809 masking out of the most significant byte of random value used.
13810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13811 Fix coding style in previous change.
13812
b4b2eb5e
DM
13813 * sysdeps/unix/sysv/linux/kernel-features.h
13814 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13815 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13816 expression.
13817 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13818 later.
13819
6e226b09
DM
138202012-03-11 David S. Miller <davem@davemloft.net>
13821
a1bcbd40
DM
13822 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13823 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13824 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13825 for 'resultvar' otherwise things get truncated on 64-bit.
13826
cb9d6174
DM
13827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13828 Fix masking out of the most significant byte of random value used.
13829
6e226b09
DM
13830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13831
058c132d
AS
138322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13833
13834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13835
2d2cd515
DM
138362012-03-09 David S. Miller <davem@davemloft.net>
13837
13838 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13839 variables with appropriate CPP guards.
13840 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13841 frame pointer, not the stack pointer. Correct layout comments. Fix test
13842 on resulting framesize and the management of the outregs buffer for pltexit.
13843 Preserve floating point return values across _dl_call_pltexit call.
13844 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13845 framesize and the management of the outregs buffer for pltexit.
13846 Preserve floating point return values across _dl_call_pltexit
13847 call.
13848 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13849 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13850 (print_exit): Fix format string for return register value.
13851
9a07f9d0
JM
138522012-03-10 Joseph Myers <joseph@codesourcery.com>
13853
13854 * sunrpc/Makefile (others): Add rpcgen.
13855 ($(objpfx)rpcgen): Remove special build rule and dependency on
13856 libc.
13857 * sunrpc/rpcgen.c: New file.
13858
547b5e30
PE
138592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13860
c524201a
PE
13861 [BZ #13673]
13862 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13863 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13864 * sysdeps/i386/crti.S: Likewise.
13865 * sysdeps/i386/crtn.S: Likewise.
13866 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13867 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13868 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13869 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13870 * sysdeps/sh/crti.S: Likewise.
13871 * sysdeps/sh/crtn.S: Likewise.
13872 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13873
7b6235f2
PE
13874 [BZ #13673]
13875 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13876 with URL.
13877 * locale/programs/locfile-kw.gperf: Likewise.
13878 * locale/programs/charmap-kw.h: Regenerated.
13879 * locale/programs/locfile-kw.h: Likewise.
13880
547b5e30
PE
13881 [BZ #13673]
13882 * intl/plural.y: Replace FSF snail mail address with URL.
13883 * intl/plural.c: Regenerated.
13884
5f0a5dae
RH
138852012-03-09 Richard Henderson <rth@twiddle.net>
13886
13887 * include/math_private.h: Remove file.
13888 * math/math_private.h: Move file ...
13889 * sysdeps/generic/math_private.h: ... here.
13890
b8c03620
RH
13891 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13892 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13894
4e234f5d 13895 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13896 and <math_private.h>.
13897 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13898 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13899 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13900 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13901 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13973 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13974 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13975 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13976 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13977 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13978 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13979 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13980 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13981 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13983 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13984 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13985 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13986 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13987 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13988 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13989 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13990 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13991 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13992 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13994 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13995 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13997 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13998 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13999 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14000 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14001 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14002 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14003 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14004 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14005 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14007 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14008 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14009 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14011 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14012 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14013 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14014 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14015 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14016 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14017 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14018 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14020 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14021 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14023 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14024 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14025 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14026 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14027 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14028 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14029 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14030 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14031 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14032 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14033 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14034 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14035 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14038 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14039 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14040 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14041 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14045 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14046 * sysdeps/ieee754/k_standard.c: Likewise.
14047 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14048 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14049 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14050 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14051 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14052 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14053 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14054 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14055 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14064 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14065 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14066 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14067 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14068 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14069 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14070 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14071 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14072 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14073 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14074 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14075 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14076 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14077 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14078 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14079 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14080 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14081 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14085 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14087 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14098 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14099 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14100 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14102 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14103 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14108 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14109 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14118 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14120 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14123 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14124 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14126 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14127 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14128 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14129 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14130 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14131 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14132 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14133 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14134 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14135 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14136 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14138 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14144 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14145 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14148 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14149 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14150 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14151 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14154 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14155 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14156 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14157 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14158 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14159 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14161 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14162 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14163 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14174 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14175 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14179 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14181 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14183 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14188 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14190 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14191 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14193 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14194 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14195 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14196 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14197 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14202 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14207 * sysdeps/ieee754/s_lib_version.c: Likewise.
14208 * sysdeps/ieee754/s_matherr.c: Likewise.
14209 * sysdeps/ieee754/s_signgam.c: Likewise.
14210 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14211 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14212 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14213 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14214 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14215 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14216 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14217 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14218 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14219 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14220 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14221 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14222 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14223 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14224 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 14231
1991fa03
JM
142322012-03-09 Joseph Myers <joseph@codesourcery.com>
14233
14234 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14235 * sunrpc/rpc_main.c: Likewise.
14236 * sunrpc/rpc_svcout.c: Likewise.
14237
60d6f5a6
DM
142382012-03-09 David S. Miller <davem@davemloft.net>
14239
14240 * include/math_private.h: New file.
14241
4962050e
JM
142422012-03-09 Joseph Myers <joseph@codesourcery.com>
14243
02a6f887
JM
14244 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14245 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14246 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14247 from <bits/socket_type.h>.
14248 (enum __socket_type): Don't define here.
14249 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14251 bits/socket_type.h.
14252
c6e013c1
JM
14253 [BZ #13566]
14254 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14255 checking __USE_GNU.
14256
4962050e
JM
14257 * Makerules ($(inst_includedir)/%.h): New rule.
14258 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14259 (install-others): Remove variable setting.
14260 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14261
38842f45
RH
142622012-03-08 Richard Henderson <rth@twiddle.net>
14263
67bb6da6
RH
14264 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14265 from macro to inline function; merge with the
14266 !__LIBC_INTERNAL_MATH_INLINES version.
14267 (__ieee754_sqrtf): Likewise.
14268
15194b4b
RH
14269 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14270 to inline function.
14271 (__rintf, __floor, __floorf): Likewise.
14272
64e21ede
RH
14273 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14274 macro to inline function.
14275 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14276
38842f45
RH
14277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14278 not <math/math_private.h>.
14279
c64bf5fe
DM
142802012-03-08 David S. Miller <davem@davemloft.net>
14281
14282 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14283 copyright year.
14284 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14285
82d86f28
TS
142862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14287
14288 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14289 normalization.
14290 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14291 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14292
aea5d727
UD
142932012-03-08 Ulrich Drepper <drepper@gmail.com>
14294
14295 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14296 be defined individually, they must be defined as a block. Define
14297 S for printing a string instead of hidint the different by using a
14298 macro for adding the 'l'.
14299 * stdio-common/tst-fphex-wide.c: Adjust.
14300
70bca0a3
MP
143012012-03-07 Marek Polacek <polacek@redhat.com>
14302
14303 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14304
65b81130
MP
143052012-03-08 Marek Polacek <polacek@redhat.com>
14306
14307 [BZ #13806]
14308 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14309 * stdio-common/tst-fphex.c: Define a few macros to make the
14310 test reusable. Use them.
14311 * stdio-common/tst-fphex-wide.c: New file.
14312
07037eeb
JM
143132012-03-08 Joseph Myers <joseph@codesourcery.com>
14314
a7a93d50
JM
14315 [BZ #6911]
14316 * manual/macros.texi (gnusystems): New macro.
14317 (nongnusystems): Likewise.
14318 (gnulinuxhurdsystems): Likewise.
14319 (gnuhurdsystems): Likewise..
14320 (gnulinuxsystems): Likewise.
14321 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14322 variants of the GNU system, not "GNU system".
14323 * manual/conf.texi: Likewise.
14324 * manual/errno.texi: Likewise. Update example of errno macro
14325 expansion.
14326 * manual/filesys.texi: Likewise.
14327 (getumask): Document as specific to GNU/Hurd.
14328 * manual/install.texi: Likewise. Reword some references to
14329 GNU/Linux.
14330 * manual/intro.texi: Likewise.
14331 * manual/io.texi: Likewise.
14332 (File Name Portability): Detail which constraints are inapplicable
14333 to all GNU systems and which are only inapplicable to GNU/Hurd.
14334 * manual/job.texi: Likewise.
14335 * manual/llio.texi: Likewise.
14336 (O_NOCTTY): Document as present on GNU/Linux.
14337 * manual/maint.texi: Likewise.
14338 * manual/memory.texi: Likewise.
14339 * manual/pattern.texi: Likewise.
14340 * manual/pipe.texi: Likewise.
14341 * manual/process.texi: Likewise.
14342 * manual/resource.texi: Likewise.
14343 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14344 child on GNU/Hurd.
14345 * manual/setjmp.texi: Likewise.
14346 * manual/signal.texi: Likewise.
14347 * manual/startup.texi: Likewise.
14348 * manual/stdio.texi: Likewise.
14349 * manual/terminal.texi: Likewise.
14350 (ONLCR): Document as POSIX.
14351 (OXTABS): Document availability on GNU/Linux as XTABS.
14352 (ONOEOT): Document availability separately from other bits.
14353 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14354 * manual/time.texi: Likewise.
14355 * manual/users.texi: Likewise.
14356 * INSTALL: Regenerated.
14357 * sysdeps/gnu/errlist.c: Regenerated.
14358
07037eeb
JM
14359 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14360 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14361 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14362 puts.
14363 * configure: Regenerated.
14364
d1d3431a
JM
143652012-03-07 Joseph Myers <joseph@codesourcery.com>
14366
af6a1e37
JM
14367 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14368 default includes instead of AC_HEADER_CHECK.
14369 * sysdeps/i386/configure: Regenerated.
14370
d1d3431a
JM
14371 [BZ #10716]
14372 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14373 * math/s_cacoshf.c (__cacoshf): Likewise.
14374 * math/s_cacoshl.c (__cacoshl): Likewise.
14375 * math/s_casinh.c (__casinh): Set signs of result from argument.
14376 * math/s_casinhf.c (__casinhf): Likewise.
14377 * math/s_casinhl.c (__casinhl): Likewise.
14378 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14379 (casinh_test): Add more tests.
14380 * sysdeps/i386/fpu/libm-test-ulps: Update.
14381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14382
482ff4da
UD
143832012-03-07 Ulrich Drepper <drepper@gmail.com>
14384
872fda05
UD
14385 * po/zh_TW.po: Update from translation team.
14386
a4300c7a
UD
14387 * login/Makefile (distribute): Remove variable.
14388 * catgets/Makefile: Likewise.
14389 * mach/Makefile: Likewise.
14390 * malloc/Makefile: Likewise.
14391 * misc/Makefile: Likewise.
14392 * iconv/Makefile: Likewise.
14393 * nscd/Makefile: Likewise.
14394 * hurd/Makefile: Likewise.
14395 * manual/Makefile: Likewise.
14396 * locale/Makefile: Likewise.
14397 * intl/Makefile: Likewise.
14398 * conform/Makefile: Likewise.
14399 * nss/Makefile: Likewise.
14400 * time/Makefile: Likewise.
14401 * soft-fp/Makefile: Likewise.
14402 * dirent/Makefile: Likewise.
14403 * gmon/Makefile: Likewise.
14404 * po/Makefile: Likewise.
14405 * rt/Makefile: Likewise.
14406 * socket/Makefile: Likewise.
14407 * math/Makefile: Likewise.
14408 * signal/Makefile: Likewise.
14409 * debug/Makefile: Likewise.
14410 * elf/Makefile: Likewise.
14411 * timezone/Makefile: Likewise.
14412 * stdlib/Makefile: Likewise.
14413 * iconvdata/Makefile: Likewise.
14414 * sunrpc/Makefile: Likewise.
14415 * io/Makefile: Likewise.
14416 * argp/Makefile: Likewise.
14417 * inet/Makefile: Likewise.
14418 * hesiod/Makefile: Likewise.
14419 * grp/Makefile: Likewise.
14420 * csu/Makefile: Likewise.
14421 * wctype/Makefile: Likewise.
14422 * crypt/Makefile: Likewise.
14423 * libio/Makefile: Likewise.
14424 * string/Makefile: Likewise.
14425 * nis/Makefile: Likewise.
14426 * resolv/Makefile: Likewise.
14427 * stdio-common/Makefile: Likewise.
14428 * wcsmbs/Makefile: Likewise.
14429 * dlfcn/Makefile: Likewise.
14430 * posix/Makefile: Likewise.
14431
3b7c4e74 14432 [BZ #6959]
482ff4da
UD
14433 * timezone/Makefile: Don't install timezone files, just the programs
14434 and scripts.
14435
f72ed77d
UD
144362012-03-06 Ulrich Drepper <drepper@gmail.com>
14437
a000466f
UD
14438 * nss/databases.def: Add missing gshadow entry.
14439
f72ed77d
UD
14440 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14441
a53b7a4e
MP
144422012-03-06 Marek Polacek <polacek@redhat.com>
14443
14444 [BZ #13726]
14445 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14446 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14447 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14448 * stdio-common/tst-long-dbl-fphex.c: New file.
14449
e9258400
DM
144502012-03-06 David S. Miller <davem@davemloft.net>
14451
14452 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14453 (set_obp_int): New function.
14454 (get_obp_int): New function.
14455 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14456 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14457 Avoid unused variable warnings on 'val' and use builtin_expect.
14458 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14459 __builtin_expect.
e9258400
DM
14460 (INLINE_CLONE_SYSCALL): Likewise.
14461
3bd2c723
DM
144622012-03-05 David S. Miller <davem@davemloft.net>
14463
14464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14465
bbb78d03
AS
144662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14467
884c5db4
AS
14468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14469
bbb78d03
AS
14470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14471 only for |x| >= 40.
14472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14473
1c9f702a 144742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14475
14476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14477 Replace gettimeofday with __vdso_gettimeofday.
14478
7be16f82
RM
14479 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14480 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14481 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14482
14483 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14484 time with __vdso_time.
14485
ed58a00f
JM
144862012-03-05 Joseph Myers <joseph@codesourcery.com>
14487
14488 * manual/lang.texi (size_t): Note types to which size_t may be
14489 equivalent with the GNU C Library, but do not describe when
14490 differences between them are significant.
14491
30ee4ced
AJ
144922012-03-05 Andreas Jaeger <aj@suse.de>
14493
14494 * sysdeps/i386/fpu/libm-test-ulps: Update.
14495
b7cd39e8
JM
144962012-03-05 Joseph Myers <joseph@codesourcery.com>
14497
14498 [BZ #3976]
14499 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14500 (__ieee754_pow): Save and restore rounding mode and use
14501 round-to-nearest for main computations.
14502 * math/libm-test.inc (pow_test_tonearest): New function.
14503 (pow_test_towardzero): Likewise.
14504 (pow_test_downward): Likewise.
14505 (pow_test_upward): Likewise.
14506 (main): Call the new functions.
14507 * sysdeps/i386/fpu/libm-test-ulps: Update.
14508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14509
14510 [BZ #3976]
14511 * math/libm-test.inc (cosh_test_tonearest): New function.
14512 (cosh_test_towardzero): Likewise.
14513 (cosh_test_downward): Likewise.
14514 (cosh_test_upward): Likewise.
14515 (sinh_test_tonearest): Likewise.
14516 (sinh_test_towardzero): Likewise.
14517 (sinh_test_downward): Likewise.
14518 (sinh_test_upward): Likewise.
14519 (main): Call the new functions.
14520 * sysdeps/i386/fpu/libm-test-ulps: Update.
14521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14522
6c6a98c9
TV
145232012-03-05 Tom de Vries <tom@codesourcery.com>
14524
14525 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14526 default stack guard is set in last bytes.
14527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14528
21bb2d2e 145292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14530
21bb2d2e 14531 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14532
21bb2d2e
AJ
14533 [BZ #13656]
14534 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14535 possibly allocate from heap instead of stack.
14536 * stdio-common/bug-vfprintf-nargs.c: New file.
14537 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14538
c6922934
AS
145392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14540
14541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14542
bc957d53
MP
145432012-03-03 Marek Polacek <polacek@redhat.com>
14544
14545 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14546 * math/math_private.h: Likewise.
14547 * stdlib/tst-strtod.c: Likewise.
14548 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14549 * sysdeps/x86_64/bits/atomic.h: Likewise.
14550
6358490d
DM
145512012-03-02 David S. Miller <davem@davemloft.net>
14552
14553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14561
01ae168d
RM
145622012-03-02 Roland McGrath <roland@hack.frob.com>
14563
d9a17c07
RM
14564 [BZ #13792]
14565 * manual/examples/README: New file, says the example source files
14566 can be used under GPL>=2.
14567 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14568 line containing just "*/".
14569 * manual/examples/add.c: Add copyright header (GPL>=2).
14570 * manual/examples/argp-ex1.c: Likewise.
14571 * manual/examples/argp-ex2.c: Likewise.
14572 * manual/examples/argp-ex3.c: Likewise.
14573 * manual/examples/argp-ex4.c: Likewise.
14574 * manual/examples/atexit.c: Likewise.
14575 * manual/examples/db.c: Likewise.
14576 * manual/examples/dir.c: Likewise.
14577 * manual/examples/dir2.c: Likewise.
14578 * manual/examples/execinfo.c: Likewise.
14579 * manual/examples/filecli.c: Likewise.
14580 * manual/examples/filesrv.c: Likewise.
14581 * manual/examples/fmtmsgexpl.c: Likewise.
14582 * manual/examples/genpass.c: Likewise.
14583 * manual/examples/inetcli.c: Likewise.
14584 * manual/examples/inetsrv.c: Likewise.
14585 * manual/examples/isockad.c: Likewise.
14586 * manual/examples/longopt.c: Likewise.
14587 * manual/examples/memopen.c: Likewise.
14588 * manual/examples/memstrm.c: Likewise.
14589 * manual/examples/mkfsock.c: Likewise.
14590 * manual/examples/mkisock.c: Likewise.
14591 * manual/examples/mygetpass.c: Likewise.
14592 * manual/examples/pipe.c: Likewise.
14593 * manual/examples/popen.c: Likewise.
14594 * manual/examples/rprintf.c: Likewise.
14595 * manual/examples/search.c: Likewise.
14596 * manual/examples/select.c: Likewise.
14597 * manual/examples/setjmp.c: Likewise.
14598 * manual/examples/sigh1.c: Likewise.
14599 * manual/examples/sigusr.c: Likewise.
14600 * manual/examples/stpcpy.c: Likewise.
14601 * manual/examples/strdupa.c: Likewise.
14602 * manual/examples/strftim.c: Likewise.
14603 * manual/examples/strncat.c: Likewise.
14604 * manual/examples/subopt.c: Likewise.
14605 * manual/examples/swapcontext.c: Likewise.
14606 * manual/examples/termios.c: Likewise.
14607 * manual/examples/testopt.c: Likewise.
14608 * manual/examples/testpass.c: Likewise.
14609 * manual/examples/timeval_subtract.c: Likewise.
14610
01ae168d
RM
14611 [BZ #13792]
14612 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14613 function to ...
14614 * manual/timeval_subtract.c.texi: ... here, new file.
14615
49efa33d
DM
146162012-03-02 David S. Miller <davem@davemloft.net>
14617
14618 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14619
28afd92d
JM
146202012-03-02 Joseph Myers <joseph@codesourcery.com>
14621
804360ed
JM
14622 [BZ #3976]
14623 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14624 (__sin): Save and restore rounding mode and use round-to-nearest
14625 for all computations.
14626 (__cos): Save and restore rounding mode and use round-to-nearest
14627 for all computations.
14628 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14629 <fenv.h>.
14630 (tan): Save and restore rounding mode and use round-to-nearest for
14631 all computations.
14632 * math/libm-test.inc (cos_test_tonearest): New function.
14633 (cos_test_towardzero): Likewise.
14634 (cos_test_downward): Likewise.
14635 (cos_test_upward): Likewise.
14636 (sin_test_tonearest): Likewise.
14637 (sin_test_towardzero): Likewise.
14638 (sin_test_downward): Likewise.
14639 (sin_test_upward): Likewise.
14640 (tan_test_tonearest): Likewise.
14641 (tan_test_towardzero): Likewise.
14642 (tan_test_downward): Likewise.
14643 (tan_test_upward): Likewise.
14644 (main): Call the new functions.
14645 * sysdeps/i386/fpu/libm-test-ulps: Update.
14646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647
a6d06d7b
JM
14648 [BZ #10135]
14649 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14650 small n, then large n, before computing and testing k+n.
14651 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14652 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14653 Likewise.
14654 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14655 Likewise.
14656 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14657 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14664 * math/libm-test.inc (scalbn_test): Add more tests.
14665 (scalbln_test): Likewise.
14666
07e12bb3
JM
14667 * manual/filesys.texi (mode_t): Describe constraints on size and
14668 signedness, not exact equivalence to a particular type.
14669 (ino_t): Likewise.
14670 (ino64_t): Likewise.
14671 (dev_t): Likewise.
14672 (nlink_t): Likewise.
14673 (blkcnt_t): Likewise.
14674 (blkcnt64_t): Likewise.
14675 * manual/llio.texi (off_t): Likewise.
14676
28afd92d
JM
14677 [BZ #3976]
14678 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14679 (__ieee754_exp): Save and restore rounding mode and use
14680 round-to-nearest for all computations.
14681 * math/libm-test.inc (exp_test_tonearest): New function.
14682 (exp_test_towardzero): Likewise.
14683 (exp_test_downward): Likewise.
14684 (exp_test_upward): Likewise.
14685 (main): Call the new functions.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14688
b1eeb65d
CD
146892012-03-01 Chris Demetriou <cgd@google.com>
14690
14691 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14692 have predictable order.
14693
53362a4b
DM
146942012-03-01 David S. Miller <davem@davemloft.net>
14695
3c969083
DM
14696 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14697
759707de
DM
14698 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14699 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14700 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14702
dfdb8ff2
DM
14703 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14704 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14705 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14707 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14708 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14709 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14710 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14711 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14712
ead89f96
DM
14713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14714
7f66bd07
DM
14715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14716 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14717 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14718
53362a4b
DM
14719 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14720 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14721 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14722 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14723 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14724 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14727 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14728 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14729 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14735 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14736 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14737 * sysdeps/sparc/elf/configure: Regenerated.
14738
7b1902cb
JM
147392012-03-01 Joseph Myers <joseph@codesourcery.com>
14740
bec039bc
JM
14741 * configure.in (AS, LD): Require binutils 2.20 or later.
14742 * configure: Regenerated.
14743 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14744 as required minimum version.
14745 * INSTALL: Regenerated.
14746
7b1902cb
JM
14747 [BZ #2541]
14748 [BZ #4108]
14749 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14750 before squaring exponent.
14751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14752 bottom long double and 27 bits of top long double before squaring
14753 exponent.
14754 * math/libm-test.inc (erfc_test): Add more tests.
14755 * sysdeps/i386/fpu/libm-test-ulps: Update.
14756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14758
f775c276
KT
147592012-03-01 Kai Tietz <ktietz@redhat.com>
14760
14761 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14762 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14763 containing bit-fields.
14764 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14765 * soft-fp/single.h (_FP_UNION_S): Likewise.
14766 * soft-fp/double.h (_FP_UNION_D): Likewise.
14767
5b8a4d4a
JM
147682012-02-29 Joseph Myers <joseph@codesourcery.com>
14769
0bab47b6
JM
14770 [BZ #13786]
14771 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14772 not include ../strcmp.S.
14773 [USE_AS_STRNCASECMP_L]: Likewise.
14774 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14775 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14776 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14777 (__strncasecmp_l_ia32): Define as alias to
14778 __strncasecmp_l_nonascii.
14779
0fcad3e2
JM
14780 [BZ #5794]
14781 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784
5b8a4d4a
JM
14785 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14787
8fdceb2e
JL
147882012-02-29 Jeff Law <law@redhat.com>
14789
14790 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14791 out of bounds read.
14792
1f393a11
MP
147932012-02-29 Marek Polacek <polacek@redhat.com>
14794
14795 [BZ #13706]
14796 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14797 * elf/Makefile: Add rules to run tst-unused-dep.out.
14798
8847f037
DM
147992012-02-28 David S. Miller <davem@davemloft.net>
14800
14801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14805 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14806 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14807
169d7f11
JM
148082012-02-29 Joseph Myers <joseph@codesourcery.com>
14809
14810 * math/libm-test.inc (llround_test): Move one test from
14811 lround_test. Use TEST_f_L in moved test.
14812 (lround_test): Move misplaced test to llround_test. Add testcase
14813 from bug 2561.
14814
39adf059
UD
148152012-02-28 Ulrich Drepper <drepper@gmail.com>
14816
14817 * sysdeps/x86_64/fpu/e_expf.S: New file.
14818 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14819
71b5d1c5
SB
148202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14821
14822 [BZ #13637]
14823 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14824 of remain_len that may cause incomplete multi-byte character and
14825 false match.
14826 * posix/bug-regex33.c: New file.
14827 * posix/Makefile (tests): Add bug-regex33.
14828
1f77f049
JM
148292012-02-28 Joseph Myers <joseph@codesourcery.com>
14830
14831 * manual/macros.texi: New file.
14832 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14833 * manual/libc.texinfo: Include macros.texi.
14834 * manual/creatute.texi: Likewise.
14835 * manual/install.texi: Likewise.
14836 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14837 @glibcadj{} in references to the GNU C Library.
14838 * manual/charset.texi: Likewise.
14839 * manual/conf.texi: Likewise.
14840 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14841 when not using those macros.
14842 * manual/creature.texi: Likewise.
14843 * manual/crypt.texi: Likewise.
14844 * manual/errno.texi: Likewise.
14845 * manual/filesys.texi: Likewise.
14846 * manual/header.texi: Likewise.
14847 * manual/install.texi: Likewise.
14848 * manual/intro.texi: Likewise.
14849 * manual/io.texi: Likewise.
14850 * manual/job.texi: Likewise.
14851 * manual/lang.texi: Likewise.
14852 * manual/libc.texiinfo: Likewise.
14853 * manual/llio.texi: Likewise.
14854 * manual/locale.texi: Likewise.
14855 * manual/maint.texi: Likewise.
14856 * manual/math.texi: Likewise.
14857 * manual/memory.texi: Likewise.
14858 * manual/message.texi: Likewise.
14859 * manual/nss.texi: Likewise.
14860 * manual/pattern.texi: Likewise.
14861 * manual/process.texi: Likewise.
14862 * manual/resource.texi: Likewise.
14863 * manual/search.texi: Likewise.
14864 * manual/setjmp.texi: Likewise.
14865 * manual/signal.texi: Likewise.
14866 * manual/socket.texi: Likewise.
14867 * manual/startup.texi: Likewise.
14868 * manual/stdio.texi: Likewise.
14869 * manual/string.texi: Likewise.
14870 * manual/sysinfo.texi: Likewise.
14871 * manual/syslog.texi: Likewise.
14872 * manual/terminal.texi: Likewise.
14873 * manual/time.texi: Likewise.
14874 * manual/users.texi: Likewise.
14875 * INSTALL: Regenerated.
14876 * NOTES: Regenerated.
d40c5d54 14877 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14878
450bf206
AS
148792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14880
14881 * include/dirent.h: Include <dirstream.h> before
14882 <dirent/dirent.h>.
14883
741a235b
DM
148842012-02-28 David S. Miller <davem@davemloft.net>
14885
14886 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14887 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14888 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14889 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14890
d6b5aa58
DM
148912012-02-27 David S. Miller <davem@davemloft.net>
14892
1aff59a3
DM
14893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14897
d6b5aa58
DM
14898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14899 frame pointer instead of stack pointer relative arg slot.
14900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14901 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14902 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14903
433f48bf
CD
149042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14905
14906 [BZ #3992]
14907 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14908
d674b76d
DM
149092012-02-27 David S. Miller <davem@davemloft.net>
14910
14911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14917 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14919
0e7727f7
JM
149202012-02-27 Joseph Myers <joseph@codesourcery.com>
14921
14922 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14923 later. Allow versions 5-9.
43be4ca2 14924 * configure: Regenerated.
0e7727f7
JM
14925 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14926 required minimum version and 4.6 as recommended version. Do not
14927 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14928 * INSTALL: Regenerated.
0e7727f7 14929
a78bc654
DM
149302012-02-27 David S. Miller <davem@davemloft.net>
14931
428d5830
DM
14932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14936 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14937 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14938 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14939 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14940
a78bc654
DM
14941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14942 manipulate bits before adding and subtracting TWO112[sx].
14943 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14944
4579f81c
RM
149452012-02-27 Roland McGrath <roland@hack.frob.com>
14946
36c8acb4
RM
14947 [BZ #13775]
14948 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14949 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14950 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14951 being in POSIX, because they are in 1003.1-2008.
14952
84ad622b
RM
14953 * rt/tst-aio.c: Include <fcntl.h>.
14954 * rt/tst-aio7.c: Likewise.
14955 * rt/tst-aio64.c: Likewise.
14956
4579f81c
RM
14957 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14958
abd923db
JM
149592012-02-27 Joseph Myers <joseph@codesourcery.com>
14960
14961 * manual/install.texi (--with-headers): Describe headers as
14962 interface headers, not private headers.
14963 (Specific advice for GNU/Linux systems): Describe use of headers
14964 from "make headers_install", not private headers from older
14965 kernels.
43be4ca2 14966 * INSTALL: Regenerated.
abd923db
JM
14967 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14968 Change to 2.6.19.
14969 * sysdeps/unix/sysv/linux/configure: Regenerated.
14970
6664049b
JM
14971 * manual/llio.texi (fclean): Remove documentation.
14972
bb8b6697
JM
14973 * manual/Makefile (libc-texi-generated): New variable. Include
14974 version.texi.
14975 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14976 $(libc-texi-generated), not duplicated list of files.
14977 (version.texi, stamp-version): New rules.
14978 (realclean): Remove $(libc-texi-generated), not individual files
14979 from that list. Do not remove dir-add.texinfo.
14980 * manual/libc.texinfo: Comment out uses of edition numbers and
14981 references to printed manual. Remove last-updated dates.
14982 (EDITION): Comment out.
14983 (ISBN): Likewise.
14984 (VERSION, UPDATED): Remove.
14985 (version.texi): Include.
14986
12e5c3b9
AS
149872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14988
14989 * sysdeps/posix/spawni.c: Include <signal.h>.
14990 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14991 * sysdeps/pthread/aio_fsync.c: Likewise.
14992
4efeffc1 149932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14994
ba63ba08
UD
14995 * conform/Makefile (tests): Run only when not cross-compiling and
14996 when fast-check is not defined.
14997
d94a4670
UD
14998 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14999 * conform/data/limits.h-data: Fixes for POSIX2008.
15000 * conform/run-conformtest.sh: Run all tests.
15001 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15002 headers.
15003 * include/bits/dlfcn.h: Likewise.
15004 * include/langinfo.h: Likewise.
15005 * include/monetary.h: Likewise.
15006 * include/sys/poll.h: Likewise.
15007
15008 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15009 for __USE_GNU.
15010 * posix/spawn.h: Define __need_sigset_t.
15011 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15012 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15013 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15014 to get sigevent_t only.
15015 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15016 only for __USE_GNU.
15017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15018 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15019 process_vm_writev only for __USE_GNU.
15020 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15021
15022 * conform/Makefile: For now ignore errors from run-conformtest.
15023 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15024 POSIX to avoid namespace pollution. Don't prepend headers.
15025 * conform/data/aio.h-data: Fixes for POSIX testing.
15026 * conform/data/fcntl.h-data: Likewise.
15027 * conform/data/glob.h-data: Likewise.
15028 * conform/data/grp.h-data: Likewise.
15029 * conform/data/pthread.h-data: Likewise.
15030 * conform/data/pwd.h-data: Likewise.
15031 * conform/data/signal.h-data: Likewise.
15032 * conform/data/spawn.h-data: Likewise.
15033 * conform/data/stdio.h-data: Likewise.
15034 * conform/data/stdlib.h-data: Likewise.
15035 * conform/data/stropts.h-data: Likewise.
15036 * conform/data/sys/mman.h-data: Likewise.
15037 * conform/data/sys/stat.h-data: Likewise.
15038 * conform/data/sys/types.h-data: Likewise.
15039 * conform/data/sys/wait.h-data: Likewise.
15040 * conform/data/time.h-data: Likewise.
15041 * conform/data/unistd.h-data: Likewise.
15042 * conform/data/utime.h-data: Likewise.
15043
15044 * io/sys/stat.h: fchmod was always in POSIX.
15045 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15046 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15047 * rt/aio.h: Define __need_timespec before including <time.h>.
15048 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15049 struct. Add forward declaration of pthread_attr_t and use it in
15050 sigevent.
15051 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15053 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15054 always remove CLK_TCK definition.
15055
c20105c3
AS
150562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15057
15058 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15059
7a270350
UD
150602012-02-25 Ulrich Drepper <drepper@gmail.com>
15061
31341567
UD
15062 * conform/run-conformtest.sh: New file.
15063 * conform/Makefile: Run run-conformtest for tests.
15064 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15065 support.
15066
15067 * conform/data/uchar.h-data: New file.
15068 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15069 * conform/data/arpa/inet.h-data: Likewise.
15070 * conform/data/assert.h-data: Likewise.
15071 * conform/data/complex.h-data: Likewise.
15072 * conform/data/cpio.h-data: Likewise.
15073 * conform/data/ctype.h-data: Likewise.
15074 * conform/data/dirent.h-data: Likewise.
15075 * conform/data/dlfcn.h-data: Likewise.
15076 * conform/data/errno.h-data: Likewise.
15077 * conform/data/fcntl.h-data: Likewise.
15078 * conform/data/float.h-data: Likewise.
15079 * conform/data/fmtmsg.h-data: Likewise.
15080 * conform/data/fnmatch.h-data: Likewise.
15081 * conform/data/ftw.h-data: Likewise.
15082 * conform/data/glob.h-data: Likewise.
15083 * conform/data/grp.h-data: Likewise.
15084 * conform/data/iconv.h-data: Likewise.
15085 * conform/data/inttypes.h-data: Likewise.
15086 * conform/data/langinfo.h-data: Likewise.
15087 * conform/data/libgen.h-data: Likewise.
15088 * conform/data/limits.h-data: Likewise.
15089 * conform/data/locale.h-data: Likewise.
15090 * conform/data/math.h-data: Likewise.
15091 * conform/data/monetary.h-data: Likewise.
15092 * conform/data/mqueue.h-data: Likewise.
15093 * conform/data/ndbm.h-data: Likewise.
15094 * conform/data/net/if.h-data: Likewise.
15095 * conform/data/netdb.h-data: Likewise.
15096 * conform/data/netinet/in.h-data: Likewise.
15097 * conform/data/nl_types.h-data: Likewise.
15098 * conform/data/poll.h-data: Likewise.
15099 * conform/data/pthread.h-data: Likewise.
15100 * conform/data/pwd.h-data: Likewise.
15101 * conform/data/regex.h-data: Likewise.
15102 * conform/data/sched.h-data: Likewise.
15103 * conform/data/search.h-data: Likewise.
15104 * conform/data/semaphore.h-data: Likewise.
15105 * conform/data/setjmp.h-data: Likewise.
15106 * conform/data/signal.h-data: Likewise.
15107 * conform/data/spawn.h-data: Likewise.
15108 * conform/data/stdarg.h-data: Likewise.
15109 * conform/data/stdio.h-data: Likewise.
15110 * conform/data/stdlib.h-data: Likewise.
15111 * conform/data/string.h-data: Likewise.
15112 * conform/data/strings.h-data: Likewise.
15113 * conform/data/stropts.h-data: Likewise.
15114 * conform/data/sys/ipc.h-data: Likewise.
15115 * conform/data/sys/mman.h-data: Likewise.
15116 * conform/data/sys/msg.h-data: Likewise.
15117 * conform/data/sys/resource.h-data: Likewise.
15118 * conform/data/sys/select.h-data: Likewise.
15119 * conform/data/sys/sem.h-data: Likewise.
15120 * conform/data/sys/shm.h-data: Likewise.
15121 * conform/data/sys/socket.h-data: Likewise.
15122 * conform/data/sys/stat.h-data: Likewise.
15123 * conform/data/sys/statvfs.h-data: Likewise.
15124 * conform/data/sys/time.h-data: Likewise.
15125 * conform/data/sys/timeb.h-data: Likewise.
15126 * conform/data/sys/times.h-data: Likewise.
15127 * conform/data/sys/types.h-data: Likewise.
15128 * conform/data/sys/uio.h-data: Likewise.
15129 * conform/data/sys/un.h-data: Likewise.
15130 * conform/data/sys/utsname.h-data: Likewise.
15131 * conform/data/sys/wait.h-data: Likewise.
15132 * conform/data/syslog.h-data: Likewise.
15133 * conform/data/tar.h-data: Likewise.
15134 * conform/data/termios.h-data: Likewise.
15135 * conform/data/utime.h-data: Likewise.
15136 * conform/data/utmpx.h-data: Likewise.
15137 * conform/data/varargs.h-data: Likewise.
15138 * conform/data/wchar.h-data: Likewise.
15139 * conform/data/wctype.h-data: Likewise.
15140 * conform/data/wordexp.h-data: Likewise.
15141
15142 * include/stropts.h: New file.
15143 * include/uchar.h: New file.
15144 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15145 * include/assert.h: Likewise.
15146 * include/ctype.h: Likewise.
15147 * include/dirent.h: Likewise.
15148 * include/dlfcn.h: Likewise.
15149 * include/fcntl.h: Likewise.
15150 * include/fnmatch.h: Likewise.
15151 * include/glob.h: Likewise.
15152 * include/grp.h: Likewise.
15153 * include/libio.h: Likewise.
15154 * include/locale.h: Likewise.
15155 * include/math.h: Likewise.
15156 * include/net/if.h: Likewise.
15157 * include/netdb.h: Likewise.
15158 * include/netinet/in.h: Likewise.
15159 * include/pthread.h: Likewise.
15160 * include/pwd.h: Likewise.
15161 * include/regex.h: Likewise.
15162 * include/sched.h: Likewise.
15163 * include/search.h: Likewise.
15164 * include/setjmp.h: Likewise.
15165 * include/signal.h: Likewise.
15166 * include/stdio.h: Likewise.
15167 * include/stdlib.h: Likewise.
15168 * include/string.h: Likewise.
15169 * include/sys/cdefs.h: Likewise.
15170 * include/sys/mman.h: Likewise.
15171 * include/sys/msg.h: Likewise.
15172 * include/sys/resource.h: Likewise.
15173 * include/sys/select.h: Likewise.
15174 * include/sys/socket.h: Likewise.
15175 * include/sys/stat.h: Likewise.
15176 * include/sys/statvfs.h: Likewise.
15177 * include/sys/time.h: Likewise.
15178 * include/sys/times.h: Likewise.
15179 * include/sys/uio.h: Likewise.
15180 * include/sys/utsname.h: Likewise.
15181 * include/sys/wait.h: Likewise.
15182 * include/termios.h: Likewise.
15183 * include/time.h: Likewise.
15184 * include/ulimit.h: Likewise.
15185 * include/unistd.h: Likewise.
15186 * include/utime.h: Likewise.
15187 * include/wchar.h: Likewise.
15188 * include/wctype.h: Likewise.
15189 * include/wordexp.h: Likewise.
15190
15191 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15192
7a270350
UD
15193 * time/time.h: TIME_UTC must be a macro.
15194 Make timespec_get available for ISO C11 only as well.
15195
7724defc
UD
151962012-02-24 Ulrich Drepper <drepper@gmail.com>
15197
15198 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15199 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15200
6b1d1d46
JM
152012012-02-24 Joseph Myers <joseph@codesourcery.com>
15202
15203 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 15204
0f8bbd69
JM
152052012-02-24 Joseph Myers <joseph@codesourcery.com>
15206
15207 * manual/texinfo.tex: Update to version 2012-01-19.16.
15208
66ab80bc
JM
152092012-02-24 Joseph Myers <joseph@codesourcery.com>
15210
15211 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15212
74981cc5
RM
152132012-02-24 Roland McGrath <roland@hack.frob.com>
15214
ee968201
RM
15215 [BZ #13738]
15216 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15217 * manual/fdl-1.3.texi: New file.
15218 * manual/fdl-1.1.texi: File removed.
15219
74981cc5
RM
15220 [BZ #13738]
15221 * manual/libc.texinfo (FDL_VERSION): New @set.
15222 Use it for mention of FDL in cover text.
15223 (Documentation License): Use it in @include file name.
15224
7bb764bc
JM
152252012-02-22 Joseph Myers <joseph@codesourcery.com>
15226 Roland McGrath <roland@hack.frob.com>
15227
15228 [BZ #5461]
15229 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15230 not LONG_LONG_MAX and LONG_LONG_MIN.
15231 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15232 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15233 name.
15234 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15235
6cbeae47
JM
152362012-02-22 Joseph Myers <joseph@codesourcery.com>
15237
15238 [BZ #2547]
15239 [BZ #11365]
15240 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15241 manipulate bits before adding and subtracting TWO23[sx].
15242 * math/libm-test.inc (nearbyint_test): Add more tests.
15243
fe45ce09
JM
152442012-02-22 Joseph Myers <joseph@codesourcery.com>
15245
15246 [BZ #2548]
15247 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15248 bits before adding and subtracting TWO23[sx].
15249 * math/libm-test.inc (rint_test): Add more tests.
15250 (rint_test_tonearest): Likewise.
15251 (rint_test_towardzero): Likewise.
15252 (rint_test_downward): Likewise.
15253 (rint_test_upward: Likewise.
15254
ff3b3d82
JM
152552012-02-22 Joseph Myers <joseph@codesourcery.com>
15256
15257 [BZ #10110]
15258 * include/stdc-predef.h: New file. Extracted from features.h.
15259 * include/features.h: Include stdc-predef.h.
15260 * Makefile (headers): Add stdc-predef.h.
15261 * CONFORMANCE (Compiler limitations): Update.
15262
ef0aab35
JM
152632012-02-22 Joseph Myers <joseph@codesourcery.com>
15264
15265 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15266
58639409
DM
152672012-02-21 David S. Miller <davem@davemloft.net>
15268
15269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15270 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15271
c0e70b25
DM
152722012-02-20 David S. Miller <davem@davemloft.net>
15273
15274 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15275 using a normal save/restore sequence, rather than allocating a
15276 dummy stack frame just to store a frame pointer and restore.
15277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15278
fb06851d
JM
152792012-02-21 Joseph Myers <joseph@codesourcery.com>
15280
15281 * manual/install.texi: Fix stray word in line-wrapped comment.
15282
7a8b71c3
DM
152832012-02-20 David S. Miller <davem@davemloft.net>
15284
d510c123
DM
15285 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15286 both binutils and gcc support GOTDATA.
15287
0722d7c2
DM
15288 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15289 "rd %pc" in the PIC register setup sequences.
15290
3d2b3019
DM
15291 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15292 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15293 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15294 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15300 (SYSCALL_ERROR_HANDLER): Likewise.
15301 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15302 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15304 (SYSCALL_ERROR_HANDLER): Likewise.
15305
c80098a9
DM
15306 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15307 (HAVE_GCC_GOTDATA): New.
15308 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15309 relocation support in both binutils and gcc.
15310 * sysdeps/sparc/elf/configure: Regenerate.
15311
3a2545a0
DM
15312 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15313 * sysdeps/sparc/sparc32/elf/configure: Delete.
15314 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15315 * sysdeps/sparc/sparc64/elf/configure: Delete.
15316 * sysdeps/sparc/elf/configure.in: New file.
15317 * sysdeps/sparc/elf/configure: Generate.
15318
7a8b71c3
DM
15319 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15320 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15321 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15322 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15323 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15324
f1e86fca
JM
153252012-02-21 Joseph Myers <joseph@codesourcery.com>
15326
15327 * manual/install.texi: Do not mention specific glibc version
15328 numbers.
15329 * manual/libc.texinfo (VERSION, UPDATED): Update.
15330 (@copying): Use @copyright{} and range of years.
15331
0e7dfaef
JM
153322012-02-21 Joseph Myers <joseph@codesourcery.com>
15333
15334 [BZ #13695]
15335 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15336 [crti.S not in sysdirs] (generated): Do not append.
15337 [crti.S not in sysdirs] (omit-deps): Likewise.
15338 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15339 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15340 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15341 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15342 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15343 Likewise.
15344 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15345 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15346 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15347 * csu/defs.awk: Remove file.
15348 * sysdeps/generic/initfini.c: Likewise.
15349 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15350 variable.
15351 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15352 Likewise.
15353
599af3ca
JM
153542012-02-20 Joseph Myers <joseph@codesourcery.com>
15355
15356 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15357 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15361 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15362 <bits/epoll.h>.
15363 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15364 (__EPOLL_PACKED): Define to empty if not defined by
15365 <bits/epoll.h>.
15366 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15368 bits/epoll.h.
15369
0e499750
JM
153702012-02-20 Joseph Myers <joseph@codesourcery.com>
15371
15372 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15373 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15374 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15375 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15376 <bits/timerfd.h>.
15377 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15379 bits/timerfd.h.
15380
5ad91f6e
JM
153812012-02-20 Joseph Myers <joseph@codesourcery.com>
15382
15383 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15384 in C locale.
15385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15386 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389
06b99b02
AJ
153902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15391
15392 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15393 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15394
7638c0fd
AS
153952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15396
15397 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15398 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15399 defined.
15400 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15401 Likewise.
15402 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15403 entry for 2.16.
15404
92221550
AJ
154052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15406
15407 * math/w_acos.c: Use non-signaling floating-point comparisons.
15408 * math/w_acosf.c: Likewise.
15409 * math/w_acosh.c: Likewise.
15410 * math/w_acoshf.c: Likewise.
15411 * math/w_acoshl.c: Likewise.
15412 * math/w_acosl.c: Likewise.
15413 * math/w_asin.c: Likewise.
15414 * math/w_asinf.c: Likewise.
15415 * math/w_asinl.c: Likewise.
15416 * math/w_atanh.c: Likewise.
15417 * math/w_atanhf.c: Likewise.
15418 * math/w_atanhl.c: Likewise.
15419 * math/w_exp2.c: Likewise.
15420 * math/w_exp2f.c: Likewise.
15421 * math/w_exp2l.c: Likewise.
15422 * math/w_j0.c: Likewise.
15423 * math/w_j0f.c: Likewise.
15424 * math/w_j0l.c: Likewise.
15425 * math/w_j1.c: Likewise.
15426 * math/w_j1f.c: Likewise.
15427 * math/w_j1l.c: Likewise.
15428 * math/w_jn.c: Likewise.
15429 * math/w_jnf.c: Likewise.
15430 * math/w_log.c: Likewise.
15431 * math/w_log10.c: Likewise.
15432 * math/w_log10f.c: Likewise.
15433 * math/w_log10l.c: Likewise.
15434 * math/w_log2.c: Likewise.
15435 * math/w_log2f.c: Likewise.
15436 * math/w_log2l.c: Likewise.
15437 * math/w_logf.c: Likewise.
15438 * math/w_logl.c: Likewise.
15439 * math/w_sqrt.c: Likewise.
15440 * math/w_sqrtf.c: Likewise.
15441 * math/w_sqrtl.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15445 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15447
ebaf36eb
JM
154482012-02-19 Joseph Myers <joseph@codesourcery.com>
15449
15450 [BZ #9739]
15451 * manual/string.texi (strnlen): Use correct parameter name in
15452 equivalent expression.
15453
71c254a6
JM
154542012-02-19 Joseph Myers <joseph@codesourcery.com>
15455
15456 [BZ #11174]
15457 * manual/users.texi (seteuid): Consistently use neweuid for
15458 argument name.
15459
16d2c631
JM
154602012-02-19 Joseph Myers <joseph@codesourcery.com>
15461
15462 [BZ #13704]
15463 * manual/nss.texi (Services in the NSS configuration): Correct
15464 list of services in example configuration file.
15465
cd837b09
NB
154662012-02-19 Nick Bowler <nbowler@draconx.ca>
15467
15468 [BZ #11322]
15469 * manual/arith.texi: Remove statements about negative zero
15470 behaving identically to zero.
15471
02c4bbad
JM
154722012-02-18 Joseph Myers <joseph@codesourcery.com>
15473
15474 [BZ #5993]
15475 * manual/install.texi: Do not document upgrading from libc5.
15476
366842e7
JM
154772012-02-18 Joseph Myers <joseph@codesourcery.com>
15478
15479 [BZ #4596]
15480 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15481
dd54084d
DM
154822012-02-18 David S. Miller <davem@davemloft.net>
15483
15484 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15485 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15486 %o7 across the call.
15487 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15488 instead.
15489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15490 SETUP_PIC_REG_LEAF.
15491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15492 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15493 * sysdeps/sparc/crtn.S: Likewise.
15494
2bcc53a3
UD
154952012-02-17 Ulrich Drepper <drepper@gmail.com>
15496
15497 * aout/Makefile: Remove.
15498
09c093b5
RK
154992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15500
15501 [BZ #13058]
15502 * manual/examples/argp-ex1.c (main): Format definition in GNU
15503 style.
15504 * manual/examples/argp-ex2.c (main): Likewise.
15505 * manual/examples/argp-ex3.c (main): Likewise.
15506 * manual/examples/argp-ex4.c (main): Likewise.
15507 * manual/examples/longopt.c (main): Use new-style prototype
15508 definition.
15509 * manual/examples/strncat.c (main): Specify return type and use
15510 (void) for arguments.
15511 * manual/examples/subopt.c (main): Use char **argv argument.
15512
2ee633a2
JM
155132012-02-17 Joseph Myers <joseph@codesourcery.com>
15514
15515 [BZ #5077]
15516 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15517 rounding modes.
15518
0520adde
FB
155192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15520
15521 [BZ #6907]
15522 * manual/string.texi (strchr): Change when strchrnul is
15523 recommended.
15524
3f4081cd
DGM
155252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15526
15527 [BZ #174]
15528 * manual/locale.texi (setlocale): Document LOCPATH.
15529
d1b10e78
JM
155302012-02-17 Joseph Myers <joseph@codesourcery.com>
15531
15532 [BZ #10210]
15533 * manual/process.texi (execle): Move @dots{} before last argument.
15534
79c6869c
PB
155352012-02-17 Paul Bolle <pebolle@tiscali.nl>
15536
15537 [BZ #12047]
15538 * manual/charset.texi (Generic Charset Conversion): Fix typo
15539 (LC_TYPE -> LC_CTYPE).
15540
cc6e48bc
NB
155412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15542
15543 [BZ #5805]
15544 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15545 (scalbnf): Likewise.
15546 (scalbnl): Likewise.
15547 (scalbln): Likewise.
15548 (scalblnf): Likewise.
15549 (scalblnl): Likewise.
15550 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15551 (vwarnx): Likewise.
15552 (verr): Likewise.
15553 (verrx): Likewise.
15554 * manual/filesys.texi (telldir): Use braces around return type.
15555 * manual/llio.texi (mmap): Add space after comma.
15556 (mmap64): Likewise.
15557 * manual/math.texi (jn): Use @var{} on parameter names.
15558 (jnf): Likewise.
15559 (jnl): Likewise.
15560 (yn): Likewise.
15561 (ynf): Likewise.
15562 (ynl): Likewise.
15563 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15564 line.
15565 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15566 "...".
15567 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15568 (sched_get_priority_max): Likewise.
15569 * manual/signal.texi (sigvec): Add space after comma.
15570 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15571 names.
15572 (if_indextoname): Likewise.
15573 (if_freenameindex): Likewise.
15574 (sendto): Use ',' instead of '.' in prototype.
15575 * manual/startup.texi (syscall): Use @dots{} instead of literal
15576 "...".
15577 * manual/stdio.texi (__fpending): Separate initial words of
15578 paragraph from @deftypefun line.
15579 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15580 "...".
15581 (vsyslog): Use @var{} on parameter names.
15582 * manual/terminal.texi (stty): Use @var{} on parameter names.
15583 * manual/users.texi (getutmp): Use @var{} on parameter names.
15584 (getutmpx): Likewise.
15585
5b23062f
JM
155862012-02-17 Joseph Myers <joseph@codesourcery.com>
15587
15588 [BZ #6884]
15589 * manual/stdio.texi (fopen): Fix typos in description of
15590 ",ccs=STRING".
15591
8dee4833
AJ
155922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15593
15594 [BZ #4026]
15595 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15596 get clock_id definition.
15597
9078ce93
TS
155982012-02-17 Thomas Schwinge <thomas@schwinge.name>
15599
15600 [BZ #4822]
15601 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15602 (madvise): Cast every argument to void on its own.
15603
3835c55f
JM
156042012-02-17 Joseph Myers <joseph@codesourcery.com>
15605
15606 [BZ #9902]
15607 * manual/startup.texi (Exit Status): Fix typo.
15608
35c47e37
JM
156092012-02-17 Joseph Myers <joseph@codesourcery.com>
15610
15611 [BZ #10140]
15612 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15613 * manual/examples/argp-ex2.c: Likewise.
15614 * manual/examples/argp-ex3.c: Likewise.
15615
e3b69ca7
RH
156162012-02-16 Richard Henderson <rth@redhat.com>
15617
15618 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15619 * sysdeps/s390/s390-32/initfini.c: Remove.
15620 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15621 * sysdeps/s390/s390-64/initfini.c: Remove.
15622
df83af67
KK
156232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15624
15625 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15626 compiler output for sysdeps/generic/initfini.c.
15627 * sysdeps/sh/elf/initfini.c: Remove file.
15628
f63f3380
DM
156292012-02-16 David S. Miller <davem@davemloft.net>
15630
fb59b3a4
DM
15631 [BZ #11494]
15632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15633
f63f3380
DM
15634 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15635 * sysdeps/sparc/crti.S: New file.
15636 * sysdeps/sparc/crtn.S: New file.
15637 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15638 * sysdeps/sparc/sparc64/Makefile: Likewise.
15639
df6a4a4a
MF
156402012-02-15 Mike Frysinger <vapier@gentoo.org>
15641
6dd8f3dc 15642 [BZ #3335]
df6a4a4a
MF
15643 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15644
1cac7236
RM
156452012-02-15 Roland McGrath <roland@hack.frob.com>
15646
d2c736f8
RM
15647 [BZ #4822]
15648 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15649
1cac7236
RM
15650 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15651 (write, read, close): Likewise.
15652 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15653
8e475601
JM
156542012-02-15 Joseph Myers <joseph@codesourcery.com>
15655
15656 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15657 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15658 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15659 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15660 <bits/signalfd.h>.
15661 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15663 bits/signalfd.h.
15664
ed656b40
MP
156652012-02-14 Marek Polacek <polacek@redhat.com>
15666
15667 * sysdeps/x86_64/crti.S: New file.
15668 * sysdeps/x86_64/crtn.S: New file.
15669 * sysdeps/x86_64/elf/initfini.c: Remove file.
15670
2a979d3a
JM
156712012-02-13 Joseph Myers <joseph@codesourcery.com>
15672
15673 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15674 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15675 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15676 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15677 <bits/inotify.h>.
15678 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15680 bits/inotify.h.
15681
2a418ac3
JM
156822012-02-13 Joseph Myers <joseph@codesourcery.com>
15683
15684 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15685 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15686 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15687 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15688 <bits/eventfd.h>.
15689 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15691 bits/eventfd.h.
15692
fb779be7
TS
156932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15694
e19e83c5
RM
15695 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15696 __feraiseexcept instead of feraiseexcept.
7c35ffed 15697
fb779be7
TS
15698 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15699 nanosleep invocations.
15700 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15701 strings, and add error checking for a nanosleep invocations.
15702
59ba27a6
PE
157032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15704
15705 Replace FSF snail mail address with URLs, as per GNU coding standards.
15706 Most of the snail mail addresses were wrong anyway, and omitting
15707 them makes the source code easier to maintain. Almost all of the
15708 changes are to license notices and to locale LC_IDENTIFICATION
15709 addresses, except for this one:
15710 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15711 not its snail mail address.
15712
57b957eb
RH
157132012-02-09 Richard Henderson <rth@twiddle.net>
15714
af850b1c
RH
15715 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15716 of kernel-features.h.
15717
57b957eb
RH
15718 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15719
6b73181a
MP
157202012-02-08 Marek Polacek <polacek@redhat.com>
15721
15722 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15723 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15724 * sysdeps/gnu/_G_config.h: Likewise.
15725 * sysdeps/generic/_G_config.h: Likewise.
15726
26ecc33a
AS
157272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15728
6c6dbc63
AS
15729 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15730 tests.
15731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15732
e216c012
AS
15733 * sysdeps/powerpc/powerpc32/crti.S: New file.
15734 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15735 * sysdeps/powerpc/powerpc64/crti.S: New file.
15736 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15737
26ecc33a
AS
15738 * Makeconfig (have-initfini): Don't set.
15739 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15740 * configure.in (nopic_initfini): Don't substitute.
15741 * config.h.in (HAVE_INITFINI): Don't #undef.
15742 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15743 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15744
3add8e13
JM
157452012-02-08 Joseph Myers <joseph@codesourcery.com>
15746
15747 Support crti.S and crtn.S provided directly by architectures.
15748 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15749 [crti.S in sysdirs] (omit-deps): Likewise.
15750 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15751 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15752 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15753 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15754 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15755 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15756 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15757 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15758 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15759 compiler output for sysdeps/generic/initfini.c.
15760 * sysdeps/i386/elf/Makefile: Remove file.
15761 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15762
a22f12b4
MP
157632012-02-07 Marek Polacek <polacek@redhat.com>
15764
15765 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15766 * sysdeps/gnu/_G_config.h: Likewise.
15767 * sysdeps/mach/hurd/_G_config.h: Likewise.
15768
148cf100
MP
157692012-02-07 Marek Polacek <polacek@redhat.com>
15770
15771 * math/Makefile (tests): Add tst-CMPLX2.
15772 * math/tst-CMPLX2.c: New file.
15773
cfdc0dd7
AS
157742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15775
84ba42c4
AS
15776 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15777
cfdc0dd7
AS
15778 * math/libm-test.inc (jn_test): Add missing L suffix.
15779
622c86f4
MP
157802012-02-06 Marek Polacek <polacek@redhat.com>
15781
15782 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15783 * sysdeps/i386/fpu/e_powf.S: Likewise.
15784 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15785 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15786 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15787 * sysdeps/i386/fpu/e_pow.S: Likewise.
15788 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15789 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15790 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15791 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15792 * sysdeps/i386/fpu/e_log2.S: Likewise.
15793 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15794 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15795 * sysdeps/i386/fpu/e_powl.S: Likewise.
15796 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15797 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15798 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15799 * sysdeps/i386/fpu/e_logl.S: Likewise.
15800 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15801 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15802 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15803 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15804 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15805 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15806 * sysdeps/i386/fpu/e_log.S: Likewise.
15807 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15808 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15809 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15810 * sysdeps/i386/fpu/e_logf.S: Likewise.
15811 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15812 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15813 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15814 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15815 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15816 * sysdeps/i386/fpu/e_log10.S: Likewise.
15817 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15818 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15819 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15820 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15821 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15822 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15823 * sysdeps/i386/asm-syntax.h: Likewise.
15824 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15825 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15826 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15827 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15828 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15829 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15830 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15831 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15833 * sysdeps/powerpc/sysdep.h: Likewise.
15834 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15835 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15836
d4a54ac6
JM
158372012-02-06 Joseph Myers <joseph@codesourcery.com>
15838
15839 [BZ #411]
15840 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15841
314054ea
JM
158422012-02-06 Joseph Myers <joseph@codesourcery.com>
15843
15844 * sysdeps/i386/sysdep.h: Include <features.h>.
15845 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15846 version.
15847
d8e0ca50
JM
158482012-02-05 Joseph Myers <joseph@codesourcery.com>
15849
15850 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15851 Define.
15852 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15853 LOAD_PIC_REG_STR.
15854
b1da7dd9
JM
158552012-02-03 Joseph Myers <joseph@codesourcery.com>
15856
15857 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15858 (SETUP_PIC_REG): Use GET_PC_THUNK.
15859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15860 macro.
15861
9a1d9254
JM
158622012-02-03 Joseph Myers <joseph@codesourcery.com>
15863
15864 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15865 for non-PIC compilation.
15866 (SETUP_PIC_REG): Add .p2align directive.
15867 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15868 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15869 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15870 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15872 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15875 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15876 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15877 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15878 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15879 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15880 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15881 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15882 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15883 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15887 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15888 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15889 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15890 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15893 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15894 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15897 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15899 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15900 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15901 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15902 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15903 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15904 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15905 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15906 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15907 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15908
65dc3b75
JM
159092012-02-03 Joseph Myers <joseph@codesourcery.com>
15910
15911 * math/tst-CMPLX.c: Include <stdio.h>.
15912
d55bf177
JM
159132012-01-31 Joseph Myers <joseph@codesourcery.com>
15914
15915 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15916 float.
15917 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15918 * sysdeps/sparc/bits/mathdef.h: Likewise.
15919
69db4f8f
MP
159202012-01-31 Marek Polacek <polacek@redhat.com>
15921
15922 * libio/libio.h: Don't define _PARAMS.
15923 * locale/programs/config.h: Don't define PARAMS.
15924 * stdlib/strtol_l.c: Likewise.
15925 (__strtol_l): Remove PARAMS from the prototype.
15926
41b81892
UD
159272012-01-31 Ulrich Drepper <drepper@gmail.com>
15928
3b49edc0
UD
15929 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15930 names. Just use the correct names. Remove unnecessary wrapper
15931 functions.
15932 * malloc/arena.c: Likewise.
15933 * malloc/hooks.c: Likewise.
15934
41b81892
UD
15935 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15936 ARENA_TEST says not to. Simplify test for creation of a new arena.
15937 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15938
27a25b6e
UD
159392012-01-30 Ulrich Drepper <drepper@gmail.com>
15940
15941 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15942 into tail calls.
15943 (update_get_addr): New function.
15944 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15945 GET_ADDR_MODULE parameter.
15946
c8a89e7d
JM
159472012-01-30 Joseph Myers <joseph@codesourcery.com>
15948
15949 * crypt/cert.c: Remove __STDC__ conditionals.
15950 * crypt/crypt-entry.c: Likewise.
15951 * crypt/crypt_util.c: Likewise.
15952 * libio/filedoalloc.c: Likewise.
15953 * libio/fileops.c: Likewise.
15954 * libio/genops.c: Likewise.
15955 * libio/iofclose.c: Likewise.
15956 * libio/iofdopen.c: Likewise.
15957 * libio/iofopen.c: Likewise.
15958 * libio/iofopen64.c: Likewise.
15959 * libio/iogetdelim.c: Likewise.
15960 * libio/iopopen.c: Likewise.
15961 * libio/obprintf.c: Likewise.
15962 * libio/oldfileops.c: Likewise.
15963 * libio/oldiofclose.c: Likewise.
15964 * libio/oldiofdopen.c: Likewise.
15965 * libio/oldiofopen.c: Likewise.
15966 * libio/oldiopopen.c: Likewise.
15967 * libio/wfiledoalloc.c: Likewise.
15968 * libio/wgenops.c: Likewise.
15969 * locale/programs/xmalloc.c: Likewise.
15970 * misc/syslog.c: Likewise.
15971 * stdio-common/xbug.c: Likewise.
15972 * string/memchr.c: Likewise.
15973 * string/memcmp.c: Likewise.
15974 * string/memrchr.c: Likewise.
15975 * string/rawmemchr.c: Likewise.
15976 * sysdeps/posix/getcwd.c: Likewise.
15977 * time/strftime_l.c: Likewise.
15978
3b100462
JM
159792012-01-30 Joseph Myers <joseph@codesourcery.com>
15980
15981 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15982 * config.make.in (config-cflags-sse2avx): Define.
15983 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15984 Fix typo.
15985
607998af
CM
159862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15987
15988 * scripts/config.guess: Update from upstream config git repository.
15989 * scripts/config.sub: Likewise.
15990
3601428f
CM
159912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15992
3ac8b282
CM
15993 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15994 (EM_NUM): Update.
15995 (R_TILEPRO_*, R_TILEGX_*): New macros.
15996
e034841e
CM
15997 * scripts/firstversions.awk: Fix bug in version range handling.
15998
540d7568
CM
15999 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16000
3601428f
CM
16001 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16002
463de862
CM
16003 * include/sys/epoll.h: New file.
16004 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16005 libc_hidden_def.
16006
73139a76
UD
160072012-01-28 Ulrich Drepper <drepper@gmail.com>
16008
96bc5b45
UD
16009 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16010 Avoid unnecessary __WORDSIZE == 64 test.
16011 (fmaxf): Use VEX format if possible.
16012 (fmax): Likewise.
16013 (fminf): Likewise.
16014 (fmin): Likewise.
16015
56f6f6a2
UD
16016 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16017 * math/math_private.h: Remove libc_fegetround* and
16018 libc_fesetround*.
16019 * sysdeps/i386/configure.in: Check for -msse2avx.
16020 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16021 also if SSE2AVX is defined.
16022 Remove libc_fegetround* and libc_fesetround*.
16023 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16024 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16026 of HAS_YMM_USABLE.
16027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16032
73139a76
UD
16033 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16034
d73f93a4
AZ
160352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16036
16037 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16038 size is not set.
16039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16040
6ee65ed6
UD
160412012-01-27 Ulrich Drepper <drepper@gmail.com>
16042
16043 [BZ #13618]
16044 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16045 relocation.
16046 * Makeconfig (libm): Define.
16047 * elf/Makefile: Add rules to build and run tst-relsort1.
16048 * elf/tst-relsort1.c: New file.
16049 * elf/tst-relsort1mod1.c: New file.
16050 * elf/tst-relsort1mod2.c: New file.
16051
8db21882
JM
160522012-01-27 Joseph Myers <joseph@codesourcery.com>
16053
16054 * math/s_ldexp.c: Remove __STDC__ conditionals.
16055 * math/s_ldexpf.c: Likewise.
16056 * math/s_ldexpl.c: Likewise.
16057 * math/s_nextafter.c: Likewise.
16058 * math/s_nexttowardf.c: Likewise.
16059 * math/s_significand.c: Likewise.
16060 * math/s_significandf.c: Likewise.
16061 * math/s_significandl.c: Likewise.
16062 * math/w_jnl.c: Likewise.
16063 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16064 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16065 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16066 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16067 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16069 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16070 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16072 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16073 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16074 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16075 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16076 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16077 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16078 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16079 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16082 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16083 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16084 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16085 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16086 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16087 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16088 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16090 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16091 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16092 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16093 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16094 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16095 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16096 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16097 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16099 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16100 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16101 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16102 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16103 * sysdeps/ieee754/k_standard.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16165 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16170 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16175 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16176 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16179 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16183 * sysdeps/ieee754/s_matherr.c: Likewise.
16184 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16186 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16187 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16188
965a54a4
JM
161892012-01-26 Joseph Myers <joseph@codesourcery.com>
16190
16191 * crypt/md5.h: Remove __STDC__ conditionals.
16192 * libio/libioP.h: Likewise.
16193 * locale/programs/config.h: Likewise.
16194 * sysdeps/generic/sysdep.h: Likewise.
16195 * sysdeps/i386/asm-syntax.h: Likewise.
16196 * sysdeps/s390/asm-syntax.h: Likewise.
16197 * sysdeps/unix/sysdep.h: Likewise.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16200
7071ad79
JM
162012012-01-26 Joseph Myers <joseph@codesourcery.com>
16202
16203 * libio/libio.h: Remove __STDC__ conditionals.
16204 * malloc/obstack.h: Likewise.
16205 * math/complex.h: Likewise.
16206 * math/math.h: Likewise.
16207 * sysdeps/generic/_G_config.h: Likewise.
16208 * sysdeps/gnu/_G_config.h: Likewise.
16209 * sysdeps/mach/hurd/_G_config.h: Likewise.
16210 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16211 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16212 * sysdeps/sparc/bits/mathdef.h: Likewise.
16213
afc5ed09
UD
162142012-01-26 Ulrich Drepper <drepper@gmail.com>
16215
16216 [BZ #13583]
16217 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 16218 Clean up HAS_* macros.
afc5ed09 16219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
16220 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16221 possible.
16222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16223 HAS_AVX.
16224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 16229
bdb6de1d
JM
162302012-01-25 Joseph Myers <joseph@codesourcery.com>
16231
16232 * elf/tst-unique3.cc (gets): Remove declaration.
16233 * elf/tst-unique3lib.cc (gets): Likewise.
16234 * elf/tst-unique3lib2.cc (gets): Likewise.
16235 * elf/tst-unique4.cc (gets): Likewise.
16236
b15549e6
UD
162372012-01-24 Ulrich Drepper <drepper@gmail.com>
16238
16239 * include/stdio.h: Add C++ protection. Add gets declarations and
16240 definitions.
16241 * debug/tst-chk1.c: Don't declare gets here.
16242 * stdio-common/tst-gets.c: Likewise.
16243
a037381f
JM
162442012-01-24 Joseph Myers <joseph@codesourcery.com>
16245
16246 * posix/glob: Remove directory.
16247
f1d4aa75
JM
162482012-01-24 Joseph Myers <joseph@codesourcery.com>
16249
16250 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16251
81c0c964
PT
162522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16253
16254 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16255 of the non-standard EPFNOSUPPORT.
16256
0ea698ae
ST
162572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16258
16259 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16260 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16261 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16262
d220b117
UD
162632012-01-21 Ulrich Drepper <drepper@gmail.com>
16264
16265 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16266
3e1aa84e
UD
162672012-01-20 Ulrich Drepper <drepper@gmail.com>
16268
16269 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16270 transient errors.
16271 * nscd/grpcache.c (cache_addgr): Likewise.
16272 * nscd/hstcache.c (cache_addhst): Likewise.
16273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16274 * nscd/pwdcache.c (cache_addpw): Likewise.
16275 * nscd/servicescache.c (cache_addserv): Likewise.
16276
400aa020
UD
162772012-01-16 Ulrich Drepper <drepper@gmail.com>
16278
d77e7869
UD
16279 * malloc/malloc.c: Various cleanups.
16280 * malloc/hooks.c: Likewise.
16281
400aa020
UD
16282 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16283 * stdlib/bug-fmtmsg1.c: New file.
16284
16285 * stdlib/fmtmsg.c (init): Add missing unlock.
16286 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16287
e0a309cf
MP
162882012-01-12 Marek Polacek <polacek@redhat.com>
16289
16290 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16291 and _GNU_SOURCE.
16292
929d11c7
WS
162932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16294
16295 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16296 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16297 macro to ensure uniqueness of label name.
16298 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16299 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16300
41d0e869
UD
163012012-01-11 Ulrich Drepper <drepper@gmail.com>
16302
0cc5ed3b
UD
16303 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16304
41d0e869
UD
16305 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16306 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16309
a47a831a
UD
163102012-01-10 Ulrich Drepper <drepper@gmail.com>
16311
daa891c0
UD
16312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16313
16314 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16315 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16316 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16317
e58ef0f2
UD
16318 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16319
a47a831a 16320 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
16321 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 16323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
16324
16325 * math/bits/math-finite.h: Add ldexp support.
16326
a0bfc9c7
MP
163272012-01-10 Marek Polacek <polacek@redhat.com>
16328
16329 * locale/programs/localedef.h (show_archive_content): Add noreturn
16330 attribute.
16331
d6e97a1d
UD
163322012-01-09 Ulrich Drepper <drepper@gmail.com>
16333
16334 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16335
d5835c26
UD
163362012-01-08 Ulrich Drepper <drepper@gmail.com>
16337
e5f484c6
UD
16338 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16339
d5835c26
UD
16340 * io/Makefile (headers): Add bits/poll2.h.
16341
d1f741e9
WS
163422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16343
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16345 typo #include statement.
16346
ec09c1c4
UD
163472012-01-08 Ulrich Drepper <drepper@gmail.com>
16348
16349 * include/sys/cdefs.h: Define __attribute_alloc_size.
16350 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16351 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16352 * elf/pldd.c: Likewise.
16353 * iconv/iconv_charmap.c: Likewise.
16354 * iconv/iconvconfig.c: Likewise.
16355 * iconv/strtab.c: Likewise.
16356 * locale/programs/locale.c: Likewise.
16357 * locale/programs/localedef.h: Likewise.
16358 * locale/programs/simple-hash.c: Likewise.
16359 * nscd/nscd.h: Likewise.
16360 * nss/makedb.c: Likewise.
16361 * sysdeps/generic/ldconfig.h: Likewise.
16362 * locale/programs/localedef.c: Remove xmalloc prototype.
16363 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16364
20b38e03
PP
163652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16366
16367 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16368 appropriate.
16369
a0da5fe1
UD
163702012-01-08 Ulrich Drepper <drepper@gmail.com>
16371
1d5a644a 16372 * math/Makefile (tests): Add tst-CMPLX.
669704fd 16373 * math/tst-CMPLX.c: New file.
1d5a644a 16374
8784a6db
UD
16375 * math/complex.h (CMPLXL): Fix typo.
16376
d9a216c0
UD
16377 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16378 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16379 GLIBC_2.16.
16380 * debug/tst-chk1.c: Add poll and ppoll tests.
16381 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16382 * include/sys/poll.h: Add hidden proto for ppoll.
16383 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16384 * sysdeps/mach/hurd/ppoll.c: Likewise.
16385 * io/ppoll.c: Likewise.
16386 * debug/poll_chk.c: New file.
16387 * debug/ppoll_chk.c: New file.
16388 * include/bits/poll2.h: New file.
16389 * io/bits/poll2.h: New file.
16390
ac097f5c
UD
16391 [BZ #1350]
16392 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16393
2119dcfa
UD
16394 * configure.in: static is always set to yes. Remove.
16395 * config.make.in: Don't set build-static.
16396 * Makeconfig: Remove use of build-static.
16397 * dlfcn/Makefile: Likewise.
16398 * elf/Makefile: Likewise.
16399 * math/Makefile: Likewise.
16400 * misc/Makefile: Likewise.
16401 * nptl/Makefile: Likewise.
16402 * sysdeps/mach/hurd/Makefile: Likewise.
16403
121766a9
UD
16404 * configure.in: PWD_P is not used anymore.
16405 * config.make.in: Remove PWD_P entry.
16406
51a1d39c 16407 * configure.in: Remove last remnants of RANLIB.
8720d066 16408 No need to check for signed size_t anymore.
215f4bdc
UD
16409 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16410 and IA-64.
3857022a 16411 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16412 * aclocal.m4: Likewise.
16413
d3ed7225
UD
16414 * wcsmbs/mbrtoc16.c: Implement using towc function.
16415 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16416 * wcsmbs/wcsmbsload.c: Likewise.
16417 * iconv/gconv_simple.c: Likewise.
16418 * iconv/gconv_int.h: Likewise.
16419 * iconv/gconv_builtin.h: Likewise.
16420 * iconv/iconv_prog.c: Remove CHAR16 handling.
16421
16422 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16423
16424 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16425
a0da5fe1
UD
16426 * configure.in: Remove --with-elf and --enable-bounded options.
16427 Dont set base_machine for ia64. More non-ELF conditions removed.
16428 Remove testing and setting of leading underscore information.
16429 * config.make.in (build-bounded): Set to no.
16430 * config.h.in: Remove NO_UNDERSCORES entry.
16431 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16432 them.
16433 * csu/start.c: Remove !NO_UNDERSCORE code.
16434 * locale/localeinfo.h: Likewise.
16435 * sysdeps/generic/machine-gmon.h: Likewise.
16436 * sysdeps/generic/sysdep.h: Likewise.
16437 * sysdeps/i386/sysdep.h: Likewise.
16438 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16439 * sysdeps/mach/sysdep.h: Likewise.
16440 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16441 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16442 * sysdeps/sh/sysdep.h: Likewise.
16443 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16444 * sysdeps/unix/i386/sysdep.S: Likewise.
16445 * sysdeps/unix/sparc/start.c: Likewise.
16446 * sysdeps/unix/sparc/sysdep.S: Likewise.
16447 * sysdeps/unix/sparc/sysdep.h: Likewise.
16448 * sysdeps/unix/start.c: Likewise.
16449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16450 * sysdeps/x86_64/sysdep.h: Likewise.
16451
df78418a
UD
164522012-01-07 Ulrich Drepper <drepper@gmail.com>
16453
a784e502
UD
16454 [BZ #13553]
16455 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16456 for non-gcc.
16457 * argp/argp-fmtstream.h: Use const instead __const.
16458 * argp/argp.h: Likewise.
16459 * assert/assert.h: Likewise.
16460 * bits/fenv.h: Likewise.
16461 * bits/sched.h: Likewise.
16462 * bits/sigset.h: Likewise.
16463 * bits/sigthread.h: Likewise.
16464 * catgets/nl_types.h: Likewise.
16465 * conform/data/pthread.h-data: Likewise.
16466 * crypt/crypt-private.h: Likewise.
16467 * crypt/crypt.h: Likewise.
16468 * crypt/crypt_util.c: Likewise.
16469 * ctype/ctype.h: Likewise.
16470 * debug/execinfo.h: Likewise.
16471 * debug/mbsnrtowcs_chk.c: Likewise.
16472 * debug/mbsrtowcs_chk.c: Likewise.
16473 * debug/wcsnrtombs_chk.c: Likewise.
16474 * debug/wcsrtombs_chk.c: Likewise.
16475 * debug/wcstombs_chk.c: Likewise.
16476 * dirent/dirent.h: Likewise.
16477 * dlfcn/dlfcn.h: Likewise.
16478 * elf/neededtest4.c: Likewise.
16479 * grp/grp.h: Likewise.
16480 * gshadow/gshadow.h: Likewise.
16481 * iconv/gconv.h: Likewise.
16482 * iconv/gconv_int.h: Likewise.
16483 * iconv/gconv_simple.c: Likewise.
16484 * iconv/iconv.h: Likewise.
16485 * iconv/loop.c: Likewise.
16486 * iconv/skeleton.c: Likewise.
16487 * include/aio.h: Likewise.
16488 * include/aliases.h: Likewise.
16489 * include/argz.h: Likewise.
16490 * include/arpa/inet.h: Likewise.
16491 * include/assert.h: Likewise.
16492 * include/dirent.h: Likewise.
16493 * include/dlfcn.h: Likewise.
16494 * include/execinfo.h: Likewise.
16495 * include/fcntl.h: Likewise.
16496 * include/fenv.h: Likewise.
16497 * include/glob.h: Likewise.
16498 * include/grp.h: Likewise.
16499 * include/libintl.h: Likewise.
16500 * include/mntent.h: Likewise.
16501 * include/netdb.h: Likewise.
16502 * include/pwd.h: Likewise.
16503 * include/rpc/netdb.h: Likewise.
16504 * include/sched.h: Likewise.
16505 * include/search.h: Likewise.
16506 * include/shadow.h: Likewise.
16507 * include/signal.h: Likewise.
16508 * include/stdio.h: Likewise.
16509 * include/stdlib.h: Likewise.
16510 * include/string.h: Likewise.
16511 * include/sys/socket.h: Likewise.
16512 * include/sys/stat.h: Likewise.
16513 * include/sys/statfs.h: Likewise.
16514 * include/sys/statvfs.h: Likewise.
16515 * include/sys/syslog.h: Likewise.
16516 * include/sys/time.h: Likewise.
16517 * include/sys/uio.h: Likewise.
16518 * include/time.h: Likewise.
16519 * include/unistd.h: Likewise.
16520 * include/utmp.h: Likewise.
16521 * include/wchar.h: Likewise.
16522 * include/wctype.h: Likewise.
16523 * inet/aliases.h: Likewise.
16524 * inet/arpa/inet.h: Likewise.
16525 * inet/netinet/ether.h: Likewise.
16526 * inet/netinet/in.h: Likewise.
16527 * intl/libintl.h: Likewise.
16528 * io/bits/fcntl2.h: Likewise.
16529 * io/fcntl.h: Likewise.
16530 * io/ftw.h: Likewise.
16531 * io/sys/poll.h: Likewise.
16532 * io/sys/stat.h: Likewise.
16533 * io/sys/statfs.h: Likewise.
16534 * io/sys/statvfs.h: Likewise.
16535 * io/utime.h: Likewise.
16536 * libio/bits/stdio.h: Likewise.
16537 * libio/bits/stdio2.h: Likewise.
16538 * libio/libio.h: Likewise.
16539 * libio/libioP.h: Likewise.
16540 * libio/stdio.h: Likewise.
16541 * locale/lc-ctype.c: Likewise.
16542 * locale/locale.h: Likewise.
16543 * login/utmp.h: Likewise.
16544 * malloc/arena.c: Likewise.
16545 * malloc/malloc.c: Likewise.
16546 * malloc/malloc.h: Likewise.
16547 * malloc/mcheck.c: Likewise.
16548 * malloc/mtrace.c: Likewise.
16549 * math/bits/mathcalls.h: Likewise.
16550 * math/fenv.h: Likewise.
16551 * math/math_private.h: Likewise.
16552 * misc/bits/error.h: Likewise.
16553 * misc/bits/syslog.h: Likewise.
16554 * misc/err.h: Likewise.
16555 * misc/error.h: Likewise.
16556 * misc/fstab.h: Likewise.
16557 * misc/mntent.h: Likewise.
16558 * misc/regexp.h: Likewise.
16559 * misc/search.h: Likewise.
16560 * misc/sgtty.h: Likewise.
16561 * misc/sys/mman.h: Likewise.
16562 * misc/sys/syslog.h: Likewise.
16563 * misc/sys/uio.h: Likewise.
16564 * misc/sys/xattr.h: Likewise.
16565 * misc/ttyent.h: Likewise.
16566 * nis/rpcsvc/ypclnt.h: Likewise.
16567 * nss/nss.h: Likewise.
16568 * posix/bits/unistd.h: Likewise.
16569 * posix/fnmatch.h: Likewise.
16570 * posix/glob.h: Likewise.
16571 * posix/sched.h: Likewise.
16572 * posix/spawn.h: Likewise.
16573 * posix/sys/wait.h: Likewise.
16574 * posix/unistd.h: Likewise.
16575 * posix/wordexp.h: Likewise.
16576 * pwd/pwd.h: Likewise.
16577 * resolv/netdb.h: Likewise.
16578 * resource/sys/resource.h: Likewise.
16579 * rt/aio.h: Likewise.
16580 * rt/bits/mqueue2.h: Likewise.
16581 * rt/mqueue.h: Likewise.
16582 * shadow/shadow.h: Likewise.
16583 * signal/signal.h: Likewise.
16584 * socket/send.c: Likewise.
16585 * socket/sendto.c: Likewise.
16586 * socket/sys/socket.h: Likewise.
16587 * stdio-common/printf.h: Likewise.
16588 * stdlib/bits/stdlib.h: Likewise.
16589 * stdlib/fmtmsg.h: Likewise.
16590 * stdlib/monetary.h: Likewise.
16591 * stdlib/stdlib.h: Likewise.
16592 * stdlib/ucontext.h: Likewise.
16593 * streams/stropts.h: Likewise.
16594 * string/argz.h: Likewise.
16595 * string/bits/string2.h: Likewise.
16596 * string/string.h: Likewise.
16597 * string/strings.h: Likewise.
16598 * sunrpc/rpc/auth.h: Likewise.
16599 * sunrpc/rpc/auth_des.h: Likewise.
16600 * sunrpc/rpc/clnt.h: Likewise.
16601 * sunrpc/rpc/netdb.h: Likewise.
16602 * sunrpc/rpc/pmap_clnt.h: Likewise.
16603 * sunrpc/rpc/xdr.h: Likewise.
16604 * sysdeps/generic/inttypes.h: Likewise.
16605 * sysdeps/generic/net/if.h: Likewise.
16606 * sysdeps/generic/sys/swap.h: Likewise.
16607 * sysdeps/gnu/net/if.h: Likewise.
16608 * sysdeps/gnu/utmpx.h: Likewise.
16609 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16610 * sysdeps/i386/i486/bits/string.h: Likewise.
16611 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16612 * sysdeps/s390/bits/string.h: Likewise.
16613 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16614 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16615 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16616 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16617 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16618 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16619 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16620 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16621 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16622 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16623 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16624 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16625 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16626 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16627 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16628 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16629 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16631 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16633 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16634 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16635 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16636 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16637 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16638 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16639 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16641 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16642 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16643 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16644 * sysvipc/sys/ipc.h: Likewise.
16645 * sysvipc/sys/msg.h: Likewise.
16646 * sysvipc/sys/sem.h: Likewise.
16647 * sysvipc/sys/shm.h: Likewise.
16648 * termios/termios.h: Likewise.
16649 * time/sys/time.h: Likewise.
16650 * time/time.h: Likewise.
16651 * wcsmbs/bits/wchar2.h: Likewise.
16652 * wcsmbs/uchar.h: Likewise.
16653 * wcsmbs/wchar.h: Likewise.
16654 * wctype/wctype.h: Likewise.
16655
0269750c
UD
16656 [BZ #13551]
16657 * Makeconfig: Remove all but ELF support including AIX support.
16658 * Makerules: Likewise.
16659 * config.h.in: Likewise.
16660 * config.make.in: Likewise.
16661 * configure: Likewise.
16662 * configure.in: Likewise.
16663 * csu/Makefile: Likewise.
16664 * csu/version.c: Likewise.
16665 * debug/Makefile: Likewise.
16666 * dlfcn/Makefile: Likewise.
16667 * elf/Makefile: Likewise.
16668 * extra-lib.mk: Likewise.
16669 * iconv/Makefile: Likewise.
16670 * include/libc-symbols.h: Likewise.
16671 * include/shlib-compat.h: Likewise.
16672 * resolv/Makefile: Likewise.
16673 * resolv/res_libc.c: Likewise.
16674 * rt/Makefile: Likewise.
16675 * sysdeps/i386/asm-syntax.h: Likewise.
16676 * sysdeps/i386/sysdep.h: Likewise.
16677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16678 * sysdeps/mach/sysdep.h: Likewise.
16679 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16680 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16681 * sysdeps/s390/asm-syntax.h: Likewise.
16682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16684 * sysdeps/sh/sysdep.h: Likewise.
16685 * sysdeps/unix/sparc/sysdep.h: Likewise.
16686 * sysdeps/wordsize-32/divdi3.c: Likewise.
16687 * sysdeps/x86_64/sysdep.h: Likewise.
16688
00bbd29b
UD
16689 * argp/Versions: Remove _argp_unlock_xxx.
16690
16691 [BZ #13559]
16692 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16693 * abilist/libBrokenLocale.abilist: Likewise.
16694 * abilist/libanl.abilist: Likewise.
16695 * abilist/libc.abilist: Likewise.
16696 * abilist/libcrypt.abilist: Likewise.
16697 * abilist/libdl.abilist: Likewise.
16698 * abilist/libm.abilist: Likewise.
16699 * abilist/libnsl.abilist: Likewise.
16700 * abilist/libpthread.abilist: Likewise.
16701 * abilist/libresolv.abilist: Likewise.
16702 * abilist/librt.abilist: Likewise.
16703 * abilist/libthread_db.abilist: Likewise.
16704 * abilist/libutil.abilist: Likewise.
16705 * abilist/libnss_db.abilist: New file.
16706
16707 * scripts/abilist.awk: Add support for indirect functions.
16708
a2693a0e
UD
16709 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16710
3f05895f
UD
16711 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16712
ecb6fb48
UD
16713 * shlib-versions: Remove entries for ports architectures.
16714
664f8cb9
UD
16715 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16716 files in ports.
16717 * elf/stackguard-macros.h: Remove support for IA-64.
16718 * elf/tst-auditmod1.c: Likewise.
16719 * sysdeps/generic/ldsodefs.h: Likewise.
16720
7ae81d88
UD
16721 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16722 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16723 configure files.
16724
bdeba135
UD
16725 [BZ #13552]
16726 * configure.in: Remove --enable-omitfp support.
16727 * FAQ.in: Adjust.
16728 * config.make.in: Likewise.
16729 * Makeconfig: Likewise.
16730 * manual/install.texi: Likewise.
16731
d75a0a62
UD
16732 In case anyone cares, the IA-64 architecture could move to ports.
16733 * sysdeps/ia64/*: Removed.
16734 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16735 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16736
dcc9756b
UD
16737 [BZ #13555]
16738 * configure.in: Remove entries for unsupported architectures.
16739
d3761ebc 16740 [BZ #13533]
9954432e
UD
16741 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16742 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16743 routines.
16744 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16745 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16746 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16747 fall back to using wcrtomb.
16748 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16749 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16750 renaming.
16751 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16752 * wcsmbs/tst-c16c32-1.c: New file.
16753
16754 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16755 local variable.
16756
c3a87236
UD
16757 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16758
28926a1b
UD
16759 * elf/tst-unique3.cc: Add explicit declaration of gets.
16760 * elf/tst-unique3lib.cc: Likewise.
16761 * elf/tst-unique3lib2.cc: Likewise.
16762 * elf/tst-unique4.cc: Likewise.
16763
df78418a
UD
16764 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16765
8ecd6b2a
JM
167662012-01-06 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #13566]
16769 * assert/assert.h (static_assert): Don't define for C++.
16770 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16771 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16772
9f115170
UD
167732012-01-03 Ulrich Drepper <drepper@gmail.com>
16774
5e0d0300
UD
16775 * iconv/loop.c (single loop): Fix assertion in storing of
16776 remaining bytes.
16777
9f115170
UD
16778 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16779
81fb02b0
UD
167802012-01-01 Ulrich Drepper <drepper@gmail.com>
16781
16782 * posix/getconf.c: Update copyright year.
16783 * nss/getent.c: Likewise.
a316c1f6 16784 * nss/makedb.c: Likewise.
81fb02b0
UD
16785 * iconv/iconvconfig.c: Likewise.
16786 * iconv/iconv_prog.c: Likewise.
16787 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16788 * elf/pldd.c: Likewise.
16789 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16790 * catgets/gencat.c: Likewise.
16791 * csu/version.c: Likewise.
16792 * elf/ldd.bash.in: Likewise.
16793 * elf/sprof.c (print_version): Likewise.
16794 * locale/programs/locale.c: Likewise.
16795 * locale/programs/localedef.c: Likewise.
a316c1f6 16796 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16797 * nscd/nscd.c (print_version): Likewise.
16798 * debug/xtrace.sh: Likewise.
16799 * malloc/memusage.sh: Likewise.
16800 * malloc/mtrace.pl: Likewise.
16801 * debug/catchsegv.sh: Likewise.
16802
2ba92745
JJ
168032011-12-30 Jakub Jelinek <jakub@redhat.com>
16804
16805 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16806 pure attribute.
16807
dadebdae
UD
168082011-12-24 Ulrich Drepper <drepper@gmail.com>
16809
d3761ebc 16810 [BZ #13533]
db6af3eb
UD
16811 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16812 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16813 transformations.
16814 * iconv/gconv_int.h: Likewise.
16815 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16816 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16817 from libc for GLIBC_2.16.
16818 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16819 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16820 * wcsmbs/uchar.h: Really define mbstate_t.
16821 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16822 * wcsmbs/c16rtomb.c: New file.
16823 * wcsmbs/mbrtoc16.c: New file.
16824 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16825 for C/POSIX locale.
16826 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16827 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16828
dadebdae
UD
16829 * wcsmbs/wchar.h: Add missing __restrict.
16830
67371b56
UD
168312011-12-23 Ulrich Drepper <drepper@gmail.com>
16832
74033a25
UD
16833 [BZ #13532]
16834 * time/Makefile (routines): Add timespec_get.
16835 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16836 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16837 timespec for ISO C11.
16838 * time/timespec_get.c: New file.
16839 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16840 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16841
380d7e87
UD
16842 [BZ #13531]
16843 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16844 * stdlib/stdlib.h: Declare aligned_alloc.
16845 * Versions.def: Add GLIBC_2.16 for libc.
16846 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16847
4e9e7a35
UD
16848 [BZ 13527]
16849 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16850 ISO C11.
16851
380d7e87 16852 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16853 code.
16854
03a71829
UD
16855 [BZ #13528]
16856 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16857
839e283e
UD
16858 [BZ #13529]
16859 * assert/assert.h (static_assert): Define.
16860
ce5294e2 16861 * version.h: Update for 2.16 development version.
90fa7312 16862
8d44e150 16863 [BZ #13526]
d7809905
UD
16864 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16865 _ISOC11_SOURCE.
16866
c0da14cd
UD
16867 * version.h (RELEASE): Bump for 2.15 release.
16868 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16869
530a3249
MP
16870 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16871 Patch by Marek Polacek <mpolacek@redhat.com>.
16872
67371b56
UD
16873 * bits/byteswap.h: Protect long long constants with __extension__.
16874 * sysdeps/i386/bits/byteswap.h: Likewise.
16875 * sysdeps/ia64/bits/byteswap.h: Likewise.
16876 * sysdeps/s390/bits/byteswap.h: Likewise.
16877 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16878
15db4de1
LD
168792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16880
16881 [BZ #13540]
bbe315ea
LD
16882 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16883 destination buffer.
15db4de1
LD
16884 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16885
2b2596b1
MP
168862011-12-23 Marek Polacek <polacek@redhat.com>
16887
16888 * elf/dl-addr.c (determine_info): Add inline keyword.
16889 * elf/tst-auditmod4b.c (check_avx): Likewise.
16890 * elf/tst-auditmod6b.c (check_avx): Likewise.
16891 * elf/tst-auditmod6c.c (check_avx): Likewise.
16892 * elf/tst-auditmod7b.c (check_avx): Likewise.
16893
70c6c246
UD
168942011-12-23 Ulrich Drepper <drepper@gmail.com>
16895
16896 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16897 !__SSE_MATH__.
16898
c044cf14
LD
168992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16900
15db4de1 16901 [BZ #13540]
c044cf14
LD
16902 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16903 processing for last bytes.
16904
6b13d9d9
BH
169052011-08-06 Bruno Haible <bruno@clisp.org>
16906
d455f537
BH
16907 [BZ #13061]
16908 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16909 U+0385, not to U+1FEE.
16910
6b13d9d9
BH
16911 [BZ #13062]
16912 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16913 entry for U+00A5 U+0301.
16914
db910efd
UD
169152011-12-22 Ulrich Drepper <drepper@gmail.com>
16916
27deeafc
UD
16917 [BZ #13166]
16918 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16919 buffer for the output is too small.
16920
aed9d171
UD
16921 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16922 optimization.
16923
db910efd
UD
16924 [BZ #13185]
16925 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16926 SSE flags if possible.
16927
2bd779ae
LD
169282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16929
e7f9dac3 16930 [BZ #13540]
2bd779ae
LD
16931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16932 processing for last bytes.
16933
154bfc16
JM
169342011-12-22 Joseph Myers <joseph@codesourcery.com>
16935
16936 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16937 (syscall-list-default-options, syscall-list-default-condition)
16938 (syscall-list-includes): Define.
16939 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16940 list of ABIs and options and #if conditions for each ABI. Do not
16941 handle common syscalls between ABIs specially.
16942 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16943 Remove.
16944 (syscall-list-variants, syscall-list-32bit-options)
16945 (syscall-list-32bit-condition, syscall-list-64bit-options)
16946 (syscall-list-64bit-condition): Define.
16947 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16948 (syscall-list-variants, syscall-list-32bit-options)
16949 (syscall-list-32bit-condition, syscall-list-64bit-options)
16950 (syscall-list-64bit-condition): Define.
16951 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16952 Remove.
16953 (syscall-list-variants, syscall-list-32bit-options)
16954 (syscall-list-32bit-condition, syscall-list-64bit-options)
16955 (syscall-list-64bit-condition): Define.
16956 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16957 Remove.
16958 (syscall-list-variants, syscall-list-32bit-options)
16959 (syscall-list-32bit-condition, syscall-list-64bit-options)
16960 (syscall-list-64bit-condition): Define.
16961
21eaf3a5
UD
169622011-12-22 Ulrich Drepper <drepper@gmail.com>
16963
16c6f992
UD
16964 * locale/iso-639.def: Add brx entry.
16965
41043168
UD
16966 [BZ #13328]
16967 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16968 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16969
21eaf3a5
UD
16970 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16971 __feraiseexcept_renamed.
16972
e3a851a2
UD
169732011-12-21 Ulrich Drepper <drepper@gmail.com>
16974
4920765e
UD
16975 [BZ #13538]
16976 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16977 EPOLLET with unsigned values.
16978 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16980
e3a851a2
UD
16981 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16982 to large cancellation.
16983 * math/s_cacoshf.c: Likewise.
16984 * math/s_cacoshl.c: Likewise.
16985
b27e24b8
RK
169862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16987
16988 [BZ #13305]
aebefeee 16989 [BZ #12786]
b27e24b8
RK
16990 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16991 * math/s_cacoshf.c: Likewise.
16992 * math/s_cacoshl.c: Likewise.
16993
ee190f67
UD
169942011-12-21 Ulrich Drepper <drepper@gmail.com>
16995
16996 [BZ #13439]
16997 * iconv/gconv.h: Define __GCONV_SWAP.
16998 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16999 * iconvdata/utf-16.c: Likewise.
17000 * iconvdata/utf-32.c: Likewise.
17001
707f25df
AS
170022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17003
17004 [BZ #13524]
17005 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17006 numerator after shifting it by one limb.
17007
d2daaa1e
RÁE
170082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17009
17010 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17011 under [__USE_EXTERN_INLINES].
17012
a4647e72
UD
170132011-12-17 Ulrich Drepper <drepper@gmail.com>
17014
17015 [BZ #13446]
17016 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17017
f0b264f1
AZ
170182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17019
17020 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17021 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17022 optimized code.
17023 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17024 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17025 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17026 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17027 for strncasecmp/strncasecmp_l compilation.
17028 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17029 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17030
8ef4f244
MP
170312011-12-08 Marek Polacek <mpolacek@redhat.com>
17032
17033 [BZ #13484]
17034 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17035 of __asm__.
17036
97ac2654
UD
170372011-12-17 Ulrich Drepper <drepper@gmail.com>
17038
17039 [BZ #13506]
17040 * time/tzfile.c (__tzfile_read): Check values from file header.
17041
91d2a845
WS
170422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17043
17044 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17045 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17046 * powerpc/powerpc32/dl-start.S: Likewise.
17047 * powerpc/powerpc32/elf/start.S: Likewise.
17048 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17049 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17050 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17051 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17052 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17053 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17054 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17055 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17056 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17057 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17058 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17059 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17060 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17061 * powerpc/powerpc32/memset.S: Likewise.
17062 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17063 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17064 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17065 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17066 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17067 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17068 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17069 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17070 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17071 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17072 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17073 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17074 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17075
a1267ba1
AZ
170762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17077
17078 * math/libm-test.inc: Added more nearbyint tests.
17079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17080 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17083
ad8ac1bd
RL
170842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17085
17086 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17087 FD_CLOEXEC.
17088
1d3e4b61
UD
170892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17090
17091 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17092 Add wcscpy-ssse3 wcscpy-c.
17093 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17094 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17095 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17096 * sysdeps/x86_64/wcschr.S: New file.
17097 * sysdeps/x86_64/wcsrchr.S: New file.
17098 * string/test-strcmp.c: Remove checking of wcscmp function for
17099 wrong alignments.
17100 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17101 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17102 wcsrchr-sse2 wcsrchr-c.
17103 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17104 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17105 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17106 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17107 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17108 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17109 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17110 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17111 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17112 * wcsmbc/wcschr.c (WCSCHR): New macro.
17113
5b330a2d
UD
171142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17115
17116 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17117 * wcsmbs/test-wcsrchr.c: New file.
17118 * string/test-strrchr.c: Add wcsrchr support.
17119 (WIDE): New macro.
17120 * wcsmbs/test-wcscpy.c: New file.
17121 * string/test-strcpy.c: Add wcscpy support.
17122 (WIDE): New macro.
26428b7c 17123
f039c043
UD
171242011-12-10 Ulrich Drepper <drepper@gmail.com>
17125
17126 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17127 the inner loop.
17128
850fb039
AS
171292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17130
17131 [BZ #13472]
17132 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17133
4efbd5cb
UD
171342011-12-04 Ulrich Drepper <drepper@gmail.com>
17135
52ff5dd0 17136 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 17137 Minor optimizations.
52ff5dd0 17138
4efbd5cb
UD
17139 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17140 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17141 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17142
8a426e12
UD
171432011-12-03 Ulrich Drepper <drepper@gmail.com>
17144
aff2453d
UD
17145 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17146 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17147 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17148 for gcc to avoid warnings.
17149 * inet/Makefile (tests): Add tst-checks.
17150 * inet/tst-checks.c: New file.
17151
17152 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17153 warning.
17154
17155 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17156 __wmemcmp_sse2.
17157
17158 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17159 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17160
8a426e12
UD
17161 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17162
9bea3473
UD
171632011-12-02 Ulrich Drepper <drepper@gmail.com>
17164
3a965496
UD
17165 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17166 problem.
17167
9bea3473
UD
17168 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17169
f101631b
UD
171702011-11-29 Joseph Myers <joseph@codesourcery.com>
17171
17172 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17173 conditional on GCC version.
17174 (__arch_compare_and_exchange_val_8_acq)
17175 (__arch_compare_and_exchange_val_16_acq)
17176 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17177 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17178 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17179
a98275aa
UD
171802011-12-02 Joseph Myers <joseph@codesourcery.com>
17181
17182 * sysdeps/sh/backtrace.c: New file.
17183
d4cc29a2
AS
171842011-12-02 Andreas Schwab <schwab@redhat.com>
17185
17186 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17187 parenthesis.
17188
6257af2d
AS
171892011-12-01 Andreas Schwab <schwab@redhat.com>
17190
17191 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17192 falling back to utime.
17193
b5f44c1a
AS
171942011-11-30 Andreas Schwab <schwab@redhat.com>
17195
17196 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17197 expectations for float.
17198
f3a6cc0a
AS
171992011-11-29 Andreas Schwab <schwab@redhat.com>
17200
17201 * locale/weight.h (findidx): Add parameter len.
17202 * locale/weightwc.h (findidx): Likewise.
17203 * posix/fnmatch_loop.c (FCT): Adjust caller.
17204 * posix/regcomp.c (build_equiv_class): Likewise.
17205 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17206 * posix/regexec.c (check_node_accept_bytes): Likewise.
17207 * string/strcoll_l.c (STRCOLL): Likewise.
17208 * string/strxfrm_l.c (STRXFRM): Likewise.
17209
9d65ea3a
UD
172102011-11-17 Ulrich Drepper <drepper@gmail.com>
17211
17212 * Makefile.in: Remove CVSOPT handling.
17213 * configure.in: Remove use of AC_REVISION.
17214 * iconvdata/Makefile (distribute): No need to filter out CVS.
17215 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17216 handling.
17217
5583a086
AS
172182011-11-16 Andreas Schwab <schwab@redhat.com>
17219
17220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17221 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17222 [USE_AS_STRNCASECMP_L]: Likewise.
17223 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17224 NO_TLS_DIRECT_SEG_REFS.
17225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17226 Fix argument offsets for non-PIC.
17227 [USE_AS_STRNCASECMP_L]: Likewise.
17228 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17229 NO_TLS_DIRECT_SEG_REFS.
17230
d62a8200
UD
172312011-11-15 Ulrich Drepper <drepper@gmail.com>
17232
9d65ea3a 17233 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
17234 O_CLOEXEC.
17235 * locale/loadlocale.c (_nl_load_locale): Likewise.
17236
09f93bd3
AS
172372011-11-15 Andreas Schwab <schwab@redhat.com>
17238
446514f9
AS
17239 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17240 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17241 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17242 (SYSCALL_GETTIME): Set errno on error.
17243
09f93bd3
AS
17244 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17245 count references to noai6ai_cached.
17246
312be3f9
UD
172472011-11-15 Ulrich Drepper <drepper@gmail.com>
17248
17249 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17250
17251 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17252 FD_CLOEXEC for /proc/self/maps.
17253
17254 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17255 FD_CLOEXEC for /proc/meminfo.
17256
17257 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17258 gai.conf.
17259
17260 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17261 FD_CLOEXEC for given file.
17262
17263 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17264
17265 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17266 FD_CLOEXEC for /etc/hosts.
17267 (_gethtent): Likewise.
17268
17269 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17270
17271 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17272 cancellation and set FD_CLOEXEC for /etc/netgroup.
17273
17274 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17275 reading /etc/publickey.
17276
17277 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17278 allow cancellation when reading /etc/group.
17279
17280 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17281 cancellation.
17282 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17283
17284 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17285 when using data file.
17286
17287 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17288
17289 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17290 (write_nis_obj): Use "c" and "e" in fopen.
17291
17292 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17293
17294 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17295
17296 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17297
17298 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17299
17300 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17301 locale.alias.
17302
17303 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17304
17305 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17306
17307 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17308
17309 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17310 file parsing and set FD_CLOEXEC.
17311
82af0fa8
UD
173122011-11-14 Ulrich Drepper <drepper@gmail.com>
17313
17314 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17315
a5fb313c
AS
173162011-11-14 Andreas Schwab <schwab@redhat.com>
17317
17318 * malloc/arena.c (arena_get2): Don't call reused_arena when
17319 _int_new_arena failed.
17320
6abf3465
UD
173212011-11-14 Ulrich Drepper <drepper@gmail.com>
17322
17323 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17324 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17326 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17329 to compile strcasecmp and strncasecmp.
17330 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17331 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17332
17333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17334
76e3966e
UD
173352011-11-13 Ulrich Drepper <drepper@gmail.com>
17336
17337 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17338 locale-defines.sym to gen-as-const-headers.
17339 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17340 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17342 to compile strcasecmp and strncasecmp.
17343 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17344 strcasecmp_l and strncasecmp_l.
17345 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17346 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17347 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17348 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17349 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17350 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17351 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17352 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17353 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17354 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17355 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17356
ab26144e
UD
173572011-11-12 Ulrich Drepper <drepper@gmail.com>
17358
7edb22ef
UD
17359 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17360 result of SYSDEP_GETTIME_CPU to retval.
17361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17362 parameter list to macro. Remove trailing semicolon. Adjust users.
17363
9694fc44
UD
17364 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17365 variable.
17366
8ad89ef8
UD
17367 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17368 mantissa words.
17369 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17370
0c822ef9
UD
17371 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17372 from unused variable.
17373
874e0564
UD
17374 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17375 DWARF definitions.
17376 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17377 for assembling.
17378
3a2edc79
UD
17379 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17380 over namespaces.
17381
f3c2577f
UD
17382 * sunrpc/rpc_prot.c (rejected): Fix case value.
17383
294ce126
UD
17384 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17385 unsigned long long int to avoid warnings in shift.
17386
5e2b63c6
UD
17387 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17388 of use of trans.
17389 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17390 variable tmp.
17391
e7f4b08e
UD
17392 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17393 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17394 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17395
ab26144e
UD
17396 * nis/nis_table.c (nis_list): Use variable of correct type for
17397 result of __follow_path call.
17398
8a6d5255
AZ
173992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17400
17401 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17402 of math functions ceil, trunc, floor, round, and sqrt, when
17403 avaliable on the platform.
17404 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17405 name clash.
17406 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17407 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17408 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17409
aaddc98c
MP
174102011-10-30 Marek Polacek <mpolacek@redhat.com>
17411
17412 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17413 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17414
95b7042b
RM
174152011-11-11 Roland McGrath <roland@hack.frob.com>
17416
17417 * include/unistd.h: Fix __readlink return type.
17418 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17419
57769839
UD
174202011-11-11 Ulrich Drepper <drepper@gmail.com>
17421
17422 * stdlib/ucontext.h: Undo last change for makecontext.
17423
edc5984d
AS
174242011-11-11 Andreas Schwab <schwab@redhat.com>
17425
98591e58
AS
17426 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17427
edc5984d
AS
17428 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17429 * setjmp/setjmp.h: Mark functions as non-leaf.
17430 * setjmp/bits/setjmp2.h: Likewise.
17431 * stdlib/ucontext.h: Likewise.
17432
77cdc054
AS
174332011-11-10 Andreas Schwab <schwab@redhat.com>
17434
17435 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17436 (reused_arena): Don't check arena limit.
17437 (arena_get2): Atomically check arena limit.
17438
fe72eebd
UD
174392011-11-08 Ulrich Drepper <drepper@gmail.com>
17440
5f078c32
UD
17441 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17442 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17443
fe72eebd
UD
17444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17445 instructions.
17446
ae1bc2fa
AS
174472011-11-07 Andreas Schwab <schwab@redhat.com>
17448
7583a88d
AS
17449 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17450 handler when locking.
17451
ae1bc2fa
AS
17452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17453 Fix size of allocated buffer.
17454
10fb0bfa
AS
174552011-11-04 Andreas Schwab <schwab@redhat.com>
17456
998832a4
AS
17457 [BZ #10103]
17458 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17459 declarations for long double functions.
17460 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17461
10fb0bfa
AS
17462 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17463
3d7ba52b
AS
174642011-11-03 Andreas Schwab <schwab@redhat.com>
17465
a9ae54a1
AS
17466 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17467 installed.
17468
3d7ba52b
AS
17469 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17470 is disabled.
17471
bc8db248
ST
174722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17473
17474 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17475
45b96dd6
AS
174762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17477
647776f6
AS
17478 * include/alloca.h (stackinfo_alloca_round): Define.
17479 (extend_alloca): Use it.
17480 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17481 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17482 here.
17483
d91a8b93
AS
17484 * scripts/check-local-headers.sh: Ignore libaudit.h.
17485
45b96dd6
AS
17486 * nscd/Makefile (extra-objs): Make recursively expanded.
17487
432d41ce
UD
174882011-11-01 Ulrich Drepper <drepper@gmail.com>
17489
34372fc6
UD
17490 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17492
fadb59f8
UD
17493 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17494 * posix/tst-rfc3484-2.c: Likewise.
17495 * posix/tst-rfc3484-3.c: Likewise.
17496
78239589
UD
17497 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17498 process_vm_writev.
17499 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17500 process_vm_writev.
17501 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17502 process_vm_writev from libc using GLIBC_2.15 version.
17503
432d41ce
UD
17504 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17505
02f9c6cf
PP
175062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17507
17508 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17509 stack usage.
17510
3a2c0242
UD
175112011-10-31 Ulrich Drepper <drepper@gmail.com>
17512
f4ec4833
UD
17513 [BZ #13367]
17514 * nss/getent.c (initgroups_keys): Show error message in case no group
17515 names are given.
17516
3a2c0242
UD
17517 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17518 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17519 __bump_nl_timestamp.
17520 * nscd/connections (nscd_init): When host database is served open
17521 netlink socket and request notification about configuration changes.
17522 (main_loop_poll): Track netlink file descriptor and bump timestamp
17523 in case data becomes available.
17524 (main_loop_epoll): Likewise.
17525 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17526 (database_pers_head): Add extra_data fileds.
17527 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17528 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17529 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17530 Adjust caller.
17531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17532 in6ai data, call __free_in6ai.
17533 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17534 Add -DHAVE_NETLINK.
17535 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17536 interface information. Reuse previous data if netlink timestamp
17537 is not changed.
17538 (__bump_nl_timestamp): New function.
17539 (__free_in6ai): New function.
17540
636064eb
UD
175412011-10-30 Ulrich Drepper <drepper@gmail.com>
17542
17543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17544 close_not_cancel_no_status here.
17545 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17546
9beb2334
UD
175472011-10-29 Ulrich Drepper <drepper@gmail.com>
17548
6ef76f3b
UD
17549 [BZ #13276]
17550 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17551 return value.
17552
0ffc4f3e 17553 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17554 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17555 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17556
cb95113e
UD
175572011-07-03 Andreas Jaeger <aj@suse.de>
17558
17559 [BZ #10709]
17560 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17561 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17562 * math/libm-test.inc (sin_test): Add test case.
17563
a1b560ff
UD
175642011-10-29 Ulrich Drepper <drepper@gmail.com>
17565
c9aaface
UD
17566 [BZ #13337]
17567 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17568 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17569
d272e7f1
UD
17570 * elf/chroot_canon.c (chroot_canon): Cleanups.
17571
1bc33071
UD
17572 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17573
1760874d
TJ
17574 [BZ #13335]
17575 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17577
51d91b18
UD
17578 * string/test-strchr.c: Make usable for strchrnul testing.
17579 * string/test-strchrnul.c: New file.
17580 * string/Makefile (strop-tests): Add strchrnul.
17581
a1b560ff 17582 * po/it.po: Update from translation team.
b611fb81 17583 * po/es.po: Likewise.
a1b560ff 17584
a5b81e1f
UD
175852011-10-28 Ulrich Drepper <drepper@gmail.com>
17586
fd52bc6d
UD
17587 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17588 the three constants needed as parameters. Drop the others.
17589 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17590 __m128i_strloadu_tolower.
52e4b9eb
UD
17591 Create and initialize variable zero and use it in all the places
17592 where _mm_setzero_si128 was used.
fd52bc6d 17593
a5b81e1f
UD
17594 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17595 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17596 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17597 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17598 anymore.
17599 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17600 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17601 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17602 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17604 __mpranred, __mptan.
17605 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17606 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17607 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17608 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17609 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17610 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17611 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17612 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17613 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17614
b4343346
AS
176152011-10-28 Andreas Schwab <schwab@redhat.com>
17616
0c92d8a8
AS
17617 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17618 redefine if SHARED.
17619 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17620
b4343346
AS
17621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17622 wide char related routines to wcsmbs subdir.
17623
3871f58f
AS
176242011-10-27 Andreas Schwab <schwab@redhat.com>
17625
17626 [BZ #13344]
17627 * misc/sys/cdefs.h (__THROWNL): Define.
17628 * posix/unistd.h: Use __THREADNL instead of __THREAD
17629 for memory synchronization functions.
17630
94d44d9f
RM
176312011-10-26 Roland McGrath <roland@hack.frob.com>
17632
21b64b15 17633 [BZ #13349]
94d44d9f
RM
17634 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17635 doesn't exist.
17636 * manual/stdio.texi (Obstack Streams): Node removed.
17637
f6ce9294
AS
176382011-10-26 Andreas Schwab <schwab@redhat.com>
17639
80479147
AS
17640 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17641 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17643
f6ce9294
AS
17644 * math/math_private.h (math_force_eval): Allow non-addressable
17645 arguments.
17646 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17647
618280a1
UD
176482011-10-25 Ulrich Drepper <drepper@gmail.com>
17649
e0016b11
UD
17650 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17651 file is not needed.
17652
17653 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17656 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17657 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17659 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17660 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17661 Add AVX variants.
17662 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17663 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17664 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17665 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17666 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17667 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17668 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17669 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17670 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17671 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17672 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17673 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17674 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17675 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17676 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17677 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17678 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17679 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17680 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17681
17682 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17683 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17684
618280a1
UD
17685 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17686 place. Use VEX encoding when compiling for AVX.
17687
37822576
AS
176882011-10-25 Andreas Schwab <schwab@redhat.com>
17689
1f1e1947
AS
17690 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17691 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17692
37822576
AS
17693 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17694
31ea014d
UD
176952011-10-25 Ulrich Drepper <drepper@gmail.com>
17696
d7826aa1 17697 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17698 useless if() expression.
d7826aa1
UD
17699 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17700 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17702 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17703 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17704 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17705 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17706 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17707 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17708 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17709 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17710 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17711 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17712 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17713 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17714 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17715 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17716 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17718
31ea014d
UD
17719 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17720
16437fec
AS
177212011-10-25 Andreas Schwab <schwab@redhat.com>
17722
17723 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17724 condition.
17725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17726
31d3cc00
UD
177272011-10-25 Ulrich Drepper <drepper@gmail.com>
17728
17729 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17730 .text section. Avoid duplicate constants.
17731 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17737 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17743 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17754 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17755 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17756 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17757 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17758 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17760 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17761 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17762 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17764 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17765 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17766 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17767 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17769 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17770 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17772 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17773 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17774 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17775 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17776
58985aa9
UD
177772011-10-24 Ulrich Drepper <drepper@gmail.com>
17778
202c9deb
UD
17779 * sysdeps/x86_64/dla.h: Move to ...
17780 * sysdeps/x86_64/fpu/dla.h: ...here.
17781 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17782 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17783
af968f62
UD
17784 * config.make.in: Add have-mfma4 entry.
17785 * configure.in: Substitute libc_cv_cc_fma4.
17786 * math/Makefile (dbl-only-routines): Add sincostab.
17787 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17788 Use __sincostab not sincos.
17789 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17790 name is a macro.
17791 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17792 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17795 using __copysign.
17796 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17797 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17798 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17799 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17800 and __inv.
17801 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17802 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17803 __copysign.
17804 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17805 define aliases when function name is a macro.
17806 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17807 sysdeps/ieee754/dbl-64/sincos.tbl.
17808 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17809 fma4-enabled routines.
17810 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17811 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17812 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17813 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17814 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17815 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17817 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17820 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17821 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17822 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17823 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17825 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17826 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17827 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17828 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17830 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17831 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17833 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17835 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17837 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17838 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17839 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17840
58985aa9
UD
17841 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17842 rename.
17843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17851
a201fbcf
AS
178522011-10-24 Andreas Schwab <schwab@redhat.com>
17853
17854 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17855
fc2ee42a
LD
178562011-10-23 Ulrich Drepper <drepper@gmail.com>
17857
bb3129bd
UD
17858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17859
0275fff8
UD
17860 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17861 prediction.
17862 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17863
2fa2ae85
UD
17864 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17865 Remove unused variable magic_bits.
17866 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17867
fc2ee42a
LD
17868 * string/strnlen.c: Define and use STRNLEN macro.
17869 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17870 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17872 * wcsmbs/wcslen.c: Define and use WCSLEN.
17873 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17874 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17875 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17876 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17877 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17878 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17879 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17880
ce7dd29f
LD
178812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17882
17883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17884 strnlen-sse2-no-bsf.
17885 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17886 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17887 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17888 Add strnlen support.
17889 (USE_AS_STRNLEN): New macro.
17890 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17891 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17892 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17893 * sysdeps/x86_64/wcslen.S: New file.
17894
979c70a3
MZ
178952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17896
17897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17898 XMM-moves are used for copying on small sizes.
17899
2d09f82f
LD
179002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17901
17902 * wcsmbs/Makefile (strop-tests): Add wcschr.
17903 * wcsmbs/test-wcschr.c: New file.
17904 * string/test-strchr.c: Update.
17905 Add wcschr support.
17906 (WIDE): New macro.
17907
619fccca
LD
179082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17909
2d09f82f 17910 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17911 * wcsmbs/test-wcslen.c: New file.
17912 * string/test-strlen.c: Update.
17913 Add wcslen support.
17914 (WIDE): New macro.
17915
09f699ea
UD
179162011-10-23 Ulrich Drepper <drepper@gmail.com>
17917
17918 * po/it.po: Update from translation team.
17919
95584d3b
LD
179202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17921
17922 * sysdeps/x86_64/wcscmp.S: Update.
17923 Fix wrong comparison semantics.
17924 wcscmp shall use signed comparison not unsigned.
17925 Don't use substraction to avoid overflow bug.
17926 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17927 * wcsmbc/wcscmp.c: Likewise.
17928 * string/test-strcmp.c: Likewise.
17929 Add new tests to check cases with negative values.
17930
c8b3296b
UD
179312011-10-23 Ulrich Drepper <drepper@gmail.com>
17932
17933 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17934 * sysdeps/x86_64/dla.h: ...here. New file.
17935 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17936 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17944
246ad57a
AS
179452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17946
17947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17948 __ynl_finite aliases.
17949
a1a87169
UD
179502011-10-22 Ulrich Drepper <drepper@gmail.com>
17951
0d355eb7
UD
17952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17953
a1a87169
UD
17954 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17955 define DLA_FMA.
17956 [DLA_FMA] (EMULV): Use DLA_FMA.
17957 [DLA_FMA] (MUL12): Use EMULV.
17958 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17959 that are not needed.
17960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17967
ee2aafe0
AS
179682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17969
17970 * math/s_nan.c: Undef __nan.
17971 * math/s_nanf.c: Undef __nanf.
17972 * math/s_nanl.c: Undef __nanl.
17973 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17974 "math_private.h".
17975
bc62c2fb
UD
179762011-10-22 Ulrich Drepper <drepper@gmail.com>
17977
77425c63
UD
17978 * math/s_catan.c: Add branch predictions.
17979 * math/s_catanf.c: Likewise.
17980 * math/s_catanh.c: Likewise.
17981 * math/s_catanhf.c: Likewise.
17982 * math/s_catanhl.c: Likewise.
17983 * math/s_catanl.c: Likewise.
17984 * math/s_cexp.c: Likewise.
17985 * math/s_cexpf.c: Likewise.
17986 * math/s_cexpl.c: Likewise.
17987 * math/s_clog.c: Likewise.
17988 * math/s_clog10.c: Likewise.
17989 * math/s_clog10f.c: Likewise.
17990 * math/s_clog10l.c: Likewise.
17991 * math/s_clogf.c: Likewise.
17992 * math/s_clogl.c: Likewise.
17993 * math/s_csqrt.c: Likewise.
17994 * math/s_csqrtf.c: Likewise.
17995 * math/s_csqrtl.c: Likewise.
17996 * math/s_ctanf.c: Likewise.
17997 * math/s_ctanh.c: Likewise.
17998 * math/s_ctanhf.c: Likewise.
17999 * math/s_ctanhl.c: Likewise.
18000 * math/s_ctanl.c: Likewise.
18001
bc62c2fb
UD
18002 * math/math_private.h: Define __nan, __nanf, __nanl.
18003 * math/s_cacosh.c: Include <math_private.h>.
18004 * math/s_cacoshl.c: Likewise.
18005 * math/s_casinh.c: Likewise.
18006 * math/s_casinhf.c: Likewise.
18007 * math/s_casinhl.c: Likewise.
18008 * math/s_ccos.c: Rely entire on ccosh.
18009 * math/s_ccosf.c: Rely entire on ccoshf.
18010 * math/s_ccosl.c: Rely entirely on ccoshl.
18011 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18012 Remove tests for FE_INVALID.
18013 * math/s_ccoshf.c: Likewise.
18014 * math/s_ccoshl.c: Likewise.
18015 * math/s_csin.c: Likewise.
18016 * math/s_csinf.c: Likewise.
18017 * math/s_csinh.c Likewise.
18018 * math/s_csinhf.c: Likewise.
18019 * math/s_csinhl.c: Likewise.
18020 * math/s_csinl.c: Likewise.
18021 * math/s_ctan.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18023 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18024 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18025
8ec250a4
UD
180262011-10-21 Ulrich Drepper <drepper@gmail.com>
18027
c196fed8
UD
18028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18029 compilation problems.
18030
8ec250a4
UD
18031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18032 __builtin_expect.
18033
8d4f46c6
UD
180342011-10-20 Ulrich Drepper <drepper@gmail.com>
18035
ed72b654
UD
18036 * sysdeps/i386/configure.in: Test for -mfma4 option.
18037 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18038 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18039 COMMON_CPUID_INDEX_80000001.
18040 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18041 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18042 use it if FMA3 is not supported.
18043 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18044
8d4f46c6
UD
18045 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18046 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18047
d45c60c2
AS
180482011-10-20 Andreas Schwab <schwab@redhat.com>
18049
18050 [BZ #12892]
18051 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18052 it would create a cycle with a link time dependency.
18053
d9a4d2ab
UD
180542011-10-19 Ulrich Drepper <drepper@gmail.com>
18055
855d1560
UD
18056 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18057 instruction.
18058 * string/Makefile (strop-tests): Add rawmemchr.
18059 * string/test-rawmemchr.c: New file.
18060
d9a4d2ab
UD
18061 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18063 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18064 when compiling str{,n}casecmp and when AVX is available. Hook up
18065 new optimized code in initializers.
18066
8f3b1ffe
AS
180672011-10-19 Andreas Schwab <schwab@redhat.com>
18068
18069 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18070 __feraiseexcept instead of feraiseexcept.
18071
d38f1dba
UD
180722011-10-18 Ulrich Drepper <drepper@gmail.com>
18073
d9a8d0ab
UD
18074 * math/math_private.h: Define defaults for libc_fetestexcept and
18075 libc_feupdateenv.
18076 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18077 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18081 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18082 libc_fetestexcept and libc_feupdateenv.
18083
4855e3dd
UD
18084 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18085 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18086 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18087 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18088 libc_feholdexcept_setround.
18089
581d30e3
UD
18090 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18091 Add s_nearbyint-c and s_nearbyintf-c.
18092 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18093 nearbyintf inlines.
18094 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18095 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18096 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18097 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18098
d38f1dba
UD
18099 * math/math_private.h: Define defaults for libc_fegetround,
18100 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18101 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18102 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18104 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18105 standard functions.
18106 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18107 Remove comments and hacks for old compiler versions.
18108 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18109 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18110 libc_feholdexceptl.
18111
caa6c9d8
AS
181122011-10-18 Andreas Schwab <schwab@redhat.com>
18113
18114 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
18115 (__feraiseexcept_renamed): Add __NTH.
18116 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
18117 namespace violations.
18118
97c066e6
UD
181192011-10-17 Ulrich Drepper <drepper@gmail.com>
18120
99ce7b04
UD
18121 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18122
1004d182
UD
18123 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18124
228a984d
UD
18125 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18126 recently added interfaces.
18127 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18128
c8553a6a
UD
18129 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18130 about macro parameter expansion.
18131
ed22dcf6
UD
18132 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18133 __NO_MATH_INLINES is defined. Cleanups.
18134
18135 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18136 and __floorf is target has SSE4.1.
18137 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18138 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18139 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18140 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18141
b171c137
UD
18142 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18143 name.
18144 (floorf): Likewise.
18145
97c066e6
UD
18146 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18147
629f62ef
AS
181482011-10-17 Andreas Schwab <schwab@redhat.com>
18149
49a43d80
AS
18150 * misc/sys/cdefs.h: Fix last change.
18151
629f62ef
AS
18152 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18153 database lookup.
18154
e453f6cd
UD
181552011-10-16 Ulrich Drepper <drepper@gmail.com>
18156
aa78043a
UD
18157 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18158
ad0f5cad
UD
18159 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18168 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18169 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18170 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18171 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18172 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18173 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18174 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18175 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18176 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18177 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18178 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18179 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18180 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18181
18182 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18183 ceil, ceilf, floor, floorf.
18184
18185 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18186 Perform IRELATIVE relocations last.
18187
e453f6cd
UD
18188 * elf/do-rel.h: Add another parameter nrelative, replacing the
18189 local variable with the same name. Change name of the function
18190 to end in Rel or Rela (uppercase).
18191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18192 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18193 elf_dynamic_do_##reloc function.
18194
fd5bdc09
UD
181952011-10-15 Ulrich Drepper <drepper@gmail.com>
18196
79b195b5
UD
18197 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18198 is sufficient, at least on modern CPUs.
18199
d4a28569
UD
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18201
b61099b5
UD
18202 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18203 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18204
bcf01e6d
UD
18205 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18206 __expl_finite.
18207 * math/bits/math-finite.h: Add entries for exp.
18208 * math/e_expl.c: Add __*_finite alias.
18209 * sysdeps/i386/fpu/e_exp.S: Likewise.
18210 * sysdeps/i386/fpu/e_expf.S: Likewise.
18211 * sysdeps/i386/fpu/e_expl.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18217 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18218 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18219
ba1a0d59
UD
18220 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18221 is sufficient, at least on modern CPUs.
18222
fd5bdc09
UD
18223 * ctype/ctype-info.c (__ctype_init): Define.
18224 * include/ctype.h (__ctype_init): Declare.
18225 (__ctype_b_loc): The variable is always initialized.
18226 (__ctype_toupper_loc): Likewise.
18227 (__ctype_tolower_loc): Likewise.
18228 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18229 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18230
7872cfb0
AS
182312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18232
b468825a
AS
18233 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18234
7872cfb0
AS
18235 * configure.in: Also look in $cxxmachine/include for C++ system
18236 headers.
18237
be13f7bf
LD
182382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18239
18240 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18241 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18242 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18243 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18244 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18245 (USE_AS_WMEMCMP): New macro.
18246 Fixing indents.
18247 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18248 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18249 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18250 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18252 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18253 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18254 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18255 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18256 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18257 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18258 (USE_AS_WMEMCMP): New macro.
18259 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18260 * sysdeps/string/test-memcmp.c: Update.
18261 Fix simple_wmemcmp.
18262 Add new tests.
18263 * wcsmbs/wmemcmp.c: Update.
18264 (WMEMCMP): New macro.
18265 Fix overflow bug.
18266
556a2007
AJ
182672011-10-12 Andreas Jaeger <aj@suse.de>
18268
18269 [BZ #13268]
18270 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18271
538faaa7
UD
182722011-10-15 Ulrich Drepper <drepper@gmail.com>
18273
ab6737ff
UD
18274 * libio/iofwide.c (do_length): Avoid warning.
18275
538faaa7
UD
18276 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18277
396a21b1
UD
182782011-10-14 Ulrich Drepper <drepper@gmail.com>
18279
cdf2901f
UD
18280 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18281
38ad40ce
UD
18282 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18283 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18284 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18285 * sysdeps/i386/i686/fpu/e_log.S: New file.
18286 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18287 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18288
396a21b1
UD
18289 * ctype/ctype.h: Add support for inlined isXXX functions when
18290 compiling C++ code.
18291
6b1f68c9
AS
182922011-10-14 Andreas Schwab <schwab@redhat.com>
18293
349290c0
AS
18294 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18295
6b1f68c9
AS
18296 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18297
f2282d42
RM
182982011-10-13 Roland McGrath <roland@hack.frob.com>
18299
18300 [BZ #13291]
18301 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18302
5298ffa8
AS
183032011-10-13 Andreas Schwab <schwab@redhat.com>
18304
714fad23
AS
18305 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18306 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18307 feraiseexcept.
18308
81dcc7fb
AS
18309 * sysdeps/x86_64/memrchr.S: Check for zero size.
18310
5298ffa8
AS
18311 * string/stratcliff.c: Add memrchr tests.
18312
951fbcec
LD
183132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18314
18315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18316 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18317 rawmemchr-sse2 rawmemchr-sse2-bsf.
18318 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18319 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18320 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18321 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18322 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18323 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18324 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18325 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18326 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18327 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18328 * string/memrchr.c (MEMRCHR): New macro.
18329
0ac5ae23
UD
183302011-10-12 Ulrich Drepper <drepper@gmail.com>
18331
18332 Add integration with gcc's -ffinite-math-only and optimize wrapper
18333 functions in libm.
18334 * Versions.def: Define GLIBC_2.15 version for libm.
18335 * math/Makefile (headers): Add bits/math-finite.h.
18336 * math/bits/math-finite.h: New file.
18337 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18338 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18339 * math/e_acoshl.c: Add __*_finite alias.
18340 * math/e_acosl.c: Likewise.
18341 * math/e_asinl.c: Likewise.
18342 * math/e_atan2l.c: Likewise.
18343 * math/e_atanhl.c: Likewise.
18344 * math/e_coshl.c: Likewise.
18345 * math/e_exp10.c: Likewise.
18346 * math/e_exp10f.c: Likewise.
18347 * math/e_exp10l.c: Likewise.
18348 * math/e_exp2l.c: Likewise.
18349 * math/e_fmodl.c: Likewise.
18350 * math/e_gammal_r.c: Likewise.
18351 * math/e_hypotl.c: Likewise.
18352 * math/e_j0l.c: Likewise.
18353 * math/e_j1l.c: Likewise.
18354 * math/e_jnl.c: Likewise.
18355 * math/e_lgammal_r.c: Likewise.
18356 * math/e_log10l.c: Likewise.
18357 * math/e_log2l.c: Likewise.
18358 * math/e_logl.c: Likewise.
18359 * math/e_powl.c: Likewise.
18360 * math/e_sinhl.c: Likewise.
18361 * math/e_sqrtl.c: Likewise.
18362 * math/e_scalb.c: Completely rewritten and optimized.
18363 * math/e_scalbf.c: Likewise.
18364 * math/e_scalbl.c: Likewise.
18365 * math/w_acos.c: Likewise.
18366 * math/w_acosf.c: Likewise.
18367 * math/w_acosl.c: Likewise.
18368 * math/w_acosh.c: Likewise.
18369 * math/w_acoshf.c: Likewise.
18370 * math/w_acoshl.c: Likewise.
18371 * math/w_asin.c: Likewise.
18372 * math/w_asinf.c: Likewise.
18373 * math/w_asinl.c: Likewise.
18374 * math/w_atan2.c: Likewise.
18375 * math/w_atan2f.c: Likewise.
18376 * math/w_atan2l.c: Likewise.
18377 * math/w_atanh.c: Likewise.
18378 * math/w_atanhf.c: Likewise.
18379 * math/w_atanhl.c: Likewise.
18380 * math/w_exp10.c: Likewise.
18381 * math/w_exp10f.c: Likewise.
18382 * math/w_exp10l.c: Likewise.
18383 * math/w_fmod.c: Likewise.
18384 * math/w_fmodf.c: Likewise.
18385 * math/w_fmodl.c: Likewise.
18386 * math/w_j0.c: Likewise.
18387 * math/w_j0f.c: Likewise.
18388 * math/w_j0l.c: Likewise.
18389 * math/w_j1.c: Likewise.
18390 * math/w_j1f.c: Likewise.
18391 * math/w_j1l.c: Likewise.
18392 * math/w_jn.c: Likewise.
18393 * math/w_jnf.c: Likewise.
18394 * math/w_log.c: Likewise.
18395 * math/w_logf.c: Likewise.
18396 * math/w_logl.c: Likewise.
18397 * math/w_log10.c: Likewise.
18398 * math/w_log10f.c: Likewise.
18399 * math/w_log10l.c: Likewise.
18400 * math/w_log2.c: Likewise.
18401 * math/w_log2f.c: Likewise.
18402 * math/w_log2l.c: Likewise.
18403 * math/w_pow.c: Likewise.
18404 * math/w_powf.c: Likewise.
18405 * math/w_powl.c: Likewise.
18406 * math/w_remainder.c: Likewise.
18407 * math/w_remainderf.c: Likewise.
18408 * math/w_remainderl.c: Likewise.
18409 * math/w_scalb.c: Likewise.
18410 * math/w_scalbf.c: Likewise.
18411 * math/w_scalbl.c: Likewise.
18412 * math/w_sqrt.c: Likewise.
18413 * math/w_sqrtf.c: Likewise.
18414 * math/w_sqrtl.c: Likewise.
18415 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18416 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18417 used.
18418 * math/math_private.h: Declare __kernel_standard_f.
18419 * math/w_cosh.c: Remove cruft and optimize a bit.
18420 * math/w_coshf.c: Likewise.
18421 * math/w_coshl.c: Likewise.
18422 * math/w_exp2.c: Likewise.
18423 * math/w_exp2f.c: Likewise.
18424 * math/w_exp2l.c: Likewise.
18425 * math/w_hypot.c: Likewise.
18426 * math/w_hypotf.c: Likewise.
18427 * math/w_hypotl.c: Likewise.
18428 * math/w_lgamma.c: Likewise.
18429 * math/w_lgamma_r.c: Likewise.
18430 * math/w_lgammaf.c: Likewise.
18431 * math/w_lgammaf_r.c: Likewise.
18432 * math/w_lgammal.c: Likewise.
18433 * math/w_lgammal_r.c: Likewise.
18434 * math/w_sinh.c: Likewise.
18435 * math/w_sinhf.c: Likewise.
18436 * math/w_sinhl.c: Likewise.
18437 * math/w_tgamma.c: Likewise.
18438 * math/w_tgammaf.c: Likewise.
18439 * math/w_tgammal.c: Likewise.
18440 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18441 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18442 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18443 Minor optimizations. Pretty printing. Remove cruft.
18444 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18445 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18447 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18448 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18449 * sysdeps/i386/fpu/e_asin.S: Likewise.
18450 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18451 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18452 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18453 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18455 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18456 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18457 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18458 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18459 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18460 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18461 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18462 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18463 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18464 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18465 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18466 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18467 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18468 * sysdeps/i386/fpu/e_log.S: Likewise.
18469 * sysdeps/i386/fpu/e_log10.S: Likewise.
18470 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18471 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18472 * sysdeps/i386/fpu/e_log2.S: Likewise.
18473 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18474 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18475 * sysdeps/i386/fpu/e_logf.S: Likewise.
18476 * sysdeps/i386/fpu/e_logl.S: Likewise.
18477 * sysdeps/i386/fpu/e_pow.S: Likewise.
18478 * sysdeps/i386/fpu/e_powf.S: Likewise.
18479 * sysdeps/i386/fpu/e_powl.S: Likewise.
18480 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18481 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18482 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18483 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18484 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18486 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18487 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18488 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18489 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18490 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18494 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18495 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18496 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18497 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18498 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18499 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18500 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18502 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18503 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18505 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18506 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18509 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18510 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18511 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18512 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18513 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18514 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18515 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18516 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18517 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18518 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18519 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18520 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18521 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18522 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18523 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18524 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18525 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18526 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18527 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18528 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18529 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18530 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18531 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18532 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18533 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18534 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18535 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18536 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18537 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18538 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18539 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18540 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18543 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18544 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18545 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18546 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18547 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18548 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18549 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18558 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18563 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18564 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18565 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18566 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18567 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18568 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18569 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18570 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18571 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18573 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18574 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18576 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18578 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18580 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18581 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18582 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18583 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18584 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18585 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18586 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18587 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18588 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18589 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18590 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18591 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18592 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18593 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18594 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18595 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18596 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18597 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18598 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18599 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18600 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18601 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18602 (__isnanf): Likewise.
18603 (__isinf_ns): Likewise.
18604 (__isinf_nsf): Likewise.
18605 (__finite): Likewise.
18606 (__finitef): Likewise.
18607 (__ieee754_sqrt): Define as macro.
18608 (__ieee754_sqrtf): Define as macro.
18609 (__ieee754_sqrtl): Define as macro.
18610 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18611 inlined copy.
18612 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18613 __FINITE_MATH_ONLY__ consistent.
18614 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18615
12cc2fcd
AS
186162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18617
a843a204
AS
18618 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18619 of rawmemchr.
18620
12cc2fcd
AS
18621 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18622
c853acd5
UD
186232011-10-09 Ulrich Drepper <drepper@gmail.com>
18624
18625 * po/ja.po: Update from translation team.
18626
c658d255
RM
186272011-10-08 Roland McGrath <roland@hack.frob.com>
18628
110946e4
RM
18629 * locale/programs/locarchive.c (prepare_address_space): New function.
18630 (create_archive, enlarge_archive, open_archive): Use it.
18631
50604220
RM
18632 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18633 inside [SHARED], where it is used.
18634
c658d255
RM
18635 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18636
18637 * nss/getent.c (netgroup_keys): Remove unused variable.
18638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18639
6a621eb7
UD
186402011-10-08 Ulrich Drepper <drepper@gmail.com>
18641
7edb55ce
UD
18642 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18643 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18644 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18645 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18646 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18647 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18648 * math/Makefile (libm-calls): Add s_isinf_ns.
18649 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18650 * math/multc3.c: Likewise.
18651 * math/s_casin.c: Likewise.
18652 * math/s_casinf.c: Likewise.
18653 * math/s_casinl.c: Likewise.
18654 * math/s_ccos.c: Likewise.
18655 * math/s_ccosf.c: Likewise.
18656 * math/s_ccosl.c: Likewise.
18657 * math/s_ctan.c: Likewise.
18658 * math/s_ctanf.c: Likewise.
18659 * math/s_ctanh.c: Likewise.
18660 * math/s_ctanhf.c: Likewise.
18661 * math/s_ctanhl.c: Likewise.
18662 * math/s_ctanl.c: Likewise.
18663 * math/w_fmod.c: Likewise.
18664 * math/w_fmodf.c: Likewise.
18665 * math/w_fmodl.c: Likewise.
18666 * math/w_remainder.c: Likewise.
18667 * math/w_remainderf.c: Likewise.
18668 * math/w_remainderl.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18670 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18671 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18673 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18674 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18675 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18676 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18677
187da0ae
UD
18678 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18679 of the number.
18680 * stdio-common/printf_fphex.c: Likewise.
18681 * stdio-common/printf_size.c: Likewise.
18682
9277c064
UD
18683 * math/e_exp10.c: Include math_private.h using <...> not "...".
18684 * math/e_exp10f.c: Likewise.
18685 * math/e_exp10l.c: Likewise.
18686 * math/e_exp2l.c: Likewise.
18687 * math/e_j0l.c: Likewise.
18688 * math/e_j1l.c: Likewise.
18689 * math/e_jnl.c: Likewise.
18690 * math/e_lgammal_r.c: Likewise.
18691 * math/e_rem_pio2l.c: Likewise.
18692 * math/e_scalb.c: Likewise.
18693 * math/e_scalbf.c: Likewise.
18694 * math/e_scalbl.c: Likewise.
18695 * math/k_cosl.c: Likewise.
18696 * math/k_sinl.c: Likewise.
18697 * math/k_tanl.c: Likewise.
18698 * math/s_cacoshf.c: Likewise.
18699 * math/s_catan.c: Likewise.
18700 * math/s_catanf.c: Likewise.
18701 * math/s_catanh.c: Likewise.
18702 * math/s_catanhf.c: Likewise.
18703 * math/s_catanhl.c: Likewise.
18704 * math/s_catanl.c: Likewise.
18705 * math/s_ccosh.c: Likewise.
18706 * math/s_ccoshf.c: Likewise.
18707 * math/s_ccoshl.c: Likewise.
18708 * math/s_cexp.c: Likewise.
18709 * math/s_cexpf.c: Likewise.
18710 * math/s_cexpl.c: Likewise.
18711 * math/s_clog.c: Likewise.
18712 * math/s_clog10.c: Likewise.
18713 * math/s_clog10f.c: Likewise.
18714 * math/s_clog10l.c: Likewise.
18715 * math/s_clogf.c: Likewise.
18716 * math/s_clogl.c: Likewise.
18717 * math/s_csin.c: Likewise.
18718 * math/s_csinf.c: Likewise.
18719 * math/s_csinh.c: Likewise.
18720 * math/s_csinhf.c: Likewise.
18721 * math/s_csinhl.c: Likewise.
18722 * math/s_csinl.c: Likewise.
18723 * math/s_csqrt.c: Likewise.
18724 * math/s_csqrtf.c: Likewise.
18725 * math/s_csqrtl.c: Likewise.
18726 * math/s_ctan.c: Likewise.
18727 * math/s_ctanf.c: Likewise.
18728 * math/s_ctanh.c: Likewise.
18729 * math/s_ctanhf.c: Likewise.
18730 * math/s_ctanhl.c: Likewise.
18731 * math/s_ctanl.c: Likewise.
18732 * math/s_ldexp.c: Likewise.
18733 * math/s_ldexpf.c: Likewise.
18734 * math/s_ldexpl.c: Likewise.
18735 * math/s_significand.c: Likewise.
18736 * math/s_significandf.c: Likewise.
18737 * math/s_significandl.c: Likewise.
18738 * math/w_acos.c: Likewise.
18739 * math/w_acosf.c: Likewise.
18740 * math/w_acosh.c: Likewise.
18741 * math/w_acoshf.c: Likewise.
18742 * math/w_acoshl.c: Likewise.
18743 * math/w_acosl.c: Likewise.
18744 * math/w_asin.c: Likewise.
18745 * math/w_asinf.c: Likewise.
18746 * math/w_asinl.c: Likewise.
18747 * math/w_atan2.c: Likewise.
18748 * math/w_atan2f.c: Likewise.
18749 * math/w_atan2l.c: Likewise.
18750 * math/w_atanh.c: Likewise.
18751 * math/w_atanhf.c: Likewise.
18752 * math/w_atanhl.c: Likewise.
18753 * math/w_cosh.c: Likewise.
18754 * math/w_coshf.c: Likewise.
18755 * math/w_coshl.c: Likewise.
18756 * math/w_dremf.c: Likewise.
18757 * math/w_exp10.c: Likewise.
18758 * math/w_exp10f.c: Likewise.
18759 * math/w_exp10l.c: Likewise.
18760 * math/w_exp2.c: Likewise.
18761 * math/w_exp2f.c: Likewise.
18762 * math/w_fmod.c: Likewise.
18763 * math/w_fmodf.c: Likewise.
18764 * math/w_fmodl.c: Likewise.
18765 * math/w_hypot.c: Likewise.
18766 * math/w_hypotf.c: Likewise.
18767 * math/w_hypotl.c: Likewise.
18768 * math/w_j0.c: Likewise.
18769 * math/w_j0f.c: Likewise.
18770 * math/w_j0l.c: Likewise.
18771 * math/w_j1.c: Likewise.
18772 * math/w_j1f.c: Likewise.
18773 * math/w_j1l.c: Likewise.
18774 * math/w_jn.c: Likewise.
18775 * math/w_jnf.c: Likewise.
18776 * math/w_jnl.c: Likewise.
18777 * math/w_lgamma.c: Likewise.
18778 * math/w_lgamma_r.c: Likewise.
18779 * math/w_lgammaf.c: Likewise.
18780 * math/w_lgammaf_r.c: Likewise.
18781 * math/w_lgammal.c: Likewise.
18782 * math/w_lgammal_r.c: Likewise.
18783 * math/w_log.c: Likewise.
18784 * math/w_log10.c: Likewise.
18785 * math/w_log10f.c: Likewise.
18786 * math/w_log10l.c: Likewise.
18787 * math/w_log2.c: Likewise.
18788 * math/w_log2f.c: Likewise.
18789 * math/w_log2l.c: Likewise.
18790 * math/w_logf.c: Likewise.
18791 * math/w_logl.c: Likewise.
18792 * math/w_pow.c: Likewise.
18793 * math/w_powf.c: Likewise.
18794 * math/w_powl.c: Likewise.
18795 * math/w_remainder.c: Likewise.
18796 * math/w_remainderf.c: Likewise.
18797 * math/w_remainderl.c: Likewise.
18798 * math/w_scalb.c: Likewise.
18799 * math/w_scalbf.c: Likewise.
18800 * math/w_scalbl.c: Likewise.
18801 * math/w_sinh.c: Likewise.
18802 * math/w_sinhf.c: Likewise.
18803 * math/w_sinhl.c: Likewise.
18804 * math/w_sqrt.c: Likewise.
18805 * math/w_sqrtf.c: Likewise.
18806 * math/w_sqrtl.c: Likewise.
18807 * math/w_tgamma.c: Likewise.
18808 * math/w_tgammaf.c: Likewise.
18809 * math/w_tgammal.c: Likewise.
18810
6a621eb7
UD
18811 * po/ja.po: Update from translation team.
18812
bf582445
AJ
188132011-09-29 Andreas Jaeger <aj@suse.de>
18814
f9efbf3a
AJ
18815 [BZ #13179]
18816 * sunrpc/netname.c (netname2host): Fix logic.
18817
bf582445
AJ
18818 [BZ #6779]
18819 [BZ #6783]
18820 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18821 correctly.
18822 * math/w_remainder.c (__remainder): Likewise.
18823 * math/w_remainderf.c (__remainderf): Likewise.
18824 * math/libm-test.inc (remainder_test): Add test cases.
18825
48693bea
AK
188262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18827
18828 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18829 sdiv_qrnnd.
18830
42622229
LD
188312011-10-07 Ulrich Drepper <drepper@gmail.com>
18832
18833 * string/test-memcmp.c: Avoid unncessary #defines.
18834 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18835
093ecf92
LD
188362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18837
18838 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18839 Use new sse2 version for core i3 - i7 as it's faster
18840 than sse42 version.
18841 (bit_Prefer_PMINUB_for_stringop): New.
18842 * sysdeps/x86_64/rawmemchr.S: Update.
18843 Replace with faster SSE2 version.
18844 * sysdeps/x86_64/memrchr.S: New file.
18845 * sysdeps/x86_64/memchr.S: Update.
18846 Replace with faster SSE2 version.
18847
fde56e5c
MP
188482011-09-12 Marek Polacek <mpolacek@redhat.com>
18849
18850 * elf/dl-load.c (lose): Add cast to avoid warning.
18851
21fd49a9
UD
188522011-10-07 Ulrich Drepper <drepper@gmail.com>
18853
5a06e643
UD
18854 * po/ca.po: Update from translation team.
18855
684ae515
UD
18856 * inet/getnetgrent_r.c: Hook up nscd.
18857 * nscd/Makefile (routines): Add nscd_netgroup.
18858 (nscd-modules): Add netgroupcache.
18859 (CFLAGS-netgroupcache.c): Define.
18860 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18861 (cache_search): Add const to second parameter.
18862 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18863 INNETGR.
18864 (dbs): Add netgrdb entry.
18865 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18866 (verify_persistent_db): Handle netgrdb.
18867 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18868 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18869 GETFDNETGR.
18870 (netgroup_response_header): Define.
18871 (innetgroup_response_header): Define.
18872 (datahead): Add netgroup_response_header and innetgroup_response_header
18873 elements.
18874 * nscd/nscd.conf: Add entries for netgroup cache.
18875 * nscd/nscd.h (dbtype): Add netgrdb.
18876 (_PATH_NSCD_NETGROUP_DB): Define.
18877 (netgroup_iov_disabled): Declare.
18878 (xmalloc, xcalloc, xrealloc): Move declarations here.
18879 (cache_search): Adjust prototype.
18880 Add netgroup-related prototypes.
18881 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18882 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18883 (__nscd_innetgr): Declare.
18884 * nscd/selinux.c (perms): Use access_vector_t as element type and
18885 add netgroup-related initializers.
18886 * nscd/netgroupcache.c: New file.
18887 * nscd/nscd_netgroup.c: New file.
18888 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18889 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18890 For four parameters use innetgr.
18891 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18892 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18893 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18894 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18895
21fd49a9
UD
18896 * nscd/connections.c (register_traced_file): Don't register file
18897 for disabled databases.
18898
054c0457
UD
188992011-10-06 Ulrich Drepper <drepper@gmail.com>
18900
32b63198
UD
18901 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18902
054c0457
UD
18903 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18904 from tree and freeing node.
18905
64031225
JO
189062011-09-25 Jiri Olsa <jolsa@redhat.com>
18907
18908 * nss/nsswitch.c (__nss_database_lookup): Handle
18909 nss_parse_service_list out of memory case.
18910
0490345c
JO
189112011-09-15 Jiri Olsa <jolsa@redhat.com>
18912
18913 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18914 out of memory case.
18915
3a62d00d
AS
189162011-10-04 Andreas Schwab <schwab@redhat.com>
18917
18918 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18919 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18920 pass it down.
18921 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18922 elf_machine_rela, elf_machine_lazy_rel.
18923 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18924 (ELF_DYNAMIC_DO_REL): Likewise.
18925 (ELF_DYNAMIC_DO_RELA): Likewise.
18926 (ELF_DYNAMIC_RELOCATE): Likewise.
18927 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18928 to ELF_DYNAMIC_DO_REL.
18929 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18930 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18931 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18932 elf_machine_rela.
18933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18934 skip_ifunc, don't call ifunc function if non-zero.
18935 (elf_machine_rela): Likewise.
18936 (elf_machine_lazy_rel): Likewise.
18937 (elf_machine_lazy_rela): Likewise.
18938 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18939 (elf_machine_lazy_rel): Likewise.
18940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18941 Likewise.
18942 (elf_machine_lazy_rel): Likewise.
18943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18944 Likewise.
18945 (elf_machine_lazy_rel): Likewise.
18946 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18947 (elf_machine_lazy_rel): Likewise.
18948 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18949 (elf_machine_lazy_rel): Likewise.
18950 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18951 (elf_machine_lazy_rel): Likewise.
18952 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18953 (elf_machine_lazy_rel): Likewise.
18954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18955 (elf_machine_lazy_rel): Likewise.
18956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18957 (elf_machine_lazy_rel): Likewise.
18958
68577918
UD
189592011-09-28 Ulrich Drepper <drepper@gmail.com>
18960
18961 * nss/nss_files/files-init.c (_nss_files_init): Use static
18962 initialization for all the *_traced_file variables.
18963
68822d74
AS
189642011-09-28 Andreas Schwab <schwab@redhat.com>
18965
18966 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18967
2056100b
RM
189682011-09-27 Roland McGrath <roland@hack.frob.com>
18969
18970 [BZ #13226]
18971 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18972
32c76b63
AS
189732011-09-27 Andreas Schwab <schwab@redhat.com>
18974
18975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18976 Reread the line before reparsing it.
18977
bf972c9d
AS
189782011-09-26 Andreas Schwab <schwab@redhat.com>
18979
18980 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18981
e057a1b5
JM
189822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18983 Maxim Kuvyrkov <maxim@codesourcery.com>
18984 Joseph Myers <joseph@codesourcery.com>
18985
18986 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18987 if needed for __stack_chk_guard.
18988
bc7e1c36
RM
189892011-09-19 Roland McGrath <roland@hack.frob.com>
18990
ecb1482f
RM
18991 * sysdeps/posix/spawni.c (script_execute): Always define it.
18992 It will be optimized away if unused.
18993 (maybe_script_execute): New function.
18994 (__spawni): Call it.
18995
bc7e1c36
RM
18996 * Makerules: Don't include tls.make.
18997 (config-tls): Always set to thread.
18998 * tls.make.c: File removed.
18999
1c3b002b
MF
190002011-09-19 Mike Frysinger <vapier@gentoo.org>
19001
19002 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19003 * config.make.in (CPPFLAGS-config): New substituted variable.
19004
2840865d
UD
190052011-09-15 Ulrich Drepper <drepper@gmail.com>
19006
88738eb6
UD
19007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19008
cbf645a6 19009 [BZ #13192]
2840865d
UD
19010 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19011 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19012
b402e91a
RM
190132011-09-15 Roland McGrath <roland@hack.frob.com>
19014
19015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19016 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19018 (CALL_FAIL): Likewise.
19019 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19020 (CALL_FAIL): Macro removed.
19021 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19022
4c1a1f71
UD
190232011-09-15 Ulrich Drepper <drepper@gmail.com>
19024
19025 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19026 for __FINITE_MATH_ONLY__ == 1.
19027
edc121be
AS
190282011-09-15 Andreas Schwab <schwab@redhat.com>
19029
19030 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19031 __ieee754_sqrt instead of sqrt.
19032 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19033 __ieee754_sqrtf instead of sqrtf.
19034 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19035 __floorf instead of floorf.
19036 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19037 __floorf, __truncf instead of floorf, truncf.
19038
cd205654
UD
190392011-09-14 Ulrich Drepper <drepper@gmail.com>
19040
ee4d0315
UD
19041 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19042
cd205654
UD
19043 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19044 __extern_always_inline.
19045 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19046 32-bit.
19047
48b67d71
AS
190482011-09-14 Andreas Schwab <schwab@redhat.com>
19049
19050 * elf/rtld.c (dl_main): Also relocate in dependency order when
19051 doing symbol dependency testing.
19052
1ae12c75
AS
190532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19054
19055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19056 Always define `refsym'.
19057
995a80df
AS
190582011-09-13 Andreas Schwab <schwab@redhat.com>
19059
e529793b
AS
19060 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19061 (__FD_ELT): Renamed from __FDELT.
19062 * misc/bits/select2.h (__FD_ELT): Likewise.
19063 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19064 __FD_MASK instead of __FDELT, __FDMASK.
19065 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19066 Likewise.
19067 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19068 Likewise.
19069
52d4fef8
AS
19070 * elf/Makefile (gen-ldd): Fix pattern.
19071
995a80df
AS
19072 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19073 (init_tls): Likewise.
19074
8682f8b0
UD
190752011-09-12 Ulrich Drepper <drepper@gmail.com>
19076
19077 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19078
de82006d
AS
190792011-09-12 Andreas Schwab <schwab@redhat.com>
19080
a7c8e6a1
AS
19081 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19082 `struct cmsghdr *' instead of `void *'.
19083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19084 Likewise.
19085
0f31fe77
AS
190862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19087
19088 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19089 if non-absolute.
19090 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19091 ldd_rewrite_script.
0f31fe77 19092
32b4c839
UD
190932011-09-11 Ulrich Drepper <drepper@gmail.com>
19094
83cd1420
UD
19095 * configure.in: Remove --with-tls option.
19096 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19097 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19098 out in case it is missing.
19099 * sysdeps/ia64/elf/configure.in: Likewise.
19100 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19101 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19102 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19103 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19104 * sysdeps/sh/elf/configure.in: Likewise.
19105 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19106 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19107 * sysdeps/x86_64/elf/configure.in: Likewise.
19108 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19109 * sysdeps/mach/hurd/tls.h: Likewise.
19110
633f745d
UD
19111 [BZ #13067]
19112 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19113
f318beb8
UD
19114 [BZ #13090]
19115 * configure.in: Fix use of AC_INIT.
19116
32b4c839
UD
19117 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19118
3ce1f295
UD
191192011-09-10 Ulrich Drepper <drepper@gmail.com>
19120
bb016596
UD
19121 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19122 __set_errno.
8e58439c
UD
19123 * malloc/hooks.c: Likewise.
19124
aebae053 19125 [BZ #11929]
02d46fc4
UD
19126 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19127 variables statically.
19128 (narenas): Initialize.
19129 (list_lock): Initialize.
bb016596
UD
19130 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19131 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
19132 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19133 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19134 Add initializers to main_arena and mp_.
19135 (malloc_state): Remove pagesize member. Change all users to use
19136 GLRO(dl_pagesize).
19137
19138 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19139 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19140 is always initialized.
19141
22a89187
UD
19142 * malloc/malloc.c: Removed unused configurations and dead code.
19143 * malloc/arena.c: Likewise.
19144 * malloc/hooks.c: Likewise.
02d46fc4 19145 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 19146
d063d164
UD
19147 * include/tls.h: Removed. USE___THREAD must always be defined.
19148 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19149 * elf/dl-libc.c: Likewise.
19150 * elf/dl-tsd.c: Likewise.
19151 * include/errno.h: Likewise.
19152 * include/netdb.h: Likewise.
19153 * include/resolv.h: Likewise.
19154 * inet/herrno-loc.c: Likewise.
19155 * inet/herrno.c: Likewise.
19156 * malloc/arena.c: Likewise.
19157 * malloc/hooks.c: Likewise.
19158 * malloc/malloc.c: Likewise.
19159 * resolv/res-state.c: Likewise.
19160 * resolv/res_libc.c: Likewise.
19161 * sysdeps/i386/dl-machine.h: Likewise.
19162 * sysdeps/ia64/dl-machine.h: Likewise.
19163 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19164 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19165 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19166 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19167 * sysdeps/sh/dl-machine.h: Likewise.
19168 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19169 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19170 * sysdeps/unix/i386/sysdep.S: Likewise.
19171 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19172 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19173 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19177 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19181 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19182 * sysdeps/x86_64/dl-machine.h: Likewise.
19183 * tls.make.c: Likewise.
19184
3ce1f295
UD
19185 * configure.in: Remove --with-__thread option. Make tests for
19186 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19187 tls_model attribute fail if no support is available. Remove
19188 USE_IN_LIBIO.
19189 * Makeconfig: Adjust for dropped configure option. All features are
19190 now mandatory.
19191 * Makerules: Likewise.
19192 * Versions.def: Likewise.
19193 * argp/argp-fmtstream.c: Likewise.
19194 * argp/argp-fmtstream.h: Likewise.
19195 * argp/argp-help.c: Likewise.
19196 * assert/assert.c: Likewise.
19197 * config.h.in: Likewise.
19198 * config.make.in: Likewise.
19199 * configure: Likewise.
19200 * configure.in: Likewise.
19201 * csu/Versions: Likewise.
19202 * csu/init.c: Likewise.
19203 * elf/tst-audit2.c: Likewise.
19204 * elf/tst-tls10.c: Likewise.
19205 * elf/tst-tls10.h: Likewise.
19206 * elf/tst-tls11.c: Likewise.
19207 * elf/tst-tls12.c: Likewise.
19208 * elf/tst-tls14.c: Likewise.
19209 * elf/tst-tlsmod11.c: Likewise.
19210 * elf/tst-tlsmod12.c: Likewise.
19211 * elf/tst-tlsmod13.c: Likewise.
19212 * elf/tst-tlsmod13a.c: Likewise.
19213 * elf/tst-tlsmod14a.c: Likewise.
19214 * elf/tst-tlsmod15b.c: Likewise.
19215 * elf/tst-tlsmod16a.c: Likewise.
19216 * elf/tst-tlsmod16b.c: Likewise.
19217 * elf/tst-tlsmod7.c: Likewise.
19218 * elf/tst-tlsmod8.c: Likewise.
19219 * elf/tst-tlsmod9.c: Likewise.
19220 * gmon/gmon.c: Likewise.
19221 * grp/fgetgrent_r.c: Likewise.
19222 * grp/putgrent.c: Likewise.
19223 * hurd/fopenport.c: Likewise.
19224 * include/libc-symbols.h: Likewise.
19225 * include/tls.h: Likewise.
19226 * intl/gettextP.h: Likewise.
19227 * intl/loadinfo.h: Likewise.
19228 * locale/global-locale.c: Likewise.
19229 * locale/localeinfo.h: Likewise.
19230 * mach/devstream.c: Likewise.
19231 * malloc/arena.c: Likewise.
19232 * malloc/set-freeres.c: Likewise.
19233 * misc/err.c: Likewise.
19234 * misc/getttyent.c: Likewise.
19235 * misc/mntent_r.c: Likewise.
19236 * posix/getopt.c: Likewise.
19237 * posix/wordexp.c: Likewise.
19238 * pwd/fgetpwent_r.c: Likewise.
19239 * resolv/Versions: Likewise.
19240 * resolv/res_hconf.c: Likewise.
19241 * shadow/fgetspent_r.c: Likewise.
19242 * shadow/putspent.c: Likewise.
19243 * stdio-common/printf_fphex.c: Likewise.
19244 * stdio-common/tmpfile.c: Likewise.
19245 * stdlib/abort.c: Likewise.
19246 * stdlib/fmtmsg.c: Likewise.
19247 * sunrpc/auth_unix.c: Likewise.
19248 * sunrpc/clnt_perr.c: Likewise.
19249 * sunrpc/clnt_tcp.c: Likewise.
19250 * sunrpc/clnt_udp.c: Likewise.
19251 * sunrpc/clnt_unix.c: Likewise.
19252 * sunrpc/openchild.c: Likewise.
19253 * sunrpc/svc_simple.c: Likewise.
19254 * sunrpc/svc_tcp.c: Likewise.
19255 * sunrpc/svc_udp.c: Likewise.
19256 * sunrpc/svc_unix.c: Likewise.
19257 * sunrpc/xdr.c: Likewise.
19258 * sunrpc/xdr_array.c: Likewise.
19259 * sunrpc/xdr_rec.c: Likewise.
19260 * sunrpc/xdr_ref.c: Likewise.
19261 * sunrpc/xdr_stdio.c: Likewise.
19262
1248c1c4
PB
192632011-09-09 Ulrich Drepper <drepper@gmail.com>
19264
19265 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19266
192672011-07-03 Andreas Jaeger <aj@suse.de>
19268
19269 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19271 regenerate with gen-libm-tests.pl.
19272
192732010-05-12 Petr Baudis <pasky@suse.cz>
19274
19275 [BZ #11589]
19276 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19277 around j0() zero points by switching to j1().
19278 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19282
f22e1074
UD
192832011-09-09 Ulrich Drepper <drepper@gmail.com>
19284
f19009c1
UD
19285 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19286 instead of 0.
19287 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19288 instead of 0. .
19289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19290 Patch in part by Pavel Roskin <proski@gnu.org>.
19291
3f8cc204
UD
19292 [BZ #13138]
19293 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19294 realloc.
19295 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19296 Free memory block if necessary.
19297
f22e1074
UD
19298 [BZ #12847]
19299 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19300 be NULL. Don't lock in this case.
19301
0a2349f9
RM
193022011-09-09 Roland McGrath <roland@hack.frob.com>
19303
19304 * elf/elf.h (ELFOSABI_GNU): New macro.
19305 (ELFOSABI_LINUX): Define to that.
19306
f3cdd467
DZ
193072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19308
19309 * string/strncat.c (strncat): Undef the symbol in case it has been
19310 defined in bits/string.h.
19311
74718d13
UD
193122011-09-09 Ulrich Drepper <drepper@gmail.com>
19313
633e9e0f
UD
19314 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19315
0a2349f9 19316 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
19317 link map.
19318
f9924780
AJ
193192011-08-17 Andreas Jaeger <aj@suse.de>
19320
19321 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19322
7f5517aa
PP
193232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19324 Ian Lance Taylor <iant@google.com>
19325
19326 * math/libm-test.inc (lround_test): New testcase.
19327 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19328
762011fe
UD
193292011-09-08 Ulrich Drepper <drepper@gmail.com>
19330
92963737
UD
19331 * Makefile: Remove support for automatic cvs check-ins.
19332 * Makerules: Likewise.
19333 * config.make.in: Likewise.
19334 * configure.in: Likewise.
19335 * intl/Makefile: Likewise.
19336 * locale/Makefile: Likewise.
19337 * po/Makefile: Likewise.
19338 * posix/Makefile: Likewise.
19339 * sysdeps/gnu/Makefile: Likewise.
19340 * sysdeps/mach/hurd/Makefile: Likewise.
19341 * sysdeps/sparc/sparc32/Makefile: Likewise.
19342
b0727fd8
JS
19343 [BZ #13118]
19344 * posix/Makefile (bug-regex32-ENV): Define.
19345 Patch by John Stanley <jpsinthemix@verizon.net>.
19346
a0f33f99
UD
19347 * misc/Makefile (headers): Add bits/select2.h.
19348 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19349 * misc/bits/select2.h: New file.
19350 * include/bits/select2.h: New file.
19351 * debug/Makefile (routines): Add fdelt_chk.
19352 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19353 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19354 FD_ISSET.
19355 * debug/fdelt_chk.c: New file.
19356
762011fe
UD
19357 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19358 * wcsmbs/test-wmemcmp.c: Likewise.
19359 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 19360 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
19361
193622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19363
19364 * string/Makefile (strop-tests): Add memcmp.
19365 * string/test-wmemcmp.c: New file.
19366 * string/test-memcmp.c: Add wmemcmp support.
19367
7f513ec8
RM
193682011-09-08 Roland McGrath <roland@hack.frob.com>
19369
0442afb4
RM
19370 [BZ #13153]
19371 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19372 2011-07-19 change.
19373
7f513ec8
RM
19374 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19375 garbage value in a __mach_port_mod_refs call in the cases of the
19376 task-self and thread-self ports.
19377
a12b2239
ST
193782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19379
19380 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19381
610f9ab4
AS
193822011-09-08 Andreas Schwab <schwab@redhat.com>
19383
7f513ec8 19384 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 19385
48882a1a
LD
193862011-09-07 Ulrich Drepper <drepper@gmail.com>
19387
b49865be
UD
19388 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19389
fdc86bc9
UD
19390 * elf/dl-libc.c (dlerror_run): Pass back error code from
19391 dl_catch_error.
19392
c966526a
UD
19393 [BZ #13123]
19394 * elf/dl-load.c (lose): Free l_origin if it is valid.
19395
48882a1a
LD
19396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19397 names.
19398 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19399 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19400 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19402 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19403 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19404
77a2a8b4
AZ
194052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19406
19407 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19408 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19410 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19411 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19412 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19413 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19414 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19415 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19416 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19417
24f579d8
AM
194182011-08-15 Alan Modra <amodra@gmail.com>
19419
19420 [BZ #13092]
19421 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19422 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19423 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19424 ppc_mcount to static-only-routines.
19425 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19426 __mcount_internal.
19427 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19428 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19429
3d4837df
UD
194302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19431
19432 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19433 for finite and infinity parameters.
19434
22700377
WS
194352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19436
19437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19438 and add nop instructions for throughput optimization.
19439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19440
5025581e
WS
194412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19442
19443 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19444 aligned copy for power7 with vector-scalar instructions.
19445 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19446
08a300c9
L
194472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19448
19449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19450 AVX check.
19451
59178ef9
AS
194522011-09-07 Andreas Schwab <schwab@redhat.com>
19453
19454 [BZ #13144]
19455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19456 last change.
19457
e38ba7ab
UD
194582011-09-07 Ulrich Drepper <drepper@gmail.com>
19459
19460 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19461 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19462 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19463 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19464 clock_gettime.
19465
d53a73ac
UD
194662011-09-06 Ulrich Drepper <drepper@gmail.com>
19467
fc8bffcc
UD
19468 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19469 Forgot to demangle the pointer.
19470
ceaa0c5d
UD
19471 * sysdeps/i386/sysdep.h: Define atom_text_section.
19472 * sysdeps/x86_64/sysdep.h: Likewise.
19473 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19474 section with atom_text_section.
19475 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19476 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19477 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19479 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19480
a77d3c17
UD
19481 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19482 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19483 already be defined. Change to take two parameters and don't assign
19484 result to variable. Adjust all users.
19485 Define INTERNAL_GETTIME if not already defined.
19486 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19487 call.
19488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19489 HAVE_CLOCK_GETTIME_VSYSCALL.
19490 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19491
d53a73ac
UD
19492 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19493 gettimeofday vsyscall, just use time.
19494
a8f84144
AS
194952011-09-06 Andreas Schwab <schwab@redhat.com>
19496
19497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19498 <errno.h>.
19499
ef606249
UD
195002011-09-06 Ulrich Drepper <drepper@gmail.com>
19501
19502 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19503 syscall on x86-64.
19504 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19505 syscall.
19506 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19508 syscall if possible.
19509
6585cb60
UD
195102011-09-05 Ulrich Drepper <drepper@gmail.com>
19511
19512 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19513 e_ident. Don't pass to find_mapsXX.
19514 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19515
a5f524e4
LD
195162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19517
19518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19519 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19520 * sysdeps/x86_64/multiarch/strchr.S: Update.
19521 Check bit_slow_BSF bit.
19522 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19523 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19524 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19525
554881ef
UD
195262011-09-05 Ulrich Drepper <drepper@gmail.com>
19527
d96de963
UD
19528 [BZ #13134]
19529 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19530 before glibc 2.15.
19531 (tryshell): Define.
19532 (__spawni): Change last parameter to be flag. Test
19533 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19534 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19535 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19536 * posix/spawni.c: Likewise.
19537 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19538 * posix/spawnp.c: Likewise. Change normal version to use
19539 SPAWN_XFLAGS_USE_PATH.
19540 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19541 SPAWN_XFLAGS_TRY_SHELL.
19542
d48e5868
UD
19543 [BZ #13150]
19544 * posix/glob.h: Remove gcc 1.x support.
19545
554881ef
UD
19546 [BZ #13068]
19547 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19548
693fb948
LD
195492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19550
19551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19552 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19553 strrchr-sse2-bsf
19554 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19555 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19556 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19557 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19558 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19559 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19560
1b48c537
UD
195612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19562
49d42c37
UD
19563 * sysdeps/x86_64/wcscmp.S: New file.
19564
1b48c537
UD
19565 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19566 wcscmp-c wcscmp-sse2
19567 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19568 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19569 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19570 * wcsmbs/wcscmp.c: Allow renaming.
19571
15c95c5d
DM
195722011-09-05 David S. Miller <davem@davemloft.net>
19573
19574 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19575 stack slot, rather than the struct return pointer slot.
19576 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19577 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19579 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19580
2f0ad8f3
UD
195812011-09-05 Ulrich Drepper <drepper@gmail.com>
19582
d88ae418
UD
19583 * po/ja.po: Update from translation team.
19584
2f0ad8f3
UD
19585 [BZ #13144]
19586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19587 kernel in 64-bit binaries.
19588
5f4318d1
DM
195892011-09-01 David S. Miller <davem@davemloft.net>
19590
19591 * elf/elf.h (HWCAP_SPARC_*): Move to..
19592 * sysdeps/sparc/sysdep.h: this new file and add new values.
19593 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19594 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19595 _DL_HWCAP_COUNT to 24.
19596 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19597 entries.
19598 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19599 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19600 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19601 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19602 instead of magic constants.
19603 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19604
3ba57516
DM
196052011-08-31 David S. Miller <davem@davemloft.net>
19606
19607 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19609 Reimplement to do errno handling inline.
19610 (SYSCALL_ERROR_HANDLER): New macro.
19611 (__SYSCALL_STRING): Do not do errno handling in asm.
19612 (__CLONE_SYSCALL_STRING): Delete.
19613 (__INTERNAL_SYSCALL_STRING): Delete.
19614 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19615 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19616 (PSEUDO): Reimplement to do errno handling inline.
19617 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19618 (SYSCALL_ERROR_HANDLER): New macro.
19619 (__SYSCALL_STRING): Do not do errno handling in asm.
19620 (__CLONE_SYSCALL_STRING): Delete.
19621 (__INTERNAL_SYSCALL_STRING): Delete.
19622 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19623 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19624 i386.
19625 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19626 (inline_syscall*): Add 'err' argument.
19627 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19628 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19629 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19630 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19631
19632 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19633 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19634
2bc17433
AS
196352011-08-30 Andreas Schwab <schwab@redhat.com>
19636
19637 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19638
fbeb5f4d
JO
196392011-08-29 Jiri Olsa <jolsa@redhat.com>
19640
19641 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19642 directive.
19643
ad69cc26
DM
196442011-08-24 David S. Miller <davem@davemloft.net>
19645
19646 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19647
39dd69df
AS
196482011-08-24 Andreas Schwab <schwab@redhat.com>
19649
19650 * elf/Makefile: Add rules to build and run unload8 test.
19651 * elf/unload8.c: New file.
19652 * elf/unload8mod1.c: New file.
19653 * elf/unload8mod1x.c: New file.
19654 * elf/unload8mod2.c: New file.
19655 * elf/unload8mod3.c: New file.
19656
19657 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19658 it wasn't used.
19659
2c0b250a
DM
196602011-08-23 David S. Miller <davem@davemloft.net>
19661
19662 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19663 subtract stack bias.
19664 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19665 %sp not %fp in calculations.
19666 (_JMPBUF_UNWINDS_ADJ): Likewise.
19667
22044b48
DM
19668 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19669 (aio_suspend): Call it to force an exception region around the
19670 AIO_MISC_WAIT() invocation.
19671
2cae4995
AS
196722011-08-23 Andreas Schwab <schwab@redhat.com>
19673
19674 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19675 backslash.
19676
873a772e
AJ
196772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19678
19679 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19680 protection macro.
19681 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19682 and <dl-machine.h>.
19683 (Elf64_FuncDesc): Remove.
19684
25ad0df1
DM
196852011-08-22 David S. Miller <davem@davemloft.net>
19686
19687 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19688 sigaltstack check, add missing cfi directives.
19689 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19690 missing cfi directives, and sigaltstack handling.
19691
e888bcbe
AS
196922011-08-16 Andreas Schwab <schwab@redhat.com>
19693
19694 [BZ #11724]
19695 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19696 object is seen twice.
19697 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19698
19699 * elf/Makefile (distribute): Add tst-initorder2.c.
19700 (tests): Add tst-initorder2.
19701 (modules-names): Add tst-initorder2a tst-initorder2b
19702 tst-initorder2c tst-initorder2d. Add rules to build them.
19703 ($(objpfx)tst-initorder2.out): New rule.
19704 * elf/tst-initorder2.c: New file.
19705 * elf/tst-initorder2.exp: New file.
19706
87162f46
AS
197072011-08-22 Andreas Schwab <schwab@redhat.com>
19708
70538b7f
AS
19709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19710
f55ffe58
AS
19711 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19712 dependencies back to end of function.
19713
87162f46
AS
19714 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19715 $(elfobjdir)/ld.so.
19716
91b392a4
UD
197172011-08-21 Ulrich Drepper <drepper@gmail.com>
19718
19719 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19720 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19721 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19722 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19723 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19724 of __vdso_gettimeofday.
19725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19726 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19727 attribute_hidden.
19728 (_libc_vdso_platform_setup): Remove initialization of
19729 __vdso_gettimeofday and __vdso_time.
19730
5c43483f
UD
197312011-08-20 Ulrich Drepper <drepper@gmail.com>
19732
775a77e7
UD
19733 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19734 and fgetc_unlocked.
19735 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19736 getc_unlocked.
89f447ed 19737
49c74ba9
UD
19738 * elf/dl-open.c (add_to_global): Report additions to the global scope
19739 for LD_DEBUG=scopes.
19740 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19741 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19742
5c43483f
UD
19743 [BZ #13114]
19744 * stdio-common/Makefile (tests): Add bug24.
19745 * stdio-common/bug24.c: New file.
19746
a101b025
AJ
197472011-08-19 Andreas Jaeger <aj@suse.de>
19748
19749 [BZ #13114]
19750 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19751 non-existant file when using close-on-exec mode.
19752
c88f1766
UD
197532011-08-20 Ulrich Drepper <drepper@gmail.com>
19754
0276a718
UD
19755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19756 the very first instruction.
19757
c88f1766
UD
19758 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19759 the CFI state in the end.
19760 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19761 inclusion of dl-trampoline.h.
19762 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19763
51ccffa0
AS
197642011-08-19 Andreas Schwab <schwab@redhat.com>
19765
94d7165f
AS
19766 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19767 expectations for long double.
19768
51ccffa0
AS
19769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19770 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19771
fd708658 197722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19773
19774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19775 artificual limit depends upon the system page size.
19776
44f0a71e
UD
197772011-08-17 Ulrich Drepper <drepper@gmail.com>
19778
19779 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19780 * resolv/Makefile: Define CFLAGS-libresolv.
19781
8de79a24
AS
197822011-08-17 Andreas Schwab <schwab@redhat.com>
19783
19784 * nss/makedb.c (compute_tables): Make variables used in nested
19785 function static.
19786
27724598
UD
197872011-08-17 Ulrich Drepper <drepper@gmail.com>
19788
c5305d88
UD
19789 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19790 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19791 if buffer was too small.
19792
27724598
UD
19793 * elf/pldd.c (main): Attach to all threads in the process.
19794 Rewrite /proc handling to use *at functions.
19795
076fe015
UD
197962011-08-16 Ulrich Drepper <drepper@gmail.com>
19797
174baab3
UD
19798 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19799 specifies first scope to show.
19800 (dl_open_worker): Update callers. Move printing scope of new
19801 object to before the relocation.
44f0a71e 19802 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19803 * sysdeps/generic/ldsodefs.h: Update declaration.
19804
076fe015
UD
19805 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19806 string for the scope number.
19807
a60df2c3
UD
198082011-08-14 Ulrich Drepper <drepper@gmail.com>
19809
19810 * nscd/servicescache.c (cache_addserv): Make sure written is always
19811 initialized.
19812
5e4287d1
RM
198132011-08-14 Roland McGrath <roland@hack.frob.com>
19814
85ae0589
RM
19815 * sysdeps/i386/i486/bits/atomic.h
19816 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19817 statement expression, so as to suppress "set but not used" warning.
19818 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19819
69f63097
RM
19820 * string/strncat.c (STRNCAT): Use prototype definition.
19821
675456ef
RM
19822 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19823 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19824 -Iprograms here.
19825 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19826 (localedef-modules): Add localedef.
19827 (locale-modules): Add locale.
19828
5e4287d1
RM
19829 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19830 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19831 to avoid a warning.
19832
9c96ff23
DM
198332011-08-14 David S. Miller <davem@davemloft.net>
19834
19835 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19836 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19837
f9ddf089
UD
198382011-08-13 Ulrich Drepper <drepper@gmail.com>
19839
44f0a71e 19840 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19841 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19842 * elf/rtld.c (dl_main): Set l_name of vDSO.
19843 Call _dl_show_scope when DL_DEBUG_SCOPES.
19844 (process_dl_debug): Recognize scopes flag and also set it for all.
19845 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19846 Declare _dl_show_scope.
19847
1dc27704
UD
19848 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19849 (do_dlopen): Pass caller_dlopen to dl_open.
19850 (__libc_dlopen_mode): Initialize caller_dlopen.
19851
f9ddf089
UD
19852 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19853 of libc. Make tolower call locale-independent. Optimize a bit by
19854 using isdigit instead of isalnum.
19855 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19856
9ac533d3
UD
198572011-08-12 Ulrich Drepper <drepper@gmail.com>
19858
19859 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19860 was a dependency or dynamically loaded.
19861
89edf2e9
UD
198622011-08-11 Ulrich Drepper <drepper@gmail.com>
19863
8e999d29
UD
19864 * intl/l10nflist.c: Allow architecture-specific pop function.
19865 * sysdeps/x86_64/l10nflist.c: New file.
19866
89edf2e9
UD
19867 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19868 classification.
19869
14d96785
AS
198702011-08-10 Andreas Schwab <schwab@redhat.com>
19871
19872 * include/dirent.h: Add libc_hidden_proto for scandirat and
19873 scandirat64. Don't declare __scandirat64.
19874 * dirent/scandirat.c: Add libc_hidden_def.
19875 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19876 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19877
6761ac04
DM
198782011-08-10 David S. Miller <davem@davemloft.net>
19879
19880 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19881 enum.
19882 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19883 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19884 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19885
c55fbd1e
UD
198862011-08-09 Ulrich Drepper <drepper@gmail.com>
19887
19888 * Versions.def [libc]: Add GLIBC_2.15.
19889 * dirent/Makefile (routines): Add scandirat and scandirat64.
19890 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19891 GLIBC_2.15.
19892 * dirent/dirent.h: Declare scandirat and scandirat64.
19893 * dirent/scandirat.c: New file.
19894 * dirent/scandirat64.c: New file.
19895 * sysdeps/wordsize-64/scandirat.c: New file.
19896 * sysdeps/wordsize-64/scandirat64.c: New file.
19897 * dirent/opendir.c: Define opendirat.
19898 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19899 using scandirat.
19900 * dirent/scandir64.c: Adjust for scandir.c change.
19901 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19902 __scandirat64, and __scandir_cancel_handler.
19903 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19904 additional parameter and use openat instead of open (outside of ld.so).
19905 Add new __opendir as wrapper around __opendirat.
19906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19907 here without requiring old scandirat implementation.
19908
879165f2
UD
199092011-08-08 Ulrich Drepper <drepper@gmail.com>
19910
19911 * dirent/scandir.c (cancel_handler): Renamed to
19912 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19913 defined. Adjust users.
19914 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19915 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19916
cb7e923b
UD
199172011-08-04 Ulrich Drepper <drepper@gmail.com>
19918
16292edd
UD
19919 * string/test-string.h (IMPL): Use __STRING to expand name and then
19920 stringify it.
19921
cb7e923b
UD
19922 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19923 of cleanups.
19924
cff82933
LD
199252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19926
19927 * string/Makefile: Update.
19928 (strop-tests): Append strncat.
19929 * string/test-wcscmp.c: New file.
19930 New comprehensive test for wcscmp.
19931 * string/test-strcmp.c: Update.
19932 (WIDE): New define.
19933
9be9bfcc
AS
199342011-07-22 Andreas Schwab <schwab@redhat.com>
19935
19936 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19937 line.
19938
2e96f1c7
AS
199392011-07-26 Andreas Schwab <schwab@redhat.com>
19940
19941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19942 encoding to ACE if AI_IDN.
19943
85188888
JJ
199442011-08-01 Jakub Jelinek <jakub@redhat.com>
19945
19946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19947 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19948
5fa16e9b
LD
199492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19950
19951 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19952 Fix overflow bug in strncat.
19953 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19954
19955 * string/test-strncat.c: Update.
19956 Add new tests for checking overflow bugs.
19957
199582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19959
19960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19961 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19962 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19963 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19964 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19965 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19966 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19967 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19968 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19969
19970 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19971 (USE_AS_STRCAT): Define.
19972 Add strcat and strncat support.
19973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19974
8c1a459f
AS
199752011-07-25 Andreas Schwab <schwab@redhat.com>
19976
19977 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19978 __n bigger than INT_MAX+1.
19979 (__strncmp_g): Likewise.
19980
bba33c28
UD
199812011-07-23 Ulrich Drepper <drepper@gmail.com>
19982
798be72d
UD
19983 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19984 * libio/stido.h: Likewise.
19985
8accd4dc
UD
19986 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19987 (AF_NFC): Define.
19988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19989 (AF_NFC): Define.
19990
cbff0d96
UD
19991 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19994 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19996
9191c04a
UD
19997 [BZ #13021]
19998 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19999 installed.
20000
bba33c28
UD
20001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20002 typo.
20003 (_dl_x86_64_save_sse): Likewise.
20004
90f139dd
UD
200052011-07-22 Ulrich Drepper <drepper@gmail.com>
20006
1aae088a
UD
20007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20008 OSXSAVE.
20009 (_dl_x86_64_save_sse): Likewise.
20010
8e2045f5
UD
20011 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20012
90f139dd
UD
20013 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20014
1d002f25
AS
200152011-07-21 Andreas Schwab <schwab@redhat.com>
20016
20017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20018 change.
20019 (_dl_x86_64_save_sse): Use correct AVX check.
20020
21137f89
UD
200212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20022
20023 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20024 bug in strncpy/strncat.
20025 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20026
a65c0b7a
UD
200272011-07-21 Ulrich Drepper <drepper@gmail.com>
20028
20029 * string/tester.c (test_strcat): Add tests for different alignments
20030 of source and destination.
20031 (test_strncat): Likewise.
20032
6986b98a
UD
200332011-07-20 Ulrich Drepper <drepper@gmail.com>
20034
90bb2039
UD
20035 [BZ #12852]
20036 * posix/glob.c (glob): Check passed in values before using them in
20037 expressions to avoid some overflows.
20038 (glob_in_dir): Likewise.
20039
5644ef54
UD
20040 [BZ #13007]
20041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20042 check for AVX enablement so that we don't crash with old kernels and
20043 new hardware.
20044 * elf/tst-audit4.c: Add same checks here.
20045 * elf/tst-audit6.c: Likewise.
20046
20047 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20048
bfc9dc9b
AS
200492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20050
20051 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20052
702e64bb
UD
200532011-07-20 Ulrich Drepper <drepper@gmail.com>
20054
20055 * po/cs.po: Update from translation team.
20056 * po/bg.po: Likewise.
20057
295e904f
MP
200582011-07-12 Marek Polacek <mpolacek@redhat.com>
20059
20060 * misc/sys/cdefs.h: Add support for const attribute.
20061 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20062 to gnu_dev_{major,minor,makedev} functions.
20063
3ff94596
MP
200642011-07-20 Marek Polacek <mpolacek@redhat.com>
20065
20066 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20067
28b59fca
AS
200682011-07-20 Andreas Schwab <schwab@redhat.com>
20069
20070 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20071 strlen results.
20072
19df733e
AK
200732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20074
20075 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20076 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20077 register in order to avoid conflicts with the soft frame pointer
20078 being held in r11 when necessary.
20079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20080 (INTERNAL_VSYSCALL_NCS): Likewise.
20081
c8835729
MP
200822011-07-14 Marek Polacek <mpolacek@redhat.com>
20083
20084 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20085 * elf/dl-fini.c (_dl_fini): Adjust caller.
20086 * elf/dl-close.c (_dl_close_worker): Likewise.
20087 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20088
b902330c
MP
200892011-07-15 Marek Polacek <mpolacek@redhat.com>
20090
8991e135
MP
20091 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20092 "aux_cache->nlibs < 0".
20093
b902330c
MP
20094 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20095 in the reload-count case.
20096
99710781
LD
200972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20098
20099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20100 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20101 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20102 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20103 * sysdeps/x86_64/multiarch/strcat.S: New file.
20104 * sysdeps/x86_64/multiarch/strncat.S: New file.
20105 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20106 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20107 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20108 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20110 (USE_AS_STRCAT): Define.
20111 Add strcat and strncat support.
20112 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20113 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20114 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20115 * string/strncat.c: Update.
20116 (USE_AS_STRNCAT): Define.
20117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20118 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20119 and i7.
20120 * sysdeps/x86_64/multiarch/init-arch.h
20121 (bit_Prefer_PMINUB_for_stringop): New.
20122 (index_Prefer_PMINUB_for_stringop): Likewise.
20123 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20124 bit_Prefer_PMINUB_for_stringop.
20125
7dc6bd90
UD
201262011-07-19 Ulrich Drepper <drepper@gmail.com>
20127
20128 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20129 buffer64.
20130 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20131 of casting of buffer.
20132 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20133 buffer32 and buffer64.
20134 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20135 writes instead of casting of buffer.
20136 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20137 buffer32.
20138 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20139 casting of buffer.
20140
e0e72284
AS
201412011-07-19 Andreas Schwab <schwab@redhat.com>
20142
20143 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20144
feb1eb0b
UD
201452011-07-19 Ulrich Drepper <drepper@gmail.com>
20146
20147 * nscd/nscd.c (termination_handler): Don't do anything for a database
20148 if it has not yet been initialized.
20149
298711ff
UD
201502011-07-18 Ulrich Drepper <drepper@gmail.com>
20151
20152 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20153
201542011-07-15 Marek Polacek <mpolacek@redhat.com>
20155
20156 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20157
f9d68389
UD
201582011-07-18 Ulrich Drepper <drepper@gmail.com>
20159
20160 * po/nl.po: Update from translation team.
20161 * po/sv.po: Likewise.
20162
db290cf5
RM
201632011-07-16 Roland McGrath <roland@hack.frob.com>
20164
20165 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20166 now disallowed by GCC.
5c550700 20167
fd5e21c7
RM
20168 * configure.in (use-default-link): Default to yes if a test -shared
20169 link meets our qualifications.
20170 * configure: Regenerated.
20171
5c550700
RM
20172 * config.make.in (output-format): New variable.
20173 * configure.in: Check for ld --print-output-format support.
20174 * configure: Regenerated.
20175 * Makerules ($(common-objpfx)format.lds)
20176 [$(output-format) != unknown]: Just use $(output-format),
20177 instead of the linker-script munging.
20178
9fa2c032
RM
201792011-07-14 Roland McGrath <roland@hack.frob.com>
20180
a6928d51
RM
20181 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20182 of $(common-objpfx)shlib.lds.
20183 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20184
661607b3
RM
20185 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20186 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20187
9fa2c032
RM
20188 * configure.in (-z relro check): Adjust test code to add a large
20189 writable data section after it.
20190 * configure: Regenerated.
20191
defe9061
RM
201922011-07-11 Roland McGrath <roland@hack.frob.com>
20193
20194 * configure.in (-z relro check): Fix test code to make the variable
20195 truly const.
20196 * configure: Regenerated.
20197
319b9ad4
UD
201982011-07-11 Ulrich Drepper <drepper@gmail.com>
20199
20200 * nscd/nscd.h (struct traced_file): Define.
20201 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20202 elements. Add traced_files.
20203 (inotify_fd): Declare.
20204 (register_traced_file): Declare.
20205 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20206 (inotify_fd): Export.
20207 (resolv_conf_descr): Remove.
20208 (nscd_init): Move inotify descriptor creation to main.
20209 Don't register files for notification here.
20210 (register_traced_file): New function.
20211 (invalidate_cache): Don't use reset_res to determine whether to call
20212 res_init, go through the list of registered files.
20213 (main_loop_poll): The inotify descriptors are now stored in the
20214 structures for the traced files.
20215 (main_loop_epoll): Likewise
20216 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20217 to __nss_disable_nscd.
20218 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20219 for a database anymore. Check the records for all the registered
20220 files instead.
20221 * nss/Makefile (libnss_files-routines): Add files-init.
20222 (libnss_db-routines): Add db-init.
20223 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20224 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20225 * nss/nss_db/db-init.c: New file.
20226 * nss/nss_files/files-init.c: New file.
20227 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20228 __nss_lookup_function.
20229 (__nss_lookup_function): Call nss_load_library.
20230 (nss_load_all_libraries): New function.
20231 (__nss_disable_nscd): Take parameter with callback function for files
20232 to register. Set is_nscd. Load all the DSOs for the NSS modules
20233 used for the cached services.
20234 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20235 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20236 options for features to all the files in nscd.
20237
20238 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20239
23bee3e8
RM
202402011-07-10 Roland McGrath <roland@hack.frob.com>
20241
20242 * csu/elf-init.c (__libc_csu_init): Comment typo.
20243
46a5b7f0
UD
202442011-07-09 Ulrich Drepper <drepper@gmail.com>
20245
20246 * po/pl.po: Update from translation team.
20247 * po/ja.po: Likewise.
20248 * po/ru.po: Likewise.
20249 * po/ko.po: Likewise.
20250 * po/fr.po: Likewise.
20251
d30cf5bb
RM
202522011-07-09 Roland McGrath <roland@hack.frob.com>
20253
113ddea4
RM
20254 * configure.in (.ctors/.dtors header and trailer check):
20255 Use an empirical test on a built program.
20256 * configure: Regenerated.
20257
574920b4
RM
20258 * configure.in (-z relro check): Use an empirical test on a built DSO.
20259 Detect, but do not require, on ia64.
20260 * configure: Regenerated.
20261
d30cf5bb
RM
20262 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20263 Update tests that use readelf to use $READELF instead.
20264 * configure: Regenerated.
20265
8538fdb3
UD
202662011-07-08 Ulrich Drepper <drepper@gmail.com>
20267
20268 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20269 if the result is not used.
20270
04d08991
AJ
202712011-07-05 Andreas Jaeger <aj@suse.de>
20272
20273 [BZ#9696]
20274 * stdlib/tst-strtod.c: Add testcase.
20275
de283087
AD
202762011-07-07 Ulrich Drepper <drepper@gmail.com>
20277
4e5f31c8 20278 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 20279 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
20280 The latter has a higher limit. Take additional parameter to pass to
20281 the new function.
20282 (__pathconf): Pass file to __statfs_link_max.
20283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20284 __statfs_link_max.
20285 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20286 __statfs_link_max.
20287
de283087
AD
20288 [BZ #12868]
20289 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20291 Handle Lustre.
20292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20293 (__statfs_filesize_max): Likewise.
20294 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20295
c75fa153
AJ
202962011-07-05 Andreas Jaeger <aj@suse.de>
20297
20298 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20299
1a544854
UD
203002011-07-06 Marek Polacek <mpolacek@redhat.com>
20301
20302 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20303 `status' variable.
20304 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20305 Likewise.
20306
6f0eec67
UD
203072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20308
20309 * Makefile (strop-tests): Add strncat.
20310 * string/test-strncat.c: New file.
20311
aae30307
UD
203122011-06-30 Marek Polacek <mpolacek@redhat.com>
20313
20314 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20315
c0cfb5eb
UD
203162011-06-21 Andreas Jaeger <aj@suse.de>
20317
20318 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20319 Copy rule from iconvdata/Makefile.
20320
01636b21
UD
203212011-07-06 Ulrich Drepper <drepper@gmail.com>
20322
20323 [BZ #12922]
20324 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20325 but no long options are defined, just return 'W'.
20326
9895c8bc
UD
203272011-06-22 Marek Polacek <mpolacek@redhat.com>
20328
20329 [BZ #9696]
20330 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20331
5d4cf042
UD
203322011-07-06 Ulrich Drepper <drepper@gmail.com>
20333
20334 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20335 netgroups to read.
960e5535 20336 (innetgr): Likewise.
5d4cf042 20337
751eb97e
RM
203382011-07-05 Roland McGrath <roland@hack.frob.com>
20339
20340 * config.make.in (install_root): Default to $(DESTDIR).
20341
f15f1e45
UD
203422011-07-05 Ulrich Drepper <drepper@gmail.com>
20343
20344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20345
4e34ac6a
RM
203462011-07-02 Roland McGrath <roland@hack.frob.com>
20347
5e9b6af4
RM
20348 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20349
84f9ea0f
RM
20350 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20351 containing directory rather than embedding absolute directory names.
20352
ea5ee9f7
RM
20353 * scripts/check-local-headers.sh: Rewritten using awk.
20354 Match by word, not by line. Print error messages for matches.
20355 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20356
1b74661a
RM
20357 * Makerules [shlib-lds-flags empty]:
20358 ($(common-objpfx)libc_pic.opts): New target.
20359 ($(common-objpfx)libc_pic.os.clean): New target.
20360 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20361
20362 * config.make.in (OBJCOPY): New variable.
20363 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20364 * configure: Regenerated.
20365
f781ef40
RM
20366 * config.make.in (use-default-link): New variable.
20367 * configure.in (use_default_link): Grok --with-default-link to set it.
20368 * configure: Regenerated.
20369 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20370 (shlib-lds, shlib-lds-flags): Define to empty.
20371
2d4fa81e
RM
20372 * Makerules (shlib-lds): New variable.
20373 (shlib-lds-flags): New variable.
20374 (build-shlib, build-moduile, build-module-asneeded): Use it.
20375 ($(common-objpfx)libc.so): Use $(shlib-lds).
20376 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20377 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20378
31fffa6b
RM
20379 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20380 DT_FLAGS/DT_FLAGS_1 with zero flags.
20381
4e34ac6a
RM
20382 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20383 linker script munging.
20384
fcfc776b
UD
203852011-07-02 Ulrich Drepper <drepper@gmail.com>
20386
20387 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20388 as 128-bit value.
20389 * crypt/sha512.c (sha512_process_block): Perform total addition using
20390 128-bit if possible.
20391 (__sha512_finish_ctx): Likewise.
20392 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20393 as 64-bit value.
20394 * crypt/sha256.c (SWAP64): Define.
20395 (sha256_process_block): Perform total addition using 64-bit if
20396 possible.
20397 (__sha256_finish_ctx): Likewise.
20398
99231d9a
UD
203992011-07-01 Ulrich Drepper <drepper@gmail.com>
20400
20401 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20403 * nscd/hstcache.c (cache_addhst): Likewise.
20404 * nscd/grpcache.c (cache_addgr): Likewise.
20405 * nscd/aicache.c (addhstaiX): Likewise
20406 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20407
445b4a53
TK
204082011-07-01 Thorsten Kukuk <kukuk@suse.de>
20409
20410 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20412 * nscd/hstcache.c (cache_addhst): Likewise.
20413 * nscd/grpcache.c (cache_addgr): Likewise.
20414 * nscd/aicache.c (addhstaiX): Likewise
20415
6d4d8e8e
AS
204162011-07-01 Andreas Schwab <schwab@redhat.com>
20417
20418 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20419 domain only when needed.
20420
89f654c5
AS
204212011-06-30 Andreas Schwab <schwab@redhat.com>
20422
20423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20424 is always restored.
20425
cf3b23ff
UD
204262011-06-29 Ulrich Drepper <drepper@gmail.com>
20427
20428 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20429 are re-adding the entry.
20430 * nscd/servicescache.c (cache_addserv): Likewise.
20431
751626f9
AJ
204322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20433
20434 * sysdeps/generic/dl-irel.h: fix protection against multiple
20435 inclusions.
20436 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20437
9113ea1f
UD
204382011-06-28 Ulrich Drepper <drepper@gmail.com>
20439
5c0b8d90
UD
20440 [BZ #12935]
20441 * malloc/memusage.sh: Fix quoting in message.
20442 * debug/xtrace.sh: Likewise.
20443
9113ea1f
UD
20444 * configure.in: Remove support for --experimental-malloc option, make
20445 it the default.
20446 * config.make.in: Likewise.
20447 * malloc/Makefile: Likewise.
20448
a4172181
AS
204492011-06-27 Andreas Schwab <schwab@redhat.com>
20450
20451 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20452 two-byte characters.
20453
78a7eee7
RM
204542011-06-27 Roland McGrath <roland@hack.frob.com>
20455
62bede13
RM
20456 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20457 AC_CACHE_CHECK invocation.
20458 * configure: Regenerated.
20459
78a7eee7
RM
20460 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20461
5ce33a62
UD
204622011-06-27 Ulrich Drepper <drepper@gmail.com>
20463
034807a9
UD
20464 [BZ #12350]
20465 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20466 bit from old_res_options.
20467
4902da17
UD
20468 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20469
5ce33a62
UD
20470 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20471 value type for setfct.
20472
c2344f56
L
204732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20476 __gettimeofday instead of gettimeofday.
20477
68468076
UD
204782011-06-26 Ulrich Drepper <drepper@gmail.com>
20479
20480 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20481
acb0d739
L
204822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20483
20484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20485
20486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20487 info.
20488
8912479f
L
204892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20492 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20493 strcpy-sse2-unaligned strncpy-sse2-unaligned
20494 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20495 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20496 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20497 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20498 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20499 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20500 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20501 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20502 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20503 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20504 (STRCPY): Support SSE2 and SSSE3 versions.
20505
d5495a11
UD
205062011-06-24 Ulrich Drepper <drepper@gmail.com>
20507
20508 [BZ #12874]
20509 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20510 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20511 kernels which artificially limit size of requests.
20512
0b1cbaae
L
205132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20516 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20517 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20518 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20519 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20520 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20521 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20522 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20525 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20526 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20527 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20528 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20529 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20531 Enable unaligned load optimization for Intel Core i3, i5 and i7
20532 processors.
20533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20534 Define.
20535 (index_Fast_Unaligned_Load): Define.
20536 (HAS_FAST_UNALIGNED_LOAD): Define.
20537
07f494a0
MP
205382011-06-23 Marek Polacek <mpolacek@redhat.com>
20539
20540 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20541
fa3fc0fe
UD
205422011-06-22 Ulrich Drepper <drepper@gmail.com>
20543
20544 [BZ #12907]
20545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20546 until it is clear that the information is realy needed.
20547 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20548
e12df166
AS
205492011-06-22 Andreas Schwab <schwab@redhat.com>
20550
20551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20552
852eb34d
UD
205532011-06-22 Ulrich Drepper <drepper@gmail.com>
20554
84e2a551
UD
20555 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20556 /sys/devices/system/cpu/online if it is usable.
20557
852eb34d
UD
20558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20559 reading the information from the /proc filesystem to once a second.
20560
6e502e19
UD
205612011-06-21 Andreas Jaeger <aj@suse.de>
20562
20563 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20564 NULL after inclusion of kernel headers.
20565
75d39ff2
UD
205662011-06-21 Ulrich Drepper <drepper@gmail.com>
20567
51f9aa6a
UD
20568 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20569 calls to internal_setent.
20570
c0244a9d
UD
20571 [BZ #12885]
20572 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20573 addresses using gethostbyname4_r ignore IPv4 addresses.
20574
c5e3c2ae
UD
20575 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20576 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20577
75d39ff2
UD
20578 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20579
42675c6f
DM
205802011-06-20 David S. Miller <davem@davemloft.net>
20581
20582 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20583 inclusions.
20584 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20585
20586 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20587 (elf_irel): Use it.
20588 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20589 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20590 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20591 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20592 * sysdeps/x86_64/dl-irel.h: Likewise.
20593
20594 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20595 * elf/dl-sym.c: Likewise.
20596
57912a71
UD
205972011-06-15 Ulrich Drepper <drepper@gmail.com>
20598
20599 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20600 need to dereference resplen2.
20601
ee22793d
AS
206022011-06-14 Andreas Schwab <schwab@redhat.com>
20603
20604 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20605
a9e836b0
UD
206062011-06-15 Ulrich Drepper <drepper@gmail.com>
20607
77fb9117
UD
20608 * Makeconfig: Define vardbdir and inst_vardbdir.
20609 * nss/Makefile: Add rules to install db-Makefile.
20610
40c1b22c
UD
20611 * nss/nss_db/db-XXX.c: Cleanup.
20612
9f2da732
UD
20613 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20614 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20615 GLIBC_PRIVATE.
20616 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20617 * nss/makedb.c: Implement -g option to specify that value strings
20618 are generated and should not be added to table iterated over for
20619 get*ent calls.
20620 * nss/nss_db/db-initgroups.c: New file.
20621
82e9a1f7
UD
20622 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20623 interface.
20624
c41af17e
UD
20625 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20626 (internal_getgrouplist): Adjust to name change.
20627 Update use_initgroups_entry if this is not the first call.
20628 * nss/databases.def: Add initgroups entry.
20629
a9e836b0
UD
20630 * nss/makedb.c (compute_tables): Check result of multiple hash table
20631 sizes to minimize maximum chain length.
20632
2666d441
UD
206332011-06-14 Ulrich Drepper <drepper@gmail.com>
20634
20635 * Versions.def: Add entry for libnss_db.
20636 * shlib-versions: Likewise.
20637 * nss/Makefile: Add rules to build libnss_db.
20638 * nss/Versions: Add libnss_db information. Organize libnss_files
20639 entries better.
20640 * nss/db-Makefile: Add gshadow support. Change rules for the new
20641 makedb progra. Some minor improvements to generate smaller files.
20642 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20643 here from...
20644 * nss/makedb.c: ...here.
20645 Improve database format to be smaller and require less memory at
20646 runtime.
20647 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20648 db anymore.
20649 * nss/nss_db/db-netgrp.c: Likewise.
20650 * nss/nss_db/db-open.c: Likewise.
20651 * nss/nss_files/flies-XXX.x: Adjust comments.
20652 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20653 * nss/nss_files/files-grp.c: Likewise.
20654 * nss/nss_files/files-hosts.c: Likewise.
20655 * nss/nss_files/files-network.c: Likewise.
20656 * nss/nss_files/files-proto.c: Likewise.
20657 * nss/nss_files/files-pwd.c: Likewise.
20658 * nss/nss_files/files-rpc.c: Likewise.
20659 * nss/nss_files/files-service.c: Likewise.
20660 * nss/nss_files/files-sgrp.c: Likewise.
20661 * nss/nss_files/files-spwd.c: Likewise.
20662 * nss/nss_db/db-alias.c: Removed.
20663 * nss/nss_db/dummy-db.h: Removed.
20664
9ee76b5a
UD
206652011-06-02 Ulrich Drepper <drepper@gmail.com>
20666
20667 * nss/makedb.c: Rewritten to not use database library.
20668 * nss/Makefile: Update to build new makedb program.
20669
c71ca1f8
AJ
206702011-06-14 Andreas Jaeger <aj@suse.de>
20671
20672 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20673 memset declaration.
20674
3154bfb8
UD
206752011-06-10 Andreas Schwab <schwab@redhat.com>
20676
20677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20678 tmpbuf.
20679
b350afab
RM
206802011-06-10 Roland McGrath <roland@hack.frob.com>
20681
decd4e50
RM
20682 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20683 * elf/Makefile ($(objpfx)ld.so): Likewise.
20684
5615eaf2
RM
20685 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20686 Don't list ld.so twice in dependencies.
20687
20688 * posix/bug-regex31.c: Include <stdlib.h>.
20689
20690 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20691
20692 * nis/nss_compat/compat-spwd.c
20693 (getspent_next_nss_netgr): Remove unused variable.
20694 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20695
20696 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20697 nonmembers" output to use the right array.
20698
20699 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20700
20701 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20702
20703 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20704 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20705 * catgets/gencat.c (read_input_file): Likewise.
20706 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20707
20708 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20709 variable definition inside #if's controlling its use.
20710
20711 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20712
20713 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20714
20715 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20716
20717 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20718 unreachable code.
20719
20720 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20721
b68e08db
RM
20722 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20723 * configure: Regenerated.
20724
b350afab
RM
20725 * Makerules: Revert last change.
20726 * elf/Makefile: Likewise.
20727
28368601
RM
207282011-06-09 Roland McGrath <roland@hack.frob.com>
20729
20730 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20731 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20732 (reloc-link): Likewise.
20733
11988f8f
UD
207342011-06-09 Ulrich Drepper <drepper@gmail.com>
20735
20736 * elf/Makefile: Add rules to build pldd.
20737 * elf/pldd.c: New file.
20738 * elf/pldd-xx.c: New file.
20739
e80fab37
UD
207402011-06-07 Ulrich Drepper <drepper@gmail.com>
20741
20742 * version.h: Update for 2.15 development version.
20743
9b849836
DM
207442011-06-07 David S. Miller <davem@davemloft.net>
20745
20746 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20747 ifuncs.
20748 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20749 elf_machine_lazy_rel): Likewise.
20750 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20752 elf_machine_lazy_rel): Likewise.
20753 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20754 dl_hwcap via passed in argument.
20755 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20756 Likewise.
20757
5a31b283
AK
207582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20759
20760 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20761
069e52f8
RM
207622011-06-06 Roland McGrath <roland@hack.frob.com>
20763
20764 [BZ #12849]
20765 * manual/fdl-1.1.texi: New file, verbatim from:
20766 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20767 * manual/lgpl-2.1.texi: New file, verbatim from:
20768 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20769 * manual/Makefile (licenses): New variable, list those new file names.
20770 (texis): Use it.
20771 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20772
20773 * manual/fdl.texi: File removed.
20774 * manual/lesser.texi: File removed.
20775 * manual/libc.texinfo (Copying, Documentation License):
20776 Use new @include file names, put @appendix directive before @include.
20777
f16846a5
JJ
207782011-06-04 Jakub Jelinek <jakub@redhat.com>
20779
20780 [BZ #12841]
20781 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20782 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20783 (mq_open): Add __NTH.
20784
3d29045b
L
207852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20786
20787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20788 Assume Intel Core i3/i5/i7 processor if AVX is available.
20789
8c297311
UD
207902011-05-31 Ulrich Drepper <drepper@gmail.com>
20791
20792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20793 typo.
20794
c8fc0c91
UD
207952011-05-31 Andreas Schwab <schwab@redhat.com>
20796
20797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20798 memory. Use alloca_account. Fix memory leak when retrying.
20799
5b27a807
UD
208002011-05-31 Ulrich Drepper <drepper@gmail.com>
20801
356f8bc6
UD
20802 * version.h (RELEASE): Bump for 2.14 release.
20803 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20804
5b27a807
UD
20805 * config.make.in (RANLIB): Remove entry.
20806
01f16ab0
UD
208072011-05-30 Ulrich Drepper <drepper@gmail.com>
20808
41fce8bd
UD
20809 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20810 (libc.pot): Work around missing support for .ksh extension in xgettext.
20811
4769ae77
UD
20812 [BZ #12684]
20813 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20814 if both request failed.
20815 (send_dg): In case of server errors clear resplen or *resplen2.
20816
6b1e7d19
UD
20817 [BZ #12454]
20818 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20819 when there are multiple maps.
20820 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20821 (_dl_fini): Remove test here.
20822
01f16ab0
UD
20823 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20824
b1ebd700
UD
208252011-05-29 Ulrich Drepper <drepper@gmail.com>
20826
7ae22829
UD
20827 [BZ #12350]
20828 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20829 bit from old_res_options.
20830 (gaih_inet): Likewise.
20831
553149f6 20832 [BZ #11099]
18a84741 20833 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20834 as signed.
20835
652ffab1
UD
20836 * resolv/res_init.c (res_setoptions): Make the code more compact.
20837
16985fd0
UD
20838 [BZ #11558]
20839 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20840 set RES_USEVC.
20841
0464f746
UD
20842 [BZ #11634]
20843 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20844
7d17596c
UD
20845 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20846
cf6bbbd7
UD
20847 [BZ #11781]
20848 * malloc/malloc.h: Declare malloc hook variables as volatile.
20849
13f1ab36
UD
20850 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20851 in last patch.
20852
b1ebd700
UD
20853 [BZ #11799]
20854 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20855 raise in the comment.
80e2212d
UD
20856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20858 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20859
ce67228d
UD
208602011-05-28 Ulrich Drepper <drepper@gmail.com>
20861
8887a920
UD
20862 [BZ #12811]
20863 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20864 grow the buffers more if it already has to be sufficient.
20865 (build_wcs_upper_buffer): Likewise.
20866 * posix/regexec.c (check_matching): Likewise.
20867 (clean_state_log_if_needed): Likewise.
20868 (extend_buffers): Don't enlarge buffers beyond size of the input
20869 buffer.
20870 Patches mostly by Emil Wojak <emil@wojak.eu>.
20871 * posix/bug-regex32.c: New file.
20872 * posix/Makefile (tests): Add bug-regex32.
20873
4f031072
UD
20874 * locale/findlocale.c (_nl_find_locale): Return right away if
20875 _nl_explode_name failed.
20876 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20877
d0478f0c
UD
20878 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20879
de81b246
UD
20880 * debug/xtrace.sh: Unify messages.
20881 * malloc/memusage.sh: Likewise.
20882
c738465a
UD
20883 [BZ #12813]
20884 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20885 time symbol from vDSO. Substitute with vsyscall if not available.
20886 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20887 __vdso_time.
20888
f1f929d7
UD
20889 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20890 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20891 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20892 Add sendmmsg and internal_sendmmsg.
20893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20894 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20896
ce67228d
UD
20897 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20898 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20900
e57420c6
UD
209012011-05-27 Ulrich Drepper <drepper@gmail.com>
20902
a8509ca5
UD
20903 [BZ #12813]
20904 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20905 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20906 available.
20907 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20908 __vdso_getcpu.
20909
e57420c6
UD
20910 [BZ #12814]
20911 * iconvdata/Makefile (tests): Add bug-iconv9.
20912 * iconvdata/bug-iconv9.c: New file.
20913
4d07db15
AS
209142011-05-27 Andreas Schwab <schwab@redhat.com>
20915
20916 [BZ #12814]
20917 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20918
ea486f69
JJ
209192011-05-25 Jakub Jelinek <jakub@redhat.com>
20920
20921 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20922 (struct user_regs_struct): Change intcs field back to cs.
20923
6f038433
UD
209242011-05-25 Ulrich Drepper <drepper@gmail.com>
20925
20926 * po/ja.po: Update from translation team.
20927
67f86a25
UD
209282011-05-23 Ulrich Drepper <drepper@gmail.com>
20929
20930 [BZ #12795]
20931 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20932 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20933
def7fbd6
AS
209342011-05-20 Andreas Schwab <schwab@redhat.com>
20935
20936 * stdlib/longlong.h: Update from GCC.
20937
f50ef8f1
AS
209382011-05-23 Andreas Schwab <schwab@redhat.com>
20939
20940 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20941 parameter name.
20942 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20943 Add parameter name.
20944 (__sysconf): Pass it down.
20945
de7ce8f1
UD
209462011-05-22 Ulrich Drepper <drepper@gmail.com>
20947
f2962a71
UD
20948 [BZ #12671]
20949 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20950 some situations.
20951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20952 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20953 add in in __libc_use_alloca calls. Adjust callers.
20954 (glob): Use malloc in some situations.
20955
de7ce8f1
UD
20956 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20957 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20958 pltexit.
20959
aec84f53
UD
209602011-05-21 Ulrich Drepper <drepper@gmail.com>
20961
05bb4a68
UD
20962 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20963 and CLOCK_BOOTTIME_ALARM.
20964
7ea72f99
UD
20965 [BZ #12782]
20966 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20967 is returned.
20968
7e4afad5
UD
20969 * string/_strerror.c (__strerror_r): Print negative errors as signed
20970 numbers.
20971
8e211fec
UD
20972 [BZ #12777]
20973 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20974 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20975 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20976
f7d82dc9
UD
20977 * configure.in: Fix typo in redirection and correct removal of test
20978 files in two cases.
20979
cc9e536d
UD
20980 [BZ #12788]
20981 * locale/setlocale.c (new_composite_name): Fix test to check for
20982 identical name of all categories.
20983
aec84f53
UD
20984 [BZ #12792]
20985 * libio/filedoalloc.c (local_isatty): New function.
20986 (_IO_file_doallocate): Use local_isatty.
20987 * stdio-common/perror.c (perror): In case a new stream is used
20988 forward the stream error.
20989 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20990 error flag.
20991
78e64fdc
RT
209922011-05-20 Ulrich Drepper <drepper@gmail.com>
20993
34a9094f
UD
20994 [BZ #11869]
20995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20996 alloca.
20997 * include/alloca.h (extend_alloca_account): Define.
20998
78e64fdc
RT
20999 [BZ #11857]
21000 * posix/regex.h: Fix comments with documentation of user-accessible
21001 fields after compilation and describe correct free'ing of pattern
21002 after re_compile_pattern.
21003 Patch by Reuben Thomas <rrt@sc3d.org>.
21004
457bddfc
RA
210052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21006
21007 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21008 and -mno-altivec to prevent the compiler from using Altivec and/or
21009 VSX instructions when the corresponding registers are not available.
21010
a4527b51
AS
210112011-05-19 Andreas Schwab <schwab@redhat.com>
21012
21013 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21014
ed690b2f
UD
210152011-05-19 Ulrich Drepper <drepper@gmail.com>
21016
21017 * libio/freopen.c (freopen): Use __dup2, not dup2.
21018 * libio/freopen64.c (freopen64): Likewise.
21019
8db73634
L
210202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21021
21022 [BZ #12775]
21023 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21024 * math/Makefile (tests): Add test-powl.
21025 (CFLAGS-test-powl.c): Define.
21026 * math/test-powl.c: New file.
21027
0a197a9d
L
210282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21029
21030 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21031
ee30c380
UD
210322011-05-17 Ulrich Drepper <drepper@gmail.com>
21033
21034 [BZ #11837]
21035 * iconvdata/gb18030.c: Update to GB18020-2005.
21036
6ce75379
UD
210372011-05-16 Ulrich Drepper <drepper@gmail.com>
21038
a4b89fd8
AR
21039 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21040 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21041 Patch by Aharon Robbins <arnold@skeeve.com>.
21042
ea389b12
UD
21043 [BZ #11892]
21044 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21045 on the stack.
21046
68a3f91f
UD
21047 [BZ #11895]
21048 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21049 through underflows.
21050
15cc7dd1
UD
21051 [BZ #12766]
21052 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21053 point to strings before performing equality test for error_one_per_line
21054 mode.
21055
f3799213
UD
21056 [BZ #11697]
21057 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21058
d79a9c94
UD
21059 [BZ #11820]
21060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21061 (struct user_fpregs_struct): Avoid __uint*_t types.
21062
56e5eb46
UD
21063 [BZ #6420]
21064 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21065 symbol info. Use it instead of calling _dl_addr locally.
21066 (lock_and_info): New function.
21067 (tr_freehook): Call lock_and_info and pass symbol info as additional
21068 parameter to tr_where.
21069 (tr_mallochook): Likewise.
21070 (tr_reallochook): Likewise.
21071 (tr_memalignhook): Likewise.
21072
6ce75379
UD
21073 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21074 used and couldn't be at all thread-safe.
21075
f8a3b5bf
UD
210762011-05-15 Ulrich Drepper <drepper@gmail.com>
21077
94b7cc37
UD
21078 * libio/freopen.c (freopen): Don't close old file descriptor
21079 before the new one is opened. Instead dup the new file descriptor
21080 to the old one after the new stream is created.
21081 * libio/freopen64.c (freopen64): Likewise.
21082 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21083 * libio/fileops.c (_IO_new_file_close_it): Handle new
21084 _IO_FLAGS2_NOCLOSE flag.
21085 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21086 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21087 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21088 _IO_FLAGS2_NOCLOSE flag.
21089 * include/unistd.h: Add hidden_proto for dup3.
21090 Define __have_dup3.
21091 * io/dup3.c: Define hidden symbol.
21092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21093
bd25564e
UD
21094 [BZ #7101]
21095 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21096 when an incomplete long option is used.
21097 * posix/tst-getopt_long1.c: New file.
21098 * posix/Makefile (tests): Add tst-getopt_long1.
21099
c84cfef4
UD
21100 [BZ #10138]
21101 * scripts/config.guess: Update from autoconf-2.68.
21102 * scripts/config.sub: Likewise.
21103
3b85df27
UD
21104 [BZ #10157]
21105 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21106 tests into ...
21107 (has_cpuclock): ...this. New function.
21108 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21109 macro here based on has_cpuclock code.
21110
15a856b1
UD
21111 [BZ #10149]
21112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21113 First byte (not low byte) is now always NUL.
21114 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21115
05f399e6
UD
21116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21117 Use non-cancelable interfaces.
21118
10a52685 21119 [BZ #9809]
94ecc67d
UD
21120 * locale/iso-639.def: Add entry for Sorani.
21121
f8a3b5bf
UD
21122 [BZ #11901]
21123 * include/stdlib.h: Move include protection to the right place.
21124 Define abort_msg_s. Declare __abort_msg with it.
21125 * stdlib/abort.c (__abort_msg): Adjust type.
21126 * assert/assert.c (__assert_fail_base): New function. Majority
21127 of code from __assert_fail. Allocate memory for __abort_msg with
21128 mmap.
21129 (__assert_fail): Now call __assert_fail_base.
21130 * assert/assert-perr.c: Remove bulk of implementation. Use
21131 __assert_fail_base.
21132 * include/assert.hL Declare __assert_fail_base.
21133 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21134 mmap.
21135 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21136
1af4e298
UD
211372011-05-14 Ulrich Drepper <drepper@gmail.com>
21138
f8a3b5bf 21139 [BZ #11952]
d26dfc60
MG
21140 [BZ #12453]
21141 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21142 until all modules are registered in the DTV.
21143 * elf/Makefile: Add rules to build and run tst-tls19.
21144 * elf/tst-tls19.c: New file.
21145 * elf/tst-tls19mod1.c: New file.
21146 * elf/tst-tls19mod2.c: New file.
21147 * elf/tst-tls19mod3.c: New file.
21148 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21149
2fc54d6f
UD
21150 [BZ #12083]
21151 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21152 correctly.
21153
98d76b46
UD
21154 [BZ #12601]
21155 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21156 two-byte sequence errors.
21157 * iconvdata/Makefile (tests): Add bug-iconv8.
21158 * iconvdata/bug-iconv8.c: New file.
21159
da3c19ef
UD
21160 [BZ #12626]
21161 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21162 buf2 definition.
21163
ca408c15
UD
21164 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21165
d6f67f7d
UD
21166 [BZ #12432]
21167 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21168 (dummy_getcfa): New function.
21169 (init): Get _Unwind_GetCFA address, use dummy if not found.
21170 (backtrace_helper): In recursion check, also check whether CFA changes.
21171 (__backtrace): Completely initialize arg.
21172
1af4e298 21173 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
21174 storing incomplete byte sequence in state object. Avoid testing for
21175 guaranteed too small input if we know there is enough data available.
1af4e298 21176
da62f81b
AS
211772011-05-11 Andreas Schwab <schwab@redhat.com>
21178
21179 * Makeconfig (+link-pie): Indent.
21180 * Rules (binaries-pie): Define if $(have-fpie) and
21181 $(build-shared).
21182 (binaries-shared): Also filter out $(binaries-pie).
21183 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21184 * nscd/Makefile (others-pie): Add nscd.
21185 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21186 ($(objpfx)nscd): Remove command override.
21187 * login/Makefile (others-pie): Add pt_chown.
21188 ($(objpfx)pt_chown): Remove command override.
21189 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21190 remove command overrides.
21191
fcabc0f8
UD
211922011-05-13 Ulrich Drepper <drepper@gmail.com>
21193
20030ae6
UD
21194 * libio/tst_putwc.c: Fix error messages.
21195
fcabc0f8
UD
21196 [BZ #12724]
21197 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21198 currently writing and seek to current position when not.
21199 * libio/Makefile (tests): Add bug-fclose1.
21200 * libio/bug-fclose1.c: New file.
21201
320a5dc0
PB
212022011-05-12 Ulrich Drepper <drepper@gmail.com>
21203
21204 [BZ #12511]
21205 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21206 don't set DF_1_NODELETE here.
21207 (do_lookup_x): When entering new entry test for copy relocation
21208 and if necessary set DF_1_NODELETE flag.
21209 * elf/tst-unique4.cc: New file.
21210 * elf/tst-unique4.h: New file.
21211 * elf/tst-unique4lib.cc: New file.
21212 * elf/Makefile: Add rules to build and run tst-unique4.
21213 Patch by Piotr Bury <pbury@goahead.com>.
21214
22836f52
UD
212152011-05-11 Ulrich Drepper <drepper@gmail.com>
21216
f574184a
UD
21217 [BZ #12052]
21218 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21219
e1fb097f
UD
21220 [BZ #12625]
21221 * misc/mntent_r.c (addmntent): Flush the stream after the output
21222
22836f52
UD
21223 [BZ #12393]
21224 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21225 (is_trusted_path_normalize): Skip initial colon. Append slash
21226 to empty buffer. Duplicate is_trusted_path code but allow
21227 constructed patch to be prefix.
21228 (is_dst): Allow $ORIGIN followed by /.
21229 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21230 Correct testing of result of is_trusted_path_normalize
21231 (decompose_rpath): Fix warning.
21232
7b3b0b2a
UD
212332011-05-10 Ulrich Drepper <drepper@gmail.com>
21234
21235 [BZ #11257]
21236 * grp/initgroups.c (internal_getgrouplist): When we found the service
21237 list through the initgroups entry in nsswitch.conf do not always
21238 continue on a successful lookup. Don't always use the
eac80ce2 21239 __nss_group_database value if it is set.
7b3b0b2a
UD
21240 * nss/nsswitch.conf (initgroups): Change action for successful db
21241 lookup to continue for compatibility.
21242
2a81eaa5
UD
212432011-05-09 Ulrich Drepper <drepper@gmail.com>
21244
be97a69e
UD
21245 [BZ #11532]
21246 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21247 and CP774 modules.
21248 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21249 and CP774 modules.
21250 * iconvdata/tst-tables.sh: Likewise.
21251 * iconvdata/cp770.c: New file.
21252 * iconvdata/cp771.c: New file.
21253 * iconvdata/cp772.c: New file.
21254 * iconvdata/cp773.c: New file.
21255 * iconvdata/cp774.c: New file.
21256 * iconvdata/testdata/CP770: New file.
21257 * iconvdata/testdata/CP770..UTF8: New file.
21258 * iconvdata/testdata/CP771: New file.
21259 * iconvdata/testdata/CP771..UTF8: New file.
21260 * iconvdata/testdata/CP772: New file.
21261 * iconvdata/testdata/CP772..UTF8: New file.
21262 * iconvdata/testdata/CP773: New file.
21263 * iconvdata/testdata/CP773..UTF8: New file.
21264 * iconvdata/testdata/CP774: New file.
21265 * iconvdata/testdata/CP774..UTF8: New file.
21266
21267 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21268 END CHARMAP line.
21269 * iconvdata/gen-8bit-gap.sh: Likewise.
21270 * iconvdata/gen-8bit.sh: Likewise.
21271
c1e9e399
UD
21272 * locale/iso-639.def: Add ary entry.
21273
24c55fb3 21274 [BZ #11258]
96b4b1b0
UD
21275 * locale/C-translit.h.in: Add U20A1 transliteration.
21276
bdc2f971
KB
21277 [BZ #12178]
21278 * locale/iso-639.def: Add wae entry.
21279 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21280
2952b117
UD
21281 [BZ #12545]
21282 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21283 for n.
21284
2a81eaa5
UD
21285 [BZ #12711]
21286 * locale/C-translit.h.in: Add entry for U20B9.
21287 Patch by pravin.d.s@gmail.com.
21288
28377d1b
UD
212892011-05-08 Ulrich Drepper <drepper@gmail.com>
21290
7fb90fb8
UD
21291 [BZ #12713]
21292 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21293 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
21294 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21295 in rtld. Use *stat64.
7fb90fb8 21296 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 21297 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 21298 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
21299 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21300 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21301 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21302 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21303 __fstatat64 macros.
7fb90fb8
UD
21304 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21305 * dirent/rewinddir.c: Add libc_hidden_def.
21306 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 21307 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 21308
28377d1b
UD
21309 * include/dirent.h (__alloc_dir): Add flags parameter.
21310 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21311 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21312 __alloc_dir.
21313 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21314 from fdopendir if O_CLOEXEC is already set.
21315
66bdbaa4
AM
213162011-03-15 Alan Modra <amodra@gmail.com>
21317
21318 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21319 l_tls_firstbyte_offset non-zero. Save padding offset in
21320 l_tls_firstbyte_offset for later use.
21321 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21322 freeing static tls block.
21323
95721191
JN
213242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21325
21326 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21327 where #ifdef was intended. The intent is to prevent ARG_MAX from
21328 being defined by the kernel headers.
21329
f87dfb1f
UD
213302011-05-07 Ulrich Drepper <drepper@gmail.com>
21331
21332 [BZ #12734]
21333 * resolv/resolv.h: Define RES_NOTLDQUERY.
21334 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21335 no-tld-query and set RES_NOTLDQUERY.
21336 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21337 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21338 modern BIND to search name as TLD unless forbidden.
21339
47c3cd7a
UD
213402011-05-07 Petr Baudis <pasky@suse.cz>
21341 Ulrich Drepper <drepper@gmail.com>
21342
21343 [BZ #12393]
21344 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21345 (is_trusted_path): ...to here.
c1e9ea35 21346 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 21347 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 21348 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 21349
8a35c912
PP
213502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21351
21352 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21353 __BEGIN/__END_DECLS.
21354
acd41f47
UD
213552011-05-06 Ulrich Drepper <drepper@gmail.com>
21356
21357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21358 NSS_STATUS_NOTFOUND if no record was found.
21359
597df647
AS
213602011-05-05 Andreas Schwab <schwab@redhat.com>
21361
21362 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21363 (headers-not-in-tirpc): Remove rpc/netdb.h
21364 * resolv/netdb.h: Revert last change.
21365
b9af1301
PP
213662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21367
21368 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21369 circular dependency between libgcc.a and libc.a.
21370
4e34d5f5
AS
213712011-05-05 Andreas Schwab <schwab@redhat.com>
21372
21373 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21374 * nis/Makefile: Don't install rpcsvc/*.
21375 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21376 instead of <rpc/types.h>.
21377 (MAXHOSTNAMELEN): Define.
21378
00ee369c
AS
213792011-05-03 Andreas Schwab <schwab@redhat.com>
21380
21381 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21382
0b592a30
MB
213832011-04-28 Maciej Babinski <mbabinski@google.com>
21384
21385 [BZ #12714]
21386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21387 gethostbyname4_r when IPv6 results are possible.
21388
6e04cbbe
UD
213892011-05-02 Ulrich Drepper <drepper@gmail.com>
21390
21391 [BZ #12723]
21392 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21393 _PC_PIPE_BUF handling.
21394
e4ecafe0
BH
213952011-04-30 Bruno Haible <bruno@clisp.org>
21396
21397 [BZ #12717]
21398 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21399 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21400 to 'int'.
21401 * inet/getnameinfo.c (getnameinfo): Likewise.
21402
125ee683
UD
214032011-04-29 Ulrich Drepper <drepper@gmail.com>
21404
21405 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21406 to groups setting in database lookup.
21407 * nss/nsswitch.conf: Add initgroups entry.
21408
b722481a
EB
214092011-04-22 Ulrich Drepper <drepper@gmail.com>
21410
21411 [BZ #12685]
21412 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21413 mode string.
21414 Patch by Eric Blake <eblake@redhat.com>.
21415
4df46dbd
L
214162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21417
21418 * sunrpc/Makefile (need-export-routines): Add svc_run.
21419 (routines): Remove svc_run.
21420 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21421 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21422 * sunrpc/svc_run.c (svc_run): Likewise.
21423 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21424
e84142d2
UD
214252011-04-21 Ulrich Drepper <drepper@gmail.com>
21426
21427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21428 problem in reallocation in last patch.
21429
877175d8
UD
214302011-04-20 Ulrich Drepper <drepper@gmail.com>
21431
21432 * sunrpc/Makefile: Move inclusion of Rules.
21433
ab8eed78
UD
214342011-04-19 Ulrich Drepper <drepper@gmail.com>
21435
21436 * nss/nss_files/files-initgroups.c: New file.
21437 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21438 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21439 _nss_files_initgroups_dyn.
21440
e3d8f584
RS
214412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21442
21443 * elf/elf.h (R_ARM_IRELATIVE): Define.
21444
af190f45
UD
214452011-04-19 Ulrich Drepper <drepper@gmail.com>
21446
21447 * po/ru.po: Update from translation team.
21448
53cf59ef
UD
214492011-04-17 Ulrich Drepper <drepper@gmail.com>
21450
21451 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21452 dependencies.
21453
4c559bcd
MF
214542011-02-06 Mike Frysinger <vapier@gentoo.org>
21455
21456 [BZ #12653]
21457 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21458 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21459 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21460 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21462
4420675c
AS
214632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21464
21465 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21466 differing bytes.
21467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21469 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21470
75ea32ab
UD
214712011-04-17 Ulrich Drepper <drepper@gmail.com>
21472
21473 [BZ #12420]
21474 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21475 storing it.
21476 * stdlib/bug-getcontext.c: New file.
21477 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21478
27390476
AK
214792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21480
21481 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21482 instructions into .machine "z9-109".
21483 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21484 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21485
10442705
AK
214862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21487
21488 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21489 between environment variables and auxiliary vector.
21490
7b57bfe5
UD
214912011-04-16 Ulrich Drepper <drepper@gmail.com>
21492
21493 * Makefile: Add rules to build linkobj/libc.so.
21494 * include/libc-symbols.h: Define libc_hidden_nolink.
21495 * include/rpc/auth.h: Mark functions which are to be hidden.
21496 * include/rpc/auth_des.h: Likewise.
21497 * include/rpc/auth_unix.h: Likewise.
21498 * include/rpc/clnt.h: Likewise.
21499 * include/rpc/des_crypt.h: Likewise.
21500 * include/rpc/key_prot.h: Likewise.
21501 * include/rpc/pmap_clnt.h: Likewise.
21502 * include/rpc/pmap_prot.h: Likewise.
21503 * include/rpc/pmap_rmt.h: Likewise.
21504 * include/rpc/rpc_msg.h: Likewise.
21505 * include/rpc/svc.h: Likewise.
21506 * include/rpc/svc_auth.h: Likewise.
21507 * include/rpc/xdr.h: Likewise.
21508 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21509 * nss/Makefile: Likewise.
21510 * sunrpc/Makefile: Don't install headers. Build library with normal
21511 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21512 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21513 for the compat linking library. Remove use of INTDEF/INTUSE.
21514 * sunrpc/auth_none.c: Likewise.
21515 * sunrpc/auth_unix.c: Likewise.
21516 * sunrpc/authdes_prot.c: Likewise.
21517 * sunrpc/authuxprot.c: Likewise.
21518 * sunrpc/clnt_gen.c: Likewise.
21519 * sunrpc/clnt_perr.c: Likewise.
21520 * sunrpc/clnt_raw.c: Likewise.
21521 * sunrpc/clnt_simp.c: Likewise.
21522 * sunrpc/clnt_tcp.c: Likewise.
21523 * sunrpc/clnt_udp.c: Likewise.
21524 * sunrpc/clnt_unix.c: Likewise.
21525 * sunrpc/des_crypt.c: Likewise.
21526 * sunrpc/des_soft.c: Likewise.
21527 * sunrpc/get_myaddr.c: Likewise.
21528 * sunrpc/key_call.c: Likewise.
21529 * sunrpc/key_prot.c: Likewise.
21530 * sunrpc/netname.c: Likewise.
21531 * sunrpc/pm_getmaps.c: Likewise.
21532 * sunrpc/pm_getport.c: Likewise.
21533 * sunrpc/pmap_clnt.c: Likewise.
21534 * sunrpc/pmap_prot.c: Likewise.
21535 * sunrpc/pmap_prot2.c: Likewise.
21536 * sunrpc/pmap_rmt.c: Likewise.
21537 * sunrpc/publickey.c: Likewise.
21538 * sunrpc/rpc_cmsg.c: Likewise.
21539 * sunrpc/rpc_common.c: Likewise.
21540 * sunrpc/rpc_dtable.c: Likewise.
21541 * sunrpc/rpc_prot.c: Likewise.
21542 * sunrpc/rpc_thread.c: Likewise.
21543 * sunrpc/rtime.c: Likewise.
21544 * sunrpc/svc.c: Likewise.
21545 * sunrpc/svc_auth.c: Likewise.
21546 * sunrpc/svc_authux.c: Likewise.
21547 * sunrpc/svc_raw.c: Likewise.
21548 * sunrpc/svc_run.c: Likewise.
21549 * sunrpc/svc_simple.c: Likewise.
21550 * sunrpc/svc_tcp.c: Likewise.
21551 * sunrpc/svc_udp.c: Likewise.
21552 * sunrpc/svc_unix.c: Likewise.
21553 * sunrpc/svcauth_des.c: Likewise.
21554 * sunrpc/xcrypt.c: Likewise.
21555 * sunrpc/xdr.c: Likewise.
21556 * sunrpc/xdr_array.c: Likewise.
21557 * sunrpc/xdr_float.c: Likewise.
21558 * sunrpc/xdr_intXX_t.c: Likewise.
21559 * sunrpc/xdr_mem.c: Likewise.
21560 * sunrpc/xdr_rec.c: Likewise.
21561 * sunrpc/xdr_ref.c: Likewise.
21562 * sunrpc/xdr_sizeof.c: Likewise.
21563 * sunrpc/xdr_stdio.c: Likewise.
21564
e6c61494
UD
215652011-04-10 Ulrich Drepper <drepper@gmail.com>
21566
21567 [BZ #12650]
21568 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21569 * sysdeps/ia64/dl-tls.h: Likewise.
21570 * sysdeps/powerpc/dl-tls.h: Likewise.
21571 * sysdeps/s390/dl-tls.h: Likewise.
21572 * sysdeps/sh/dl-tls.h: Likewise.
21573 * sysdeps/sparc/dl-tls.h: Likewise.
21574 * sysdeps/x86_64/dl-tls.h: Likewise.
21575 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21576
34fe483e
AS
215772011-03-14 Andreas Schwab <schwab@redhat.com>
21578
21579 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21580 rpath element also skip the following colon.
21581 (expand_dynamic_string_token): Add is_path parameter and pass
21582 down to DL_DST_REQUIRED and _dl_dst_substitute.
21583 (decompose_rpath): Call expand_dynamic_string_token with
21584 non-zero is_path. Ignore empty rpaths.
21585 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21586 with zero is_path.
21587
f12a32e6
AS
215882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21589
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21591 Make cancelable.
21592
38a7d692
UD
215932011-04-09 Ulrich Drepper <drepper@gmail.com>
21594
21595 [BZ #12655]
21596 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21597 Patch by Filipe David Manana <fdmanana@apache.org>.
21598
e451d22b
AS
215992011-04-07 Andreas Schwab <schwab@redhat.com>
21600
21601 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21602 Maintain aligned stack.
21603 (CHECK_RSP): Remove unused macro.
21604
dedc7c7b
UD
216052011-04-03 Ulrich Drepper <drepper@gmail.com>
21606
21607 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21608 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21609
94521213
UD
216102011-04-02 Ulrich Drepper <drepper@gmail.com>
21611
21612 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21613
8cb700c0 21614 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21615
0354e355
L
216162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21617
21618 [BZ #12518]
21619 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21620 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21621 * sysdeps/x86_64/memmove.c: New file.
21622 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21623 (memcpy): Renamed to ...
21624 (__new_memcpy): This.
21625 (memcpy): Provide GLIBC_2_14 memcpy.
21626 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21627 (memcpy): Provide GLIBC_2_2_5 memcpy.
21628
8593482f
UD
216292011-04-01 Ulrich Drepper <drepper@gmail.com>
21630
21631 [BZ #12631]
21632 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21633
81a5726b
AS
216342011-03-30 Andreas Schwab <schwab@redhat.com>
21635
21636 * misc/syncfs.c: New file.
21637 * misc/Makefile (routines): Add syncfs.
21638 * posix/unistd.h: Declare syncfs.
21639 * sysdeps/unix/syscalls.list: Add syncfs.
21640
00e5419f
AS
216412011-04-01 Andreas Schwab <schwab@redhat.com>
21642
21643 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21644 open_by_handle_at.
21645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21646 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21650 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21652
748876bf
UD
216532011-04-01 Ulrich Drepper <drepper@gmail.com>
21654
658e451d
UD
21655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21656 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21657 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21662
748876bf
UD
21663 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21664 sync_file_range.c with -fexceptions.
21665 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21666 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21667 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21668 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21669 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21670 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21672 sync_file_range as cancellation point
21673 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21674 now a wrapper around __call_sync_file_range with cancellation handling.
21675 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21676 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21677 function name to __call_sync_file_range.
21678 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21679 Add call_sync_file_range.
748876bf 21680
6e63d5e1
AS
216812011-04-01 Andreas Schwab <schwab@redhat.com>
21682
21683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21684 bits/timex.h.
6e63d5e1 21685
46998f74
UD
216862011-04-01 Ulrich Drepper <drepper@gmail.com>
21687
4c1423ed
UD
21688 * iconv/iconv.h: Fix typo in comment.
21689 * io/fcntl.h: Likewise.
21690 * libio/stdio.h: Likewise.
21691 * posix/spawn.h: Likewise.
21692 * posix/unistd.h: Likewise.
21693 * stdlib/stdlib.h: Likewise.
21694 * time/time.h: Likewise.
21695 * wcsmbs/wchar.h: Likewise.
21696
158648c0
UD
21697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21698 open_by_handle): Add.
21699 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21700 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21701 Augment a few comments.
21702 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21703 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21707 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21708 open_by_handle.
21709
46998f74
UD
21710 * io/fcntl.h (AT_EMPTY_PATH): Define.
21711
83fe108b
UD
217122011-03-30 Ulrich Drepper <drepper@gmail.com>
21713
21714 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21715 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21716 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21717 to...
21718 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21719 * Versions.def: Add GLIBC_2.14.
21720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21721 Export.
83fe108b 21722
bb242059
UD
217232011-03-22 Ulrich Drepper <drepper@gmail.com>
21724
21725 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21726 round counter.
21727 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21728
c97a1282
L
217292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21730
21731 [BZ #12597]
21732 * string/test-strncmp.c (do_page_test): New function.
21733 (check2): Likewise.
21734 (test_main): Call check2.
21735 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21736
2a115601
UD
217372011-03-20 Ulrich Drepper <drepper@gmail.com>
21738
21739 [BZ #12587]
21740 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21741 Handle cache information in CPU leaf 4.
21742 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21743
8126d904
UD
217442011-03-18 Ulrich Drepper <drepper@gmail.com>
21745
042c49c6 21746 [BZ #12583]
8126d904
UD
21747 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21748 character representation.
21749 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21750
ccfe366e
RA
217512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21752
21753 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21754 END(__isnan) to END(__isnanf) to match function entry point/label
21755 EALIGN(__isnanf,...).
21756
c6e13027
JJ
217572011-03-10 Jakub Jelinek <jakub@redhat.com>
21758
21759 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21760
33f85a3f
UD
217612011-03-10 Ulrich Drepper <drepper@gmail.com>
21762
028478fa
UD
21763 [BZ #12510]
21764 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21765 copy from the symbol referenced in the relocation to initialize the
21766 used variable.
21767 Patch by Piotr Bury <pbury@goahead.com>.
21768 * elf/Makefile: Add rules to build and tst-unique3.
21769 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21770 * elf/tst-unique3.cc: New file.
21771 * elf/tst-unique3.h: New file.
21772 * elf/tst-unique3lib.cc: New file.
21773 * elf/tst-unique3lib2.cc: New file.
21774
33f85a3f
UD
21775 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21776
03592fc7
MF
217772011-03-10 Mike Frysinger <vapier@gentoo.org>
21778
21779 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21780 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21781 to _start.
03592fc7 21782
6a5ee102
UD
217832011-03-06 Ulrich Drepper <drepper@gmail.com>
21784
21785 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21786 to-be-loaded object along a path to loader is ld.so.
21787
7e4ba49c
HJ
217882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21789 Ulrich Drepper <drepper@gmail.com>
21790
21791 * sysdeps/x86_64/memset.S: After aligning destination, code
21792 branches to different locations depending on the value of
21793 misalignment, when multiarch is enabled. Fix this.
21794
217952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21796
21797 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21798 Set _x86_64_preferred_memory_instruction for AMD processsors.
21799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21800 Set bit_Prefer_SSE_for_memop for AMD processors.
21801
13a804de
UD
218022011-03-04 Ulrich Drepper <drepper@gmail.com>
21803
21804 * libio/fmemopen.c (fmemopen): Optimize a bit.
21805
9d25c392
AS
218062011-03-03 Andreas Schwab <schwab@redhat.com>
21807
21808 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21809
a5543c6a
RM
218102011-03-03 Roland McGrath <roland@redhat.com>
21811
21812 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21813
012d35f7
DM
218142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21815
7e4ba49c 21816 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21817 __bzero_ultra1 instead of __memset_ultra1.
21818
4bff6e01
AS
218192011-02-23 Andreas Schwab <schwab@redhat.com>
21820 Ulrich Drepper <drepper@gmail.com>
21821
21822 [BZ #12509]
21823 * include/link.h (struct link_map): Add l_orig_initfini.
21824 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21825 returning unsuccessfully.
21826 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21827 close of a file loaded at startup, restore the original l_initfini
21828 list.
21829 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21830 list, store the pointer.
21831 * elf/Makefile ($(objpfx)noload-mem): New rule.
21832 (noload-ENV): Define.
21833 (tests): Add $(objpfx)noload-mem.
21834 * elf/noload.c: Include <memcheck.h>.
21835 (main): Call mtrace. Close all opened handles.
21836
f2092faf
AS
218372011-02-17 Andreas Schwab <schwab@redhat.com>
21838
21839 [BZ #12454]
21840 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21841 dependencies are missing.
21842
6c8a2e88
ST
218432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21844
f2092faf 21845 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21846 Hurd needs munmap.
21847 * sysdeps/mach/hurd/ifreq.h: New file.
21848
84a42118
PB
218492011-01-27 Petr Baudis <pasky@suse.cz>
21850 Ulrich Drepper <drepper@gmail.com>
21851
071f805e 21852 [BZ 12445]#
84a42118
PB
21853 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21854 to extend_alloca().
21855 * stdio-common/bug23.c: New file.
21856 * stdio-common/Makefile (tests): Add bug23.
21857
e23fe25b
AS
218582010-09-28 Andreas Schwab <schwab@redhat.com>
21859 Ulrich Drepper <drepper@gmail.com>
21860
21861 [BZ #12489]
21862 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21863 before performing relro protection. At old place add assertion
21864 to make sure nothing changed.
21865
d3f02e10
NS
218662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21867 Glauber de Oliveira Costa <glommer@gmail.com>
21868
21869 * elf/elf.h: Add new ARM TLS relocs.
21870
d55fd7a5
RA
218712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21872
21873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21874 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21875 cast from r3.
21876 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21877 'tests' variable.
21878 * sysdeps/wordsize-64/tst-writev.c: New file.
21879
2206397e
RA
218802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21881
21882 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21883 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21884 insns in _dl_start to prevent a TOC reference before relocs are
21885 resolved.
21886
e9433893
UD
218872011-02-15 Ulrich Drepper <drepper@gmail.com>
21888
21889 [BZ #12469]
21890 * Makeconfig: Remove RANLIB definition.
21891 * Makerules: Don't use RANLIB.
21892 * aclocal.m4: Remove ranlib test.
21893 * configure.in: No need to check for ranlib.
21894 * elf/rtld-Rules: Don't use RANLIB.
21895
f75286c6
ST
218962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21897
8e31c82d
ST
21898 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21899 protection macro.
21900 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21901 inclusion protection macro.
21902
f75286c6
ST
21903 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21904 SIGRTMIN and SIGRTMAX and print information in that case only when
21905 SIGRTMIN is defined.
21906
c1d0e639
JJ
219072011-02-11 Jakub Jelinek <jakub@redhat.com>
21908
21909 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21910 arginfo fn returning -1.
21911
21912 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21913 and thousands string is zero terminated.
21914
edf9294e
AS
219152011-02-03 Andreas Schwab <schwab@redhat.com>
21916
21917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21918 sysdeps/unix/sysv/linux/bits/socket.h.
21919
2b7e92df
ST
219202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21921
edf9294e
AS
21922 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21923 (__CPU_COUNT): Remove old macros.
21924 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21925 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21926 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21927 (__sched_cpualloc, __sched_cpufree): Add declarations.
21928
a4c7ea7b
UD
219292011-02-05 Ulrich Drepper <drepper@gmail.com>
21930
21931 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21932 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21933 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21934 (readdhstai): Return value of addhstaiX call.
21935 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21936 (addgrbyX): Return value returned by cache_addgr.
21937 (readdgrbyname): Return value returned by addgrbyX.
21938 (readdgrbygid): Likewise.
21939 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21940 (addpwbyX): Return value returned by cache_addpw.
21941 (readdpwbyname): Return value returned by addhstbyX.
21942 (readdpwbyuid): Likewise.
21943 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21944 (addservbyX): Return value returned by cache_addserv.
21945 (readdservbyname): Return value returned by addservbyX:
21946 (readdservbyport): Likewise.
21947 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21948 (addhstbyX): Return value returned by cache_addhst.
21949 (readdhstbyname): Return value returned by addhstbyX.
21950 (readdhstbyaddr): Likewise.
21951 (readdhstbynamev6): Likewise.
21952 (readdhstbyaddrv6): Likewise.
21953 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21954 (readdinitgroups): Return value returned by addinitgroupsX.
21955 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21956 (prune_cache): Keep track of timeout value of re-added entries.
21957 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21958 * nscd/nscd.h: Adjust prototypes of readd* functions.
21959
a0bf67cc
RM
219602011-02-04 Roland McGrath <roland@redhat.com>
21961
21962 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21963 (nis_stats): Likewise.
21964 * nis/nis_modify.c (nis_modify): Likewise.
21965 * nis/nis_remove.c (nis_remove): Likewise.
21966 * nis/nis_add.c (nis_add): Likewise.
21967
21968 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21969
21970 * posix/fnmatch_loop.c: Add some consts.
21971
21972 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21973
435b95eb
L
219742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21975
21976 [BZ #12460]
21977 * config.make.in (config-cflags-novzeroupper): Define.
21978 * configure.in: Substitute libc_cv_cc_novzeroupper.
21979 * elf/Makefile (AVX-CFLAGS): Define.
21980 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21981 (CFLAGS-tst-auditmod4a.c): Likewise.
21982 (CFLAGS-tst-auditmod4b.c): Likewise.
21983 (CFLAGS-tst-auditmod6b.c): Likewise.
21984 (CFLAGS-tst-auditmod6c.c): Likewise.
21985 (CFLAGS-tst-auditmod7b.c): Likewise.
21986 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21987
8517b15e
UD
219882011-02-02 Ulrich Drepper <drepper@gmail.com>
21989
21990 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21991 function to the callback.
21992 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21993
10a656fe
AS
219942011-02-02 Andreas Schwab <schwab@redhat.com>
21995
21996 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21997 of errno.
21998
968dad0a
UD
219992011-01-19 Ulrich Drepper <drepper@gmail.com>
22000
9f94d2ea 22001 [BZ #11724]
968dad0a
UD
22002 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22003 of constructors.
22004 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22005 of destructors.
22006 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22007
22008 [BZ #11724]
22009 * elf/Makefile: Add rules to build and run new test.
22010 * elf/tst-initorder.c: New file.
22011 * elf/tst-initorder.exp: New file.
22012 * elf/tst-initordera1.c: New file.
22013 * elf/tst-initordera2.c: New file.
22014 * elf/tst-initordera3.c: New file.
22015 * elf/tst-initordera4.c: New file.
22016 * elf/tst-initorderb1.c: New file.
22017 * elf/tst-initorderb2.c: New file.
22018 * elf/tst-order-a1.c: New file.
22019 * elf/tst-order-a2.c: New file.
22020 * elf/tst-order-a3.c: New file.
22021 * elf/tst-order-a4.c: New file.
22022 * elf/tst-order-b1.c: New file.
22023 * elf/tst-order-b2.c: New file.
22024 * elf/tst-order-main.c: New file.
22025 New test case by George Gensure <werkt0@gmail.com>.
22026
86e92359
UD
220272010-10-01 Andreas Schwab <schwab@redhat.com>
22028
22029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22030 decoding ACE if AI_CANONIDN.
22031
5d5732b0
UD
220322011-01-18 Ulrich Drepper <drepper@gmail.com>
22033
22034 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22035
a77e8cbc
UD
220362011-01-17 Ulrich Drepper <drepper@gmail.com>
22037
6392473f
UD
22038 * version.h (RELEASE): Bump for 2.13 release.
22039 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22040
620a0529
UD
22041 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22042
18ba70a5
UD
22043 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22044 MADV_NOHUGEPAGE.
32465c3e
UD
22045 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22049 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22050 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22051
c0dafcf1
UD
22052 * posix/getconf.c: Update copyright year.
22053 * catgets/gencat.c: Likewise.
22054 * csu/version.c: Likewise.
22055 * debug/catchsegv.sh: Likewise.
22056 * debug/xtrace.sh: Likewise.
22057 * elf/ldconfig.c: Likewise.
22058 * elf/ldd.bash.in: Likewise.
22059 * elf/sprof.c (print_version): Likewise.
22060 * iconv/iconv_prog.c: Likewise.
22061 * iconv/iconvconfig.c: Likewise.
22062 * locale/programs/locale.c: Likewise.
22063 * locale/programs/localedef.c: Likewise.
22064 * malloc/memusage.sh: Likewise.
22065 * malloc/mtrace.pl: Likewise.
22066 * nscd/nscd.c (print_version): Likewise.
22067 * nss/getent.c: Likewise.
22068
a77e8cbc
UD
22069 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22070 PF_CAIF, and PF_ALG.
22071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22072
77e8bddf
AS
220732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22074
1f20b93a
AS
22075 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22076 (modules-names): Use them.
22077 (ifunc-test-modules, ifunc-pie-tests): Define.
22078 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22079 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22080 (test-extras): Likewise.
22081 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22082 $(compile-command.c).
22083 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22084 (all-built-dso): Define.
22085 (check-textrel.out, check-execstack.out): Depend on it.
22086
77e8bddf
AS
22087 * configure.in: Don't override --enable-multi-arch.
22088
bc425b33
UD
220892011-01-15 Ulrich Drepper <drepper@gmail.com>
22090
22091 [BZ #6812]
22092 * nscd/hstcache.c (tryagain): Define.
22093 (cache_addhst): Return tryagain not notfound for temporary errors.
22094 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22095 failed.
22096
794c3ad3
UD
220972011-01-14 Ulrich Drepper <drepper@gmail.com>
22098
70181fdd
UD
22099 [BZ #10563]
22100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22101 to make the syscall.
22102 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22103
794c3ad3
UD
22104 [BZ #12378]
22105 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22106 and fall back to matching as normal character if the string ends before
22107 the matching ']' is found. This is what POSIX requires.
22108 * posix/testfnm.c: Adjust test result.
22109 * posix/globtest.sh: Adjust test result. Add new test.
22110 * posix/tst-fnmatch.input: Likewise.
22111 * posix/tst-fnmatch2.c: Add new test.
22112
68dc9497
AS
221132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22114
22115 * elf/Makefile (check-execstack): Revert last change. Depend on
22116 check-execstack.h.
22117 (check-execstack.h): New target.
22118 (generated): Add check-execstack.h.
22119 * elf/check-execstack.c: Include "check-execstack.h".
22120 (main): Revert last change.
22121 (handle_file): Return zero if GNU_STACK is absent and
22122 DEFAULT_STACK_PERMS doesn't include PF_X.
22123
451f001b
UD
221242011-01-13 Ulrich Drepper <drepper@gmail.com>
22125
cfa28e56
UD
22126 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22127 in child fails because the descriptor is already closed.
8cf8ce17
UD
22128 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22129 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22130 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 22131
1086d70d
UD
22132 [BZ #12397]
22133 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22134 syscall.
22135
451f001b
UD
22136 [BZ #10484]
22137 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22138 temporary buffer used to handle multi lookups locally.
a85b5cb4 22139 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 22140
08769175
UD
221412011-01-12 Ulrich Drepper <drepper@gmail.com>
22142
22143 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22144 loader is ld.so.
22145
5e49c52e
UD
221462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22147
22148 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22149 alignment for SSE2.
22150
60522a5f
UD
221512011-01-12 Ulrich Drepper <drepper@gmail.com>
22152
22153 [BZ #12394]
22154 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22155 characters. When rounding increased number of integer digits recompute
22156 number of groups.
22157 * stdio-common/tst-grouping.c: New file.
22158 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22159
f257bbd7
UD
221602011-01-09 Ulrich Drepper <drepper@gmail.com>
22161
22162 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22163 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22164
22165 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22166 void.
22167 * bits/select.h: Likewise.
22168
fa9c15cb
UD
221692011-01-08 Ulrich Drepper <drepper@gmail.com>
22170
22171 * po/ja.po: Update from translation team.
22172
16c2895f
DM
221732011-01-04 David S. Miller <davem@sunset.davemloft.net>
22174
22175 [BZ #11155]
22176 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22177 implementation just like for lxstat, fxstatat, et al.
22178
2543fef2
JM
221792010-12-27 Jim Meyering <meyering@redhat.com>
22180
22181 [BZ #12348]
22182 * posix/regexec.c (build_trtable): Return failure indication upon
22183 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22184
98727dbe
UD
221852010-12-25 Ulrich Drepper <drepper@gmail.com>
22186
5bd6dc5c
UD
22187 [BZ #12201]
22188 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22189 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22190 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22191 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22192
97983464
UD
22193 [BZ #12207]
22194 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22195
98727dbe
UD
22196 [BZ #12204]
22197 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22198 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22199
4a531bb0
L
222002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22201
22202 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22203 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22204 script has SORT_BY_INIT_PRIORITY.
22205 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22206 NO_CTORS_DTORS_SECTIONS is defined.
22207 * elf/soinit.c: Likewise.
22208 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22209 NO_CTORS_DTORS_SECTIONS is defined.
22210 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22211 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22212 * sysdeps/sh/init-first.c: Likewise.
22213 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22214
07eb4b71
UD
222152010-12-24 Ulrich Drepper <drepper@gmail.com>
22216
22217 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22218 always use the slow path.
22219
30950a5f
RA
222202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22221
22222 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22223 similar rule which adds the sysdep directories to the header search in
22224 order to pick up the correct platform stackinfo.h.
22225 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22226 perform test if it is, otherwise return successfully without testing.
22227 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22228 DEFAULT_STACK_PERMS define in stackinfo.h.
22229 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22230 defined in stackinfo.h.
22231 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22232 DEFAULT_STACK_PERMS defined in stackinfo.h.
22233 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22234 * sysdeps/ia64/stackinfo.h: Likewise.
22235 * sysdeps/s390/stackinfo.h: Likewise.
22236 * sysdeps/sh/stackinfo.h: Likewise.
22237 * sysdeps/sparc/stackinfo.h: Likewise.
22238 * sysdeps/x86_64/stackinfo.h: Likewise.
22239 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22240 PF_X for powerpc64. Retain PF_X for powerpc32.
22241
db753e2c
UD
222422010-12-19 Ulrich Drepper <drepper@gmail.com>
22243
14b697f7
UD
22244 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22245 accurately.
db753e2c
UD
22246 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22247 GETDENTS_64BIT_ALIGNED.
22248
28300719
UD
222492010-12-14 Ulrich Drepper <dreper@gmail.com>
22250
14b697f7 22251 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 22252
4f197237
AS
222532010-12-10 Andreas Schwab <schwab@redhat.com>
22254
dbb0472f
AS
22255 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22256 _GNU_SOURCE.
22257
4f197237
AS
22258 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22259 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22260 Remove __restrict.
22261 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22262 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22263
fb88ac72
UD
222642010-12-09 Ulrich Drepper <drepper@gmail.com>
22265
22266 [BZ #11655]
22267 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22268 are initialized.
22269
42acbb92
JJ
222702010-12-09 Jakub Jelinek <jakub@redhat.com>
22271
22272 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22273
c038d98d
UD
222742010-12-03 Ulrich Drepper <drepper@gmail.com>
22275
22276 * po/it.po: Update from translation team.
22277
3a4a2499
L
222782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22281 unused codes.
22282
1e24cf6e
UD
222832010-11-30 Ulrich Drepper <drepper@gmail.com>
22284
22285 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22286
a7690819
AS
222872010-11-24 Andreas Schwab <schwab@redhat.com>
22288
22289 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22290 specially.
22291 (gaih_getanswer_slice): Likewise.
22292
3bf8d1b1
JJ
222932010-10-20 Jakub Jelinek <jakub@redhat.com>
22294
22295 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22296
6db52fbb
PB
222972010-05-31 Petr Baudis <pasky@suse.cz>
22298
22299 [BZ #11149]
22300 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22301 silently even in the chroot mode.
22302
eaca7569
UD
223032010-11-22 Ulrich Drepper <drepper@gmail.com>
22304
22305 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22306 last patch a bit. Pretty printing
22307
3056dcdb
UD
223082010-05-31 Petr Baudis <pasky@suse.cz>
22309
22310 [BZ #10085]
22311 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22312 initialization of skip_initgroups_dyn.
22313
cf7c9078
UD
223142010-11-19 Ulrich Drepper <drepper@gmail.com>
22315
22316 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22317 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22318
a1fb5e3e
UD
223192010-11-16 Ulrich Drepper <drepper@gmail.com>
22320
22321 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22322
3540d66b
AS
223232010-11-11 Andreas Schwab <schwab@redhat.com>
22324
22325 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22326 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22327 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22328 ($(objpfx)tst-fnmatch-mem): New rule.
22329 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22330 * posix/tst-fnmatch.c (main): Call mtrace.
22331
13b69574
L
223322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22333
22334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22335 Support Intel processor model 6 and model 0x2c.
22336
da93d214
LM
223372010-11-10 Luis Machado <luisgpm@br.ibm.com>
22338
22339 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22340 signed comparison.
22341
8ca52c6e
L
223422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22343
22344 [BZ #12205]
22345 * string/test-strncasecmp.c (check_result): New function.
22346 (do_one_test): Use it.
22347 (check1): New function.
22348 (test_main): Use it.
22349 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22350 Support strcasecmp and strncasecmp.
22351
69da074d
UD
223522010-11-08 Ulrich Drepper <drepper@gmail.com>
22353
22354 [BZ #12194]
22355 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22357
ff02d528
L
223582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22359
22360 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22361 IFUNC support.
22362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22363 memset-x86-64.
22364 * sysdeps/x86_64/multiarch/bzero.S: New file.
22365 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22366 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22367 * sysdeps/x86_64/multiarch/memset.S: New file.
22368 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22370 Set bit_Prefer_SSE_for_memop for Intel processors.
22371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22372 Define.
22373 (index_Prefer_SSE_for_memop): Define.
22374 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22375
344d0b54
LM
223762010-11-04 Luis Machado <luisgpm@br.ibm.com>
22377
22378 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22379 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22380
c0dde15b
UD
223812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22382
22383 [BZ #12191]
22384 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22385 (__x86_64_raw_data_cache_size_half): Likewise.
22386 (__x86_64_raw_shared_cache_size): Likewise.
22387 (__x86_64_raw_shared_cache_size_half): Likewise.
22388
22389 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22390 (__x86_64_raw_data_cache_size_half): Likewise.
22391 (__x86_64_raw_shared_cache_size): Likewise.
22392 (__x86_64_raw_shared_cache_size_half): Likewise.
22393 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22394 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22395 and __x86_64_raw_shared_cache_size_half. Round
22396 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22397 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22398 to multiple of 256 bytes.
22399
0e516e0e
MS
224002010-11-03 Ulrich Drepper <drepper@gmail.com>
22401
22402 [BZ #12167]
22403 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22404 of inacessible symlinks. Verify result of symlink before returning it.
22405 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22406 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22407
0e012e87
ER
224082010-10-28 Erich Ritz <erichritz@gmail.com>
22409
22410 * math/math.h (isinf): Fix typo in comment.
22411
de0ff7bc
UD
224122010-11-01 Ulrich Drepper <drepper@gmail.com>
22413
22414 * po/da.po: Update from translation team.
22415
fa41c84d
UD
224162010-10-26 Ulrich Drepper <drepper@gmail.com>
22417
22418 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22419 is added to the list.
22420
f0967738
AK
224212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22422 Ulrich Drepper <drepper@gmail.com>
22423
22424 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22425 the global list here. Move code to...
22426 (_dl_add_to_namespace_list): ...here. New function.
22427 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22428 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22429 * elf/dl-load.c (lose): Don't remove the element from the list.
22430 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22431 (_dl_map_object): Likewise.
22432
224332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22434
22435 [BZ #12159]
22436 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22437 into all bytes of SSE register.
22438 Patch by Richard Li <richardpku@gmail.com>.
22439
f0967738 224402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22441
22442 [BZ #12140]
22443 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22444 perturbing.
22445
d0b9e94f
MB
224462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22447
22448 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22449 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22451 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22453 submachine.
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22455
8e9f92e9
AS
224562010-10-22 Andreas Schwab <schwab@redhat.com>
22457
22458 * include/dlfcn.h (__RTLD_SECURE): Define.
22459 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22460 mode & __RTLD_SECURE instead.
22461 (open_path): Rename preloaded parameter to secure.
22462 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22463 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22464 * elf/dl-deps.c (openaux): Likewise.
22465 * elf/rtld.c (struct map_args): Remove is_preloaded.
22466 (map_doit): Don't use it.
22467 (dl_main): Likewise.
22468 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22469 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22470
bc96fbda
AS
224712010-09-09 Andreas Schwab <schwab@redhat.com>
22472
22473 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22474 (sysd-rules-targets): Remove duplicates.
22475 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22476 rtld-%.$o dependency.
22477
22cd1c9b
AS
224782010-10-18 Andreas Schwab <schwab@redhat.com>
22479
22480 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22481 _dl_map_object do it.
22482
18edac48
UD
224832010-10-19 Ulrich Drepper <drepper@gmail.com>
22484
22485 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22486 fast fma builtins, define the macros in the C99 standard.
22487 (FP_FAST_FMAF): Likewise.
22488 (FP_FAST_FMAL): Likewise.
22489 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22490
22491 * bits/mathdef.h: Update copyright year.
22492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22493
d2050124
MM
224942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22495
22496 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22497 builtins, define the macros in the C99 standard.
22498 (FP_FAST_FMAF): Likewise.
22499 (FP_FAST_FMAL): Likewise.
22500 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22501 multiply/add.
22502 (FP_FAST_FMAF): Likewise.
22503
475facd1
JJ
225042010-10-15 Jakub Jelinek <jakub@redhat.com>
22505
22506 [BZ #3268]
22507 * math/libm-test.inc (fma_test): Some new testcases.
22508 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22509 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22510 y and infinite z. Do multiplication by C already in long double.
22511 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22513 y and infinite z. Do bitwise or of inexact bit into u.d.
22514 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22515 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22516 * sysdeps/i386/fpu/s_fma.S: Removed.
22517 * sysdeps/i386/fpu/s_fmal.S: Removed.
22518
7c08a05c
JJ
225192010-10-16 Jakub Jelinek <jakub@redhat.com>
22520
22521 [BZ #3268]
22522 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22524 computation is not scheduled after fetestexcept. Fix value
22525 of minimum denormal long double.
22526
f3f7372d
JJ
225272010-10-14 Jakub Jelinek <jakub@redhat.com>
22528
22529 [BZ #3268]
22530 * math/libm-test.inc (fma_test): Add some more tests.
22531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22532 correctly.
22533
14d43591
AS
225342010-10-15 Andreas Schwab <schwab@redhat.com>
22535
22536 * scripts/data/localplt-s390-linux-gnu.data: New file.
22537 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22538
5e908464
JJ
225392010-10-13 Jakub Jelinek <jakub@redhat.com>
22540
22541 [BZ #3268]
22542 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22543 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22544 instead of dbl-64.
22545 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22546 inlines.
22547 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22549 if one of x and y is very large and the other is subnormal.
22550 * sysdeps/s390/fpu/s_fmaf.c: New file.
22551 * sysdeps/s390/fpu/s_fma.c: New file.
22552 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22553 * sysdeps/powerpc/fpu/s_fma.S: New file.
22554 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22555 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22556 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22557
225582010-10-12 Jakub Jelinek <jakub@redhat.com>
22559
22560 [BZ #3268]
22561 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22562 fma tests.
22563 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22564 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22565 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22566 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22567 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22568 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22570
b833d51f
UD
225712010-10-12 Ulrich Drepper <drepper@redhat.com>
22572
22573 [BZ #12078]
22574 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22575 * posix/bug-regex31.input: Add test case.
22576
1751705d
UD
225772010-10-11 Ulrich Drepper <drepper@gmail.com>
22578
e9b9cbf5
UD
22579 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22580 * posix/bug-regex31.input: New file.
22581
22582 [BZ #12078]
22583 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22584 (parse_sub_exp): Fix last change, use postorder.
22585
ef06edbe
UD
22586 * posix/bug-regex31.c: New file.
22587 * posix/Makefile: Add rules to build and run bug-regex31.
22588
a129c80d
UD
22589 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22590
22591 [BZ #12078]
22592 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22593
b76b818e
UD
22594 [BZ #12108]
22595 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22596 to have entries in sys_siglist.
22597
1751705d
UD
22598 [BZ #12093]
22599 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22600 be NULL.
22601
9ff8d36f
JJ
226022010-10-07 Jakub Jelinek <jakub@redhat.com>
22603
22604 [BZ #3268]
22605 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22606 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22607 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22608 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22609 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22610 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22611 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22612 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22613 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22614 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22615 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22616 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22617 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22618 * math/ftestexcept.c (fetestexcept): Likewise.
22619 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22620 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22621 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22622 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22623 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22624 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22625 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22626
af325969
UD
226272010-10-11 Ulrich Drepper <drepper@gmail.com>
22628
c579b202 22629 [BZ #12107]
af325969
UD
22630 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22631 newline.
22632
67a67b95
UD
226332010-10-06 Ulrich Drepper <drepper@gmail.com>
22634
22635 * string/bug-strstr1.c: New file.
22636 * string/Makefile: Add rules to build and run bug-strstr1.
22637
5fb308bc
EB
226382010-10-05 Eric Blake <eblake@redhat.com>
22639
22640 [BZ #12092]
22641 * string/str-two-way.h (two_way_long_needle): Always clear memory
22642 when skipping input due to the shift table.
22643
45db99c7
UD
226442010-10-03 Ulrich Drepper <drepper@gmail.com>
22645
3b111893
UD
22646 [BZ #12005]
22647 * malloc/mcheck.c: Handle large requests.
22648
45db99c7
UD
22649 [BZ #12077]
22650 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22651 for strncmp and strncasecmp.
22652 * string/stratcliff.c: Add tests for strcmp and strncmp.
22653 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22654
cf7a1eb8
NI
226552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22656
22657 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22658 __set_fpscr.
22659
6484ba5e
AJ
226602010-09-30 Andreas Jaeger <aj@suse.de>
22661
22662 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22663 (CGROUP_SUPER_MAGIC): Define.
22664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22665 Handle btrfs and cgroup file systems.
22666 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22667 Likewise.
22668
91c42559
LM
226692010-09-27 Luis Machado <luisgpm@br.ibm.com>
22670
22671 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22672 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22673
87a97932
AK
226742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22675
22676 [BZ #12067]
22677 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22678 trying to locate the ELF header.
22679
c21cc9bc
AS
226802010-09-27 Andreas Schwab <schwab@redhat.com>
22681
22682 [BZ #11611]
22683 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22684 Mask out sign-bit copies when constructing f_fsid.
22685
315970f6
PB
226862010-09-24 Petr Baudis <pasky@suse.cz>
22687
22688 * debug/stack_chk_fail_local.c: Add missing licence exception.
22689 * debug/warning-nop.c: Likewise.
22690
1ac7a2c7
JM
226912010-09-15 Joseph Myers <joseph@codesourcery.com>
22692
22693 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22694 implementing getdents64 using getdents syscall, set d_type if
22695 __ASSUME_GETDENTS32_D_TYPE.
22696
56801c50
AS
226972010-09-16 Andreas Schwab <schwab@redhat.com>
22698
22699 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22700 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22701
dda51327
UD
227022010-09-21 Ulrich Drepper <drepper@redhat.com>
22703
22704 [BZ #12037]
22705 * posix/unistd.h: Undo change of feature selection for ftruncate from
22706 2010-01-11.
22707
8ffcee4a
UD
227082010-09-20 Ulrich Drepper <drepper@redhat.com>
22709
a545ecd9 22710 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22711 detection.
22712
e24f0a8b
AS
227132010-09-20 Andreas Schwab <schwab@redhat.com>
22714
22715 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22716 fanotify_mark.
22717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22718
7291c56f
AS
227192010-09-14 Andreas Schwab <schwab@redhat.com>
22720
22721 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22722 variables after CHECK_SP call.
22723 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22724
bc5fb037
AS
227252010-09-13 Andreas Schwab <schwab@redhat.com>
22726 Ulrich Drepper <drepper@redhat.com>
22727
22728 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22729 re-relocationg ld.so.
22730 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22731 _dl_init_paths call.
22732 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22733 here anymore.
22734
e66e7419
UD
227352010-09-14 Ulrich Drepper <drepper@redhat.com>
22736
22737 * resolv/res_init.c (__res_vinit): Count the default server we added.
22738
c044aa75
CLT
227392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22740 Ulrich Drepper <drepper@redhat.com>
22741
22742 [BZ #11968]
22743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22744 (____longjmp_chk): Use %ebx for saving value across system call.
22745 Add unwind info.
22746
32cf4069
AS
227472010-09-06 Andreas Schwab <schwab@redhat.com>
22748
22749 * manual/Makefile: Don't mix pattern rules with normal rules.
22750
817328ee
AS
227512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22752
22753 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22754 operation.
22755 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22756 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22757 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22758 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22760 Likewise.
22761
29fddf61
UD
227622010-09-04 Ulrich Drepper <drepper@redhat.com>
22763
22764 [BZ #11979]
22765 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22766 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22767
0959ffc9
UD
227682010-09-02 Ulrich Drepper <drepper@redhat.com>
22769
22770 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22771 * sysdeps/x86_64/addmul_1.S: Likewise.
22772 * sysdeps/x86_64/lshift.S: Likewise.
22773 * sysdeps/x86_64/mul_1.S: Likewise.
22774 * sysdeps/x86_64/rshift.S: Likewise.
22775 * sysdeps/x86_64/sub_n.S: Likewise.
22776 * sysdeps/x86_64/submul_1.S: Likewise.
22777
ece29840
ST
227782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22779
0959ffc9
UD
22780 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22781 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22782 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22783 * bits/sched.h [__need_schedparam]
ece29840 22784 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22785 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22786 (__defined_schedparam): Define to 1.
ece29840
ST
22787 (__sched_param): New structure, identical to sched_param.
22788 (__need_schedparam): Undefine.
22789
e53a31fe
MF
227902010-08-31 Mike Frysinger <vapier@gentoo.org>
22791
fdc0c10d
MF
22792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22793 (epoll_create1): Declare.
22794
e53a31fe
MF
22795 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22796
a726d796
AS
227972010-08-31 Andreas Schwab <schwab@redhat.com>
22798
22799 [BZ #7066]
22800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22801 shifting retval into place.
22802
2f3e3dc7
UD
228032010-09-01 Ulrich Drepper <drepper@redhat.com>
22804
f2933da9
UD
22805 * nis/rpcsvc/nis.h: Update copyright notice.
22806 * nis/rpcsvc/nis.x: Likewise.
22807 * nis/rpcsvc/nis_callback.h: Likewise.
22808 * nis/rpcsvc/nis_callback.x: Likewise.
22809 * nis/rpcsvc/nis_object.x: Likewise.
22810 * nis/rpcsvc/nis_tags.h: Likewise.
22811 * nis/rpcsvc/yp.h: Likewise.
22812 * nis/rpcsvc/yp.x: Likewise.
22813 * nis/rpcsvc/ypupd.h: Likewise.
22814 * nis/yp_xdr.c: Likewise.
22815 * nis/ypupdate_xdr.c: Likewise.
22816
2f3e3dc7
UD
22817 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22818 mainly the body of pmap_getport. Add parameters to specify timeouts.
22819 (pmap_getport): Use __libc_rpc_getport.
22820 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22821 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22822 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22823
f3dcc2f9
AS
228242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22825
22826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22827 fanotify_mark.
22828
6d34eb5b
RM
228292010-08-27 Roland McGrath <roland@redhat.com>
22830
22831 * sysdeps/i386/i686/multiarch/Makefile
22832 (CFLAGS-varshift.c): New variable.
22833
9ea3de11
UD
228342010-08-27 Ulrich Drepper <drepper@redhat.com>
22835
c96d23fc
UD
22836 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22837 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22838
9ea3de11
UD
22839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22840
22841 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22842
623aac7f
L
228432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22844
22845 * sysdeps/x86_64/strlen.S: Unroll the loop.
22846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22847 strlen-sse2 strlen-sse2-bsf.
22848 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22849 __strlen_no_bsf if bit_Slow_BSF is set.
22850 (__strlen_sse42): Removed.
22851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22852 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22853
8b2b7715
RM
228542010-08-25 Roland McGrath <roland@redhat.com>
22855
22856 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22857 * sysdeps/x86_64/multiarch/varshift.c: New file.
22858 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22859 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22860 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22861 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22862
e73015f2
L
228632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22864
22865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22866 strlen-sse2 strlen-sse2-bsf.
22867 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22868 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22869 (__strlen_sse2): Removed.
22870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22873 bit_Slow_BSF for Atom.
22874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22875 (index_Slow_BSF): Define.
22876 (HAS_SLOW_BSF): Define.
22877
df24a73e
UD
228782010-08-25 Ulrich Drepper <drepper@redhat.com>
22879
22880 [BZ #10851]
22881 * resolv/res_init.c (__res_vinit): When no server address at all
22882 is given default to loopback.
22883
f2ac4868
RM
228842010-08-24 Roland McGrath <roland@redhat.com>
22885
09055553
RM
22886 * configure.in: Remove config-name.h generation.
22887 * configure: Regenerated.
22888 * config-name.in: File removed.
22889 * scripts/config-uname.sh: New file.
22890 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22891 ($(objdir)config-name.h): New target.
22892
f2ac4868
RM
22893 * sunrpc/rpc_parse.h: Avoid nested comment.
22894
73f27d5e
RH
228952010-08-24 Richard Henderson <rth@redhat.com>
22896 Ulrich Drepper <drepper@redhat.com>
22897 H.J. Lu <hongjiu.lu@intel.com>
22898
22899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22901 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22902 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22903 _mm_alignr_epi8 with _mm_loadu_si128.
22904 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22905 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22906 (__m128i_shift_right): Removed.
22907 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22908 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22909 * sysdeps/x86_64/multiarch/varshift.h: New file.
22910 * sysdeps/x86_64/multiarch/varshift.S: New file.
22911
84b9230c
MF
229122010-08-21 Mike Frysinger <vapier@gentoo.org>
22913
22914 * configure.in: Move assembler checks to before sysdep dir checking.
22915
9bbd0ddc
PB
229162010-08-20 Petr Baudis <pasky@suse.cz>
22917
22918 * LICENSES: Sync the sunrpc license.
22919
9da4bb31
UD
229202010-08-19 Ulrich Drepper <drepper@redhat.com>
22921
a7ab6ec8
UD
22922 * sunrpc/auth_des.c: Update copyright notice once again.
22923 * sunrpc/auth_none.c: Likewise.
22924 * sunrpc/auth_unix.c: Likewise.
22925 * sunrpc/authdes_prot.c: Likewise.
22926 * sunrpc/authuxprot.c: Likewise.
22927 * sunrpc/bindrsvprt.c: Likewise.
22928 * sunrpc/clnt_gen.c: Likewise.
22929 * sunrpc/clnt_perr.c: Likewise.
22930 * sunrpc/clnt_raw.c: Likewise.
22931 * sunrpc/clnt_simp.c: Likewise.
22932 * sunrpc/clnt_tcp.c: Likewise.
22933 * sunrpc/clnt_udp.c: Likewise.
22934 * sunrpc/clnt_unix.c: Likewise.
22935 * sunrpc/des_crypt.c: Likewise.
22936 * sunrpc/des_soft.c: Likewise.
22937 * sunrpc/get_myaddr.c: Likewise.
22938 * sunrpc/getrpcport.c: Likewise.
22939 * sunrpc/key_call.c: Likewise.
22940 * sunrpc/key_prot.c: Likewise.
22941 * sunrpc/openchild.c: Likewise.
22942 * sunrpc/pm_getmaps.c: Likewise.
22943 * sunrpc/pm_getport.c: Likewise.
22944 * sunrpc/pmap_clnt.c: Likewise.
22945 * sunrpc/pmap_prot.c: Likewise.
22946 * sunrpc/pmap_prot2.c: Likewise.
22947 * sunrpc/pmap_rmt.c: Likewise.
22948 * sunrpc/rpc/auth.h: Likewise.
22949 * sunrpc/rpc/auth_unix.h: Likewise.
22950 * sunrpc/rpc/clnt.h: Likewise.
22951 * sunrpc/rpc/des_crypt.h: Likewise.
22952 * sunrpc/rpc/key_prot.h: Likewise.
22953 * sunrpc/rpc/netdb.h: Likewise.
22954 * sunrpc/rpc/pmap_clnt.h: Likewise.
22955 * sunrpc/rpc/pmap_prot.h: Likewise.
22956 * sunrpc/rpc/pmap_rmt.h: Likewise.
22957 * sunrpc/rpc/rpc.h: Likewise.
22958 * sunrpc/rpc/rpc_des.h: Likewise.
22959 * sunrpc/rpc/rpc_msg.h: Likewise.
22960 * sunrpc/rpc/svc.h: Likewise.
22961 * sunrpc/rpc/svc_auth.h: Likewise.
22962 * sunrpc/rpc/types.h: Likewise.
22963 * sunrpc/rpc/xdr.h: Likewise.
22964 * sunrpc/rpc_clntout.c: Likewise.
22965 * sunrpc/rpc_cmsg.c: Likewise.
22966 * sunrpc/rpc_common.c: Likewise.
22967 * sunrpc/rpc_cout.c: Likewise.
22968 * sunrpc/rpc_dtable.c: Likewise.
22969 * sunrpc/rpc_hout.c: Likewise.
22970 * sunrpc/rpc_main.c: Likewise.
22971 * sunrpc/rpc_parse.c: Likewise.
22972 * sunrpc/rpc_parse.h: Likewise.
22973 * sunrpc/rpc_prot.c: Likewise.
22974 * sunrpc/rpc_sample.c: Likewise.
22975 * sunrpc/rpc_scan.c: Likewise.
22976 * sunrpc/rpc_scan.h: Likewise.
22977 * sunrpc/rpc_svcout.c: Likewise.
22978 * sunrpc/rpc_tblout.c: Likewise.
22979 * sunrpc/rpc_util.c: Likewise.
22980 * sunrpc/rpc_util.h: Likewise.
22981 * sunrpc/rpcinfo.c: Likewise.
22982 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22983 * sunrpc/rpcsvc/key_prot.x: Likewise.
22984 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22985 * sunrpc/rpcsvc/mount.x: Likewise.
22986 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22987 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22988 * sunrpc/rpcsvc/rex.x: Likewise.
22989 * sunrpc/rpcsvc/rstat.x: Likewise.
22990 * sunrpc/rpcsvc/rusers.x: Likewise.
22991 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22992 * sunrpc/rpcsvc/spray.x: Likewise.
22993 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22994 * sunrpc/rtime.c: Likewise.
22995 * sunrpc/svc.c: Likewise.
22996 * sunrpc/svc_auth.c: Likewise.
22997 * sunrpc/svc_authux.c: Likewise.
22998 * sunrpc/svc_raw.c: Likewise.
22999 * sunrpc/svc_run.c: Likewise.
23000 * sunrpc/svc_simple.c: Likewise.
23001 * sunrpc/svc_tcp.c: Likewise.
23002 * sunrpc/svc_udp.c: Likewise.
23003 * sunrpc/svc_unix.c: Likewise.
23004 * sunrpc/svcauth_des.c: Likewise.
23005 * sunrpc/xcrypt.c: Likewise.
23006 * sunrpc/xdr.c: Likewise.
23007 * sunrpc/xdr_array.c: Likewise.
23008 * sunrpc/xdr_float.c: Likewise.
23009 * sunrpc/xdr_mem.c: Likewise.
23010 * sunrpc/xdr_rec.c: Likewise.
23011 * sunrpc/xdr_ref.c: Likewise.
23012 * sunrpc/xdr_sizeof.c: Likewise.
23013 * sunrpc/xdr_stdio.c: Likewise.
23014
9da4bb31
UD
23015 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23016 handling.
23017
bdaa77bc
AS
230182010-08-19 Andreas Schwab <schwab@redhat.com>
23019
23020 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23021
fe2f79db
LM
230222010-08-19 Luis Machado <luisgpm@br.ibm.com>
23023
23024 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23025 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23026 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23027 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23028 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23029 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23030 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23031 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23033 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23034 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23035 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23036 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23037 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23038
b9b42ee0
AB
230392010-07-26 Anton Blanchard <anton@samba.org>
23040
23041 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23042 * malloc/arena.c (heap_trim): Likewise.
23043
1c06ba31
UD
230442010-08-16 Ulrich Drepper <drepper@redhat.com>
23045
23046 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23047 here. Not...
23048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23049 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23050
f8392f40
L
230512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23052
23053 * sysdeps/i386/elf/Makefile: New file.
23054
3162f12e
AS
230552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23056
23057 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23058 from fanotify_init.
23059 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23061
28c90b2c
UD
230622010-08-15 Ulrich Drepper <drepper@redhat.com>
23063
23064 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23065 of strncasecmp_l.
1feccb6c 23066 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23067
ca6bb004
UD
230682010-08-14 Ulrich Drepper <drepper@redhat.com>
23069
e9f82e0d
UD
23070 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23071 strncase_l-nonascii.
23072 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23073 Add strncase_l-ssse3.
23074 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23075 * sysdeps/x86_64/strcmp.S: Likewise.
23076 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23077 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23078 * sysdeps/x86_64/strncase.S: New file.
23079 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23080 * sysdeps/x86_64/strncase_l.S: New file.
23081 * string/Makefile (strop-tests): Add strncasecmp.
23082 * string/test-strncasecmp.c: New file.
23083
23084 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23085 warning.
23086
ca6bb004
UD
23087 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23088 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23089
052fa7b3
AS
230902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23091
23092 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23093
962dba78
UD
230942010-08-12 Ulrich Drepper <drepper@redhat.com>
23095
23096 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23097 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23098 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23099
bebff237
AM
231002010-05-01 Alan Modra <amodra@gmail.com>
23101
23102 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23103 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23104 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23105 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23106 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23107 tidying. Don't tail-call __sigjmp_save for static lib.
23108 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23109 save location.
23110 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23111 (CALL_MCOUNT): Add eh info, and nop after bl.
23112 (TAIL_CALL_SYSCALL_ERROR): New macro.
23113 (PSEUDO_RET): Use it.
23114 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23115 Correct save location of integer regs and cr.
23116 (_dl_profile_resolve): Correct cr save location. Delete nops
23117 after bl when SHARED. Reduce cfi size a little by better
23118 placement of cfi directives.
23119 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23120 make a stack frame. Instead use parm save area as a temp.
23121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23122 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23124 Don't make a stack frame for parent, use parm save area.
23125 Increase child stack frame to 112 bytes. Don't save unused reg,
23126 and adjust reg usage. Set up cfi on error recovery and
23127 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23129 (__makecontext): Add dummy nop after jump to exit.
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23131 Use correct parm save area and cr save, reduce stack frame.
23132 Correct cfi for possible PSEUDO_RET frame setup.
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23134 Branch to local label emitted by PSEUDO_RET rather than
23135 __syscall_error.
23136
02637374
AS
231372010-08-12 Andreas Schwab <schwab@redhat.com>
23138
23139 [BZ #11904]
23140 * locale/programs/locale.c (print_assignment): New function.
23141 (show_locale_vars): Use it.
23142
c3e2f19b
UD
231432010-08-11 Ulrich Drepper <drepper@redhat.com>
23144
3cdaa6ad
UD
23145 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23146 field.
23147 (struct statfs64): Likewise.
23148 (_STATFS_F_FLAGS): Define.
23149 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23150 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23151 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23152 (ST_VALID): Define locally.
23153 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23154 __statvfs_getflags, use the provided value.
23155 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23156 __ASSUME_STATFS_F_FLAGS.
23157
754f7da3
UD
23158 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23159
10b3bedc
UD
23160 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23161 Add sys/fanotify.h.
23162 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23163 fanotify_mask for GLIBC_2.13.
23164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23165 fanotify_init and fanotify_mark.
23166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23167 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23168
c08fb0d7
UD
23169 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23170 Add prlimit.
23171 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23172 prlimit64 for GLIBC_2.13.
23173 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23174 prlimit64.
23175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23176 syscall.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23178 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23179 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23180 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23181 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23182 add prlimit alias.
23183 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23184
15bac72b
UD
23185 [BZ #11903]
23186 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23187 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23188
c3e2f19b
UD
23189 * nss/Makefile: Add rules to build and run tst-nss-test1.
23190 * shlib-versions: Add entry for libnss_test1.
23191 * nss/nss_test1.c: New file.
23192 * nss/tst-nss-test1.c: New file.
23193
23194 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23195 (__nss_configure_lookup): Set appropriate entry in
23196 __nss_configure_lookup to true.
23197 * nss/nsswitch.h: Define enum with indeces of databases in
23198 databases and __nss_database_custom arrays. Declare
23199 __nss_database_custom.
23200 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23201 to avoid using nscd when custom rules are installed.
23202 * nss/getXXbyYY_r.c: Likewise.
23203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23204
23205 * nss/nss_files/files-parse.c: Whitespace fixes.
23206
f15ce4d8
UD
232072010-08-09 Ulrich Drepper <drepper@redhat.com>
23208
23209 [BZ #11883]
23210 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23211 * posix/fnmatch_loop.c: Likewise.
23212
d22e4cc9
AK
232132010-07-17 Andi Kleen <ak@linux.intel.com>
23214
23215 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23216 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23217 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23218 * Versions.def [GLIBC_2.13]: Add.
23219
805bc17d
UD
232202010-08-06 Ulrich Drepper <drepper@redhat.com>
23221
23222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23223 Also fail if tpwd after pwuid call is NULL.
23224
5a42321d
ST
232252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23226
23227 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23228 when converting to ms.
23229
fd3ebeda
ST
232302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23231
23232 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23233 EOPNOTSUPP errors with ENOTTY.
23234 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23235 EOPNOTSUPP errors with ENOTTY.
23236
73507d3a
UD
232372010-07-31 Ulrich Drepper <drepper@redhat.com>
23238
23239 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23240 Add strcasecmp_l-ssse3.
23241 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23242 strcasecmp.
23243 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23244 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23245 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23246
fe36dd02
UD
232472010-07-30 Ulrich Drepper <drepper@redhat.com>
23248
66f6765a
UD
23249 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23250
42e08a54
UD
23251 * string/Makefile (strop-tests): Add strcasecmp.
23252 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23253 strcasecmp_l-nonascii.
23254 (gen-as-const-headers): Add locale-defines.sym.
23255 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23256 * sysdeps/x86_64/strcasecmp.S: New file.
23257 * sysdeps/x86_64/strcasecmp_l.S: New file.
23258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23259 * sysdeps/x86_64/locale-defines.sym: New file.
23260 * string/test-strcasecmp.c: New file.
23261
fe36dd02
UD
23262 * string/test-strcasestr.c: Test both ends of the range of characters.
23263 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23264
48cbc0d6
RM
232652010-07-29 Roland McGrath <roland@redhat.com>
23266
76e6d6bc 23267 [BZ #11856]
48cbc0d6
RM
23268 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23269
880113d9
UD
232702010-07-27 Ulrich Drepper <drepper@redhat.com>
23271
23272 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23273 for ld.so.
23274
deb9cabb
AS
232752010-07-27 Andreas Schwab <schwab@redhat.com>
23276
23277 * manual/memory.texi (Malloc Tunable Parameters): Document
23278 M_PERTURB.
23279
1c7570ff
RM
232802010-07-26 Roland McGrath <roland@redhat.com>
23281
23282 [BZ #11840]
23283 * configure.in (-fgnu89-inline check): Set and substitute
23284 gnu89_inline, not libc_cv_gnu89_inline.
23285 * configure: Regenerated.
23286 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23287
24fb0f88
UD
232882010-07-26 Ulrich Drepper <drepper@redhat.com>
23289
23290 * string/test-strnlen.c: New file.
23291 * string/Makefile (strop-tests): Add strnlen.
23292 * string/tester.c (test_strnlen): Add a few more test cases.
23293 * string/tst-strlen.c: Better error reporting.
23294
23295 * sysdeps/x86_64/strnlen.S: New file.
23296
8e96b93a
UD
232972010-07-24 Ulrich Drepper <drepper@redhat.com>
23298
23299 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23300 lower-latency instructions.
23301
dbc676d4
UD
233022010-07-23 Ulrich Drepper <drepper@redhat.com>
23303
23304 * string/test-strcasestr.c: New file.
23305 * string/test-strstr.c: New file.
23306 * string/Makefile (strop-tests): Add strstr and strcasestr.
23307 * string/str-two-way.h: Don't undefine MAX.
23308 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23309
f6a31e0e
AS
233102010-07-21 Andreas Schwab <schwab@redhat.com>
23311
23312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23313 strcasestr-nonascii.
23314 (CFLAGS-strcasestr-nonascii.c): Define.
23315 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23316 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23317 Remove unused attribute.
23318
5dbc3b6c
RM
233192010-07-20 Roland McGrath <roland@redhat.com>
23320
23321 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23322 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23323 ld.so.cache was broken. With it, there is no way to disable dsocaps
23324 like LD_HWCAP_MASK can disable hwcaps.
23325
23d101d8
EPM
233262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23327
23328 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23329
cc9f2e47
UD
233302010-07-16 Ulrich Drepper <drepper@redhat.com>
23331
23332 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23333 call in strcasestr.
23334 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23335 __strcasestr_sse42_nonascii.
23336 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23337 strcasestr-nonascii.c.
23338 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23339
77c1b069
LM
233402010-06-15 Luis Machado <luisgpm@br.ibm.com>
23341
23342 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23343 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23346
440566c3
UD
233472010-07-09 Ulrich Drepper <drepper@redhat.com>
23348
23349 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23350 fcntl.
23351
5be9d05d
AS
233522010-07-06 Andreas Schwab <schwab@redhat.com>
23353
c30b7ee2 23354 [BZ #11577]
5be9d05d
AS
23355 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23356 dl_signal_cerror.
23357
8a492a67
UD
233582010-07-06 Ulrich Drepper <drepper@redhat.com>
23359
23360 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23361 _PC_PIPE_BUF using F_GETPIPE_SZ.
23362
713df3d5
RM
233632010-07-05 Roland McGrath <roland@redhat.com>
23364
23365 * manual/arith.texi (Rounding Functions): Fix rint description
23366 implicit in round description.
23367
702e8f14
UD
233682010-07-02 Ulrich Drepper <drepper@redhat.com>
23369
23370 * elf/Makefile: Fix linking for a few tests to make recent linker
23371 happy.
23372
52ed8be9
AS
233732010-06-30 Andreas Schwab <schwab@redhat.com>
23374
23375 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23376 $(common-objpfx)libc_nonshared.a.
23377
f47c9a11
LM
233782010-06-21 Luis Machado <luisgpm@br.ibm.com>
23379
23380 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23381 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23382 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23383 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23384 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23385 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23386 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23387 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23402 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23403 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23404 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23405 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23406 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23407 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23408 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23409 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23410 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23411 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23412 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23413 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23428
6fb8cbcb
L
234292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23430
23431 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23432 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23433 * string/memmove.c (memmove): Renamed to ...
23434 (MEMMOVE): ...this. Default to memmove.
23435 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23436 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23437 (END_CHK): Define.
23438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23439 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23440 mempcpy-ssse3-back memmove-ssse3-back.
23441 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23442 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23443 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23444 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23445 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23446 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23447 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23448 * sysdeps/x86_64/multiarch/memmove.c: New file.
23449 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23450 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23451 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23452 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23453 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23455 Define.
23456 (index_Fast_Copy_Backward): Define.
23457 (HAS_ARCH_FEATURE): Define.
23458 (HAS_FAST_REP_STRING): Define.
23459 (HAS_FAST_COPY_BACKWARD): Define.
23460
4e733bac 234612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23462
23463 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23464 Restore proper fallback handling.
23465
63c4ed22
UD
234662010-06-19 Ulrich Drepper <drepper@redhat.com>
23467
ac2b484c
UD
23468 [BZ #11701]
23469 * posix/group_member.c (__group_member): Correct checking loop.
23470
63c4ed22
UD
23471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23472 OOM in getpwuid_r correctly. Return error number when the caller
23473 should return, otherwise -1.
23474 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23475 call returning > 0 value.
23476 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23477
765ade4b
AS
234782010-06-07 Andreas Schwab <schwab@redhat.com>
23479
23480 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23481 libc_nonshared.a from targets in modules-names.
23482
80da2e09
KS
234832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23484
23485 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23486 requires it.
23487
158db122
LM
234882010-06-10 Luis Machado <luisgpm@br.ibm.com>
23489
23490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23494
caa78cf8
AS
234952010-06-02 Andreas Schwab <schwab@redhat.com>
23496
23497 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23498
b2ef2c01
UD
234992010-06-14 Ulrich Drepper <drepper@redhat.com>
23500
23501 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23502 and F_GETPIPE_SZ.
23503 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23504 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23509
fbd643b6
RM
235102010-06-14 Roland McGrath <roland@redhat.com>
23511
23512 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23513
f32f2869
JJ
235142010-06-07 Jakub Jelinek <jakub@redhat.com>
23515
23516 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23517 __REDIRECT followed by __THROW.
23518 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23519 * posix/getopt.h (getopt): Likewise.
23520
2a50c078
EPM
235212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23522
23523 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23524 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23525 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23526 in AT_FLAGS.
23527 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23528 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23529
eb5ad2eb
LM
235302010-05-28 Luis Machado <luisgpm@br.ibm.com>
23531
23532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23533
3c88fe1e
L
235342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23535
23536 [BZ #11640]
23537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23538 Properly check family and model.
23539
d2f73151
TY
235402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23541
23542 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23543
ebd2e13d
LM
235442010-05-24 Luis Machado <luisgpm@br.ibm.com>
23545
23546 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23547
b32b8b45
UD
235482010-05-21 Ulrich Drepper <drepper@redhat.com>
23549
23550 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23551 symbol reference.
23552
9acbe24d
AS
235532010-05-19 Andreas Schwab <schwab@redhat.com>
23554
23555 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23556 symbol reference.
23557
f0ccf6ea
AS
235582010-05-21 Andreas Schwab <schwab@redhat.com>
23559
3d04ff3a
AS
23560 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23561 and internal_recvmmsg.
23562 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23563 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23564 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23565 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23566
f0ccf6ea
AS
23567 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23568 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23569 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23570
5b08ac57
AS
235712010-05-20 Andreas Schwab <schwab@redhat.com>
23572
23573 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23574
4828935d
LM
235752010-05-17 Luis Machado <luisgpm@br.ibm.com>
23576
23577 POWER7 optimizations.
23578 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23579 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23580
373d545e
UD
235812010-05-19 Ulrich Drepper <drepper@redhat.com>
23582
23583 * version.h: Update for 2.13 development version.
23584
21a2b1ae
AS
235852010-05-12 Andrew Stubbs <ams@codesourcery.com>
23586
23587 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23588 exceptions. Return 0.
23589
3f7dcb2b
RM
235902010-05-07 Roland McGrath <roland@redhat.com>
23591
23592 * elf/ldconfig.c (main): Add a const.
23593
5f24d53a 235942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23595
a160f8d8
UD
23596 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23597 (args_options): Add no-idn option.
23598 (ahosts_keys_int): Add idn_flags to ai_flags.
23599 (parse_option): Handle 'i' option to clear idn_flags.
23600
5f24d53a
UD
23601 * malloc/malloc.c (_int_free): Possible race in the most recently
23602 added check. Only act on the data if no current modification
23603 happened.
265bb1ce
UD
23604
23605See ChangeLog.17 for earlier changes.
This page took 2.787797 seconds and 5 git commands to generate.