]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typos.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c0c3f78a
OB
12013-08-21 Ondřej Bílka <neleai@seznam.cz>
2
3 * argp/argp-help.c: Fix typos.
4 * crypt/speeds.c: Likewise.
5 * csu/check_fds.c: Likewise.
6 * elf/dl-load.c: Likewise.
7 * elf/dl-open.c: Likewise.
8 * elf/reldep3.c: Likewise.
9 * elf/reldep.c: Likewise.
10 * elf/sprof.c: Likewise.
11 * iconv/iconv_charmap.c: Likewise.
12 * iconv/skeleton.c: Likewise.
13 * iconv/strtab.c: Likewise.
14 * io/lockf64.c: Likewise.
15 * libio/libioP.h: Likewise.
16 * resolv/gai_notify.c: Likewise.
17 * resolv/ns_name.c: Likewise.
18 * resolv/ns_samedomain.c: Likewise.
19 * resolv/res_send.c: Likewise.
20 * stdlib/random.c: Likewise.
21 * sunrpc/rpc/xdr.h: Likewise.
22 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30 * sysdeps/mach/hurd/check_fds.c: Likewise.
31 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37 * sysdeps/pthread/aio_notify.c: Likewise.
38 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
40 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43
46ed1038
LD
442013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45
46 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47 version if bit_Slow_SSE4_2 is set.
48 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50
d400dcac
AZ
512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52
53 [BZ #15867]
54 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
55 trampoline stack frame information.
56 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
59 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61 * sysdeps/unix/sysv/linux/powerpc/init-first.c
62 (_libc_vdso_platform_setup): Initialize the signal trampolines.
63 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64 sa_flags value.
65 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
66 interrupting a syscall and set with option SA_SIGINFO.
67
42c8fdd8
JM
682013-08-20 Joseph Myers <joseph@codesourcery.com>
69
c980f2f4
JM
70 [BZ #15531]
71 * math/s_cproj.c (__cproj): Only return an infinity if one part of
72 argument is infinite.
73 * math/s_cprojf.c (__cprojf): Likewise.
74 * math/s_cprojl.c (__cprojl): Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
76 * math/libm-test.inc (cproj_test_data): Add more tests.
77
0716c4fc
JM
78 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
79
42c8fdd8
JM
80 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
81 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
82 size. Use __ffs to determine corresponding shift.
83
b31469d0
JM
842013-08-20 Joseph Myers <joseph@codesourcery.com>
85 Roland McGrath <roland@hack.frob.com>
86
87 * Makefile (INSTALL): Remove trailing blank lines from output of
88 makeinfo.
89
4e39af6e
AK
902013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91
92 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
93 Align 32 bit compat elf_greg to 8 bytes.
94
f315524e
AA
952013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
96
97 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
98
1326ba1a
SP
992013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
100
101 * string/strcoll_l.c (coll_seq): New structure.
102 (get_next_seq_cached): New function.
103 (get_next_seq): New function.
104 (do_compare): New function.
105 (STRCOLL): Use GNU style definition. Simplify implementation
106 by using get_next_seq, get_next_seq_cached and do_compare.
107
91ce4085
FW
1082013-08-16 Florian Weimer <fweimer@redhat.com>
109
110 [BZ #14699]
111 CVE-2013-4237
112 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
113 member.
114 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
115 member.
116 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
117 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
118 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
119 conditional.
120 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
121 GETDENTS_64BIT_ALIGNED.
122 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
123 * manual/filesys.texi (Reading/Closing Directory): Document
124 ENAMETOOLONG return value of readdir_r. Recommend readdir more
125 strongly.
126 * manual/conf.texi (Limits for Files): Add portability note to
127 NAME_MAX, PATH_MAX.
128 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
129
ca0a6bc4
AS
1302013-08-13 Andreas Schwab <schwab@suse.de>
131
132 [BZ #15749]
133 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
134 of fabs.
135 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
136 LDBL_MAX_EXP >= 16384]: Add tests for it.
137
6c1fd795
DM
1382013-08-12 David S. Miller <davem@davemloft.net>
139
140 * version.h (RELEASE): Set to "development".
141 (VERSION): Set to "2.18.90".
142 * NEWS: Add 2.19 section.
143
31ad488d
DM
1442013-08-03 David S. Miller <davem@davemloft.net>
145
146 * po/ko.po: Update Korean translation from translation project.
147
db24e684
DM
1482013-08-01 David S. Miller <davem@davemloft.net>
149
150 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
151 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
152 Bilka.
153
f723285b
DM
1542013-07-30 David S. Miller <davem@davemloft.net>
155
156 * po/fr.po: Update French translation from translation project.
157
3cbc52db
DM
1582013-07-28 David S. Miller <davem@davemloft.net>
159
30bbc0cc
DM
160 * po/cs.po: Update Czech translation from translation project.
161
3cbc52db
DM
162 * po/sv.po: Update Swedish translation from translation project.
163
d492e6d0
DM
1642013-07-27 David S. Miller <davem@davemloft.net>
165
f1a7f492
DM
166 * po/eo.po: Update Esperanto translation from translation project.
167
90e62a4a
DM
168 * po/vi.po: Update Vietnamese translation from translation project.
169
d492e6d0
DM
170 * po/de.po: Update German translation from translation project.
171
d4baa62d
DM
1722013-07-26 David S. Miller <davem@davemloft.net>
173
641aa7b4
DM
174 * po/bg.po: Update Bulgarian translation from translation project.
175
d4baa62d
DM
176 * po/nl.po: Update Dutch translation from translation project.
177 * po/pl.po: Update Polish translation from translation project.
178 * po/ru.po: Update Russian translation from translation project.
179
61a9dcb9
DM
1802013-07-24 David S. Miller <davem@davemloft.net>
181
182 * po/libc.pot: Update.
183
7b1f8b58
AZ
1842013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
187 variable page size.
188 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
189 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
190 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
191
a8fc7a03
AK
1922013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
193
194 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
195
e4608715
CD
1962013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
197 Andreas Schwab <schwab@suse.de>
198 Roland McGrath <roland@hack.frob.com>
199 Joseph Myers <joseph@codesourcery.com>
200 Carlos O'Donell <carlos@redhat.com>
201
202 [BZ #15755]
203 * config.h.in: Define HAVE_PT_CHOWN.
204 * config.make.in (build-pt-chown): New variable.
205 * configure.in (--enable-pt_chown): New configure option.
206 * configure: Regenerate.
207 * login/Makefile: Include Makeconfig. Build pt_chown only if
208 build-pt-chown is enabled.
209 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
210 pt_chown to fix pty ownership.
211 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
212 CLOSE_ALL_FDS.
213 * manual/install.texi (Configuring and compiling): Mention
214 --enable-pt_chown. Add @findex for grantpt.
215 * INSTALL: Regenerate.
216
da2d62df
DM
2172013-07-20 David S. Miller <davem@davemloft.net>
218
219 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
220 difference between 32-bit and 64-bit.
221
d7e06450
CD
2222013-07-15 Carlos O'Donell <carlos@redhat.com>
223
224 [BZ #15711]
225 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
226 Avoid system header dependency with -ffreestanding.
227 ($(objpfx)bits/syscall%d): Likewise.
228
f959cfd7
DM
2292013-07-13 David S. Miller <davem@davemloft.net>
230
231 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
232 underflows from atanl/atan2l due to bug 15319.
233 (casinh_test_data): Likewise.
234
c61f8513
DM
2352013-07-07 David S. Miller <davem@davemloft.net>
236
237 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
238
72c90ed0
JA
2392013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
240
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
52dfbe13
SP
2442013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
245
246 * configure.in (--enable-lock-elision): Fix message text.
247 * INSTALL: Regenerate.
248 * configure: Regenerate.
249
3f169543
AZ
2502013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
251
252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
253
521c6785
AJ
2542013-07-03 Andreas Jaeger <aj@suse.de>
255
256 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
257 define.
258 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
259 (ptrace_peeksiginfo_args): Add.
260 (__ptrace_peeksiginfo_flags): Add.
261 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
264
d2cc15cb
AM
2652013-07-03 Allan McRae <allan@archlinux.org>
266
267 * sysdeps/i386/fpu/libm-test-ulps: Update.
268
3aaeeca7
DM
2692013-07-02 David S. Miller <davem@davemloft.net>
270
271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
272
5314ed1a
MT
2732013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
274
275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
276
67338156
JM
2772013-07-02 Joseph Myers <joseph@codesourcery.com>
278
279 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
281
1717da59
AK
2822013-07-02 Andi Kleen <ak@linux.intel.com>
283
284 * config.h.in (ENABLE_LOCK_ELISION): Add.
285 * configure.in (--enable-lock-elision): Add option.
286 * manual/install.texi: Document --enable lock elision.
287 * configure: Regenerate
288 * INSTALL: Regenerate.
289
1c81621c
L
2902013-07-02 H.J. Lu <hongjiu.lu@intel.com>
291
292 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
293 SSE4.2 strcasecmp for libc.a.
294 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
295
77f01ab5
JM
2962013-07-02 Joseph Myers <joseph@codesourcery.com>
297
298 [BZ #13304]
299 * soft-fp/op-common.h (_FP_FMA): New macro.
300 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
301 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
302 (_FP_MUL_MEAT_1_imm): ... here.
303 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
304 (_FP_MUL_MEAT_1_wide): ... here.
305 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
306 (_FP_MUL_MEAT_1_hard): ... here.
307 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
308 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
309 (_FP_MUL_MEAT_2_wide): ... here.
310 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
311 (_FP_MUL_MEAT_2_wide_3mul): ... here.
312 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
313 (_FP_MUL_MEAT_2_gmp): ... here.
314 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
315 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
316 (_FP_MUL_MEAT_4_wide): ... here.
317 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
318 (_FP_MUL_MEAT_4_gmp): ... here.
319 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
320 (_FP_WFRACBITS_DW_S): Likewise.
321 (_FP_WFRACXBITS_DW_S): Likewise.
322 (_FP_HIGHBIT_DW_S): Likewise.
323 (FP_FMA_S): Likewise.
324 (_FP_FRAC_HIGH_DW_S): Likewise.
325 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
326 (_FP_WFRACBITS_DW_D): Likewise.
327 (_FP_WFRACXBITS_DW_D): Likewise.
328 (_FP_HIGHBIT_DW_D): Likewise.
329 (FP_FMA_D): Likewise.
330 (_FP_FRAC_HIGH_DW_D): Likewise.
331 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
332 (_FP_WFRACBITS_DW_E): Likewise.
333 (_FP_WFRACXBITS_DW_E): Likewise.
334 (_FP_HIGHBIT_DW_E): Likewise.
335 (FP_FMA_E): Likewise.
336 (_FP_FRAC_HIGH_DW_E): Likewise.
337 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
338 (_FP_WFRACBITS_DW_Q): Likewise.
339 (_FP_WFRACXBITS_DW_Q): Likewise.
340 (_FP_HIGHBIT_DW_Q): Likewise.
341 (FP_FMA_Q): Likewise.
342 (_FP_FRAC_HIGH_DW_Q): Likewise.
343 * soft-fp/fmasf4.c: New file.
344 * soft-fp/fmadf4.c: Likewise.
345 * soft-fp/fmatf4.c: Likewise.
346
6308fd9a
LD
3472013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
348
349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
350 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
351 Silvermont.
352 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
353 macro.
354 (index_Slow_SSE4_2): Likewise.
355 (index_Prefer_PMINUB_for_stringop): Likewise.
356 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
357 bit_Slow_SSE4_2 is set.
358 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
360
89cd9569
RA
3612013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
362
363 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
364 rtld_global._dl_hwcap2.
365 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
366 POWER8.
367 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
368 POWER8 feature descriptions defined in _dl_hwcap2.
369 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
370 string handling for POWER8 feature bits.
371 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
372 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
373 _dl_powerpc_cap_flags.
374 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
375 * sysdeps/powerpc/rtld-global-offsets.sym
376 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
377 _dl_hwcap2 in the rtld_global_ro structure.
378
1ae8bfe0
RA
3792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
380
381 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
382 hardware capabilities in support of AT_HWCAP2.
383 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
384 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
385 GLRO(dl_hwcap2).
386 (_dl_show_auxv): Add support for calling _dl_procinfo to display
387 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
388 explicitly the unknown a_type display mechanism is used.
389 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
390 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
391 struct member.
392 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
393 to macro prototype for AT_HWCAP2 support.
394 * sysdeps/i386/dl-procinfo.h: Likewise.
395 * sysdeps/s390/dl-procinfo.h: Likewise.
396 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
397 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
398 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
399 return -1 for unknown a_type display fallback.
400 * sysdeps/sparc/dl-procinfo.h: Likewise.
401 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
402 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
403
8fbec010
JM
4042013-06-28 Joseph Myers <joseph@codesourcery.com>
405
406 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
407 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
408
0432680e
PY
4092013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
410
411 [BZ #12492]
412 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
413 mprotect making __stack_prot writable.
414
ce61a2ad
NF
4152013-06-28 Nathan Froyd <froydnj@codesourcery.com>
416 Joseph Myers <joseph@codesourcery.com>
417
418 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
419 as being properly aligned.
420
f91f1c0f
MR
4212013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
422
3d0f5d0c
MR
423 * dlfcn/modstatic5.c: New file.
424 * dlfcn/tststatic5.c: New file.
425 * dlfcn/Makefile (tests): Add tststatic5.
426 (tests-static): Likewise.
427 (modules-names): Add modstatic5.
428 (tststatic5-ENV): New variable.
429 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
430
f91f1c0f
MR
431 [BZ #15022]
432 * elf/dl-support.c (_dl_main_map): New variable.
433 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
434 (_dl_nns, _dl_load_adds): Set to 1.
435 (_dl_initial_searchlist): Refer to _dl_main_map.
436 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
437 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
438 call to _dl_get_origin.
439 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
440 around call_map.
441 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
442 * dlfcn/modstatic3.c: New file.
443 * dlfcn/tststatic3.c: New file.
444 * dlfcn/tststatic4.c: New file.
445 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
446 (tests-static): Likewise.
447 (modules-names): Add modstatic3.
448 (tststatic3-ENV, tststatic4-ENV): New variables.
449 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
450 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
451
cbe7d24b
JM
4522013-06-26 Joseph Myers <joseph@codesourcery.com>
453
454 * configure.in (CC): Require GCC version 4.4 or later.
455 * configure: Regenerated.
456 * manual/install.texi (Tools for Compilation): Update GCC version
457 requirement.
458 * INSTALL: Regenerated.
459
11b8a0e1
LD
4602013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
461
462 [BZ #15674]
bb5bb87c
L
463 * string/test-memcmp.c (check2): New.
464 (main): Call check2.
465
11b8a0e1
LD
466 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
467
b0037103
MR
4682013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
469
470 [BZ #15022]
471 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
472 over to...
473 (dl_open_worker) [!SHARED]: ... here.
474
c18c701d
RA
4752013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
476
477 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
478
1d17fa5f
RH
4792013-06-25 Richard Henderson <rth@redhat.com>
480
481 * locale/programs/locarchive.c: Include <libc-internal.h>
482
8fcb833a
JM
4832013-06-25 Joseph Myers <joseph@codesourcery.com>
484
485 * manual/texinfo.tex: Update to version 2013-06-21.17, with
486 trailing whitespace removed.
487
17db6e8d
MF
4882013-06-24 Mike Frysinger <vapier@gentoo.org>
489
490 [BZ #10283]
17db6e8d
MF
491 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
492 * locale/programs/locarchive.c: Include libc-mmap.h.
493 (prepare_address_space): Take two new outputs (the mmap base and len).
494 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
495 values.
496 (create_archive): Declare new mmap base and len values for
497 prepare_address_space, and store the result in ah.
498 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
499 (enlarge_archive): If ah->mmap_base is not NULL, use that and
500 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
501 Declare new mmap base and len values for
502 prepare_address_space, and store the result in new_ah.
503 (open_archive): Declare new mmap base and len values for
504 prepare_address_space, and store the result in ah.
505 (close_archive): If ah->mmap_base is not NULL, use that and
506 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
507 * sysdeps/generic/libc-mmap.h: New file.
508
d605071e
MF
5092013-06-24 Mike Frysinger <vapier@gentoo.org>
510
511 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
512 (ALIGN_UP): Likewise.
513 (PTR_ALIGN_DOWN): Likewise.
514 (PTR_ALIGN_UP): Likewise.
515
2f063a6e
RA
5162013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
517
518 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
519 entry mapped to PPC_PLATFORM_POWER8.
520 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
521 POWER8.
522 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
523 (_dl_string_platform): Add case for exporting platform position for
524 POWER8.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
526 search path to sysdeps/powerpc/powerpc32/power8 directory.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
528 search path to sysdeps/powerpc/powerpc64/power8 directory.
529 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
530 power7 directories.
531 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
532 power7 directories.
533
a31ee4b3
SP
5342013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
535
a74ca98f
SP
536 * INSTALL: Regenerate.
537
a31ee4b3
SP
538 * nscd/connections.c (nscd_init): Fix comment.
539
695c378f
JM
5402013-06-22 Joseph Myers <joseph@codesourcery.com>
541
d8412221
JM
542 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
543
695c378f
JM
544 [BZ #15667]
545 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
546 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
547
d1d54715
MR
5482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
549
550 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
551 DL_DST_REQ_STATIC.
552 (DL_DST_REQ_STATIC): Remove macro.
553
8fdda7af
JM
5542013-06-21 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #7006]
557 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
558 with a shift of 0 bits.
559
f3bc5e5a
MR
5602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
561
562 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
563 $(tststatic-ENV).
564
be09e8c9
KK
5652013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
566
567 [BZ #15655]
568 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
569
85c2e611
AZ
5702013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
572 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
573 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
574 accepts -fno-tree-loop-distribute-patterns.
575 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
576 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
577 recursive call.
578 * string/memset.c (memset): Likewise.
579 * string/test-memmove.c (simple_memmove): Disable loop transformation
580 to library calls.
581 * string/test-memset.c (simple_memset): Likewise.
582 * benchtests/bench-memmove.c (simple_memmove): Likewise.
583 * benchtests/bench-memset.c (simple_memset): Likewise.
584 * configure: Regenerated.
585
c91e0825
JM
5862013-06-20 Joseph Myers <joseph@codesourcery.com>
587
b8c792af
JM
588 * math/test-misc.c (main): Ignore fesetround failure when failures
589 of subsequent rounding tests would be ignored.
590
c91e0825
JM
591 [BZ #15654]
592 * math/fedisblxcpt.c (fedisableexcept): Return 0.
593 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
594 * math/fegetenv.c (__fegetenv): Return 0.
595 * math/fegetexcept.c (fegetexcept): Return 0.
596 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
597 FE_TONEAREST.
598 * math/feholdexcpt.c (feholdexcept): Return 0.
599 * math/fesetenv.c (__fesetenv): Return 0.
600 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
601 argument FE_TONEAREST.
602 * math/feupdateenv.c (__feupdateenv): Return 0.
603 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
604
bfcacbde
RM
6052013-06-18 Roland McGrath <roland@hack.frob.com>
606
607 * elf/rtld-Rules (rtld-compile-command.S): New variable.
608 (rtld-compile-command.s, rtld-compile-command.c): New variables.
609 ($(objpfx)rtld-%.os rules): Use them.
610
e55a9b25
AZ
6112013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612
613 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
614 fields.
615
346d65b3
RM
6162013-06-17 Roland McGrath <roland@hack.frob.com>
617
12086fb4
RM
618 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
619 length of target pattern, then descending length of dependency pattern.
620 * configure.in (AWK): Require gawk 3.1.2 or newer.
621 * manual/install.texi (Tools for Compilation): Say that we do.
622 * configure: Regenerated.
623
346d65b3
RM
624 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
625 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
626 * scripts/sysd-rules.awk: ... this new script.
627 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
628 than a glob-style pattern.
629
1a846317
JM
6302013-06-17 Joseph Myers <joseph@codesourcery.com>
631
632 * math/test-misc.c (main): Do not treat incorrectly rounded
633 conversions as failure unless ROUNDING_TESTS passes.
634
8fc75e6f
JM
6352013-06-15 Joseph Myers <joseph@codesourcery.com>
636
3711a167
JM
637 [BZ #15631]
638 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
639 restore exception state around main square root computation, then
640 check for inexactness explicitly.
641
8fc75e6f
JM
642 * math/libm-test.inc (fma_test_data): Add another test.
643
61dd6208
SP
6442013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
645
adf23d2c
SP
646 * manual/threads.texi (Non-POSIX Extensions): New document
647 node. Document pthread_getattr_default_np and
648 pthread_setattr_default_np.
649
61dd6208
SP
650 * Versions.def (libpthread): Add GLIBC_2.18.
651 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
653 Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
655 Likewise.
656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
657 Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
659 Likewise.
660 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
661 Likewise.
662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
663 Likewise.
664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
665 Likewise.
666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
667 Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
669 Likewise.
670
d086fc7b
LD
6712013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
672
673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
674 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
675
747ef469
SP
6762013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
677 H.J. Lu <hjl.tools@gmail.com>
678
679 [BZ #15627]
680 * sysdeps/x86_64/rtld-memset.c: Remove file.
681 * sysdeps/x86_64/rtld-memset.S: New file.
682
1b2feed2
JM
6832013-06-14 Joseph Myers <joseph@codesourcery.com>
684
685 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
686 (test_in_one_mode): Take arguments for whether the rounding mode
687 is supported for each floating-point type.
688 (do_test): Pass new arguments to test_in_one_mode using
689 ROUNDING_TESTS.
690
a58ad3f8
RM
6912013-06-13 Roland McGrath <roland@hack.frob.com>
692
693 * posix/tst-waitid.c (do_test): Distinguish different instances of
694 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
695 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
696 before entering the kernel for waitpid.
697
c204ab28
SP
6982013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
699
700 * NEWS: Fix note on clock function precision. Text by Roland
701 McGrath.
702
f4a29fba
RM
7032013-06-13 Roland McGrath <roland@hack.frob.com>
704
705 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
706 it into place only when and if the sanity check passes.
707
1f24b9ad
JM
7082013-06-13 Joseph Myers <joseph@codesourcery.com>
709
710 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
711 output for whether conversion result is exact. Take argument
712 indicating whether type is IBM long double.
713 (round_for_all): Change need_exact field to ibm_ld.
714 * stdlib/tst-strtod-round.c (struct exactness): New type.
715 (struct test): Change bool ld_ok field to struct exactness exact.
716 (TEST): Update all definitions for change to field.
717 (tests): Regenerate array contents.
718 (test_in_one_mode): Take pointer to new field instead of old ld_ok
719 field value. Check for IBM long double here.
720 (do_test): Update calls to test_in_one_mode.
721
58206c68
SP
7222013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
723
724 [BZ #12515]
725 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
726 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
727
2d6f4c5b 7282013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
729
730 [BZ #15605]
731 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
732 generated by the compiler on loop optimizations.
733 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
734 general definitions.
735
94f2c076
JM
7362013-06-12 Joseph Myers <joseph@codesourcery.com>
737
738 * math/bug-nextafter.c: Include <math-tests.h>.
739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
740 the relevant type.
741 * math/bug-nexttoward.c: Include <math-tests.h>.
742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
743 the relevant type.
744 * math/test-misc.c: Include <math-tests.h>.
745 (main): Only test for exceptions if EXCEPTION_TESTS is true for
746 the relevant type.
747
e0e50a0a
AJ
7482013-06-12 Andreas Jaeger <aj@suse.de>
749
750 * po/ia.po: Update Interlingua translation from translation
751 project.
752
25061094
SP
7532013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
754
755 * include/fenv.h: Include stdbool.h.
756 (struct rm_ctx): New structure.
757 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
758 Define macro.
759 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
760 (SET_RESTORE_ROUNDF): Likewise.
761 (SET_RESTORE_ROUNDL): Likewise.
762 (SET_RESTORE_ROUND_NOEX): Likewise.
763 (SET_RESTORE_ROUND_NOEXF): Likewise.
764 (SET_RESTORE_ROUND_NOEXL): Likewise.
765 (SET_RESTORE_ROUND_53BIT): Likewise.
766 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
767 (libc_feresetround_noexf_ctx): Likewise.
768 (libc_feresetround_noexl_ctx): Likewise.
769 (libc_feholdsetround_53bit_ctx): Likewise.
770 (libc_feresetround_53bit_ctx): Likewise.
771 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
772 (libc_feholdexcept_setround_sse_ctx): New function.
773 (libc_fesetenv_sse_ctx): Likewise.
774 (libc_feupdateenv_sse_ctx): Likewise.
775 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
776 (libc_feholdexcept_setround_387_ctx): Likewise.
777 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
778 (libc_feholdsetround_387_prec_ctx): Likewise.
779 (libc_feholdsetround_387_ctx): Likewise.
780 (libc_feholdsetround_387_53bit_ctx): Likewise.
781 (libc_feholdsetround_sse_ctx): Likewise.
782 (libc_feresetround_sse_ctx): Likewise.
783 (libc_feresetround_387_ctx): Likewise.
784 (libc_feupdateenv_387_ctx): Likewise.
785 (libc_feholdexcept_setroundf_ctx): Define macro.
786 (libc_fesetenvf_ctx): Likewise.
787 (libc_feupdateenvf_ctx): Likewise.
788 (libc_feholdsetroundf_ctx): Likewise.
789 (libc_feresetroundf_ctx): Likewise.
790 (libc_feholdexcept_setround_ctx): Likewise.
791 (libc_fesetenv_ctx): Likewise.
792 (libc_feupdateenv_ctx): Likewise.
793 (libc_feholdsetround_ctx): Likewise.
794 (libc_feresetround_ctx): Likewise.
795 (libc_feholdexcept_setroundl_ctx): Likewise.
796 (libc_feupdateenvl_ctx): Likewise.
797 (libc_feholdsetroundl_ctx): Likewise.
798 (libc_feresetroundl_ctx): Likewise.
799 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
800 (libc_feresetround_53bit_ctx): Likewise.
801
59b30555
SP
8022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
803
804 * locale/iso-639.def: Convert to UTF-8.
805
f1d73d30
JM
8062013-06-11 Joseph Myers <joseph@codesourcery.com>
807
808 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
809 (EXCEPTION_TESTS_double): Likewise.
810 (EXCEPTION_TESTS_long_double): Likewise.
811 (EXCEPTION_TESTS): Likewise.
812 * math/libm-test.inc (test_exceptions): Only test exceptions if
813 EXCEPTION_TESTS (FLOAT).
814
94aca5e7
SP
8152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
816
817 * benchtests/Makefile (string-bench): Add strcpy_chk and
818 stpcpy_chk.
819 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
820 * benchtests/bench-stpcpy_chk.c: New file.
821 * benchtests/bench-strcpy_chk-ifunc.c: New file.
822 * benchtests/bench-strcpy_chk.c: New file.
823 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
824 code.
825 (do_test): Likewise.
826
fac0c5f2
RA
8272013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
828
829 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
830 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
831 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
832 with tabs where appropriate.
833 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
834 dl-procinfo.h.
835 [PPC_PLATFORM_PPC440]: Likewise.
836 [PPC_PLATFORM_PPC464]: Likewise.
837 [PPC_PLATFORM_PPC476]: Likewise.
838 (_dl_string_platform): Add support for detecting ppc405, ppc440,
839 ppc464, and ppc476 platform strings merging from ports/
840 dl-procinfo.h.
841
f22bc486
AS
8422013-06-11 Andreas Schwab <schwab@suse.de>
843
844 [BZ #14991]
845 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
846 (from_ucs4_idx): Regenerate.
847 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
848 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
849 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
850 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
851 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
852 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
853 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
854 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
855 from FROM_LOOP and TO_LOOP specific macros.
856 (BODY): Handle combining characters.
857 * iconvdata/BIG5HKSCS.irreversible: Update.
858 * iconvdata/BIG5HKSCS.precomposed: New file.
859 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
860 characters.
861 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
862
c1f75dc3
SP
8632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
864
4eacded2
SP
865 * include/sys/time.h: Fix indentation and add copyright header.
866
fec799f8
SP
867 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
868 (do_test): Likewise.
869 * string/test-memchr.c (do_one_test): Likewise.
870 (do_test): Likewise.
871 * string/test-memcmp.c (do_one_test): Likewise.
872 (do_test): Likewise.
873 * string/test-memcpy.c (do_one_test): Likewise.
874 (do_test): Likewise.
875 * string/test-memmem.c (do_one_test): Likewise.
876 (do_test): Likewise.
877 (do_random_tests): Likewise.
878 * string/test-memmove.c (do_one_test): Likewise.
879 (do_test): Likewise.
880 * string/test-memset.c (do_one_test): Likewise.
881 (do_test): Likewise.
882 * string/test-rawmemchr.c (do_one_test): Likewise.
883 (do_test): Likewise.
884 * string/test-strcasecmp.c (do_one_test): Likewise.
885 (do_test): Likewise.
886 * string/test-strcasestr.c (do_one_test): Likewise.
887 (do_test): Likewise.
888 * string/test-strcat.c (do_one_test): Likewise.
889 (do_test): Likewise.
890 * string/test-strchr.c (do_one_test): Likewise.
891 (do_test): Likewise.
892 * string/test-strcmp.c (do_one_test): Likewise.
893 (do_test): Likewise.
894 * string/test-strcpy.c (do_one_test): Likewise.
895 (do_test): Likewise.
896 * string/test-string.h: Likewise.
897 (test_init): Likewise.
898 * string/test-strlen.c (do_one_test): Likewise.
899 (do_test): Likewise.
900 * string/test-strncasecmp.c (do_one_test): Likewise.
901 (do_test): Likewise.
902 * string/test-strncat.c (do_one_test): Likewise.
903 (do_test): Likewise.
904 * string/test-strncmp.c (do_one_test): Likewise.
905 (do_test_limit): Likewise.
906 (do_test): Likewise.
907 * string/test-strncpy.c (do_one_test): Likewise.
908 (do_test): Likewise.
909 * string/test-strnlen.c (do_one_test): Likewise.
910 (do_test): Likewise.
911 * string/test-strpbrk.c (do_one_test): Likewise.
912 (do_test): Likewise.
913 * string/test-strrchr.c (do_one_test): Likewise.
914 (do_test): Likewise.
915 * string/test-strspn.c (do_one_test): Likewise.
916 (do_test): Likewise.
917 * string/test-strstr.c (do_one_test): Likewise.
918 (do_test): Likewise.
919
97020474
SP
920 * benchtests/Makefile (string-bench): Add string benchmarks.
921 * benchtests/bench-bcopy-ifunc.c: New file.
922 * benchtests/bench-bcopy.c: New file.
923 * benchtests/bench-bzero-ifunc.c: New file.
924 * benchtests/bench-bzero.c: New file.
925 * benchtests/bench-memccpy-ifunc.c: New file.
926 * benchtests/bench-memccpy.c: New file.
927 * benchtests/bench-memchr-ifunc.c: New file.
928 * benchtests/bench-memchr.c: New file.
929 * benchtests/bench-memcmp-ifunc.c: New file.
930 * benchtests/bench-memcmp.c: New file.
931 * benchtests/bench-memmem-ifunc.c: New file.
932 * benchtests/bench-memmem.c: New file.
933 * benchtests/bench-memmove-ifunc.c: New file.
934 * benchtests/bench-memmove.c: New file.
935 * benchtests/bench-mempcpy-ifunc.c: New file.
936 * benchtests/bench-mempcpy.c: New file.
937 * benchtests/bench-memset-ifunc.c: New file.
938 * benchtests/bench-memset.c: New file.
939 * benchtests/bench-rawmemchr-ifunc.c: New file.
940 * benchtests/bench-rawmemchr.c: New file.
941 * benchtests/bench-stpcpy-ifunc.c: New file.
942 * benchtests/bench-stpcpy.c: New file.
943 * benchtests/bench-stpncpy-ifunc.c: New file.
944 * benchtests/bench-stpncpy.c: New file.
945 * benchtests/bench-strcasecmp-ifunc.c: New file.
946 * benchtests/bench-strcasecmp.c: New file.
947 * benchtests/bench-strcasestr-ifunc.c: New file.
948 * benchtests/bench-strcasestr.c: New file.
949 * benchtests/bench-strcat-ifunc.c: New file.
950 * benchtests/bench-strcat.c: New file.
951 * benchtests/bench-strchr-ifunc.c: New file.
952 * benchtests/bench-strchr.c: New file.
953 * benchtests/bench-strchrnul-ifunc.c: New file.
954 * benchtests/bench-strchrnul.c: New file.
955 * benchtests/bench-strcmp-ifunc.c: New file.
956 * benchtests/bench-strcmp.c: New file.
957 * benchtests/bench-strcpy-ifunc.c: New file.
958 * benchtests/bench-strcpy.c: New file.
959 * benchtests/bench-strcspn-ifunc.c: New file.
960 * benchtests/bench-strcspn.c: New file.
961 * benchtests/bench-strlen-ifunc.c: New file.
962 * benchtests/bench-strlen.c: New file.
963 * benchtests/bench-strncasecmp-ifunc.c: New file.
964 * benchtests/bench-strncasecmp.c: New file.
965 * benchtests/bench-strncat-ifunc.c: New file.
966 * benchtests/bench-strncat.c: New file.
967 * benchtests/bench-strncmp-ifunc.c: New file.
968 * benchtests/bench-strncmp.c: New file.
969 * benchtests/bench-strncpy-ifunc.c: New file.
970 * benchtests/bench-strncpy.c: New file.
971 * benchtests/bench-strnlen-ifunc.c: New file.
972 * benchtests/bench-strnlen.c: New file.
973 * benchtests/bench-strpbrk-ifunc.c: New file.
974 * benchtests/bench-strpbrk.c: New file.
975 * benchtests/bench-strrchr-ifunc.c: New file.
976 * benchtests/bench-strrchr.c: New file.
977 * benchtests/bench-strspn-ifunc.c: New file.
978 * benchtests/bench-strspn.c: New file.
979 * benchtests/bench-strstr-ifunc.c: New file.
980 * benchtests/bench-strstr.c: New file.
981
c1f75dc3
SP
982 * benchtests/Makefile: Disable parallel execution of targets.
983 (string-bench): Add memcpy.
984 (benchset): New variable to store a list of benchmark sets.
985 (bench-func): Renamed from bench.
986 (bench-set): New target.
987 (bench): Depend on bench-func and bench-set.
988 * benchtests/README: Add section on benchmark sets.
989 * benchtests/bench-memcpy-ifunc.c: New file.
990 * benchtests/bench-memcpy.c: New file.
991 * benchtests/bench-string.h: New file.
992
50fd745b
AS
9932013-06-11 Andreas Schwab <schwab@suse.de>
994
995 [BZ #15577]
996 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
997 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
998 values in the triple.
999 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1000 terminator in the group key.
1001
3ee7e9fe
AJ
10022013-06-11 Andreas Jaeger <aj@suse.de>
1003
1004 * po/zh_TW.po: Update Chinese (traditional) translation from
1005 translation project.
1006
89fb6835
SP
10072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1010 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1011 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1012 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1013 (clock_getcpuclockid): Likewise.
1014 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1015 Add weak_alias and libc_hidden_def.
1016 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1017 * rt/clock_gettime.c (clock_gettime): Rename to
1018 __clock_gettime. Add weak_alias and libc_hidden_def.
1019 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1020 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1021 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1022 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1023 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1024 Likewise.
1025 * rt/clock_settime.c (clock_settime): Rename to
1026 __clock_settime. Add weak_alias and libc_hidden_def.
1027 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1028
0efa6f8b
JM
10292013-06-10 Joseph Myers <joseph@codesourcery.com>
1030
b8c61b4b
JM
1031 * mach/err_boot.sub: Remove trailing whitespace.
1032 * mach/err_ipc.sub: Likewise.
1033 * mach/err_mach.sub: Likewise.
1034
0efa6f8b
JM
1035 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1036 (ROUNDING_TESTS_double): Likewise.
1037 (ROUNDING_TESTS_long_double): Likewise.
1038 (ROUNDING_TESTS): Likewise.
1039 * math/libm-test.inc: Include <math-tests.h>.
1040 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1041 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1042 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1043 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1044
50b818bf
SP
10452013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1046
1047 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1048 of assigning.
1049
60d2f8f3
JM
10502013-06-08 Joseph Myers <joseph@codesourcery.com>
1051
4902d2c3
JM
1052 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1053 otherwise empty TRANS lines.
1054 * sysdeps/gnu/errlist.c: Regenerated.
1055
60d2f8f3
JM
1056 * catgets/gencat.c (error_print): Use (void) in function
1057 definition.
1058 * crypt/crypt_util.c (__init_des): Likewise.
1059 * crypt/speeds.c (Stop): Likewise.
1060 (main): Likewise.
1061 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1062 * inet/ruserpass.c (token): Likewise.
1063 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1064 * intl/localealias.c (extend_alias_table): Likewise.
1065 * intl/plural-exp.c (init_germanic_plural): Likewise.
1066 * libio/fcloseall.c (__fcloseall): Likewise.
1067 * libio/genops.c (_IO_flush_all): Likewise.
1068 (_IO_flush_all_linebuffered): Likewise.
1069 (_IO_cleanup): Likewise.
1070 (_IO_iter_begin): Likewise.
1071 (_IO_iter_end): Likewise.
1072 (_IO_list_lock): Likewise.
1073 (_IO_list_unlock): Likewise.
1074 (_IO_list_resetlock): Likewise.
1075 * libio/getchar.c (getchar): Likewise.
1076 * libio/getchar_u.c (getchar_unlocked): Likewise.
1077 * libio/getwchar.c (getwchar): Likewise.
1078 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1079 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1080 * login/getpt.c (__getpt): Likewise.
1081 * login/tst-utmp.c (main): Likewise.
1082 * malloc/hooks.c (__malloc_check_init): Likewise.
1083 * malloc/malloc.c (__malloc_stats): Likewise.
1084 * malloc/mtrace.c (tr_break): Likewise.
1085 (mtrace): Likewise.
1086 (muntrace): Likewise.
1087 * misc/fstab.c (endfsent): Likewise.
1088 * misc/getclktck.c (__getclktck): Likewise.
1089 * misc/getdtsz.c (__getdtablesize): Likewise.
1090 * misc/gethostid.c (gethostid): Likewise.
1091 * misc/getpagesize.c (__getpagesize): Likewise.
1092 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1093 (__get_nprocs): Likewise.
1094 (__get_phys_pages): Likewise.
1095 (__get_avphys_pages): Likewise.
1096 * misc/getttyent.c (getttyent): Likewise.
1097 (setttyent): Likewise.
1098 (endttyent): Likewise.
1099 * misc/getusershell.c (getusershell): Likewise.
1100 (endusershell): Likewise.
1101 (setusershell): Likewise.
1102 (initshells): Likewise.
1103 * misc/hsearch.c (__hdestroy): Likewise.
1104 * misc/sync.c (sync): Likewise.
1105 * misc/syslog.c (closelog_internal): Likewise.
1106 (closelog): Likewise.
1107 * misc/ttyslot.c (ttyslot): Likewise.
1108 * misc/vhangup.c (vhangup): Likewise.
1109 * posix/fork.c (__fork): Likewise.
1110 * posix/getegid.c (__getegid): Likewise.
1111 * posix/geteuid.c (__geteuid): Likewise.
1112 * posix/getgid.c (__getgid): Likewise.
1113 * posix/getpid.c (__getpid): Likewise.
1114 * posix/getppid.c (__getppid): Likewise.
1115 * posix/getuid.c (__getuid): Likewise.
1116 * posix/pause.c (pause): Likewise.
1117 * posix/setpgrp.c (setpgrp): Likewise.
1118 * posix/setsid.c (__setsid): Likewise.
1119 * posix/test-vfork.c (noop): Likewise.
1120 * resolv/gethnamaddr.c (_endhtent): Likewise.
1121 (_gethtent): Likewise.
1122 (ht_endhostent): Likewise.
1123 (gethostent): Likewise.
1124 (dns_service): Likewise.
1125 * stdlib/drand48.c (drand48): Likewise.
1126 * stdlib/lrand48.c (lrand48): Likewise.
1127 * stdlib/mrand48.c (mrand48): Likewise.
1128 * stdlib/rand.c (rand): Likewise.
1129 * stdlib/random.c (__random): Likewise.
1130 * stdlib/setenv.c (clearenv): Likewise.
1131 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1132 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1133 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1134 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1135 (__get_nprocs): Likewise.
1136 (__get_phys_pages): Likewise.
1137 (__get_avphys_pages): Likewise.
1138 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1139 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1140 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1141 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1142 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1143 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1144 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1145 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1146 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1147 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1148 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1149 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1150 * sysdeps/posix/clock.c (clock): Likewise.
1151 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1152 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1153 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1154 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1155 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1157 (__get_nprocs_conf): Likewise.
1158 (__get_phys_pages): Likewise.
1159 (__get_avphys_pages): Likewise.
1160 * time/clock.c (clock): Likewise.
1161 * time/tzset.c (__tzname_max): Likewise.
1162
2e09a79a
JM
11632013-06-07 Joseph Myers <joseph@codesourcery.com>
1164
1165 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1166 (__bswap_32): Do not use "register".
1167 * crypt/crypt.c (_ufc_doit_r): Likewise.
1168 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1169 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1170 * gmon/gmon.c (__monstartup): Likewise.
1171 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1172 * hurd/hurdmalloc.c (more_memory): Likewise.
1173 (malloc): Likewise.
1174 (free): Likewise.
1175 (realloc): Likewise.
1176 (malloc_fork_prepare): Likewise.
1177 (malloc_fork_parent): Likewise.
1178 (malloc_fork_child): Likewise.
1179 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1180 (_svcauth_des): Likewise.
1181 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1182 * inet/inet_net.c (inet_network): Likewise.
1183 * inet/inet_netof.c (inet_netof): Likewise.
1184 * inet/rcmd.c (__validuser2_sa): Likewise.
1185 * io/fts.c (fts_open): Likewise.
1186 (fts_load): Likewise.
1187 (fts_close): Likewise.
1188 (fts_read): Likewise.
1189 (fts_children): Likewise.
1190 (fts_build): Likewise.
1191 (fts_stat): Likewise.
1192 (fts_sort): Likewise.
1193 (fts_alloc): Likewise.
1194 (fts_lfree): Likewise.
1195 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1196 (_IO_file_xsgetn): Likewise.
1197 (_IO_file_xsgetn_mmap): Likewise.
1198 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1199 (_IO_cookie_write): Likewise.
1200 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1201 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1202 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1203 * malloc/obstack.c (_obstack_begin): Likewise.
1204 (_obstack_begin_1): Likewise.
1205 (_obstack_newchunk): Likewise.
1206 (_obstack_allocated_p): Likewise.
1207 (obstack_free): Likewise.
1208 (_obstack_memory_used): Likewise.
1209 * misc/getttyent.c (getttynam): Likewise.
1210 (getttyent): Likewise.
1211 (skip): Likewise.
1212 (value): Likewise.
1213 * misc/getusershell.c (initshells): Likewise.
1214 * misc/syslog.c (__vsyslog_chk): Likewise.
1215 * misc/ttyslot.c (ttyslot): Likewise.
1216 * nis/nis_hash.c (__nis_hash): Likewise.
1217 * posix/fnmatch_loop.c (FCT): Likewise.
1218 * posix/getconf.c (print_all): Likewise.
1219 (main): Likewise.
1220 * posix/getopt.c (exchange): Likewise.
1221 * posix/glob.c (globfree): Likewise.
1222 (prefix_array): Likewise.
1223 (__glob_pattern_type): Likewise.
1224 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1225 (NS_GET32): Likewise.
1226 (NS_PUT16): Likewise.
1227 (NS_PUT32): Likewise.
1228 * resolv/gethnamaddr.c (getanswer): Likewise.
1229 (gethostbyname2): Likewise.
1230 (gethostbyaddr): Likewise.
1231 (_gethtent): Likewise.
1232 (_gethtbyname2): Likewise.
1233 (_gethtbyaddr): Likewise.
1234 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1235 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1236 * resolv/res_init.c (__res_vinit): Likewise.
1237 (net_mask): Likewise.
1238 * resolv/res_mkquery.c (outchar): Likewise.
1239 (PRINT): Likewise.
1240 * stdio-common/printf_fp.c (outchar): Likewise.
1241 (PRINT): Likewise.
1242 * stdio-common/printf_fphex.c (outchar): Likewise.
1243 (PRINT): Likewise.
1244 * stdio-common/printf_size.c (outchar): Likewise.
1245 (PRINT): Likewise.
1246 * stdio-common/test_rdwr.c (main): Likewise.
1247 * stdio-common/tfformat.c (matches): Likewise.
1248 * stdio-common/vfprintf.c (outchar): Likewise.
1249 (printf_unknown): Likewise.
1250 (buffered_vfprintf): Likewise.
1251 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1252 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1253 (ReadFile): Likewise.
1254 * stdlib/qsort.c (SWAP): Likewise.
1255 (_quicksort): Likewise.
1256 * stdlib/setenv.c (__add_to_environ): Likewise.
1257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1258 * stdlib/strtol_l.c (__strtol_l): Likewise.
1259 * stdlib/tst-strtod.c (main): Likewise.
1260 * stdlib/tst-strtol.c (main): Likewise.
1261 * stdlib/tst-strtoll.c (main): Likewise.
1262 * string/bits/string2.h (__strcmp_cc): Likewise.
1263 (__strcmp_cg): Likewise.
1264 (__strcspn_c1): Likewise.
1265 (__strcspn_c2): Likewise.
1266 (__strcspn_c3): Likewise.
1267 (__strspn_c1): Likewise.
1268 (__strspn_c2): Likewise.
1269 (__strspn_c3): Likewise.
1270 (__strsep_1c): Likewise.
1271 (__strsep_2c): Likewise.
1272 (__strsep_3c): Likewise.
1273 * string/memccpy.c (__memccpy): Likewise.
1274 * string/stpcpy.c (__stpcpy): Likewise.
1275 * string/strcmp.c (strcmp): Likewise.
1276 * string/strrchr.c (strrchr): Likewise.
1277 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1278 Likewise.
1279 * sysdeps/mach/hurd/getcwd.c
1280 (_hurd_canonicalize_directory_name_internal): Likewise.
1281 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1282 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1283 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1284 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1285 Likewise, in both definitions.
1286 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1287 definitions.
1288 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1289 64] (__bswap_64): Likewise.
1290 * time/test_time.c (main): Likewise.
1291 * time/tzfile.c (__tzfile_read): Likewise.
1292 (__tzfile_compute): Likewise.
1293 * time/tzset.c (__tzset_parse_tz): Likewise.
1294 (tzset_internal): Likewise.
1295 (compute_change): Likewise.
1296 * wcsmbs/wcscat.c (__wcscat): Likewise.
1297 * wcsmbs/wcschr.c (wcschr): Likewise.
1298 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1299 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1300 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1301 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1302 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1303 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1304 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1305 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1306 * wcsmbs/wmemset.c (wmemset): Likewise.
1307
9e54314b
JM
13082013-06-06 Joseph Myers <joseph@codesourcery.com>
1309
1310 * scripts/config.guess: Update to version 2013-05-16.
1311 * scripts/config.sub: Update to version 2013-04-24.
1312 * scripts/install-sh: Update to version 2011-11-20.07.
1313 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1314 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1315
350635a5
OB
13162013-06-06 Ondřej Bílka <neleai@seznam.cz>
1317
1318 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1319 * elf/sln.c: Likewise.
1320 * hurd/hurd/ioctl.h: Likewise.
1321 * hurd/hurdmalloc.c: Likewise.
1322 * hurd/xattr.c: Likewise.
1323 * include/shlib-compat.h: Likewise.
1324 * inet/ruserpass.c: Likewise.
1325 * libio/iofgets_u.c: Likewise.
1326 * libio/iofgetws_u.c: Likewise.
1327 * locale/programs/ld-identification.c: Likewise.
1328 * locale/programs/ld-time.c: Likewise.
1329 * mach/msg-destroy.c: Likewise.
1330 * nss/nss_files/files-netgrp.c: Likewise.
1331 * resolv/res_data.c: Likewise.
1332 * soft-fp/op-1.h: Likewise.
1333 * soft-fp/op-2.h: Likewise.
1334 * soft-fp/op-4.h: Likewise.
1335 * soft-fp/op-common.h: Likewise.
1336 * stdio-common/printf_fphex.c: Likewise.
1337 * stdlib/strtod_l.c: Likewise.
1338 * sunrpc/rpc/clnt.h: Likewise.
1339 * sysdeps/generic/framestate.c: Likewise.
1340 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1341 * sysdeps/i386/bsd-setjmp.S: Likewise.
1342 * sysdeps/i386/__longjmp.S: Likewise.
1343 * sysdeps/i386/setjmp.S: Likewise.
1344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1345 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1362 * sysdeps/ieee754/support.c: Likewise.
1363 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1364 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1365 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1366 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1367 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1368 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1369 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1370 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1371 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1372 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1373 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1374 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1375 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1376 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1377 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1378 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1379 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1381
44a988af
OB
13822013-06-05 Ondřej Bílka <neleai@seznam.cz>
1383
25506f09 1384 * posix/transbug.c: Remove executable mode.
44a988af 1385
9c84384c
JM
13862013-06-05 Joseph Myers <joseph@codesourcery.com>
1387
1388 * crypt/speeds.c: Remove trailing whitespace.
1389 * dlfcn/default.c: Likewise.
1390 * elf/ifuncdep2.c: Likewise.
1391 * elf/ifuncmain1.c: Likewise.
1392 * elf/ifuncmain1vis.c: Likewise.
1393 * elf/testobj.h: Likewise.
1394 * elf/tst-stackguard1.c: Likewise.
1395 * gmon/sys/gmon.h: Likewise.
1396 * hurd/hurdmsg.c: Likewise.
1397 * hurd/new-fd.c: Likewise.
1398 * hurd/ports-get.c: Likewise.
1399 * iconvdata/ibm1008_420.c: Likewise.
1400 * inet/tst-getni1.c: Likewise.
1401 * inet/tst-getni2.c: Likewise.
1402 * libio/ioungetc.c: Likewise.
1403 * libio/wfiledoalloc.c: Likewise.
1404 * manual/libm-err-tab.pl: Likewise.
1405 * math/w_dremf.c: Likewise.
1406 * misc/ftruncate.c: Likewise.
1407 * posix/bug-glob2.c: Likewise.
1408 * posix/tst-pcre.c: Likewise.
1409 * posix/wait4.c: Likewise.
1410 * resolv/README: Likewise.
1411 * resolv/res_debug.h: Likewise.
1412 * resolv/tst-inet_ntop.c: Likewise.
1413 * setjmp/bug269-setjmp.c: Likewise.
1414 * soft-fp/extended.h: Likewise.
1415 * soft-fp/op-1.h: Likewise.
1416 * soft-fp/op-2.h: Likewise.
1417 * soft-fp/op-4.h: Likewise.
1418 * soft-fp/op-8.h: Likewise.
1419 * soft-fp/testit.c: Likewise.
1420 * stdio-common/bug16.c: Likewise.
1421 * stdlib/random.c: Likewise.
1422 * sunrpc/rpcsvc/rquota.x: Likewise.
1423 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1424 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1426 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1427 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1429 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1430 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1431 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1432 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1433 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1434 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1435 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1436 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1437 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1439 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1441 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1450 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1452 * sysdeps/ieee754/s_lib_version.c: Likewise.
1453 * sysdeps/mach/hurd/check_fds.c: Likewise.
1454 * sysdeps/mach/hurd/getsockname.c: Likewise.
1455 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1456 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1457 * sysdeps/powerpc/bits/link.h: Likewise.
1458 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1459 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1460 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1461 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1463 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1464 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1465 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1466 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1467 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1468 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1469 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1470 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1471 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1472 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1473 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1475 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1477 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1479 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1480 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1481 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1482 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1484 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1485 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1486 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1489 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1492 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1493 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1494 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1495 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1497 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1498 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1499 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1500 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1502 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1503 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1504 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1510 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1512 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1515 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1518 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1520 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1521 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1522 * sysdeps/powerpc/sysdep.h: Likewise.
1523 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1524 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1525 * sysdeps/sh/dl-trampoline.S: Likewise.
1526 * sysdeps/sh/memset.S: Likewise.
1527 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1528 * sysdeps/sh/strlen.S: Likewise.
1529 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1530 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1531 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1532 * sysdeps/sparc/sparc32/rem.S: Likewise.
1533 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1534 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1535 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1536 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1537 * sysdeps/sparc/sparc32/urem.S: Likewise.
1538 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1539 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1540 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1541 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1542 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1543 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1544 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1545 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1546 * sysdeps/unix/bsd/times.c: Likewise.
1547 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1548 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1553 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1554 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1555 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1556 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1557 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1559 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1560 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1561 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1562 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1563 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1564 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1565 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1566 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1567 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1568 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1569 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1570 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1571 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1572 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1573 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1575 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1576 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1577 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1578 * sysdeps/x86_64/strcspn.S: Likewise.
1579
869378a5
RA
15802013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1581
1582 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1583 generated file. Regenerate properly from gen-translit.pl.
1584 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1585 locale/C-translit.h.
1586
840e2943
AS
15872013-06-05 Andreas Schwab <schwab@suse.de>
1588
1589 [BZ #15100]
1590 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1591 week as 6 instead of -1.
1592 * time/tst-strptime.c (day_tests): Add test case.
1593
4c60cb0c
SP
15942013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * sysdeps/generic/math_private.h
1597 (libc_feholdexcept_setround_53bit): Replace with
1598 libc_feholdsetround_53bit.
1599 (libc_feupdateenv_53bit): Replace with
1600 libc_feresetround_53bit.
1601 (SET_RESTORE_ROUND_53BIT): Adjust.
1602
d180203e
SP
16032013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1604
96df079a
SP
1605 * string/test-strchrnul.c: Add copyright header.
1606
d180203e
SP
1607 * posix/tst-getaddrinfo4.c: Increase test timeout.
1608
8b0ccb2d
CD
16092013-06-03 Carlos O'Donell <carlos@redhat.com>
1610
1611 [BZ #15536]
1612 * math/libm-test.inc (MAX_EXP): Remove
1613 (MIN_EXP): Define.
1614 (ulp): Use MIN_EXP - MANT_DIG.
1615 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1616
3b3c4d40
CD
16172013-05-31 Carlos O'Donell <carlos@redhat.com>
1618
1619 * po/be.po: Revert last change.
1620 * po/zh_CN.po: Likewise.
1621 * po/header.pot: Likewise.
1622
fab7ce3f
JM
16232013-05-31 Joseph Myers <joseph@codesourcery.com>
1624
1625 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1626 link-libc-deps to empty as target-specific variable.
1627 * Makerules (link-libc-args): New variable.
1628 (libc-for-link): Likewise.
1629 (link-libc-deps): Likewise.
1630 (lib%.so): Depend on $(link-libc-deps). Link with
1631 $(link-libc-args).
1632 (build-module): Link with $(link-libc-args).
1633 (build-module-asneeded): Likewise.
1634 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1635 list of objects.
1636 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1637 target-specific variable.
1638 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1639 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1640 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1641 libc.
1642 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1643 libc and ld.so.
1644 ($(objpfx)libpcprofile.so): Likewise.
1645 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1646 libc_nonshared.a.
1647 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1648 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1649 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1650 $(link-libc-deps).
1651 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1652 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1653 * login/Makefile ($(objpfx)libutil.so): Likewise.
1654 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1655 * math/Makefile ($(objpfx)libm.so): Likewise.
1656 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1657 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1658 variable instead of depending directly on libc.
1659 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1660 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1661 $(link-libc-deps).
1662 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1663 libc.
1664 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1665 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1666 ($(objpfx)libanl.so): Likewise.
1667 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1668 ld.so.
1669 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1670 $(link-libc-deps).
1671 * sysdeps/i386/fpu/Makefile: Remove file.
1672 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1673 ($(objpfx)libm.so): Remove dependency on ld.so.
1674
eca5920c
PF
16752013-05-30 Patsy Franklin <pfrankli@redhat.com>
1676
1677 [BZ # 15553]
1678 * nis/yp_xdr.c (XDRMAXNAME): Define.
1679 (XDRMAXRECORD): Define.
1680 (xdr_domainname): Use XDRMAXNAME.
1681 (xdr_mapname): Likewise.
1682 (xdr_peername): Likewise.
1683 (xdr_keydat): Use XDRMAXRECORD.
1684 (xdr_valdat): Likewise.
1685
16862013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1687
1688 [BZ #14256]
1689 * manual/errno.texi (ESTALE): Update to account for more than
1690 just NFS file systems.
1691 * sysdeps/gnu/errlist.c: Regenerated.
1692
b9375348
SP
16932013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
1695 [BZ #15465]
1696 * elf/Makefile (tests): Add tst-null-argv.
1697 (modules-names): Add tst-null-argv-lib.
1698 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1699 (tst-null-argv-ENV): Set environment for tst-null-argv.
1700 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1701 (RTLD_PROGNAME): New macro.
1702 * elf/tst-null-argv.c: New test case.
1703 * elf/tst-null-argv-lib.c: Library for test case.
1704 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1705 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1706 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1707 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1708 * elf/dl-init.c (call_init): Likewise.
1709 (_dl_init): Likewise.
1710 * elf/dl-load.c (print_search_path): Likewise.
1711 (_dl_map_object): Likewise.
1712 * elf/dl-lookup.c (do_lookup_x): Likewise.
1713 (add_dependency): Likewise.
1714 (_dl_lookup_symbol_x): Likewise.
1715 (_dl_debug_bindings): Likewise.
1716 * elf/dl-open.c (_dl_show_scope): Likewise.
1717 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1718 * elf/dl-version.c (match_symbol): Likewise.
1719 (_dl_check_map_versions): Likewise.
1720 * elf/rtld.c (dl_main): Likewise.
1721 (print_unresolved): Use RTLD_PROGNAME.
1722 (print_missing_version): Likewise.
1723 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1724 (elf_machine_rela): Likewise.
1725 * sysdeps/powerpc/powerpc32/dl-machine.c
1726 (__process_machine_rela): Likewise.
1727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1728 Likewise.
1729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1730 Likewise.
1731 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1732 Likewise.
1733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1735 Likewise.
1736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1737 Likewise.
1738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1739
8a9f20c8
CD
17402013-05-28 Carlos O'Donell <carlos@redhat.com>
1741
1742 * po/be.po: Add descriptive title.
1743 * po/zh_CN.po: Likewise.
1744 * po/header.pot: Likewise.
1745
0e60d68e
MF
17462013-05-28 Mike Frysinger <vapier@gentoo.org>
1747
1748 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1749 error message.
1750 (enlarge_archive): Likewise.
1751
56b672e9
BN
17522013-05-28 Ben North <ben@redfrontdoor.org>
1753
1754 * manual/arith.texi (frexp): It is the magnitude of the return
1755 value which lies in [0.5, 1), not the return value itself.
1756
5e056687
AZ
17572013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1760
2b66ef5d
TS
17612013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1762
528c2405
TS
1763 * stdio-common/bug26.c (main): Correct fscanf template.
1764
07b4c13d
TS
1765 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1766 declare _dl_skip_args.
1767
ec9dd97c
TS
1768 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1769 Don't declare.
1770
2b66ef5d
TS
1771 * manual/platform.texi: Add missing @end deftypefun.
1772
4f8dfe27
JM
17732013-05-24 Joseph Myers <joseph@codesourcery.com>
1774
0323d086
JM
1775 [BZ #15529]
1776 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1777 bit of mantissa of 2^16382.
1778 * math/libm-test.inc (hypot_test_data): Add more tests.
1779
dd4259b9
JM
1780 * math/libm-test.inc: Add drem and pow10 to list of tested
1781 functions.
1782 (pow10_test): New function.
1783 (drem_test): Likewise.
1784 (drem_test_tonearest): Likewise.
1785 (drem_test_towardzero): Likewise.
1786 (drem_test_downward): Likewise.
1787 (drem_test_upward): Likewise.
1788 (main): Call the new functions.
1789
4f8dfe27
JM
1790 * math/libm-test.inc (finite_test_data): Remove.
1791 (finite_test): Run tests from isfinite_test_data.
1792 (gamma_test_data): Remove.
1793 (gamma_test): Run tests from lgamma_test_data.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1796
d116b7c4
AZ
17972013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * manual/platform.texi: Add PowerPC PPR function set documentation.
1800 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1801 implementation.
1802
e96e3767
CD
18032013-05-24 Carlos O'Donell <carlos@redhat.com>
1804
1805 * math/libm-test.inc (MAX_EXP): Define.
1806 (ULPDIFF): Define.
1807 (ulp): New function.
1808 (check_float_internal): Use ULPDIFF.
1809 (cpow_test): Disable failing test.
1810 (check_ulp): Test ulp() implemetnation.
1811 (main): Call check_ulp before starting tests.
1812
b679a606
JM
18132013-05-24 Joseph Myers <joseph@codesourcery.com>
1814
e8bdba36
JM
1815 * math/gen-libm-test.pl (generate_testfile): Do not handle
1816 START_DATA and END_DATA.
1817 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1818 END_DATA.
1819 (acos_tonearest_test_data): Likewise.
1820 (acos_towardzero_test_data): Likewise.
1821 (acos_downward_test_data): Likewise.
1822 (acos_upward_test_data): Likewise.
1823 (acosh_test_data): Likewise.
1824 (asin_test_data): Likewise.
1825 (asin_tonearest_test_data): Likewise.
1826 (asin_towardzero_test_data): Likewise.
1827 (asin_downward_test_data): Likewise.
1828 (asin_upward_test_data): Likewise.
1829 (asinh_test_data): Likewise.
1830 (atan_test_data): Likewise.
1831 (atanh_test_data): Likewise.
1832 (atan2_test_data): Likewise.
1833 (cabs_test_data): Likewise.
1834 (cacos_test_data): Likewise.
1835 (cacosh_test_data): Likewise.
1836 (carg_test_data): Likewise.
1837 (casin_test_data): Likewise.
1838 (casinh_test_data): Likewise.
1839 (catan_test_data): Likewise.
1840 (catanh_test_data): Likewise.
1841 (cbrt_test_data): Likewise.
1842 (ccos_test_data): Likewise.
1843 (ccosh_test_data): Likewise.
1844 (ceil_test_data): Likewise.
1845 (cexp_test_data): Likewise.
1846 (cimag_test_data): Likewise.
1847 (clog_test_data): Likewise.
1848 (clog10_test_data): Likewise.
1849 (conj_test_data): Likewise.
1850 (copysign_test_data): Likewise.
1851 (cos_test_data): Likewise.
1852 (cos_tonearest_test_data): Likewise.
1853 (cos_towardzero_test_data): Likewise.
1854 (cos_downward_test_data): Likewise.
1855 (cos_upward_test_data): Likewise.
1856 (cosh_test_data): Likewise.
1857 (cosh_tonearest_test_data): Likewise.
1858 (cosh_towardzero_test_data): Likewise.
1859 (cosh_downward_test_data): Likewise.
1860 (cosh_upward_test_data): Likewise.
1861 (cpow_test_data): Likewise.
1862 (cproj_test_data): Likewise.
1863 (creal_test_data): Likewise.
1864 (csin_test_data): Likewise.
1865 (csinh_test_data): Likewise.
1866 (csqrt_test_data): Likewise.
1867 (ctan_test_data): Likewise.
1868 (ctan_tonearest_test_data): Likewise.
1869 (ctan_towardzero_test_data): Likewise.
1870 (ctan_downward_test_data): Likewise.
1871 (ctan_upward_test_data): Likewise.
1872 (ctanh_test_data): Likewise.
1873 (ctanh_tonearest_test_data): Likewise.
1874 (ctanh_towardzero_test_data): Likewise.
1875 (ctanh_downward_test_data): Likewise.
1876 (ctanh_upward_test_data): Likewise.
1877 (erf_test_data): Likewise.
1878 (erfc_test_data): Likewise.
1879 (exp_test_data): Likewise.
1880 (exp_tonearest_test_data): Likewise.
1881 (exp_towardzero_test_data): Likewise.
1882 (exp_downward_test_data): Likewise.
1883 (exp_upward_test_data): Likewise.
1884 (exp10_test_data): Likewise.
1885 (exp2_test_data): Likewise.
1886 (expm1_test_data): Likewise.
1887 (fabs_test_data): Likewise.
1888 (fdim_test_data): Likewise.
1889 (finite_test_data): Likewise.
1890 (floor_test_data): Likewise.
1891 (fma_test_data): Likewise.
1892 (fma_towardzero_test_data): Likewise.
1893 (fma_downward_test_data): Likewise.
1894 (fma_upward_test_data): Likewise.
1895 (fmax_test_data): Likewise.
1896 (fmin_test_data): Likewise.
1897 (fmod_test_data): Likewise.
1898 (fpclassify_test_data): Likewise.
1899 (frexp_test_data): Likewise.
1900 (gamma_test_data): Likewise.
1901 (hypot_test_data): Likewise.
1902 (ilogb_test_data): Likewise.
1903 (isfinite_test_data): Likewise.
1904 (isgreater_test_data): Likewise.
1905 (isgreaterequal_test_data): Likewise.
1906 (isinf_test_data): Likewise.
1907 (isless_test_data): Likewise.
1908 (islessequal_test_data): Likewise.
1909 (islessgreater_test_data): Likewise.
1910 (isnan_test_data): Likewise.
1911 (isnormal_test_data): Likewise.
1912 (issignaling_test_data): Likewise.
1913 (isunordered_test_data): Likewise.
1914 (j0_test_data): Likewise.
1915 (j1_test_data): Likewise.
1916 (jn_test_data): Likewise.
1917 (ldexp_test_data): Likewise.
1918 (lgamma_test_data): Likewise.
1919 (lrint_test_data): Likewise.
1920 (lrint_tonearest_test_data): Likewise.
1921 (lrint_towardzero_test_data): Likewise.
1922 (lrint_downward_test_data): Likewise.
1923 (lrint_upward_test_data): Likewise.
1924 (llrint_test_data): Likewise.
1925 (llrint_tonearest_test_data): Likewise.
1926 (llrint_towardzero_test_data): Likewise.
1927 (llrint_downward_test_data): Likewise.
1928 (llrint_upward_test_data): Likewise.
1929 (log_test_data): Likewise.
1930 (log10_test_data): Likewise.
1931 (log1p_test_data): Likewise.
1932 (log2_test_data): Likewise.
1933 (logb_test_data): Likewise.
1934 (logb_downward_test_data): Likewise.
1935 (lround_test_data): Likewise.
1936 (llround_test_data): Likewise.
1937 (modf_test_data): Likewise.
1938 (nearbyint_test_data): Likewise.
1939 (nextafter_test_data): Likewise.
1940 (nexttoward_test_data): Likewise.
1941 (pow_test_data): Likewise.
1942 (pow_tonearest_test_data): Likewise.
1943 (pow_towardzero_test_data): Likewise.
1944 (pow_downward_test_data): Likewise.
1945 (pow_upward_test_data): Likewise.
1946 (remainder_test_data): Likewise.
1947 (remainder_tonearest_test_data): Likewise.
1948 (remainder_towardzero_test_data): Likewise.
1949 (remainder_downward_test_data): Likewise.
1950 (remainder_upward_test_data): Likewise.
1951 (remquo_test_data): Likewise.
1952 (rint_test_data): Likewise.
1953 (rint_tonearest_test_data): Likewise.
1954 (rint_towardzero_test_data): Likewise.
1955 (rint_downward_test_data): Likewise.
1956 (rint_upward_test_data): Likewise.
1957 (round_test_data): Likewise.
1958 (scalb_test_data): Likewise.
1959 (scalbn_test_data): Likewise.
1960 (scalbln_test_data): Likewise.
1961 (signbit_test_data): Likewise.
1962 (sin_test_data): Likewise.
1963 (sin_tonearest_test_data): Likewise.
1964 (sin_towardzero_test_data): Likewise.
1965 (sin_downward_test_data): Likewise.
1966 (sin_upward_test_data): Likewise.
1967 (sincos_test_data): Likewise.
1968 (sinh_test_data): Likewise.
1969 (sinh_tonearest_test_data): Likewise.
1970 (sinh_towardzero_test_data): Likewise.
1971 (sinh_downward_test_data): Likewise.
1972 (sinh_upward_test_data): Likewise.
1973 (sqrt_test_data): Likewise.
1974 (tan_test_data): Likewise.
1975 (tan_tonearest_test_data): Likewise.
1976 (tan_towardzero_test_data): Likewise.
1977 (tan_downward_test_data): Likewise.
1978 (tan_upward_test_data): Likewise.
1979 (tanh_test_data): Likewise.
1980 (tgamma_test_data): Likewise.
1981 (trunc_test_data): Likewise.
1982 (y0_test_data): Likewise.
1983 (y1_test_data): Likewise.
1984 (yn_test_data): Likewise.
1985 (significand_test_data): Likewise.
1986
b679a606
JM
1987 * math/gen-libm-test.pl (@functions): Remove variable.
1988 (generate_testfile): Don't handle START and END lines.
1989 * math/libm-test.inc (START): New macro.
1990 (END): Likewise.
1991 (END_COMPLEX): Likewise.
1992 (acos_test): Use END macro without arguments.
1993 (acos_test_tonearest): Likewise.
1994 (acos_test_towardzero): Likewise.
1995 (acos_test_downward): Likewise.
1996 (acos_test_upward): Likewise.
1997 (acosh_test): Likewise.
1998 (asin_test): Likewise.
1999 (asin_test_tonearest): Likewise.
2000 (asin_test_towardzero): Likewise.
2001 (asin_test_downward): Likewise.
2002 (asin_test_upward): Likewise.
2003 (asinh_test): Likewise.
2004 (atan_test): Likewise.
2005 (atanh_test): Likewise.
2006 (atan2_test): Likewise.
2007 (cabs_test): Likewise.
2008 (cacos_test): Use END_COMPLEX macro without arguments.
2009 (cacosh_test): Likewise.
2010 (carg_test): Use END macro without arguments.
2011 (casin_test): Use END_COMPLEX macro without arguments.
2012 (casinh_test): Likewise.
2013 (catan_test): Likewise.
2014 (catanh_test): Likewise.
2015 (cbrt_test): Use END macro without arguments.
2016 (ccos_test): Use END_COMPLEX macro without arguments.
2017 (ccosh_test): Likewise.
2018 (ceil_test): Use END macro without arguments.
2019 (cexp_test): Use END_COMPLEX macro without arguments.
2020 (cimag_test): Use END macro without arguments.
2021 (clog_test): Use END_COMPLEX macro without arguments.
2022 (clog10_test): Likewise.
2023 (conj_test): Likewise.
2024 (copysign_test): Use END macro without arguments.
2025 (cos_test): Likewise.
2026 (cos_test_tonearest): Likewise.
2027 (cos_test_towardzero): Likewise.
2028 (cos_test_downward): Likewise.
2029 (cos_test_upward): Likewise.
2030 (cosh_test): Likewise.
2031 (cosh_test_tonearest): Likewise.
2032 (cosh_test_towardzero): Likewise.
2033 (cosh_test_downward): Likewise.
2034 (cosh_test_upward): Likewise.
2035 (cpow_test): Use END_COMPLEX macro without arguments.
2036 (cproj_test): Likewise.
2037 (creal_test): Use END macro without arguments.
2038 (csin_test): Use END_COMPLEX macro without arguments.
2039 (csinh_test): Likewise.
2040 (csqrt_test): Likewise.
2041 (ctan_test): Likewise.
2042 (ctan_test_tonearest): Likewise.
2043 (ctan_test_towardzero): Likewise.
2044 (ctan_test_downward): Likewise.
2045 (ctan_test_upward): Likewise.
2046 (ctanh_test): Likewise.
2047 (ctanh_test_tonearest): Likewise.
2048 (ctanh_test_towardzero): Likewise.
2049 (ctanh_test_downward): Likewise.
2050 (ctanh_test_upward): Likewise.
2051 (erf_test): Use END macro without arguments.
2052 (erfc_test): Likewise.
2053 (exp_test): Likewise.
2054 (exp_test_tonearest): Likewise.
2055 (exp_test_towardzero): Likewise.
2056 (exp_test_downward): Likewise.
2057 (exp_test_upward): Likewise.
2058 (exp10_test): Likewise.
2059 (exp2_test): Likewise.
2060 (expm1_test): Likewise.
2061 (fabs_test): Likewise.
2062 (fdim_test): Likewise.
2063 (finite_test): Likewise.
2064 (floor_test): Likewise.
2065 (fma_test): Likewise.
2066 (fma_test_towardzero): Likewise.
2067 (fma_test_downward): Likewise.
2068 (fma_test_upward): Likewise.
2069 (fmax_test): Likewise.
2070 (fmin_test): Likewise.
2071 (fmod_test): Likewise.
2072 (fpclassify_test): Likewise.
2073 (frexp_test): Likewise.
2074 (gamma_test): Likewise.
2075 (hypot_test): Likewise.
2076 (ilogb_test): Likewise.
2077 (isfinite_test): Likewise.
2078 (isgreater_test): Likewise.
2079 (isgreaterequal_test): Likewise.
2080 (isinf_test): Likewise.
2081 (isless_test): Likewise.
2082 (islessequal_test): Likewise.
2083 (islessgreater_test): Likewise.
2084 (isnan_test): Likewise.
2085 (isnormal_test): Likewise.
2086 (issignaling_test): Likewise.
2087 (isunordered_test): Likewise.
2088 (j0_test): Likewise.
2089 (j1_test): Likewise.
2090 (jn_test): Likewise.
2091 (ldexp_test): Likewise.
2092 (lgamma_test): Likewise.
2093 (lrint_test): Likewise.
2094 (lrint_test_tonearest): Likewise.
2095 (lrint_test_towardzero): Likewise.
2096 (lrint_test_downward): Likewise.
2097 (lrint_test_upward): Likewise.
2098 (llrint_test): Likewise.
2099 (llrint_test_tonearest): Likewise.
2100 (llrint_test_towardzero): Likewise.
2101 (llrint_test_downward): Likewise.
2102 (llrint_test_upward): Likewise.
2103 (log_test): Likewise.
2104 (log10_test): Likewise.
2105 (log1p_test): Likewise.
2106 (log2_test): Likewise.
2107 (logb_test): Likewise.
2108 (logb_test_downward): Likewise.
2109 (lround_test): Likewise.
2110 (llround_test): Likewise.
2111 (modf_test): Likewise.
2112 (nearbyint_test): Likewise.
2113 (nextafter_test): Likewise.
2114 (nexttoward_test): Likewise.
2115 (pow_test): Likewise.
2116 (pow_test_tonearest): Likewise.
2117 (pow_test_towardzero): Likewise.
2118 (pow_test_downward): Likewise.
2119 (pow_test_upward): Likewise.
2120 (remainder_test): Likewise.
2121 (remainder_test_tonearest): Likewise.
2122 (remainder_test_towardzero): Likewise.
2123 (remainder_test_downward): Likewise.
2124 (remainder_test_upward): Likewise.
2125 (remquo_test): Likewise.
2126 (rint_test): Likewise.
2127 (rint_test_tonearest): Likewise.
2128 (rint_test_towardzero): Likewise.
2129 (rint_test_downward): Likewise.
2130 (rint_test_upward): Likewise.
2131 (round_test): Likewise.
2132 (scalb_test): Likewise.
2133 (scalbn_test): Likewise.
2134 (scalbln_test): Likewise.
2135 (signbit_test): Likewise.
2136 (sin_test): Likewise.
2137 (sin_test_tonearest): Likewise.
2138 (sin_test_towardzero): Likewise.
2139 (sin_test_downward): Likewise.
2140 (sin_test_upward): Likewise.
2141 (sincos_test): Likewise.
2142 (sinh_test): Likewise.
2143 (sinh_test_tonearest): Likewise.
2144 (sinh_test_towardzero): Likewise.
2145 (sinh_test_downward): Likewise.
2146 (sinh_test_upward): Likewise.
2147 (sqrt_test): Likewise.
2148 (tan_test): Likewise.
2149 (tan_test_tonearest): Likewise.
2150 (tan_test_towardzero): Likewise.
2151 (tan_test_downward): Likewise.
2152 (tan_test_upward): Likewise.
2153 (tanh_test): Likewise.
2154 (tgamma_test): Likewise.
2155 (trunc_test): Likewise.
2156 (y0_test): Likewise.
2157 (y1_test): Likewise.
2158 (yn_test): Likewise.
2159 (significand_test): Likewise.
2160
bae143d2
OB
21612013-05-24 Ondřej Bílka <neleai@seznam.cz>
2162
2163 [BZ #15381]
2164 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2165
9323d39b
EM
21662013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2167
d4ea44a0 2168 [BZ #14894]
9323d39b
EM
2169 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2170 __ppc_mdoio and __ppc_mdoom.
2171 * manual/platform.texi: Document new functions __ppc_yield,
2172 __ppc_mdoio and __ppc_mdoom.
2173
13e23af7
CD
21742013-05-22 Carlos O'Donell <carlos@redhat.com>
2175
2176 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2177 (main): Mention "tls" pseudo-hwcap is legacy.
2178 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2179
351fe550
JM
21802013-05-22 Joseph Myers <joseph@codesourcery.com>
2181
2182 * math/gen-libm-test.pl (parse_args): Output only string of
2183 arguments as text for test name, not full call or descriptions of
2184 tests for extra outputs.
2185 (generate_testfile): Do not pass function name to parse_args.
2186 Generate this_func variable from START.
2187 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2188 field to arg_str.
2189 (struct test_ff_f_data): Likewise.
2190 (test_ff_f_data_nexttoward): Likewise.
2191 (struct test_fi_f_data): Likewise.
2192 (struct test_fl_f_data): Likewise.
2193 (struct test_if_f_data): Likewise.
2194 (struct test_fff_f_data): Likewise.
2195 (struct test_c_f_data): Likewise.
2196 (struct test_f_f1_data): Likewise. Remove field extra_name.
2197 (struct test_fF_f1_data): Likewise.
2198 (struct test_ffI_f1_data): Likewise.
2199 (struct test_c_c_data): Rename test_name field to arg_str.
2200 (struct test_cc_c_data): Likewise.
2201 (struct test_f_i_data): Likewise.
2202 (struct test_ff_i_data): Likewise.
2203 (struct test_f_l_data): Likewise.
2204 (struct test_f_L_data): Likewise.
2205 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2206 and extra2_name.
2207 (COMMON_TEST_SETUP): New macro.
2208 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2209 (COMMON_TEST_CLEANUP): Likewise.
2210 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2211 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2212 macros.
2213 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2214 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2215 macros.
2216 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2217 (RUN_TEST_fff_f): Take argument string. Call new setup and
2218 cleanup macros.
2219 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2220 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2221 macros.
2222 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2223 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2224 macros.
2225 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2226 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2227 cleanup macros.
2228 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2229 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2230 cleanup macros.
2231 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2232 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2233 cleanup macros.
2234 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2235 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2236 macros.
2237 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2238 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2239 macros.
2240 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2241 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2242 macros.
2243 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2244 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2245 cleanup macros.
2246 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2247 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2248 cleanup macros.
2249 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2250 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2251 macros.
2252 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2253 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2254 cleanup macros.
2255 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2256 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2257 macros.
2258 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2259 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2260 macros.
2261 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2262 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2263 cleanup macros.
2264 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2265
85118d4d
EBM
22662013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2267
2268 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2269 to _sifields.sigfault.
2270 (si_addr_lsb): Define new macro.
2271 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2272 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2274
7a44c18f
CD
22752013-05-03 Carlos O'Donell <carlos at redhat.com>
2276
2277 [BZ #15441]
2278 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2279 returns -1.
2280 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2281 null return -1.
2282 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2283 loading the domain.
2284
b50a7181
JM
22852013-05-22 Joseph Myers <joseph@codesourcery.com>
2286
2287 * math/gen-libm-test.pl (parse_args): Do not include expected
2288 result in test name.
2289 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2292 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2295
051063c8
SP
22962013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2297
3ce9e010
SP
2298 * benchtests/Makefile: Sort function entries.
2299
051063c8
SP
2300 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2301 tanh, asinh, acosh, atanh.
2302 * benchtests/acos-inputs: New file.
2303 * benchtests/acosh-inputs: New file.
2304 * benchtests/asin-inputs: New file.
2305 * benchtests/asinh-inputs: New file.
2306 * benchtests/atanh-inputs: New file.
2307 * benchtests/cosh-inputs: New file.
2308 * benchtests/log-inputs: New file.
2309 * benchtests/sinh-inputs: New file.
2310 * benchtests/tanh-inputs: New file.
2311
47c22455
DL
23122013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2313
2314 [BZ #15339]
2315 * posix/tst-getaddrinfo4.c: New test.
2316 * posix/Makefile (tests): Add it.
2317
3d04f5db
SP
23182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2319
2320 [BZ #15339]
2321 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2322 when no services were used.
2323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2324 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2325
d5dd6189
AS
23262013-05-21 Andreas Schwab <schwab@suse.de>
2327
2328 [BZ #15014]
2329 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2330 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2331 successful.
2332 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2333 redundant variable declarations and reallocation of buffer when
2334 parsing as IPv6 address. Always set NSS status when called from
2335 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2336 buffer too small. Correct computation of needed size.
2337 * nss/Makefile (tests): Add test-digits-dots.
2338 * nss/test-digits-dots.c: New test.
2339
fef94eab
SP
23402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2341
2342 * benchtests/Makefile: Remove instructions for adding
2343 benchmark tests.
2344 * benchtests/README: New file to explain how to execute and
2345 enhance the benchmark tests.
2346
e39adf43
AS
23472013-05-21 Andreas Schwab <schwab@suse.de>
2348
2349 [BZ #15493]
2350 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2351 * setjmp/tst-sigsetjmp.c: New test.
2352
b2b671b6
OB
23532013-05-20 Ondřej Bílka <neleai@seznam.cz>
2354
2355 * sysdeps/x86_64/memset.S (memset): New implementation.
2356 (__bzero): Likewise.
2357 (__memset_tail): New function.
2358
2d48b41c
OB
23592013-05-20 Ondřej Bílka <neleai@seznam.cz>
2360
2361 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2362 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2363 __memcpy_sse2_unaligned ifunc selection.
2364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2365 Add memcpy-sse2-unaligned.S.
2366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2367 Add: __memcpy_sse2_unaligned.
2368
f16cc3eb
JM
23692013-05-19 Joseph Myers <joseph@codesourcery.com>
2370
3e694268
JM
2371 [BZ #15490]
2372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2373 math_force_eval before restoring floating-point envrionment.
2374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2376 Likewise.
2377 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2378 <math_private.h>.
2379 (__nearbyintl): Use math_force_eval before restoring
2380 floating-point environment.
2381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2382
db62a907
JM
2383 * math/gen-libm-test.pl (special_functions): Remove.
2384 (parse_args): Don't handle TEST_extra. Handle functions with no
2385 return value.
2386 * math/libm-test.inc (struct test_sincos_data): Replace with
2387 struct test_fFF_11_data.
2388 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2389 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2390 (sincos_test_data): Change element type to struct
2391 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2392 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2393 RUN_TEST_LOOP_sincos.
2394 * math/README.libm-test: Don't mention special handling of
2395 individual functions.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2398 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2399 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2400 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2402
f16cc3eb
JM
2403 * math/gen-libm-test.pl (get_variable): Remove function.
2404 (parse_args): Don't show pointer parameters to call in test
2405 names. Use "extra output N" in test names for extra outputs
2406 rather than naming variables.
2407
3779b5b6
JM
24082013-05-18 Joseph Myers <joseph@codesourcery.com>
2409
2ee094ff
JM
2410 [BZ #15488]
2411 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2412 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2413 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2414 double tests.
2415 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2416 disable.
2417 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2418 check_long_double.
2419
3779b5b6
JM
2420 * math/gen-libm-test.pl (@tests): Remove variable.
2421 ($count): Likewise.
2422 (new_test): Remove function.
2423 (show_exceptions): New function.
2424 (special_functions): Use show_exceptions instead of new_test.
2425 (parse_args): Likewise.
2426 (generate_testfile): Pass only function name in generated call to
2427 print_max_error or print_complex_max_error.
2428 (get_ulps): Do not handle complex tests specially.
2429 (output_test): Rename to ...
2430 (get_all_ulps_for_test): ... this. Return a string rather than
2431 printing to a file. Require ulps to be present.
2432 (output_ulps): Generate arrays rather than #defines.
2433 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2434 (struct ulp_data): New type.
2435 (BUILD_COMPLEX_ULP): Remove macro.
2436 (compare_ulp_data): New function.
2437 (find_ulps): Likewise.
2438 (find_test_ulps): Likewise.
2439 (find_function_ulps): Likewise.
2440 (find_complex_function_ulps): Likewise.
2441 (print_max_error): Determine allowed ulps using
2442 find_function_ulps.
2443 (print_complex_max_error): Determine allowed ulps using
2444 find_complex_function_ulps.
2445 (check_float_internal): Determine max ulps using find_test_ulps.
2446 (check_float): Do not take max_ulp parameter. Update call to
2447 check_float_internal.
2448 (check_complex): Likewise.
2449 (check_int): Do not take max_ulp parameter.
2450 (check_long): Likewise.
2451 (check_bool): Likewise.
2452 (check_longlong): Likewise.
2453 (struct test_f_f_data): Remove max_ulp field.
2454 (struct test_ff_f_data): Likewise.
2455 (struct test_ff_f_data_nexttoward): Likewise.
2456 (struct test_fi_f_data): Likewise.
2457 (struct test_fl_f_data): Likewise.
2458 (struct test_if_f_data): Likewise.
2459 (struct test_fff_f_data): Likewise.
2460 (struct test_c_f_data): Likewise.
2461 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2462 (struct test_fF_f1_data): Likewise.
2463 (struct test_ffI_f1_data): Likewise.
2464 (struct test_c_c_data): Remove max_ulp field.
2465 (struct test_cc_c_data): Likewise.
2466 (struct test_f_i_data): Likewise.
2467 (struct test_ff_i_data): Likewise.
2468 (struct test_f_l_data): Likewise.
2469 (struct test_f_L_data): Likewise.
2470 (struct test_sincos_data): Likewise.
2471 (RUN_TEST_f_f): Do not handle ulps.
2472 (RUN_TEST_LOOP_f_f): Likewise.
2473 (RUN_TEST_2_f): Likewise.
2474 (RUN_TEST_LOOP_2_f): Likewise.
2475 (RUN_TEST_fff_f): Likewise.
2476 (RUN_TEST_LOOP_fff_f): Likewise.
2477 (RUN_TEST_c_f): Likewise.
2478 (RUN_TEST_LOOP_c_f): Likewise.
2479 (RUN_TEST_f_f1): Likewise.
2480 (RUN_TEST_LOOP_f_f1): Likewise.
2481 (RUN_TEST_fF_f1): Likewise.
2482 (RUN_TEST_LOOP_fF_f1): Likewise.
2483 (RUN_TEST_fI_f1): Likewise.
2484 (RUN_TEST_LOOP_fI_f1): Likewise.
2485 (RUN_TEST_ffI_f1): Likewise.
2486 (RUN_TEST_LOOP_ffI_f1): Likewise.
2487 (RUN_TEST_c_c): Likewise.
2488 (RUN_TEST_LOOP_c_c): Likewise.
2489 (RUN_TEST_cc_c): Likewise.
2490 (RUN_TEST_LOOP_cc_c): Likewise.
2491 (RUN_TEST_f_i): Likewise.
2492 (RUN_TEST_LOOP_f_i): Likewise.
2493 (RUN_TEST_f_i_tg): Likewise.
2494 (RUN_TEST_LOOP_f_i_tg): Likewise.
2495 (RUN_TEST_ff_i_tg): Likewise.
2496 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2497 (RUN_TEST_f_b): Likewise.
2498 (RUN_TEST_LOOP_f_b): Likewise.
2499 (RUN_TEST_f_b_tg): Likewise.
2500 (RUN_TEST_LOOP_f_b_tg): Likewise.
2501 (RUN_TEST_f_l): Likewise.
2502 (RUN_TEST_LOOP_f_l): Likewise.
2503 (RUN_TEST_f_L): Likewise.
2504 (RUN_TEST_LOOP_f_L): Likewise.
2505 (RUN_TEST_sincos): Likewise.
2506 (RUN_TEST_LOOP_sincos): Likewise.
2507
8269107f
JM
25082013-05-17 Joseph Myers <joseph@codesourcery.com>
2509
bb38759d
JM
2510 [BZ #15480]
2511 [BZ #15485]
2512 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2513 main case of finite arguments, set rounding mode to FE_TONEAREST
2514 and discard exceptions.
2515 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2516 exceptions.
2517 (remainder_tonearest_test_data): New variable.
2518 (remainder_test_tonearest): New function.
2519 (remainder_towardzero_test_data): New variable.
2520 (remainder_test_towardzero): New function.
2521 (remainder_downward_test_data): New variable.
2522 (remainder_test_downward): New function.
2523 (remainder_upward_test_data): New variable.
2524 (remainder_test_upward): New function.
2525 (main): Call the new test functions.
2526
a00bdcf0
JM
2527 * math/libm-test.inc (struct test_f_f1_data): Remove field
2528 extra_init.
2529 (struct test_fF_f1_data): Likewise.
2530 (struct test_ffI_f1_data): Likewise.
2531 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2532 based on value of EXTRA_EXPECTED.
2533 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2534 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2535 EXTRA_VAR based on value of EXTRA_EXPECTED.
2536 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2537 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2538 EXTRA_VAR based on value of EXTRA_EXPECTED.
2539 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2540 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2541 EXTRA_VAR based on value of EXTRA_EXPECTED.
2542 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2543 * math/gen-libm-test.pl (parse_args): Don't output initializers
2544 for extra output values.
2545
de407f79
JM
2546 * math/libm-test.inc (check_int): Expect result to be exactly
2547 equal to expected value and do not handle ulps.
2548 (check_long): Likewise.
2549 (check_longlong): Likewise.
2550
8269107f
JM
2551 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2552 exceptions.
2553 (cimag_test_data): Likewise.
2554 (conj_test_data): Likewise.
2555 (copysign_test_data): Likewise.
2556 (cproj_test_data): Likewise.
2557 (creal_test_data): Likewise.
2558 (fabs_test_data): Likewise.
2559 (fdim_test_data): Likewise.
2560 (finite_test_data): Likewise.
2561 (floor_test_data): Likewise.
2562 (fmax_test_data): Likewise.
2563 (fmin_test_data): Likewise.
2564 (fmod_test_data): Likewise.
2565 (fpclassify_test_data): Likewise.
2566 (frexp_test_data): Likewise.
2567 (ilogb_test_data): Likewise.
2568 (isfinite_test_data): Likewise.
2569 (isgreater_test_data): Likewise.
2570 (isgreaterequal_test_data): Likewise.
2571 (isinf_test_data): Likewise.
2572 (isless_test_data): Likewise.
2573 (islessequal_test_data): Likewise.
2574 (islessgreater_test_data): Likewise.
2575 (isnan_test_data): Likewise.
2576 (isnormal_test_data): Likewise.
2577 (issignaling_test_data): Likewise.
2578 (isunordered_test_data): Likewise.
2579 (ldexp_test_data): Likewise.
2580 (lrint_test_data): Likewise.
2581 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2582 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2583 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2584 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2585 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2586 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2587 test input.
2588 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2589 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2590 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2591 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2592 that test input.
2593 (lrint_downward_test_data): Test for "inexact" exceptions.
2594 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2595 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2596 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2597 test input.
2598 (lrint_upward_test_data): Test for "inexact" exceptions.
2599 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2600 test input.
2601 (llrint_test_data): Test for "inexact" exceptions.
2602 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2603 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2604 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2605 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2606 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2607 (llrint_downward_test_data): Test for "inexact" exceptions.
2608 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2609 (llrint_upward_test_data): Test for "inexact" exceptions.
2610 (logb_test_data): Likewise.
2611 (logb_downward_test_data): Likewise.
2612 (nextafter_test_data): Likewise.
2613 (nexttoward_test_data): Likewise.
2614 (remainder_test_data): Likewise.
2615 (remquo_test_data): Likewise.
2616 (scalbn_test_data): Likewise.
2617 (scalbln_test_data): Likewise.
2618 (signbit_test_data): Likewise.
2619 (sqrt_test_data): Likewise.
2620 (significand_test_data): Likewise.
2621
48a18de1
SP
26222013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2623
2624 [BZ #15424]
2625 * benchtests/bench-modf.c (struct args): Mark arg0 as
2626 volatile.
2627 * scripts/bench.pl: Mark members of struct args as volatile.
2628
13d3b41a
AZ
26292013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
68191c1d 2631 [BZ # 15497]
13d3b41a
AZ
2632 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2633 negative infinity on POWER6 or lower.
2634 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2635
2848b105
MR
26362013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2637
2638 [BZ #15442]
2639 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2640 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2641 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2642 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2643 (_FP_SETQNAN): New macro.
2644 (_FP_SETQNAN_SEMIRAW): Likewise.
2645 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2646 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2647 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2648 (FP_EXTEND): Use _FP_FRAC_SNANP.
2649 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2650 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2651 into account.
2652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2653 New macro.
2654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2655 Likewise.
2656
323e5cb7
JM
26572013-05-16 Joseph Myers <joseph@codesourcery.com>
2658
c58b274f
JM
2659 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2660 with DIVIDE_BY_ZERO_EXCEPTION.
2661 (gamma_test_data): Likewise.
2662 (lgamma_test_data): Likewise.
2663 (log_test_data): Likewise.
2664 (log10_test_data): Likewise.
2665 (log2_test_data): Likewise.
2666 (tgamma_test_data): Likewise.
2667
0ab34904
JM
2668 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2669 (acos_test_tonearest): Likewise.
2670 (acos_test_towardzero): Likewise.
2671 (acos_test_downward): Likewise.
2672 (acos_test_upward): Likewise.
2673 (acosh_test): Likewise.
2674 (asin_test): Likewise.
2675 (asin_test_tonearest): Likewise.
2676 (asin_test_towardzero): Likewise.
2677 (asin_test_downward): Likewise.
2678 (asin_test_upward): Likewise.
2679 (asinh_test): Likewise.
2680 (atan_test): Likewise.
2681 (atanh_test): Likewise.
2682 (atan2_test): Likewise.
2683 (cabs_test): Likewise.
2684 (cacos_test): Likewise.
2685 (cacosh_test): Likewise.
2686 (casin_test): Likewise.
2687 (casinh_test): Likewise.
2688 (catan_test): Likewise.
2689 (catanh_test): Likewise.
2690 (cbrt_test): Likewise.
2691 (ccos_test): Likewise.
2692 (ccosh_test): Likewise.
2693 (cexp_test): Likewise.
2694 (clog_test): Likewise.
2695 (clog10_test): Likewise.
2696 (cos_test): Likewise.
2697 (cos_test_tonearest): Likewise.
2698 (cos_test_towardzero): Likewise.
2699 (cos_test_downward): Likewise.
2700 (cos_test_upward): Likewise.
2701 (cosh_test): Likewise.
2702 (cosh_test_tonearest): Likewise.
2703 (cosh_test_towardzero): Likewise.
2704 (cosh_test_downward): Likewise.
2705 (cosh_test_upward): Likewise.
2706 (cpow_test): Likewise.
2707 (csin_test): Likewise.
2708 (csinh_test): Likewise.
2709 (csqrt_test): Likewise.
2710 (ctan_test): Likewise.
2711 (ctan_test_tonearest): Likewise.
2712 (ctan_test_towardzero): Likewise.
2713 (ctan_test_downward): Likewise.
2714 (ctan_test_upward): Likewise.
2715 (ctanh_test): Likewise.
2716 (ctanh_test_tonearest): Likewise.
2717 (ctanh_test_towardzero): Likewise.
2718 (ctanh_test_downward): Likewise.
2719 (ctanh_test_upward): Likewise.
2720 (erf_test): Likewise.
2721 (erfc_test): Likewise.
2722 (exp_test): Likewise.
2723 (exp_test_tonearest): Likewise.
2724 (exp_test_towardzero): Likewise.
2725 (exp_test_downward): Likewise.
2726 (exp_test_upward): Likewise.
2727 (exp10_test): Likewise.
2728 (exp2_test): Likewise.
2729 (expm1_test): Likewise.
2730 (fmod_test): Likewise.
2731 (gamma_test): Likewise.
2732 (hypot_test): Likewise.
2733 (j0_test): Likewise.
2734 (j1_test): Likewise.
2735 (jn_test): Likewise.
2736 (lgamma_test): Likewise.
2737 (log_test): Likewise.
2738 (log10_test): Likewise.
2739 (log1p_test): Likewise.
2740 (log2_test): Likewise.
2741 (logb_test_downward): Likewise.
2742 (pow_test): Likewise.
2743 (pow_test_tonearest): Likewise.
2744 (pow_test_towardzero): Likewise.
2745 (pow_test_downward): Likewise.
2746 (pow_test_upward): Likewise.
2747 (remainder_test): Likewise.
2748 (remquo_test): Likewise.
2749 (sin_test): Likewise.
2750 (sin_test_tonearest): Likewise.
2751 (sin_test_towardzero): Likewise.
2752 (sin_test_downward): Likewise.
2753 (sin_test_upward): Likewise.
2754 (sincos_test): Likewise.
2755 (sinh_test): Likewise.
2756 (sinh_test_tonearest): Likewise.
2757 (sinh_test_towardzero): Likewise.
2758 (sinh_test_downward): Likewise.
2759 (sinh_test_upward): Likewise.
2760 (sqrt_test): Likewise.
2761 (tan_test): Likewise.
2762 (tan_test_tonearest): Likewise.
2763 (tan_test_towardzero): Likewise.
2764 (tan_test_downward): Likewise.
2765 (tan_test_upward): Likewise.
2766 (tanh_test): Likewise.
2767 (tgamma_test): Likewise.
2768 (y0_test): Likewise.
2769 (y1_test): Likewise.
2770 (yn_test): Likewise.
2771
323e5cb7
JM
2772 * math/gen-libm-test.pl (adjust_arg): Remove function.
2773 (special_function): Remove argument $in_func. Only handle
2774 generating output for tables of tests, not inside functions.
2775 (parse_args): Likewise.
2776 (generate_testfile): Remove variable $in_func. Update call to
2777 parse_args.
2778 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2779 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2780 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2781 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2782 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2783 (MAX_VALUE_INIT): Rename macro to max_value.
2784 (MIN_VALUE_INIT): Rename macro to min_value.
2785 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2786 (plus_zero): Remove variable.
2787 (minus_zero): Likewise.
2788 (plus_infty): Likewise.
2789 (minus_infty): Likewise.
2790 (qnan_value): Likewise.
2791 (max_value): Likewise.
2792 (min_value): Likewise.
2793 (min_subnorm_value): Likewise.
2794
e054f494
RA
27952013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2796
2797 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2798 uint64_t or uint32_t usage.
2799 * crypt/sha256-block.c: Likewise.
2800 * crypt/sha256-crypt.c: Likewise.
2801 * crypt/sha256.c: Likewise.
2802 * crypt/sha512-block.c: Likewise.
2803 * crypt/sha512-crypt.c: Likewise.
2804 * crypt/sha512.c: Likewise.
2805 * debug/backtrace-tst.c: Likewise.
2806 * debug/pcprofiledump.c: Likewise.
2807 * elf/cache.c: Likewise.
2808 * elf/dl-cache.c: Likewise.
2809 * elf/dl-misc.c: Likewise.
2810 * elf/dl-profile.c: Likewise.
2811 * elf/dl-support.c: Likewise.
2812 * elf/ldconfig.c: Likewise.
2813 * elf/sprof.c: Likewise.
2814 * iconv/dummy-repertoire.c: Likewise.
2815 * iconv/iconv_charmap.c: Likewise.
2816 * iconv/skeleton.c: Likewise.
2817 * iconvdata/8bit-generic.c: Likewise.
2818 * iconvdata/cp737.h: Likewise.
2819 * iconvdata/cp775.h: Likewise.
2820 * iconvdata/ibm1008.h: Likewise.
2821 * iconvdata/ibm1025.h: Likewise.
2822 * iconvdata/ibm1046.h: Likewise.
2823 * iconvdata/ibm1097.h: Likewise.
2824 * iconvdata/ibm1112.h: Likewise.
2825 * iconvdata/ibm1122.h: Likewise.
2826 * iconvdata/ibm1123.h: Likewise.
2827 * iconvdata/ibm1124.h: Likewise.
2828 * iconvdata/ibm1129.h: Likewise.
2829 * iconvdata/ibm1130.h: Likewise.
2830 * iconvdata/ibm1132.h: Likewise.
2831 * iconvdata/ibm1133.h: Likewise.
2832 * iconvdata/ibm1137.h: Likewise.
2833 * iconvdata/ibm1140.h: Likewise.
2834 * iconvdata/ibm1141.h: Likewise.
2835 * iconvdata/ibm1142.h: Likewise.
2836 * iconvdata/ibm1143.h: Likewise.
2837 * iconvdata/ibm1144.h: Likewise.
2838 * iconvdata/ibm1145.h: Likewise.
2839 * iconvdata/ibm1146.h: Likewise.
2840 * iconvdata/ibm1147.h: Likewise.
2841 * iconvdata/ibm1148.h: Likewise.
2842 * iconvdata/ibm1149.h: Likewise.
2843 * iconvdata/ibm1153.h: Likewise.
2844 * iconvdata/ibm1154.h: Likewise.
2845 * iconvdata/ibm1155.h: Likewise.
2846 * iconvdata/ibm1156.h: Likewise.
2847 * iconvdata/ibm1157.h: Likewise.
2848 * iconvdata/ibm1158.h: Likewise.
2849 * iconvdata/ibm1160.h: Likewise.
2850 * iconvdata/ibm1161.h: Likewise.
2851 * iconvdata/ibm1162.h: Likewise.
2852 * iconvdata/ibm1163.h: Likewise.
2853 * iconvdata/ibm1164.h: Likewise.
2854 * iconvdata/ibm1166.h: Likewise.
2855 * iconvdata/ibm1167.h: Likewise.
2856 * iconvdata/ibm12712.h: Likewise.
2857 * iconvdata/ibm1390.h: Likewise.
2858 * iconvdata/ibm1399.h: Likewise.
2859 * iconvdata/ibm16804.h: Likewise.
2860 * iconvdata/ibm4517.h: Likewise.
2861 * iconvdata/ibm4899.h: Likewise.
2862 * iconvdata/ibm4909.h: Likewise.
2863 * iconvdata/ibm4971.h: Likewise.
2864 * iconvdata/ibm5347.h: Likewise.
2865 * iconvdata/ibm803.h: Likewise.
2866 * iconvdata/ibm856.h: Likewise.
2867 * iconvdata/ibm901.h: Likewise.
2868 * iconvdata/ibm902.h: Likewise.
2869 * iconvdata/ibm9030.h: Likewise.
2870 * iconvdata/ibm9066.h: Likewise.
2871 * iconvdata/ibm921.h: Likewise.
2872 * iconvdata/ibm922.h: Likewise.
2873 * iconvdata/ibm9448.h: Likewise.
2874 * iconvdata/isiri-3342.h: Likewise.
2875 * iconvdata/jis0201.h: Likewise.
2876 * include/link.h: Likewise.
2877 * include/netdb.h: Likewise.
2878 * inet/check_native.c: Likewise.
2879 * inet/check_pf.c: Likewise.
2880 * inet/getipv4sourcefilter.c: Likewise.
2881 * inet/getnameinfo.c: Likewise.
2882 * inet/getsourcefilter.c: Likewise.
2883 * inet/htonl.c: Likewise.
2884 * inet/setipv4sourcefilter.c: Likewise.
2885 * inet/setsourcefilter.c: Likewise.
2886 * inet/test-inet6_opt.c: Likewise.
2887 * inet/tst-network.c: Likewise.
2888 * locale/C-collate.c: Likewise.
2889 * locale/C-ctype.c: Likewise.
2890 * locale/C-time.c: Likewise.
2891 * locale/C-translit.h: Likewise.
2892 * locale/loadarchive.c: Likewise.
2893 * locale/programs/3level.h: Likewise.
2894 * locale/programs/charmap.c: Likewise.
2895 * locale/programs/charmap.h: Likewise.
2896 * locale/programs/ld-address.c: Likewise.
2897 * locale/programs/ld-collate.c: Likewise.
2898 * locale/programs/ld-ctype.c: Likewise.
2899 * locale/programs/ld-identification.c: Likewise.
2900 * locale/programs/ld-measurement.c: Likewise.
2901 * locale/programs/ld-messages.c: Likewise.
2902 * locale/programs/ld-monetary.c: Likewise.
2903 * locale/programs/ld-name.c: Likewise.
2904 * locale/programs/ld-numeric.c: Likewise.
2905 * locale/programs/ld-paper.c: Likewise.
2906 * locale/programs/ld-telephone.c: Likewise.
2907 * locale/programs/ld-time.c: Likewise.
2908 * locale/programs/linereader.c: Likewise.
2909 * locale/programs/locale.c: Likewise.
2910 * locale/programs/locarchive.c: Likewise.
2911 * locale/programs/locfile.h: Likewise.
2912 * locale/programs/repertoire.c: Likewise.
2913 * locale/programs/simple-hash.c: Likewise.
2914 * locale/programs/simple-hash.h: Likewise.
2915 * malloc/memusage.c: Likewise.
2916 * malloc/memusagestat.c: Likewise.
2917 * nis/nis_defaults.c: Likewise.
2918 * nis/nis_hash.c: Likewise.
2919 * nis/nis_print.c: Likewise.
2920 * nis/nis_xdr.c: Likewise.
2921 * nscd/connections.c: Likewise.
2922 * nscd/hstcache.c: Likewise.
2923 * nscd/nscd_gethst_r.c: Likewise.
2924 * nscd/nscd_getserv_r.c: Likewise.
2925 * nscd/nscd_helper.c: Likewise.
2926 * nscd/servicescache.c: Likewise.
2927 * nss/makedb.c: Likewise.
2928 * nss/nss_db/db-XXX.c: Likewise.
2929 * nss/nss_db/db-initgroups.c: Likewise.
2930 * nss/nss_db/db-netgrp.c: Likewise.
2931 * nss/nss_files/files-network.c: Likewise.
2932 * nss/nss_files/files-parse.c: Likewise.
2933 * posix/bug-regex5.c: Likewise.
2934 * posix/fnmatch_loop.c: Likewise.
2935 * posix/regcomp.c: Likewise.
2936 * posix/regexec.c: Likewise.
2937 * posix/tst-rfc3484-2.c: Likewise.
2938 * posix/tst-rfc3484-3.c: Likewise.
2939 * posix/tst-rfc3484.c: Likewise.
2940 * resolv/nss_dns/dns-canon.c: Likewise.
2941 * resolv/nss_dns/dns-network.c: Likewise.
2942 * resolv/res_init.c: Likewise.
2943 * resolv/res_mkquery.c: Likewise.
2944 * resolv/tst-aton.c: Likewise.
2945 * stdlib/cxa_atexit.c: Likewise.
2946 * stdlib/cxa_finalize.c: Likewise.
2947 * stdlib/gen-fpioconst.c: Likewise.
2948 * stdlib/strtol_l.c: Likewise.
2949 * string/tst-endian.c: Likewise.
2950 * sunrpc/auth_des.c: Likewise.
2951 * sunrpc/clnt_udp.c: Likewise.
2952 * sunrpc/rtime.c: Likewise.
2953 * sunrpc/svcauth_des.c: Likewise.
2954 * sunrpc/xdr.c: Likewise.
2955 * sunrpc/xdr_intXX_t.c: Likewise.
2956 * sunrpc/xdr_rec.c: Likewise.
2957 * sysdeps/generic/ldconfig.h: Likewise.
2958 * sysdeps/generic/ldsodefs.h: Likewise.
2959 * sysdeps/generic/memusage.h: Likewise.
2960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2961 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2962 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2964 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2966 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2968 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2969 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2970 * sysdeps/posix/getaddrinfo.c: Likewise.
2971 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2972 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2973 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2975 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2976 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2977 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2978 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2979 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2980 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2981 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2982 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2983 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2984 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2985 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2986 * sysdeps/x86_64/dl-tls.h: Likewise.
2987 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2988 * time/alt_digit.c: Likewise.
2989 * time/era.c: Likewise.
2990 * wcsmbs/tst-c16c32-1.c: Likewise.
2991
8c75f674
JM
29922013-05-16 Joseph Myers <joseph@codesourcery.com>
2993
2994 * math/libm-test.inc (struct test_sincos_data): New type.
2995 (RUN_TEST_LOOP_sincos): New macro.
2996 (sincos_test_data): New variable.
2997 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2998
e6e49e59
RH
29992013-05-16 Richard Henderson <rth@redhat.com>
3000
3001 * math/atest-exp2.c (LIMB64): New macro.
3002 (CONSTSZ): New macro.
3003 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3004 (hexdig): Move ...
3005 (print_mpn_fp): ... to function scope.
3006 (read_mpn_hex): Remove.
3007 (get_log2): Remove.
3008 (exp2_mpn): Use mp_log2.
3009 (main): Use mp_exp1.
3010
15c7c18d
JM
30112013-05-16 Joseph Myers <joseph@codesourcery.com>
3012
105a07df
JM
3013 * math/libm-test.inc: Remove comment about not testing "inexact"
3014 exceptions.
3015 (INEXACT_EXCEPTION): New macro.
3016 (NO_INEXACT_EXCEPTION): Likewise.
3017 (INVALID_EXCEPTION_OK): Update value.
3018 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3019 (OVERFLOW_EXCEPTION_OK): Likewise.
3020 (UNDERFLOW_EXCEPTION_OK): Likewise.
3021 (IGNORE_ZERO_INF_SIGN): Likewise.
3022 (ERRNO_UNCHANGED): Likewise.
3023 (ERRNO_EDOM): Likewise.
3024 (ERRNO_ERANGE): Likewise.
3025 (test_exceptions): Handle testing "inexact" exceptions.
3026 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3027 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3028 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3029 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3030 INEXACT_EXCEPTION.
3031 (rint_towardzero_test_data): Likewise.
3032 (rint_downward_test_data): Likewise.
3033 (rint_upward_test_data): Likewise.
3034
e9eee333
JM
3035 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3036 with OVERFLOW_EXCEPTION.
3037 (exp10_test_data): Likewise.
3038 (exp2_test_data): Likewise.
3039 (expm1_test_data): Likewise.
3040 (lgamma_test_data): Likewise.
3041 (pow_test_data): Likewise.
3042 (tgamma_test_data): Likewise.
3043 (yn_test_data): Remove duplicate test of overflow.
3044
1c38ff73
JM
3045 * math/libm-test.inc (struct test_cc_c_data): New type.
3046 (RUN_TEST_LOOP_cc_c): New macro.
3047 (cpow_test_data): New variable.
3048 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3049
15c7c18d
JM
3050 * math/libm-test.inc (struct test_f_L_data): New type.
3051 (RUN_TEST_LOOP_f_L): New macro.
3052 (llrint_test_data): New variable.
3053 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3054 (llrint_tonearest_test_data): New variable.
3055 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3056 (llrint_towardzero_test_data): New variable.
3057 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3058 (llrint_downward_test_data): New variable.
3059 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3060 (llrint_upward_test_data): New variable.
3061 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3062 (llround_test_data): New variable.
3063 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3064
f137ff13
PC
30652013-05-13 Peter Collingbourne <pcc@google.com>
3066
3067 * math/atest-exp2.c (get_log2): Remove const attribute.
3068
3608cb24
JM
30692013-05-15 Joseph Myers <joseph@codesourcery.com>
3070
3071 * math/libm-test.inc (struct test_f_l_data): New type.
3072 (RUN_TEST_LOOP_f_l): New macro.
3073 (lrint_test_data): New variable.
3074 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3075 (lrint_tonearest_test_data): New variable.
3076 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3077 (lrint_towardzero_test_data): New variable.
3078 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3079 (lrint_downward_test_data): New variable.
3080 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3081 (lrint_upward_test_data): New variable.
3082 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3083 (lround_test_data): New variable.
3084 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3085
39b1f617
PC
30862013-05-15 Peter Collingbourne <pcc@google.com>
3087
1deff3dc
PC
3088 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3089 (EXTRACT_WORDS64) Use where appropriate.
3090 (INSERT_WORDS64) Likewise.
3091
791f3ba0
PC
3092 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3093 constraints with x constraints.
3094 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3095
39b1f617
PC
3096 * malloc/obstack.c (_obstack_compat): Add initializer.
3097
12fba011
EM
30982013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3099
3100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3101 si_trapno and add si_addr_lsb to _sifields.sigfault.
3102 (si_trapno): Remove macro.
3103 (si_addr_lsb): Define new macro.
3104 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3105
d369f531
JM
31062013-05-15 Joseph Myers <joseph@codesourcery.com>
3107
b861c6c4
JM
3108 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3109 instead of TEST_f_l.
3110 (llrint_test_tonearest): Likewise.
3111 (llrint_test_towardzero): Likewise.
3112 (llrint_test_downward): Likewise.
3113 (llrint_test_upward): Likewise.
3114 (llround_test): Likewise.
3115
7abeee12
JM
3116 * math/libm-test.inc (struct test_f_i_data): Add comment.
3117 (RUN_TEST_LOOP_f_b): New macro.
3118 (RUN_TEST_LOOP_f_b_tg): Likewise.
3119 (finite_test_data): New variable.
3120 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3121 (isfinite_test_data): New variable.
3122 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3123 (isinf_test_data): New variable.
3124 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3125 (isnan_test_data): New variable.
3126 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3127 (isnormal_test_data): New variable.
3128 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3129 (issignaling_test_data): New variable.
3130 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3131 (signbit_test_data): New variable.
3132 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3133
cbe8c4d3
JM
3134 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3135 with INVALID_EXCEPTION.
3136 (acosh_test_data): Likewise.
3137 (asin_test_data): Likewise.
3138 (atanh_test_data): Likewise.
3139 (fmod_test_data): Likewise.
3140 (log_test_data): Likewise.
3141 (log10_test_data): Likewise.
3142 (log2_test_data): Likewise.
3143 (pow_test_data): Likewise.
3144 (sqrt_test_data): Likewise.
3145 (y0_test_data): Likewise.
3146 (y1_test_data): Likewise.
3147 (yn_test_data): Likewise.
3148
5575c0e5
JM
3149 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3150 function contents.
3151
d369f531
JM
3152 * math/libm-test.inc (struct test_ff_i_data): New type.
3153 (RUN_TEST_LOOP_ff_i_tg): New macro.
3154 (isgreater_test_data): New variable.
3155 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3156 (isgreaterequal_test_data): New variable.
3157 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3158 (isless_test_data): New variable.
3159 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3160 (islessequal_test_data): New variable.
3161 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3162 (islessgreater_test_data): New variable.
3163 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3164 (isunordered_test_data): New variable.
3165 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3166
781fd748
DM
31672013-05-14 David S. Miller <davem@davemloft.net>
3168
3169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3170
87aa21df
JM
31712013-05-14 Joseph Myers <joseph@codesourcery.com>
3172
5e908270
JM
3173 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3174
f71172e5
JM
3175 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3176 extra_test to int.
3177 (struct test_f_i_data): Change type of max_ulp to int.
3178
8cfa635a
JM
3179 * math/libm-test.inc (test_ffI_f1_data): New type.
3180 (RUN_TEST_LOOP_ffI_f1): New macro.
3181 (remquo_test_data): New variable.
3182 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3183
2bcb36b2
JM
3184 * setjmp/tst-setjmp-fp.c: New file.
3185 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3186 (link-libm): New variable.
3187 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3188
acbd839a
JM
3189 * math/libm-test.inc (struct test_f_i_data): New type.
3190 (RUN_TEST_LOOP_f_i): New macro.
3191 (RUN_TEST_LOOP_f_i_tg): Likewise.
3192 (fpclassify_test_data): New variable.
3193 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3194 (ilogb_test_data): New variable.
3195 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3196
e414d745
JM
3197 * math/libm-test.inc (scalbln_test): Correct function name in END
3198 call.
3199
d9c2a0fd
JM
3200 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3201 (RUN_TEST_LOOP_fI_f1): New macro.
3202 (frexp_test_data): New variable.
3203 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3204
9dc9095d
JM
3205 * math/libm-test.inc (struct test_fF_f1_data): New type.
3206 (RUN_TEST_LOOP_fF_f1): New macro.
3207 (modf_test_data): New variable.
3208 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3209
87aa21df
JM
3210 * math/libm-test.inc (struct test_f_f1_data): New type.
3211 (RUN_TEST_LOOP_f_f1): New macro.
3212 (gamma_test_data): New variable.
3213 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3214 (lgamma_test_data): New variable.
3215 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3216
141af660
CD
32172013-05-13 Carlos O'Donell <carlos@redhat.com>
3218
3219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3220 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3221 (main): Comment "tls" pseudo-hwcap.
3222
6d33265c
JM
32232013-05-13 Joseph Myers <joseph@codesourcery.com>
3224
68fc074c
JM
3225 * math/libm-test.inc (struct test_fl_f_data): New type.
3226 (RUN_TEST_LOOP_fl_f): New variable.
3227 (scalbln_test_data): New variable.
3228 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3229
243216e1
JM
3230 * math/libm-test.inc (struct test_fi_f_data): New type.
3231 (RUN_TEST_LOOP_fi_f): New macro.
3232 (ldexp_test_data): New variable.
3233 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3234 (scalbn_test_data): New variable.
3235 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3236
6a1992e2
JM
3237 * math/libm-test.inc (struct test_c_f_data): New type.
3238 (RUN_TEST_LOOP_c_f): New macro.
3239 (cabs_test_data): New variable.
3240 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3241 (carg_test_data): New variable.
3242 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3243 (cimag_test_data): New variable.
3244 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3245 (creal_test_data): New variable.
3246 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3247
0e400df5
JM
3248 * math/libm-test.inc (struct test_if_f_data): New type.
3249 (RUN_TEST_LOOP_if_f): New macro.
3250 (jn_test_data): New variable.
3251 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3252 (yn_test_data): New variable.
3253 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3254
6d33265c
JM
3255 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3256
f98ece5f
AZ
32572013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258
3259 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3260 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3261
0f7d347b
SP
32622013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3263
43fe811b
SP
3264 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3265 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3266 (bench-deps): Add bench-timing.h.
3267 * benchtests-bench-skeleton.c: Include bench-timing.h.
3268 (main): Use TIMING_* macros instead of clock_gettime.
3269 * benchtests/bench-timing.h: New file.
3270
0f7d347b
SP
3271 [BZ #14582]
3272 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3273 Renamed from _LIB_VERSION.
3274 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3275
601a3a5f
JM
32762013-05-12 Joseph Myers <joseph@codesourcery.com>
3277
4f184d30
JM
3278 * math/libm-test.inc (struct test_fff_f_data): New type.
3279 (RUN_TEST_LOOP_fff_f): New macro.
3280 (fma_test_data): New variable.
3281 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3282 (fma_towardzero_test_data): New variable.
3283 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3284 (fma_downward_test_data): New variable.
3285 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3286 (fma_upward_test_data): New variable.
3287 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3288
08198877
JM
3289 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3290 (struct test_c_c_data): New type.
3291 (RUN_TEST_LOOP_c_c): New macro.
3292 (cacos_test_data): New variable.
3293 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3294 (cacosh_test_data): New variable.
3295 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3296 (casin_test_data): New variable.
3297 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3298 (casinh_test_data): New variable.
3299 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3300 (catan_test_data): New variable.
3301 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3302 (catanh_test_data): New variable.
3303 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3304 (ccos_test_data): New variable.
3305 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3306 (ccosh_test_data): New variable.
3307 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3308 (cexp_test_data): New variable.
3309 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3310 (clog_test_data): New variable.
3311 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3312 (clog10_test_data): New variable.
3313 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3314 (conj_test_data): New variable.
3315 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3316 (cproj_test_data): New variable.
3317 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3318 (csin_test_data): New variable.
3319 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3320 (csinh_test_data): New variable.
3321 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3322 (csqrt_test_data): New variable.
3323 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3324 (ctan_test_data): New variable.
3325 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3326 (ctan_tonearest_test_data): New variable.
3327 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3328 (ctan_towardzero_test_data): New variable.
3329 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3330 (ctan_downward_test_data): New variable.
3331 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3332 (ctan_upward_test_data): New variable.
3333 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3334 (ctanh_test_data): New variable.
3335 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3336 (ctanh_tonearest_test_data): New variable.
3337 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3338 (ctanh_towardzero_test_data): New variable.
3339 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3340 (ctanh_downward_test_data): New variable.
3341 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3342 (ctanh_upward_test_data): New variable.
3343 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3344 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3345 of BUILD_COMPLEX.
3346
601a3a5f
JM
3347 * math/libm-test.inc (struct test_ff_f_data): New type.
3348 (struct test_ff_f_data_nexttoward): Likewise.
3349 (RUN_TEST_LOOP_2_f): New macro.
3350 (RUN_TEST_LOOP_ff_f): Likewise.
3351 (atan2_test_data): New variable.
3352 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3353 (copysign_test_data): New variable.
3354 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3355 (fdim_test_data): New variable.
3356 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3357 (fmax_test_data): New variable.
3358 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3359 (fmin_test_data): New variable.
3360 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3361 (fmod_test_data): New variable.
3362 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3363 (hypot_test_data): New variable.
3364 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3365 (nextafter_test_data): New variable.
3366 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3367 (nexttoward_test_data): New variable.
3368 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3369 (pow_test_data): New variable.
3370 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3371 (pow_tonearest_test_data): New variable.
3372 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3373 (pow_towardzero_test_data): New variable.
3374 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3375 (pow_downward_test_data): New variable.
3376 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3377 (pow_upward_test_data): New variable.
3378 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3379 (remainder_test_data): New variable.
3380 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3381 (scalb_test_data): New variable.
3382 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3383 * sysdeps/i386/fpu/libm-test-ulps: Update.
3384
74c57478
JM
33852013-05-11 Joseph Myers <joseph@codesourcery.com>
3386
8329e4da
JM
3387 * math/libm-test.inc (fma_test): Use max_value instead of local
3388 variable fltmax.
3389 (nextafter_test): Likewise.
3390
74c57478
JM
3391 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3392 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3393 (acos_downward_test_data): New variable.
3394 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3395 (acos_upward_test_data): New variable.
3396 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3397 (acosh_test_data): New variable.
3398 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3399 (asin_test_data): New variable.
3400 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3401 (asin_tonearest_test_data): New variable.
3402 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3403 (asin_towardzero_test_data): New variable.
3404 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3405 (asin_downward_test_data): New variable.
3406 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3407 (asin_upward_test_data): New variable.
3408 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3409 (asinh_test_data): New variable.
3410 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3411 (atan_test_data): New variable.
3412 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3413 (atanh_test_data): New variable.
3414 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3415 (cbrt_test_data): New variable.
3416 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3417 (ceil_test_data): New variable.
3418 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3419 (cos_test_data): New variable.
3420 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3421 (cos_tonearest_test_data): New variable.
3422 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3423 (cos_towardzero_test_data): New variable.
3424 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3425 (cos_downward_test_data): New variable.
3426 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3427 (cos_upward_test_data): New variable.
3428 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3429 (cosh_test_data): New variable.
3430 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3431 (cosh_tonearest_test_data): New variable.
3432 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3433 (cosh_towardzero_test_data): New variable.
3434 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3435 (cosh_downward_test_data): New variable.
3436 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3437 (cosh_upward_test_data): New variable.
3438 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3439 (erf_test_data): New variable.
3440 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3441 (erfc_test_data): New variable.
3442 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3443 (exp_test_data): New variable.
3444 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3445 (exp_tonearest_test_data): New variable.
3446 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3447 (exp_towardzero_test_data): New variable.
3448 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3449 (exp_downward_test_data): New variable.
3450 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3451 (exp_upward_test_data): New variable.
3452 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3453 (exp10_test_data): New variable.
3454 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3455 (exp2_test_data): New variable.
3456 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3457 (expm1_test_data): New variable.
3458 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3459 (fabs_test_data): New variable.
3460 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3461 (floor_test_data): New variable.
3462 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3463 (j0_test_data): New variable.
3464 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3465 (j1_test_data): New variable.
3466 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3467 (log_test_data): New variable.
3468 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3469 (log10_test_data): New variable.
3470 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3471 (log1p_test_data): New variable.
3472 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3473 (log2_test_data): New variable.
3474 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3475 (logb_test_data): New variable.
3476 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3477 (logb_downward_test_data): New variable.
3478 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3479 (nearbyint_test_data): New variable.
3480 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3481 (rint_test_data): New variable.
3482 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3483 (rint_tonearest_test_data): New variable.
3484 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3485 (rint_towardzero_test_data): New variable.
3486 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3487 (rint_downward_test_data): New variable.
3488 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3489 (rint_upward_test_data): New variable.
3490 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3491 (round_test_data): New variable.
3492 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3493 (sin_test_data): New variable.
3494 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3495 (sin_tonearest_test_data): New variable.
3496 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3497 (sin_towardzero_test_data): New variable.
3498 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3499 (sin_downward_test_data): New variable.
3500 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3501 (sin_upward_test_data): New variable.
3502 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3503 (sinh_test_data): New variable.
3504 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3505 (sinh_tonearest_test_data): New variable.
3506 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3507 (sinh_towardzero_test_data): New variable.
3508 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3509 (sinh_downward_test_data): New variable.
3510 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3511 (sinh_upward_test_data): New variable.
3512 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3513 (sqrt_test_data): New variable.
3514 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3515 (tan_test_data): New variable.
3516 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3517 (tan_tonearest_test_data): New variable.
3518 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3519 (tan_towardzero_test_data): New variable.
3520 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3521 (tan_downward_test_data): New variable.
3522 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3523 (tan_upward_test_data): New variable.
3524 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3525 (tanh_test_data): New variable.
3526 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3527 (tgamma_test_data): New variable.
3528 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3529 (trunc_test_data): New variable.
3530 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3531 (y0_test_data): New variable.
3532 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3533 (y1_test_data): New variable.
3534 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3535 (significand_test_data): New variable.
3536 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3537
7187d844
CG
35382013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3539
3540 [BZ #12387]
3541 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3542
f63fae73
PT
35432013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3544
3545 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3546
8a67a4b3
AJ
35472013-05-10 Andreas Jaeger <aj@suse.de>
3548
3549 [BZ #15448]
3550 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3551 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3552
51df539d
JM
35532013-05-10 Joseph Myers <joseph@codesourcery.com>
3554
3555 * math/gen-libm-test.pl (adjust_arg): New function.
3556 (special_functions): Handle generating output in both functions
3557 and arrays.
3558 (parse_args): Likewise.
3559 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3560 $in_func argument to parse_args.
3561 * math/libm-test.inc (struct test_f_f_data): New type.
3562 (IF_ROUND_INIT_): New macro.
3563 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3564 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3565 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3566 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3567 (ROUND_RESTORE_): Likewise.
3568 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3569 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3570 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3571 (ROUND_RESTORE_FE_UPWARD): Likewise.
3572 (RUN_TEST_LOOP_f_f): New macro.
3573 (acos_test_data): New variable.
3574 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3575 (acos_tonearest_test_data): New variable.
3576 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3577
5c637fe5
SP
35782013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
3580 * benchtests/bench-skeleton.c (startup): Fix coding style.
3581
ab2b9461
JM
35822013-05-10 Joseph Myers <joseph@codesourcery.com>
3583
3584 [BZ #6809]
3585 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3586 negative infinity argument.
3587 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3588 negative infinity argument.
3589 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3590 negative infinity argument.
3591 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3592 domain errors.
3593
4c0fe6fe
FW
35942013-05-10 Florian Weimer <fweimer@redhat.com>
3595
3596 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3597 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3598 * iconv/iconv_prog.c (main): Likewise.
3599 * locale/programs/charmap-dir.c (charmap_readdir)
3600 (fopen_uncompressed): Likewise.
3601 * locale/programs/locfile.c (siblings_uncached)
3602 (write_locale_data): Use lstat64 instead of lstat.
3603 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3604 stat.
3605
a3375d29
AJ
36062013-05-10 Andreas Jaeger <aj@suse.de>
3607
3608 [BZ #15395]
3609 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3610 localization.
3611 Include <locale.h>.
3612
36129722
CD
36132013-05-09 Carlos O'Donell <carlos@redhat.com>
3614
3615 * elf/dl-close.c (_dl_close_worker): Add comments.
3616
faa7f811
JM
36172013-05-09 Joseph Myers <joseph@codesourcery.com>
3618
ed41ffef
JM
3619 [BZ #15359]
3620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3621 high part of pi/2.
3622 (__ieee754_rem_pio2l): Update comments.
3623
d0213cd0
JM
3624 [BZ #15429]
3625 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3626 high part of pi/2.
3627 (__ieee754_rem_pio2l): Update comments.
3628
0d3e777a
JM
3629 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3630 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3631
24f56066
JM
3632 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3633 M_PI_4l.
3634
faa7f811
JM
3635 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3636 (M_PI_34_LOG10El): Likewise.
3637 (M_PI2_LOG10El): Likewise.
3638 (M_PI4_LOG10El): Likewise.
3639 (M_PI_LOG10El): Likewise.
3640
e9a5e0fd
AZ
36412013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642
3643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3644
d8cd06db
JM
36452013-05-08 Joseph Myers <joseph@codesourcery.com>
3646
a0d9f9d7
JM
3647 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3648 (MINUS_ZERO_INIT): Likewise.
3649 (PLUS_INFTY_INIT): Likewise.
3650 (MINUS_INFTY_INIT): Likewise.
3651 (QNAN_VALUE_INIT): Likewise.
3652 (MAX_VALUE_INIT): Likewise.
3653 (MIN_VALUE_INIT): Likewise.
3654 (MIN_SUBNORM_VALUE_INIT): Likewise.
3655 (plus_zero): Initialize with PLUS_ZERO_INIT.
3656 (minus_zero): Initialize with MINUS_ZERO_INIT.
3657 (plus_infty): Initialize with PLUS_INFTY_INIT.
3658 (minus_infty): Initialize with MINUS_INFTY_INIT.
3659 (qnan_value): Initialize with QNAN_VALUE_INIT.
3660 (max_value): Initialize with MAX_VALUE_INIT.
3661 (min_value): Initialize with MIN_VALUE_INIT.
3662 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3663
ae08db3b
JM
3664 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3665 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3666 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3667 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3668
f44bf14a
JM
3669 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3670 (RUN_TEST_2_f): Likewise.
3671 (RUN_TEST_ff_f): Likewise.
3672 (RUN_TEST_fi_f): Likewise.
3673 (RUN_TEST_fl_f): Likewise.
3674 (RUN_TEST_fff_f): Likewise.
3675 (RUN_TEST_c_f): Likewise.
3676 (RUN_TEST_f_f1): Likewise.
3677 (RUN_TEST_fF_f1): Likewise.
3678 (RUN_TEST_fI_f1): Likewise.
3679 (RUN_TEST_ffI_f1): Likewise.
3680 (RUN_TEST_c_c): Likewise.
3681 (RUN_TEST_cc_c): Likewise.
3682 (RUN_TEST_f_i): Likewise.
3683 (RUN_TEST_f_i_tg): Likewise.
3684 (RUN_TEST_ff_i_tg): Likewise.
3685 (RUN_TEST_f_b): Likewise.
3686 (RUN_TEST_f_b_tg): Likewise.
3687 (RUN_TEST_f_l): Likewise.
3688 (RUN_TEST_f_L): Likewise.
3689 (RUN_TEST_sincos): Likewise.
3690 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3691 whether to show exceptions. Do not include ");\n" in return
3692 value.
3693 (special_functions): Output call to RUN_TEST_sincos instead of
3694 check_float calls. Update calls to new_test.
3695 (parse_args): Output call to single RUN_TEST_* macro instead of
3696 check_* calls and other assignments. Update calls to new_test.
3697
d8cd06db
JM
3698 [BZ #2546]
3699 [BZ #2560]
3700 [BZ #5159]
3701 [BZ #15426]
3702 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3703 input to result for tgamma overflow.
3704 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3705 (gamma_coeff): New variable.
3706 (NCOEFF): New macro.
3707 (gamma_positive): New function.
3708 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3709 underflow here. Use gamma_positive instead of exp (lgamma) for
3710 other arguments.
3711 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3712 (gamma_coeff): New variable.
3713 (NCOEFF): New macro.
3714 (gammaf_positive): New function.
3715 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3716 underflow here. Use gamma_positive instead of exp (lgamma) for
3717 other arguments.
3718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3719 (gamma_coeff): New variable.
3720 (NCOEFF): New macro.
3721 (gammal_positive): New function.
3722 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3723 underflow here. Use gamma_positive instead of exp (lgamma) for
3724 other arguments.
3725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3726 (gamma_coeff): New variable.
3727 (NCOEFF): New macro.
3728 (gammal_positive): New function.
3729 (__ieee754_gammal_r): Handle positive infinity, overflow and
3730 underflow here. Handle NaN the same as positive infinity. Remove
3731 check x < 0xffffffff for negative integers. Use gamma_positive
3732 instead of exp (lgamma) for other arguments.
3733 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3734 (gamma_coeff): New variable.
3735 (NCOEFF): New macro.
3736 (gammal_positive): New function.
3737 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3738 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3742 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3743 * sysdeps/generic/math_private.h (__gamma_productf): New
3744 prototype.
3745 (__gamma_product): Likewise.
3746 (__gamma_productl): Likewise.
3747 * math/Makefile (libm-calls): Add gamma_product.
3748 * math/libm-test.inc (tgamma_test): Add more tests.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
bb7cf681
OB
37522013-05-08 Ondřej Bílka <neleai@seznam.cz>
3753
3754 * benchtests/bench-skeleton.c (main): Preheat CPU.
3755
ba853947
AJ
37562013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3757
3758 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3759
8347c74c
RM
37602013-05-07 Roland McGrath <roland@hack.frob.com>
3761
3762 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3763 and _dl_skip_args_internal.
3764
e8dd4791
CD
37652013-05-07 Carlos O'Donell <carlos@redhat.com>
3766
3767 * manual/message.texi (Message Translation): Talk about users.
3768 Message to key mapping impacts design.
3769
c7405830
RM
37702013-05-06 Roland McGrath <roland@hack.frob.com>
3771
a9173057
RM
3772 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3773
976e2f03
RM
3774 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3775
9723ffc5
RM
3776 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3777 * sysdeps/wordsize-64/glob64.c: ... here.
3778
962e6658
RM
3779 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3780 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3781 New macros.
3782
ee586a6d
RM
3783 * debug/getlogin_r_chk.c: Moved to ...
3784 * login/getlogin_r_chk.c: ... here.
3785 * debug/Makefile (routines): Move getlogin_r_chk to ...
3786 * login/Makefile (routines): ... here.
3787 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3788 * login/Versions (libc: GLIBC_2.4): ... here.
3789
355f9165
RM
3790 * io/poll.c (__poll): Renamed from poll.
3791 Add libc_hidden_def.
3792 (poll): Define as weak alias.
3793
bd9ffde6
RM
3794 * debug/ptsname_r_chk.c: Moved to ...
3795 * login/ptsname_r_chk.c: ... here.
3796 * debug/Makefile (routines): Move ptsname_r_chk to ...
3797 * login/Makefile (routines): ... here.
3798 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3799 * login/Versions (libc: GLIBC_2.4): ... here.
3800
8fb16a04
RM
3801 * posix/getlogin.c: Moved to ...
3802 * login/getlogin.c: ... here.
3803 * posix/getlogin_r.c: Moved to ...
3804 * login/getlogin_r.c: ... here.
3805 * posix/getlogin_r.c: Moved to ...
3806 * login/getlogin_r.c: ... here.
3807 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3808 * login/Makefile (routines): ... here.
3809 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3810 * login/Versions (libc: GLIBC_2.0): ... here.
3811
b99b892f
RM
3812 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3813 (setrlimit): Define as weak alias.
3814
c7405830
RM
3815 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3816 Call __ names for open, ftruncate, and close.
3817 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3818 (truncate): Define as weak alias.
3819
5bf96de5
JM
38202013-05-06 Joseph Myers <joseph@codesourcery.com>
3821
9ea3513c
JM
3822 * math/gen-libm-test.pl (parse_args): Initialize x before each
3823 test of frexp, modf and remquo.
3824
5bf96de5
JM
3825 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3826 test signgam value.
3827
16e616a7
AZ
38282013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3829
3830 [BZ #15418]
3831 [BZ #15419]
3832 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3833 internal tests.
3834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3835
d5e82754
RM
38362013-05-06 Roland McGrath <roland@hack.frob.com>
3837
3838 * elf/dl-writev.h: New file.
3839 * elf/dl-misc.c: Include it.
3840 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3841 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3842
a7548d41
JM
38432013-05-04 Joseph Myers <joseph@codesourcery.com>
3844
b7dab1e4
JM
3845 * math/libm-test.inc (noXFails): Remove variable.
3846 (noXPasses): Likewise.
3847 (BUILD_COMPLEX_INT): Remove macro.
3848 (print_screen): Remove xfail argument.
3849 (print_screen_max_error): Likewise.
3850 (update_stats): Likewise.
3851 (print_max_error): Likewise. Update calls to other affected
3852 functions.
3853 (print_complex_max_error): Likewise.
3854 (test_single_exception): Update calls to print_screen.
3855 (test_single_errno): Likewise.
3856 (check_float_internal): Remove xfail argument. Update calls to
3857 other affected functions.
3858 (check_float): Likewise.
3859 (check_complex): Likewise.
3860 (check_int): Likewise.
3861 (check_long): Likewise.
3862 (check_bool): Likewise.
3863 (check_longlong): Likewise.
3864 (main): Don't print noXFails and noXPasses.
3865 * math/gen-libm-test.pl (top level): Don't mention expected
3866 failure handling in comment.
3867 (new_test): Don't handle expected failures.
3868 (parse_args): Don't mention expected failure handling in comment.
3869 (generate_testfile): Don't handle expected failures.
3870 (parse_ulps): Likewise.
3871 (print_ulps_file): Likewise.
3872 (get_failure): Remove function.
3873 (output_test): Don't handle expected failures.
3874 * make/README.libm-test: Don't mention expected failure handling.
3875
a7548d41
JM
3876 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3877 (minus_zero): Likewise.
3878 (plus_infty): Likewise.
3879 (minus_infty): Likewise.
3880 (qnan_value): Likewise.
3881 (max_value): Likewise.
3882 (min_value): Likewise.
3883 (min_subnorm_value): Likewise.
3884 (initialize): Do not initialize those variables dynamically.
3885
60bfd54c
RM
38862013-05-03 Roland McGrath <roland@hack.frob.com>
3887
cc0e6ed8
RM
3888 * io/open.c (__open_2): Moved to ...
3889 * io/open_2.c: ... this new file.
3890 * io/open64.c (__open64_2): Moved to ...
3891 * io/open64_2.c: ... this new file.
3892 * io/openat.c (__openat_2): Moved to ...
3893 * io/openat_2.c: ... this new file.
3894 * io/openat64.c (__openat64_2): Moved to ...
3895 * io/openat64_2.c: ... this new file.
3896 * io/Makefile (routines): Add them.
3897 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3898 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3899 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3900 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3901 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3902 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3903 (__openat64): Add hidden_ver.
3904 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3905 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3906
60bfd54c
RM
3907 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3908 Separately conditionalize setting of GLRO(dl_sysinfo) so
3909 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3910 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3911
83e7640f
AZ
39122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3913
3914 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3916 definition.
3917 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3918 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3919 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3920 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3921 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3922
d5dc2af3
JM
39232013-05-03 Joseph Myers <joseph@codesourcery.com>
3924
c31a5b1e
JM
3925 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3926 test signgam value.
3927
d5dc2af3
JM
3928 * math/libm-test.inc (hypot_test): Do not use
3929 IGNORE_ZERO_INF_SIGN.
3930
164fd39d
AJ
39312013-05-03 Andreas Jaeger <aj@suse.de>
3932
3933 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3934 Linux 3.9.
3935 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3936 (PF_MAX): Adjust for VSOCK change.
3937
8237f48c
AZ
39382013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3939
3940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3941
9df02941
CD
39422013-05-02 Carlos O'Donell <carlos@redhat.com>
3943
3944 [BZ #15264]
3945 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3946 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3947 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3948
d422395e
DM
39492013-05-02 David S. Miller <davem@davemloft.net>
3950
3951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3952
a07c5731
OB
39532013-05-01 Ondřej Bílka <neleai@seznam.cz>
3954
3955 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3956
1324e37f
RM
39572013-05-01 Roland McGrath <roland@hack.frob.com>
3958
3959 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3960
0695940b
RS
39612013-05-01 Richard Smith <richard@metafoo.co.uk>
3962
bb5f27ad 3963 [BZ #14952]
0695940b
RS
3964 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3965 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3966 Use __attribute__ ((__gnu_inline__)).
3967 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3968 Don't use __attribute__ ((__gnu_inline__)).
3969
10de07f5
JM
39702013-05-01 Joseph Myers <joseph@codesourcery.com>
3971
3972 [BZ #15423]
3973 * math/s_catan.c (__catan): Handle small real or imaginary part of
3974 input specially to avoid spurious underflow.
3975 * math/s_catanf.c (__catanf): Likewise.
3976 * math/s_catanh.c (__catanh): Likewise.
3977 * math/s_catanhf.c (__catanhf): Likewise.
3978 * math/s_catanhl.c (__catanhl): Likewise.
3979 * math/s_catanl.c (__catanl): Likewise.
3980 * math/libm-test.inc (catan_test): Add more tests.
3981 (catanh_test): Likewise.
3982 * sysdeps/i386/fpu/libm-test-ulps: Update.
3983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3984
cb4d5414
AZ
39852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
3987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3988
caf84319
JM
39892013-04-30 Joseph Myers <joseph@codesourcery.com>
3990
3991 [BZ #15416]
3992 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3993 accurately for denominator in atan2.
3994 * math/s_catanf.c (__catanf): Likewise.
3995 * math/s_catanh.c (__catanh): Likewise.
3996 * math/s_catanhf.c (__catanhf): Likewise.
3997 * math/s_catanhl.c (__catanhl): Likewise.
3998 * math/s_catanl.c (__catanl): Likewise.
3999 * math/libm-test.inc (catan_test): Add more tests.
4000 (catanh_test): Likewise.
4001 * sysdeps/i386/fpu/libm-test-ulps: Update.
4002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4003
d569c6ee
SP
40042013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4005
6dbe713d
SP
4006 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4007
f0ee064b
SP
4008 * benchtests/Makefile (bench): Remove slow benchmarks.
4009 * benchtests/atan-inputs: Add slow benchmark inputs.
4010 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4011 (BENCH_FUNC): Accept variant offset.
4012 (VARIANT): Define.
4013 * benchtests/bench-skeleton.c (main): Run benchmark for each
4014 variant.
4015 * benchtests/cos-inputs: Add slow benchmark inputs.
4016 * benchtests/exp-inputs: Likewise.
4017 * benchtests/pow-inputs: Likewise.
4018 * benchtests/sin-inputs: Likewise.
4019 * benchtests/slowatan-inputs: Remove.
4020 * benchtests/slowatan.c: Remove.
4021 * benchtests/slowcos-inputs: Remove.
4022 * benchtests/slowcos.c: Remove.
4023 * benchtests/slowexp-inputs: Remove.
4024 * benchtests/slowexp.c: Remove.
4025 * benchtests/slowpow-inputs: Remove.
4026 * benchtests/slowpow.c: Remove.
4027 * benchtests/slowsin-inputs: Remove.
4028 * benchtests/slowsin.c: Remove.
4029 * benchtests/slowtan-inputs: Remove.
4030 * benchtests/slowtan.c: Remove.
4031 * benchtests/tan-inputs: Add slow benchmark inputs.
4032 * scripts/bench.pl: Parse comments and directives.
4033
d569c6ee
SP
4034 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4035 in CPPFLAGS.
4036 ($(objpfx)bench-%.c): Remove *-ITER.
4037 * benchtests/bench-modf.c: Remove definition of ITER.
4038 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4039 (main): Loop for DURATION seconds instead of fixed number of
4040 iterations.
4041 * scripts/bench.pl: Don't expect iterations in parameters.
4042
a6a242fe
RM
40432013-04-29 Roland McGrath <roland@hack.frob.com>
4044
4045 * io/fchdir.c (__fchdir): Renamed from fchdir.
4046 (fchdir): Define as weak alias.
4047
f2da7793
JM
40482013-04-29 Joseph Myers <joseph@codesourcery.com>
4049
4050 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4051 (ERRNO_EDOM): Likewise.
4052 (ERRNO_ERANGE): Likewise.
4053 (noErrnoTests): New variable.
4054 (init_max_error): Set errno to 0.
4055 (test_single_errno): New function.
4056 (test_errno): Likewise.
4057 (check_float_internal): Call test_errno. Set errno to 0.
4058 (check_complex): Refer to errno tests in comment.
4059 (check_int): Call test_errno. Set errno to 0.
4060 (check_long): Likewise.
4061 (check_bool): Likewise.
4062 (check_longlong): Likewise.
4063 (cos_test): Use ERRNO_* flags for errno tests instead of
4064 check_int.
4065 (expm1_test): Likewise.
4066 (fmod_test): Likewise.
4067 (ilogb_test): Likewise.
4068 (lgamma_test): Likewise.
4069 (pow_test): Likewise.
4070 (remainder_test): Likewise.
4071 (sin_test): Likewise.
4072 (tan_test): Likewise.
4073 (yn_test): Likewise.
4074 (initialize): Set errno to 0.
4075 (main): Print number of errno tests.
4076 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4077
b1a36ceb
AJ
40782013-04-29 Andreas Jaeger <aj@suse.de>
4079
c3ed8088
AJ
4080 [BZ #15084]
4081 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4082 and RES_USEVC.
4083
f1a24198
AJ
4084 [BZ #15085]
4085 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4086 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4087 unimplemented.
4088
9ce3b2cb
AJ
4089 [BZ #15380]
4090 * stdlib/random.c (__initstate): Return NULL if
4091 __initstate fails.
4092
f1a24198 4093 [BZ #15086]
b1a36ceb
AJ
4094 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4095 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4096 RES_SNGLKUPREOP.
4097
7e7b6f36
AZ
40982013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099
4100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4101
4d14f449
JM
41022013-04-29 Joseph Myers <joseph@codesourcery.com>
4103
4104 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4105 of individual tests.
4106 (casin_test): Likewise.
4107 (casinh_test): Likewise.
4108
5b4217d7
JM
41092013-04-27 Joseph Myers <joseph@codesourcery.com>
4110
4111 [BZ #15409]
4112 * math/s_catan.c (__catan): Handle arguments with large real or
4113 imaginary part separately without squaring.
4114 * math/s_catanf.c (__catanf): Likewise.
4115 * math/s_catanh.c (__catanh): Likewise.
4116 * math/s_catanhf.c (__catanhf): Likewise.
4117 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4118 and redefine.
4119 (__catanhl): Handle arguments with large real or imaginary part
4120 separately without squaring.
4121 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4122 and redefine.
4123 (__catanl): Handle arguments with large real or imaginary part
4124 separately without squaring.
4125 * math/libm-test.inc (catan_test): Add more tests.
4126 (catanh_test): Likewise.
4127 * sysdeps/i386/fpu/libm-test-ulps: Update.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4129
4220c3ef
AJ
41302013-04-27 Andreas Jaeger <aj@suse.de>
4131
4132 [BZ #15007]
4133 * stdlib/stdlib.h: Update guards for qecvt.
4134 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4135 <stdlib.h>.
4136
4721b2d1
AM
41372013-04-27 Allan McRae <allan@archlinux.org>
4138
4139 * sysdeps/i386/fpu/libm-test-ulps: Update.
4140
f0302940
JM
41412013-04-26 Joseph Myers <joseph@codesourcery.com>
4142
9457fd95
JM
4143 [BZ #15406]
4144 * math/s_catan.c: Include <float.h>.
4145 (__catan): Ensure underflow exception occurs for underflowed
4146 result.
4147 * math/s_catanf.c: Include <float.h>.
4148 (__catanf): Ensure underflow exception occurs for underflowed
4149 result.
4150 * math/s_catanh.c: Include <float.h>.
4151 (__catanh): Ensure underflow exception occurs for underflowed
4152 result.
4153 * math/s_catanhf.c: Include <float.h>.
4154 (__catanhf): Ensure underflow exception occurs for underflowed
4155 result.
4156 * math/s_catanhl.c: Include <float.h>.
4157 (__catanhl): Ensure underflow exception occurs for underflowed
4158 result.
4159 * math/s_catanl.c: Include <float.h>.
4160 (__catanl): Ensure underflow exception occurs for underflowed
4161 result.
4162 * math/libm-test.inc (catan_test): Add more tests.
4163 (catanh_test): Likewise.
4164
f0302940
JM
4165 [BZ #15405]
4166 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4167 underflowed result.
4168 * math/s_ccoshf.c (__ccoshf): Likewise.
4169 * math/s_ccoshl.c (__ccoshl): Likewise.
4170 * math/s_csin.c (__csin): Likewise.
4171 * math/s_csinf.c (__csinf): Likewise.
4172 * math/s_csinh.c (__csinh): Likewise.
4173 * math/s_csinhf.c (__csinhf): Likewise.
4174 * math/s_csinhl.c (__csinhl): Likewise.
4175 * math/s_csinl.c (__csinl): Likewise.
4176 * math/libm-test.inc (ccos_test): Add more tests.
4177 (ccosh_test): Likewise.
4178 (csin_test): Likewise.
4179 (csinh_test): Likewise.
4180
aa630f59
AZ
41812013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182
4183 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4184 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4185 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4186 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4187 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4188 powerpc/power5+/fpu folders.
4189 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4190
4191
1b835983
MT
41922013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4193
4194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4195
73709b26
JM
41962013-04-25 Joseph Myers <joseph@codesourcery.com>
4197
4198 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4199 additions to variable.
4200 [$(config-machine) = x86_64] (modules-names): Likewise.
4201 ($(objpfx)tst-audit3): Remove dependency.
4202 ($(objpfx)tst-audit3.out): Likewise.
4203 ($(objpfx)tst-audit4): Likewise.
4204 ($(objpfx)tst-audit4.out): Likewise.
4205 ($(objpfx)tst-audit5): Likewise.
4206 ($(objpfx)tst-audit5.out): Likewise.
4207 ($(objpfx)tst-audit6): Likewise.
4208 ($(objpfx)tst-audit6.out): Likewise.
4209 ($(objpfx)tst-audit7): Likewise.
4210 ($(objpfx)tst-audit7.out): Likewise.
4211 (tst-audit3-ENV): Remove variable.
4212 (tst-audit4-ENV): Likewise.
4213 (tst-audit5-ENV): Likewise.
4214 (tst-audit6-ENV): Likewise.
4215 (tst-audit7-ENV): Likewise.
4216 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4217 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4218 addition to variable.
4219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4221 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4222 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4223 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4224 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4225 tst-audit3, tst-audit4 and tst-audit5.
4226 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4227 tst-audit6 and tst-audit7.
4228 [$(subdir) = elf] (modules-names): Add audit modules for those
4229 tests.
4230 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4231 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4232 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4233 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4234 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4235 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4236 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4237 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4238 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4239 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4240 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4241 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4242 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4243 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4244 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4245 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4246 Likewise.
4247 [$(subdir) = elf && $(config-cflags-avx) = yes]
4248 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4249 [$(subdir) = elf && $(config-cflags-avx) = yes]
4250 (CFLAGS-tst-auditmod4a.c): Likewise.
4251 [$(subdir) = elf && $(config-cflags-avx) = yes]
4252 (CFLAGS-tst-auditmod4b.c): Likewise.
4253 [$(subdir) = elf && $(config-cflags-avx) = yes]
4254 (CFLAGS-tst-auditmod6b.c): Likewise.
4255 [$(subdir) = elf && $(config-cflags-avx) = yes]
4256 (CFLAGS-tst-auditmod6c.c): Likewise.
4257 [$(subdir) = elf && $(config-cflags-avx) = yes]
4258 (CFLAGS-tst-auditmod7b.c): Likewise.
4259 * elf/tst-audit3.c: Move to ...
4260 * sysdeps/x86_64/tst-audit3.c: ... here.
4261 * elf/tst-audit4.c: Move to ...
4262 * sysdeps/x86_64/tst-audit4.c: ... here.
4263 * elf/tst-audit5.c: Move to ...
4264 * sysdeps/x86_64/tst-audit5.c: ... here.
4265 * elf/tst-audit6.c: Move to ...
4266 * sysdeps/x86_64/tst-audit6.c: ... here.
4267 * elf/tst-audit7.c: Move to ...
4268 * sysdeps/x86_64/tst-audit7.c: ... here.
4269 * elf/tst-auditmod3a.c: Move to ...
4270 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4271 * elf/tst-auditmod3b.c: Move to ...
4272 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4273 * elf/tst-auditmod4a.c: Move to ...
4274 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4275 * elf/tst-auditmod4b.c: Move to ...
4276 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4277 * elf/tst-auditmod5a.c: Move to ...
4278 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4279 * elf/tst-auditmod5b.c: Move to ...
4280 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4281 * elf/tst-auditmod6a.c: Move to ...
4282 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4283 * elf/tst-auditmod6b.c: Move to ...
4284 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4285 * elf/tst-auditmod6c.c: Move to ...
4286 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4287 * elf/tst-auditmod7a.c: Move to ...
4288 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4289 * elf/tst-auditmod7b.c: Move to ...
4290 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4291
1ef74943
PP
42922013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4293
4294 [BZ #15366]
4295 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4296 define unconditionally.
4297 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4298 define unconditionally.
4299 (INT8_C, INT16_C, etc.): Likewise.
4300
93fd48c5
MR
43012013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4302
ae9552cf
MR
4303 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4304 __ehdr_start with hidden visibility.
4305
93fd48c5
MR
4306 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4307
418601aa
CD
43082013-04-24 Carlos O'Donell <carlos@redhat.com>
4309
4310 * math/libm-test.inc (cos_test): Use accurate hex constants.
4311 (sincost_test): Likewise.
4312
2f38fbfe
JM
43132013-04-24 Joseph Myers <joseph@codesourcery.com>
4314
5e221800
JM
4315 * math/libm-test.inc (catan_test): Add more tests.
4316 (catanh_test): Likewise.
4317
77f143fd
JM
4318 * math/s_catanf.c (__catanf): Use suffixed floating-point
4319 constants.
4320 * math/s_catanhf.c (__catanhf): Likewise.
4321 * math/s_catanhl.c (__catanhl): Likewise.
4322 * math/s_catanl.c (__catanl): Likewise.
4323
2f38fbfe
JM
4324 [BZ #15394]
4325 * math/s_catan.c (__catan): Calculate imaginary part of result
4326 with log1p not log unless computing log of number close to 0.
4327 * math/s_catanf.c (__catanf): Likewise.
4328 * math/s_catanl.c (__catanl): Likewise.
4329 * math/s_catanh.c (__catanh): Calculate real part of result with
4330 log1p not log unless computing log of number close to 0.
4331 * math/s_catanhf.c (__catanhf): Likewise.
4332 * math/s_catanhl.c (__catanhl): Likewise.
4333 * math/libm-test.inc (catan_test): Add more tests.
4334 (catanh_test): Likewise.
4335 * sysdeps/i386/fpu/libm-test-ulps: Update.
4336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4337
45d69176
SP
43382013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4339
4340 * benchtests/Makefile: Mention files in which fast and slow
4341 paths of math functions are implemented.
4342
87f51853
RM
43432013-04-23 Roland McGrath <roland@hack.frob.com>
4344
4345 * sysdeps/posix/timespec_get.c: New file.
4346
3c026539
AZ
43472013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4348
4349 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4350 POWER.
4351 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4352 for POWER.
4353 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4354 powerpc/power5/fpu folders.
4355 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4356 * benchtests/Makefile: Add modf testcase.
4357 * benchtests/bench-modf.c: New file: Benchmark test for mo
4358
ff491d14
SP
43592013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4360
4361 [BZ #14888]
4362 * time/Makefile (tests): Add tst-strptime-whitespace.
4363 * time/strptime_l.c (get_number): Use ISSPACE.
4364 (__strptime_internal): Likewise.
4365 * time/tst-strptime-whitespace.c: New test case.
4366
7ed3f4e8
AS
43672013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4368
4369 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4370 member.
4371 (_nss_files_init): Set it here.
4372
5c95f7b6
HC
43732013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4374
4375 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4376 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4377 unsigned.
4378
d34c9158
JBG
43792013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4380
4381 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4382
2169712d
SP
43832013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4384
4385 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4386 size just once.
4387
29c5de99
DM
43882013-04-21 David S. Miller <davem@davemloft.net>
4389
4390 * po/ru.po: Update Russion translation from translation project.
4391
ccdad15d
AC
43922013-04-17 Adam Conrad <adconrad@0c3.net>
4393
4394 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4395 and setfsgid.
4396
0f122b8d
CD
43972013-04-17 Carlos O'Donell <carlos@redhat.com>
4398
5c5b07da 4399 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4400 * configure: Regenerate.
5c5b07da 4401 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4402 Add example to error message.
4403 * sysdeps/i386/configure: Regenerate.
4404
037714dd
SP
44052013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4406
4407 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4408 slowtan.
4409 * benchtests/cos-inputs: New file.
4410 * benchtests/slowcos-inputs: New file.
4411 * benchtests/slowcos.c: New file.
4412 * benchtests/slowtan-inputs: New file.
4413 * benchtests/slowtan.c: New file.
4414 * benchtests/tan-inputs: New file.
4415
e913141d
RM
44162013-04-16 Roland McGrath <roland@hack.frob.com>
4417
4418 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4419 considered kosher.
4420
a2964074
SP
44212013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4422
4856bcd2
SP
4423 * benchtests/Makefile: Include cppflags-iterator.mk to add
4424 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4425
a2964074
SP
4426 * Makefile.in (bench-clean): New target.
4427 * benchtests/Makefile (bench-clean): Likewise.
4428
9fbf9aca
DH
44292013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4430
4431 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4432
207d1e2a
TS
44332013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4434
4435 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4436
306dfba9
AS
44372013-04-15 Andreas Schwab <schwab@suse.de>
4438
4439 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4440 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4441 * nscd/pwdcache.c (cache_addpw): Likewise.
4442 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4443 more than recsize.
4444
206a6699
SP
44452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4446
4447 * benchtests/Makefile (bench): Write all output to
4448 bench-out.tmp together.
4449
0582f6b3
AS
44502013-04-15 Andreas Schwab <schwab@suse.de>
4451
4452 * nscd/nscd.c (main): Don't fork again after closing files.
4453
acb4325f
SP
44542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4455
5cb26d0a
SP
4456 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4457
acb4325f
SP
4458 * benchtests/Rules (bench-deps): Collect dependencies into a
4459 single variable. Add Makefile to dependencies.
4460 ($(objpfx)bench-%.c): Depend on bench-deps.
4461
47792506
RM
44622013-04-12 Roland McGrath <roland@hack.frob.com>
4463 Xavier Roche <roche+kml2@exalead.com>
4464
4465 [BZ #15361]
4466 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4467 just that it's a file descriptor.
4468 * manual/llio.texi (Synchronizing AIO Operations): Update description
4469 for EBADF error from aio_fsync.
4470
8fc1bee5
SP
44712013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4473 * Rules (bench): Move target definition...
4474 * benchtests/Makefile: ... here.
4475
aba5e333
CD
44762013-04-11 Carlos O'Donell <carlos@redhat.com>
4477
4478 * math/libm-test.inc (cos_test): Fix PI/2 test.
4479 (sincos_test): Likewise.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4481 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4482
273cdee8
AS
44832013-04-11 Andreas Schwab <schwab@suse.de>
4484
6ecec3b6
AS
4485 [BZ #13988]
4486 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4487 accept exponent character only when digits were seen.
4488 * stdio-common/Makefile (tests): Add bug26.
4489 * stdio-common/bug26.c: New file.
4490
273cdee8
AS
4491 [BZ #14293]
4492 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4493 non-freeable.
4494
8da491f5
SP
44952013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
01dc6df9
SP
4497 * Makeconfig (rtld-prefix): Define built linker prefix.
4498 * Rules (run-bench): Use it.
4499 * math/Makefile (run-regen-ulps): Likewise.
4500
8da491f5
SP
4501 * Rules (bench): Remove eval.
4502
abe7f530
SP
45032013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4504 Roland McGrath <roland@hack.frob.com>
4505 Ondrej Bilka <neleai@seznam.cz>
4506
4507 [BZ #15346]
4508 * time/getdate.c: Include ctype.h and alloca.h.
4509 (__getdate_r): Trim leading and trailing spaces of input.
4510 * time/tst-getdate.c (tests): Add tests with leading and
4511 trailing spaces.
4512
61c23e62
RM
45132013-04-08 Roland McGrath <roland@hack.frob.com>
4514
4515 [BZ #14280]
4516 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4517 when computing value.
4518
7208a313
CD
45192013-04-06 Carlos O'Donell <carlos@redhat.com>
4520
085b2d41
CD
4521 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4522 Use testrun.sh to run libm tests.
4523
7208a313
CD
4524 [BZ #15309]
4525 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4526
872c0acd
MM
45272013-04-06 Marko Myllynen <myllynen@redhat.com>
4528
4529 [BZ #15264]
4530 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4531
26510bdd
CD
45322013-04-06 Carlos O'Donell <carlos@redhat.com>
4533
4534 * Makefile.in (regen-ulps): New target.
4535 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4536 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4537 [ifneq (no,$(PERL)] (regen-ulps): New target.
4538 [ifeq (no,$(PERL)] (regen-ulps): New target.
4539 * math/libm-test.inc (ulps_file_name): Define.
4540 (output_dir): New variable.
4541 (options): Add "output-dir" option.
4542 (parse_opt): Handle 'o' case.
4543 (main): If output_dir is non-NULL use it as a prefix
4544 otherwise use "".
4545 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4546
a01f19c8
CD
45472013-04-06 Carlos O'Donell <carlos@redhat.com>
4548
4549 [BZ #10060, #10062]
4550 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4551 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4552 fail configure if __sync_val_compare_and_swap is not inlined.
4553 * sysdeps/i386/configure: Regenerate.
4554 * configure.in: Build for i686 when configured for i386.
4555 * configure: Regenerate.
4556 * README: Remove i386 reference.
4557
b7a329a5
CD
45582013-04-06 Carlos O'Donell <carlos@redhat.com>
4559
4560 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4561 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4562
bf0f50df
TS
45632013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4564
ee091edf
TS
4565 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4566 (lmsnanval): New variables.
4567 (F): Add conversion tests.
4568 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4569 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4570
a8b792d6
TS
4571 * stdio-common/tstdiomisc.c (F): Properly collect individual
4572 tests' results.
4573
a1cbf437
TS
4574 [BZ #14686, #15336]
4575 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4576 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4577 Instead, use input NaN values or generate a qNaN by arithmetic
4578 operation. Also fix bugs to comply with the standard.
4579 * math/libm-test.inc (remainder_test): Add more tests.
4580
8b43a0c9
TS
4581 [BZ #15335, #15342]
4582 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4584 input NaN values or generate a qNaN by arithmetic operation.
4585
d91da4ce
TS
4586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4587 unreachable code.
4588
bf0f50df
TS
4589 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4590 definitions.
4591
05e166c8
JM
45922013-04-03 Joseph Myers <joseph@codesourcery.com>
4593
4594 [BZ #14478]
4595 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4596 underflowed result.
4597 * math/s_cexpf.c (__cexpf): Likewise.
4598 * math/s_cexpl.c (__cexpl): Likewise.
4599 * math/libm-test.inc (cexp_test): Add more tests.
4600
1cef1b19
AS
46012013-04-03 Andreas Schwab <schwab@suse.de>
4602
4603 [BZ #15330]
4604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4605 order arrays from heap if bigger than alloca cutoff.
4606
74d87055
TS
46072013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4608
4609 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4610 (SNAN_TESTS_double): Refer to GCC PR56831.
4611 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4612 GCC PR56828.
4613
d755bba4
SP
46142013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
90d5d5bb
SP
4616 * Rules (bench): Move bench.out after the run is complete.
4617
73e0cd5d
SP
4618 * Rules (bench): Echo currently running benchmark.
4619
64aabd4b
SP
4620 * benchtests/Makefile (bench): Add atan and slowatan.
4621 * benchtests/atan-inputs: New file.
4622 * benchtests/slowatan-inputs: New file.
4623 * benchtests/slowatan.c: New file.
4624
c871eccd
SP
4625 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4626 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4627 its value.
4628
d755bba4
SP
4629 [BZ #15305]
4630 * sysdeps/unix/sysv/linux/kernel-features.h
4631 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4632 __ASSUME_XFS_RESTRICTED_CHOWN.
4633 * sysdeps/unix/sysv/linux/pathconf.c
4634 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4635 Save and restore errno.
4636
52ce4860
JM
46372013-04-02 Joseph Myers <joseph@codesourcery.com>
4638
4639 [BZ #15327]
4640 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4641 arguments using __kernel_casinh.
4642 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4643 arguments using __kernel_casinhf.
4644 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4645 arguments using __kernel_casinhl.
4646 * math/libm-test.inc (cacosh_test): Add more tests.
4647 * sysdeps/i386/fpu/libm-test-ulps: Update.
4648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4649
81f311c2
SP
46502013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4651
e7906a47
SP
4652 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4653 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4654
92e3664b
SP
4655 * bench/Makefile (bench): Add sin and slowsin.
4656 * benchtests/sin-inputs: New file.
4657 * benchtests/slowsin-inputs: New file.
4658 * benchtests/slowsin.c: New file.
4659
81f311c2
SP
4660 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4661 (bench): Add slowexp and slowpow.
4662 (exp-ITER): Increase iterations.
4663 (pow-ITER): Likewise.
4664 * benchtests/exp-inputs: Change input.
4665 * benchtests/pow-inputs: Likewise.
4666 * benchtests/slowexp-inputs: New file.
4667 * benchtests/slowexp.c: New file.
4668 * benchtests/slowpow-inputs: New file.
4669 * benchtests/slowpow.c: New file.
4670
ab0f1aa9
AZ
46712013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4672
4673 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4674 instructions.
4675 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4676 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4677 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4678 * benchtests/Makefile: Add rint benchtest.
4679 * benchtests/rint-inputs: Input for rint benchtest.
4680
57267616
TS
46812013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4682
4683 * Versions.def (libm): Add GLIBC_2.18.
4684 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4685 hidden libm prototypes.
4686 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4687 * math/Makefile (libm-calls): Add s_issignaling.
4688 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4689 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4690 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4691 declaration.
4692 * math/math.h [__USE_GNU] (issignaling): New macro.
4693 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4694 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4696 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4699 * manual/arith.texi (issignaling): New section.
4700 * manual/libm-err-tab.pl (@all_functions): Update comment.
4701 * math/gen-libm-test.pl (parse_args): Apply special handling for
4702 issignaling.
4703 * math/libm-test.inc (print_float, issignaling_test): New
4704 functions.
4705 (check_float_internal): Add issignaling checks.
4706 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4707 default definition.
4708 * sysdeps/powerpc/math-tests.h: New file.
4709 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4710 tests.
4711 * math/test-snan.c (TEST_FUNC): Likewise.
4712
6142896d
DM
47132013-03-30 David S. Miller <davem@davemloft.net>
4714
4715 * po/de.po: Update from translation team.
4716
ccc8cadf
JM
47172013-03-30 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #10357]
4720 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4721 imaginary part less than 1.0 and real part less than 0.5
4722 specially.
4723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4725 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4726 (cacos_test): Add more tests.
4727 (casin_test): Likewise.
4728 (casinh_test): Likewise.
4729 * sysdeps/i386/fpu/libm-test-ulps: Update.
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4731
0f6a8d4b
SP
47322013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4733
0d1029de
SP
4734 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4735 ONE with its value.
4736
c2d94018
SP
4737 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4738 (__pow_mp): Replace ONE and MONE with their values.
4739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4742 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4745
27ec37f1
SP
4746 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4747
a64d7e0e
SP
4748 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4749 (__pow_mp): Replace ZERO and MZERO with their values.
4750 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4752 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4754 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4755 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4756 (__sqr): Likewise.
4757
d26dd3eb
SP
4758 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4759
0f6a8d4b
SP
4760 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4761
e57b0c61
RM
47622013-03-28 Roland McGrath <roland@hack.frob.com>
4763
4764 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4765 Declare with __attribute__ ((weak)).
4766 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4767 Call __call_tls_dtors only if it's not NULL.
4768
356b3480
RM
47692013-03-28 Roland McGrath <roland@hack.frob.com>
4770
288f7d79
RM
4771 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4772 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4773 magic __ehdr_start linker symbol if it's defined.
4774 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4775 them up here if it was already done.
4776
dc0a0263
RM
4777 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4778 (_dl_aux_init): Use const in cast when setting it.
4779 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4781 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4782
3d3436ae
RM
4783 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4784 Declare them here.
4785 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4786 * csu/libc-tls.c: Nor here.
4787 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4788
356b3480
RM
4789 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4790 (__libc_message): Never call vsyslog.
4791
b0f1246a
AM
47922013-03-28 Alan Modra <amodra@gmail.com>
4793
4794 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4795 Define as empty.
4796 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4797 Likewise.
4798
fbbe2b9a
AZ
47992013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800
4801 [BZ #15214]
4802 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4803 underflow.
4804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4805
1728ab37
SP
48062013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
7a86be6e
SP
4808 [BZ #15304]
4809 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4810 Don't add gid passed as argument.
4811
1728ab37
SP
4812 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4813
3a7182a1
JM
48142013-03-27 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #15307]
4817 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4818 imaginary part between 1.0 and 1.5 and real part less than 0.5
4819 specially.
4820 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4821 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4822 * math/libm-test.inc (cacos_test): Add more tests.
4823 (casin_test): Likewise.
4824 (casinh_test): Likewise.
4825 * sysdeps/i386/fpu/libm-test-ulps: Update.
4826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827
6f2e90e7
SP
48282013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4829
5739f705
SP
4830 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4831 constants.
4832 (norm): Likewise.
4833 (denorm): Likewise.
4834 (__dbl_mp): Likewise.
4835 (add_magnitudes): Likewise.
4836 (sub_magnitudes): Likewise.
4837 (__add): Likewise.
4838 (__sub): Likewise.
4839 (__mul): Likewise.
4840 (__sqr): Likewise.
4841 (__inv): Likewise.
4842 (__dvd): Likewise.
4843
e375e83d
SP
4844 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4845 commented code.
4846 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4847 (__dubcos): Likewise.
4848 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4849 (__ieee754_acos): Likewise.
4850 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4851 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4852 (__exp1): Likewise.
4853 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4855 (log1): Likewise.
4856 (my_log2): Likewise.
4857 (checkint): Likewise.
4858 * sysdeps/ieee754/dbl-64/e_remainder.c
4859 (__ieee754_remainder): Likewise.
4860 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4862 (bsloww): Likewise.
4863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4864
6f2e90e7
SP
4865 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4867 MANTISSA_STORE_T to store computations on mantissa. Use
4868 macros for rounding and division.
4869 (denorm): Likewise.
4870 (__dbl_mp): Likewise.
4871 (add_magnitudes): Likewise.
4872 (sub_magnitudes): Likewise.
4873 (__mul): Likewise.
4874 (__sqr): Likewise.
4875 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4876 powers of two in terms of TWOPOW macro.
4877 (mp_no): Make type of mantissa as MANTISSA_T.
4878 [!RADIXI]: Define RADIXI.
4879 [!TWO52]: Define TWO52.
4880 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4881
fce14d4e
AZ
48822013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4883
4884 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4885 llroundl symbol when building for PPC32.
4886
9ad027fb
MW
48872013-03-24 Mark H Weaver <mhw@netris.org>
4888
4889 * manual/arith.texi (Normalization Functions): Fix prototypes for
4890 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4891
e42a38dd
AZ
48922013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893
4894 [BZ #13889]
4895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4896 high value to check if expl overflow.
4897 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4898 to check for underflow and overflow.
4899 * math/libm-test.inc: Add exp test.
4900
2e0fb521
DL
49012013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4902
4903 [BZ #11120]
4904 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4905 with NOT_IN_libc.
4906
b5784d95
AZ
49072013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4908
4909 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4910 symbol.
4911
5aa4a1a1
TS
49122013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4913
bdef0be7
TS
4914 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4915 wrap blocks consisting of several statements.
4916
5aa4a1a1
TS
4917 * sysdeps/generic/math-tests.h: New file.
4918 * sysdeps/i386/fpu/math-tests.h: Likewise.
4919 * math/test-snan.c: Include it.
4920 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4921
98c48fe5
JM
49222013-03-21 Joseph Myers <joseph@codesourcery.com>
4923
4924 [BZ #15285]
4925 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4926 (__ieee754_j0l): Do not improve calculations using cos of twice
4927 input for inputs above LDBL_MAX / 2.0L.
4928 (__ieee754_y0l): Likewise.
4929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4930 (__ieee754_j1l): Do not improve calculations using cos of twice
4931 input for inputs above LDBL_MAX / 2.0L.
4932 (__ieee754_y1l): Likewise.
4933 * math/libm-test.inc (j0_test): Add another test.
4934 (j1_test): Likewise.
4935 (y0_test): Likewise.
4936 (y1_test): Likewise.
4937 * sysdeps/i386/fpu/libm-test-ulps: Update.
4938
3775a8bc
SP
49392013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4940
4941 * Rules ($(objpfx)bench-%.c): Include code from a C source
4942 file.
4943
0a1b2ae6
JM
49442013-03-21 Joseph Myers <joseph@codesourcery.com>
4945
4946 [BZ #15287]
4947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4948 imaginary part 1.0 and real part less than 0.5 specially.
4949 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4950 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4951 * math/libm-test.inc (cacos_test): Add more tests.
4952 (casin_test): Likewise.
4953 (casinh_test): Likewise.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4956
b33d4ce4
SP
49572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4958
4959 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4960 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4961
bef0b507
JM
49622013-03-20 Joseph Myers <joseph@codesourcery.com>
4963
4964 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4965 * config.make.in (config-cflags-sse4): Remove variable.
4966 (config-cflags-avx): Likewise.
4967 (config-cflags-sse2avx): Likewise.
4968 (config-cflags-novzeroupper): Likewise.
4969 (config-asflags-i686): Likewise.
4970 (have-mfma4): Likewise.
4971 (have-as-vis3): Likewise.
4972 (MIG): Likewise.
4973 * configure.in (MIG): Do not AC_SUBST.
4974 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4975 (libc_cv_cc_sse4): Do not AC_SUBST.
4976 (libc_cv_cc_avx): Likewise.
4977 (libc_cv_cc_sse2avx): Likewise.
4978 (libc_cv_cc_novzeroupper): Likewise.
4979 (libc_cv_cc_fma4): Likewise.
4980 (libc_cv_as_i686): Likewise.
4981 (libc_cv_sparc_as_vis3): Likewise.
4982 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4983 LIBC_CONFIG_VAR.
4984 (config-asflags-i686): Likewise.
4985 (config-cflags-avx): Likewise.
4986 (config-cflags-sse2avx): Likewise.
4987 (have-mfma4): Likewise.
4988 (config-cflags-novzeroupper): Likewise.
4989 * sysdeps/mach/configure.in (MIG): Likewise.
4990 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4991 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4992 LIBC_CONFIG_VAR.
4993 (config-cflags-avx): Likewise.
4994 (config-cflags-sse2avx): Likewise.
4995 (have-mfma4): Likewise.
4996 (config-cflags-novzeroupper): Likewise.
4997 * configure: Regenerated.
4998 * sysdeps/i386/configure: Likewise.
4999 * sysdeps/mach/configure: Likewise.
5000 * sysdeps/sparc/configure: Likewise.
5001 * sysdeps/x86_64/configure: Likewise.
5002
912cc4b3
RM
50032013-03-20 Roland McGrath <roland@hack.frob.com>
5004
5005 [BZ #14812]
5006 * locale/programs/localedef.c (options): Put N_ translation marker
5007 on argument names, not just descriptions.
5008
04eed2b0
MS
50092013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5010
5011 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5012
a065ceff
OB
50132013-03-20 Ondřej Bílka <neleai@seznam.cz>
5014
9bb2a810 5015 [BZ #14176]
a065ceff
OB
5016 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5017
a600e5ce
RM
50182013-03-19 Roland McGrath <roland@hack.frob.com>
5019
5020 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5021 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5022 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5023 [!BEFORE_ABORT] (before_abort): New function.
5024 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5025 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5026 (writev_for_fatal): New function.
5027 (WRITEV_FOR_FATAL): New macro; call that.
5028 (backtrace_and_maps): New function.
5029 (BEFORE_ABORT): New macro; call that.
5030 (struct str_list): Type removed.
5031 (__libc_message, __libc_fatal): Functions removed.
5032 Include <sysdeps/posix/libc_fatal.c> instead.
5033
6b18bea6
JM
50342013-03-19 Joseph Myers <joseph@codesourcery.com>
5035
5036 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5037 constants.
5038 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5039 double constants.
5040
aaa8cb4b
AS
50412013-03-19 Andreas Schwab <schwab@suse.de>
5042
44673770
AS
5043 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5044 * sysdeps/gnu/configure: Regenerate.
5045
aaa8cb4b
AS
5046 * configure.in: Substitute libc_cv_rtlddir.
5047 * configure: Regenerate.
5048 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5049 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5050 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5051 * elf/Makefile (install-others, CFLAGS-interp.c)
5052 (ldso_install, common-ldd-rewrite): Likewise.
5053 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5054 $(inst_slibdir)/$(rtld-installed-name).
5055 * scripts/rellns-sh: Add -p option.
5056 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5057 for source.
5058
d3cfc668
SP
50592013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5060
5061 * manual/nptl.texi: Renamed to ...
5062 * manual/threads.texi: ... this.
5063 * manual/Makefile (chapters): Update.
5064
0e2b9cdd
RM
50652013-03-18 Roland McGrath <roland@hack.frob.com>
5066
5067 [BZ #14812]
5068 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5069 on argument names, not just descriptions.
0e2b9cdd
RM
5070 * malloc/memusagestat.c (options): Likewise.
5071 * nss/getent.c (options): Likewise.
63270c24
RM
5072
50732013-03-18 Benno Schulenberg <bensberg@justemail.net>
5074
5075 [BZ #14812]
5076 * iconv/iconv_prog.c (options): Put N_ translation marker
5077 on argument names, not just descriptions.
5078 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5079
b2e1393c
OB
50802013-03-18 Ondrej Bilka <neleai@seznam.cz>
5081
5082 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5083 implementation which is faster on all x86_64 architectures.
5084 Tested on AMD, Intel Nehalem, SNB, IVB.
5085 * sysdeps/x86_64/strnlen.S: Likewise.
5086
5087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5088 Remove all multiarch strlen and strnlen versions.
5089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5090 Remove strlen and strnlen related parts.
5091
5092 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5093 Inline strlen part.
5094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5095
5096 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5097 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5098 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5099 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5100 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5101 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5102
ec4ff04d
CD
51032013-03-17 Carlos O'Donell <carlos@redhat.com>
5104
5105 * manual/memory.texi (Malloc Tunable Parameters):
5106 Sort parameters alphabetically. Add comments for missing entries.
5107
cd18e90a
DM
51082013-03-17 David S. Miller <davem@davemloft.net>
5109
5110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5111
2a185d32
JM
51122013-03-16 Joseph Myers <joseph@codesourcery.com>
5113
d2f9799e
JM
5114 [BZ #15283]
5115 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5116 for arguments at most half maximum finite value.
5117 * math/libm-test.inc (j0_test): Add more tests.
5118 (j1_test): Likewise.
5119 (y0_test): Likewise.
5120 (y1_test): Likewise.
5121 * sysdeps/i386/fpu/libm-test-ulps: Update.
5122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5123
2a185d32
JM
5124 [BZ #14155]
5125 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5126 1 / x and functions P and Q for arguments above 0x1p256L.
5127 (__ieee754_y0l): Likewise.
5128 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5129 (__ieee754_y1l): Likewise.
5130 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5131 (j1_test): Likewise.
5132 (y0_test): Likewise.
5133 (y1_test): Likewise.
5134
6cbec759
TS
51352013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5136
5137 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5138 variable.
5139
bc16e260
RM
51402013-03-15 Roland McGrath <roland@hack.frob.com>
5141
aefc9b8c
RM
5142 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5143 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5144 zero since it's initialized to EXEC_PAGESIZE.
5145
bc16e260
RM
5146 * sysdeps/unix/sysv/linux/ldsodefs.h
5147 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5148 * sysdeps/generic/ldsodefs.h: ... here.
5149
a57da955
TS
51502013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5151
af00a34d
TS
5152 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5153
495ded2c
TS
5154 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5155 math/test-snan.c.
5156 * math/test-snan.c: Renamed from
5157 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5158 * math/Makefile (tests): Add test-snan.
5159 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5160 test-powerpc-snan.
5161
777b0332
TS
5162 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5163 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5164 functions.
5165 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5166 __builtin_nan family of functions.
5167 * math/libm-test.inc (initialize): Initialize qnan_value with
5168 __builtin_nan family of functions.
5169 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5170 Remove variables.
5171 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5172 Remove functions.
5173 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5174 storage class. Initialize qNaN_var and sNaN_var with
5175 __builtin_nan and __builtin_nans families of functions,
5176 respectively.
5177
64d063b8
TS
5178 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5179 (sqrt_test): Remove duplicate test with qNaN input.
5180 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5181 (round_test, signbit_test, significand_test): Note missing +/-Inf
5182 as well as qNaN tests.
5183
67e971f1
TS
5184 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5185 qNaN_var. Fix a few strings, too.
5186 * math/libm-test.inc (nan_value): Rename to qnan_value.
5187 * math/gen-libm-test.pl (%beautify): Adjust to that.
5188 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5189 * math/test-misc.c (main): Likewise.
5190 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5191 to __qnan_bytes, and __qnan_union, respectively.
5192 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5193 Likewise.
5194 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5195 and lqnanval, respectively.
5196 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5197 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5198 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5199 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5200
64487e12
TS
5201 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5202 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5203 doubles.
5204
e015e27b
TS
5205 * math/test-misc.c (main): Fix copy'n'pastos.
5206 * misc/tst-efgcvt.c (special): Likewise.
5207
a57da955
TS
5208 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5209 Remove declarations.
5210
1e380345
SP
52112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
5213 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5214 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5215 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5216 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5217
ef26eece
AZ
52182013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5219
5220 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5221 macro to return vdso values correctly in IFUNC implementations.
5222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5223 Optimization by using IFUNC.
5224
8cfdb7e0
SP
52252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5226 Richard Henderson <rth@redhat.com>
5227 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5228
5229 * Makefile.in (bench): New target.
5230 * NEWS: Mention the benchmark framework.
5231 * Rules (bench): Likewise.
5232 (binaries-bench): Generate binaries for functions to
5233 benchmark.
5234 * benchtests/Makefile: New makefile for benchmark tests.
5235 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5236 programs.
5237 * benchtests/exp-inputs: New input file for EXP function.
5238 * benchtests/pow-inputs: New input file for POW function.
5239 * scripts/bench.pl: New script to generate source files for
5240 benchmark programs.
5241
bcda9880
SP
52422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
d22ca8cd
SP
5244 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5245 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5246 computations on mantissa. Use macros for rounding and
5247 division.
5248 (denorm): Likewise.
5249 (__dbl_mp): Likewise.
5250 (add_magnitudes): Likewise.
5251 (sub_magnitudes): Likewise.
5252 (__mul): Likewise.
5253 (__sqr): Likewise.
5254 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5255 powers of two in terms of TWOPOW macro.
5256 (mp_no): Make type of mantissa as MANTISSA_T.
5257 [!RADIXI]: Define RADIXI.
5258 [!TWO52]: Define TWO52.
5259 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5260
bcda9880
SP
5261 * manual/nptl.texi (cindex): Modify threads to pthreads.
5262
06d5adfb
JM
52632013-03-15 Joseph Myers <joseph@codesourcery.com>
5264
5265 * sysdeps/x86_64/preconfigure: Regenerated.
5266
41c7328e
JM
52672013-03-14 Joseph Myers <joseph@codesourcery.com>
5268
5269 [BZ #14155]
5270 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5271 0x1p28 and above.
5272 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5273 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5274 0x1p28 and above.
5275 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5276 * math/libm-test.inc (j0_test): Do not allow one spurious
5277 underflow exception.
5278 (y1_test): Likewise.
5279
e25cfa60
SP
52802013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
0409959c
SP
5282 * manual/Makefile (chapters): Add nptl.
5283 * manual/debug.texi (Debugging Support): Add link to Threads
5284 chapter.
5285 * manual/nptl.texi: New file.
5286
e25cfa60
SP
5287 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5288
58a1335e
PB
52892013-03-14 Petr Baudis <pasky@ucw.cz>
5290
5291 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5292 for non-NULL pointer before the memory validity test. Pointed
5293 out by Holger Brunck <holger.brunck@keymile.com>.
5294
9dc7c64f
AS
52952013-03-13 Andreas Schwab <schwab@suse.de>
5296
5297 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5298 instead of .os.
5299
54206aa6
JM
53002013-03-13 Joseph Myers <joseph@codesourcery.com>
5301
5302 * timezone/zic.c: Update from tzcode 2013b.
5303
e98cdb38
CD
53042013-03-12 Carlos O'Donell <carlos@redhat.com>
5305
5306 * manual/install.texi (Configuring and compiling):
5307 Mention i686 and i586.
5308 * INSTALL: Regenerate.
5309
9967e003
RM
53102013-03-12 Roland McGrath <roland@hack.frob.com>
5311
5312 * sysdeps/init_array/elf-init.c: New file.
5313 * csu/elf-init.c
5314 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5315 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5316
5317 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5318 __gmon_start__ as global, but as static with a .preinit_array pointer.
5319 * sysdeps/init_array/gmon-start.c: New file. Use that.
5320 * sysdeps/init_array/crti.S: New file, empty except for comments.
5321 * sysdeps/init_array/crtn.S: Likewise.
5322
e6b5a293 53232013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5324
5325 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5326 definining bcopy.
80f844c9
OB
5327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5328 Remove Prefer_SSE_for_memop.
5329 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5330 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5331 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5333 memset-x86-64.
80f844c9 5334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5335 Remove bzero, memset ifunc support.
80f844c9
OB
5336 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5337 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5338 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5339 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5340
fb6b0fcb
AS
53412013-03-11 Andreas Schwab <schwab@suse.de>
5342
5343 [BZ #15234]
5344 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5345 by SHLIB_COMPAT.
5346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5347 (GLIBC_2.16): Remove pthread_atfork.
5348
3e6bd4b1
PP
53492013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5350
5351 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5352 (ptestcases.h): Likewise.
5353
222d7f00
RM
53542013-03-08 Roland McGrath <roland@hack.frob.com>
5355
5356 * Makeconfig ($(common-objpfx)config.status): Depend on
5357 sysdeps/*/preconfigure{,.in} too.
5358
1ba4f030
JM
53592013-03-08 Joseph Myers <joseph@codesourcery.com>
5360
a222d91a
JM
5361 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5362 (__free_hook): Use void * instead of __malloc_ptr_t.
5363 (__malloc_hook): Likewise.
5364 (__realloc_hook): Likewise.
5365 (__memalign_hook): Likewise.
5366 (__after_morecore_hook): Likewise.
5367 * malloc/arena.c (save_malloc_hook): Likewise.
5368 (save_free_hook): Likewise.
5369 * malloc/hooks.c (malloc_hook_ini): Likewise.
5370 (realloc_hook_ini): Likewise.
5371 (memalign_hook_ini): Likewise.
5372 * malloc/malloc.c (malloc_hook_ini): Likewise.
5373 (realloc_hook_ini): Likewise.
5374 (memalign_hook_ini): Likewise.
5375 (__free_hook): Likewise.
5376 (__malloc_hook): Likewise.
5377 (__realloc_hook): Likewise.
5378 (__memalign_hook): Likewise.
5379 (__libc_malloc): Likewise.
5380 (__libc_free): Likewise.
5381 (__libc_realloc): Likewise.
5382 (__libc_memalign): Likewise.
5383 (__libc_valloc): Likewise.
5384 (__libc_pvalloc): Likewise.
5385 (__libc_calloc): Likewise.
5386 (__posix_memalign): Likewise.
5387 * malloc/morecore.c (__sbrk): Likewise.
5388 (__default_morecore): Likewise.
5389
5cc45e10
JM
5390 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5391
dd54b864
JM
5392 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5393 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5394 __malloc_ptrdiff_t.
5395
1ba4f030
JM
5396 * malloc/malloc.h (__malloc_size_t): Remove macro.
5397 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5398 __malloc_size_t.
5399 (old_memalign_hook): Likewise.
5400 (old_realloc_hook): Likewise.
5401 (struct hdr): Likewise.
5402 (flood): Likewise.
5403 (mallochook): Likewise.
5404 (memalignhook): Likewise.
5405 (reallochook): Likewise.
5406 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5407 (tr_old_realloc_hook): Likewise.
5408 (tr_old_memalign_hook): Likewise.
5409 (tr_mallochook): Likewise.
5410 (tr_reallochook): Likewise.
5411 (tr_memalignhook): Likewise.
5412
edf66e57
AZ
54132013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414
5415 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5416 default_ldbl_pack and using as default implementation.
5417 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5418 implementation.
5419 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5420 redundant definition.
5421 (ldbl_insert_mantissa): Likewise.
5422 (ldbl_canonicalize): Likewise.
5423 (ldbl_nearbyint): Likewise.
5424 (ldbl_pack): Rename to ldbl_pack_ppc.
5425 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5426 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5427 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5428
6d9145d8
SP
54292013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5432 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5433 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5434 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5436 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5437 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5438 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5439
4dd4e157
AJ
54402013-03-07 Andreas Jaeger <aj@suse.de>
5441
5442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5443 bits/mman-linux.h.
5444
adbb8027
SP
54452013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5446
ce544b5b
SP
5447 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5448 Include mpa.h and declare __MPEXP.
5449 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5450 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5452 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5454 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5455 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5456
4cc149fd
SP
5457 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5458 (__slowpow): Use long double EXPL and LOGL functions to
5459 compute POW.
5460 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5463 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5464 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5466
e6ebd4a7
SP
5467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5468 intermediate variable to calculate exponent.
5469 (__sqr): Likewise.
5470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5471 Likewise.
5472 (__sqr): Likewise.
5473
82a9811d
SP
5474 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5475 [!NO__SQR]: Define __sqr.
5476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5477 and NO__SQR. Remove all code except __mul and __sqr. Include
5478 sysdeps/ieee754/dbl-64/mpa.c.
5479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5480
adbb8027
SP
5481 [BZ #12723]
5482 * posix/Makefile (tests): Add tst-pathconf.
5483 * posix/tst-pathconf.c: New test case.
5484 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5485 _PC_PIPE_BUF.
5486 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5487
39120df9
PF
54882013-03-06 Patsy Franklin <pfrankli@redhat.com>
5489
5490 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5491
67525cb8
AJ
54922013-03-06 Andreas Jaeger <aj@suse.de>
5493
664a9ce4
AJ
5494 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5495 definition via __MAP_ANONYMOUS.
5496
8e39047d
AJ
5497 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5498 it's not part of Linux headers.
5499
67525cb8
AJ
5500 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5501 (MAP_HUGE_MASK): Define.
5502
5503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5504 Define.
5505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5506 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5507 Define.
5508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5509 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5510 Define.
5511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5512 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5513 Define.
5514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5515
5516 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5517 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5518 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5519 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5520 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5522
5523 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5524 Handle f2fs.
5525
5526 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5527 Handle f2fs and efivarfs.
5528
5529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5530 f2fs.
5531
5532 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5533 (EFIVARFS_MAGIC): Add.
5534 (F2FS_LINK_MAX): Add.
5535
e1b42695
PP
55362013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5537
5538 * stdio-common/vfprintf.c: Replace __builtin_expect with
5539 __glibc_unlikely.
5540
2d67d91a
JM
55412013-03-06 Joseph Myers <joseph@codesourcery.com>
5542
5543 [BZ #13550]
5544 * sysdeps/generic/bp-sym.h: Remove file.
5545 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5546 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5547 <bp-sym.h> and <bp-asm.h>.
5548 (__longjmp): Don't use BP_SYM.
5549 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5550 and <bp-asm.h>.
5551 (memcpy): Don't use BP_SYM.
5552 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5553 <bp-sym.h> and <bp-asm.h>.
5554 (memcpy): Don't use BP_SYM.
5555 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5556 <bp-asm.h>.
5557 (memcpy): Don't use BP_SYM.
5558 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5559 <bp-asm.h>.
5560 (memset): Don't use BP_SYM.
5561 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5562 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5563 (__bzero): Don't use BP_SYM.
5564 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5565 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5566 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5567 <bp-sym.h> and <bp-asm.h>.
5568 (memcmp): Don't use BP_SYM. Remove comment about bounded
5569 pointers.
5570 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5571 <bp-sym.h> and <bp-asm.h>.
5572 (memcpy): Don't use BP_SYM.
5573 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5574 <bp-sym.h> and <bp-asm.h>.
5575 (memset): Don't use BP_SYM.
5576 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5577 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5578 (__bzero): Don't use BP_SYM.
5579 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5580 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5581 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5582 <bp-sym.h> and <bp-asm.h>.
5583 (strncmp): Don't use BP_SYM. Remove comment about bounded
5584 pointers.
5585 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (memcpy): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (memset): Don't use BP_SYM.
5591 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5592 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5593 (__bzero): Don't use BP_SYM.
5594 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5595 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5596 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5597 <bp-sym.h> and <bp-asm.h>.
5598 (__memchr): Don't use BP_SYM.
5599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5600 <bp-sym.h> and <bp-asm.h>.
5601 (memcmp): Don't use BP_SYM. Remove comment about bounded
5602 pointers.
5603 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5604 <bp-sym.h> and <bp-asm.h>.
5605 (memcpy): Don't use BP_SYM.
5606 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5607 <bp-sym.h> and <bp-asm.h>.
5608 (__mempcpy): Don't use BP_SYM.
5609 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5610 <bp-sym.h> and <bp-asm.h>.
5611 (__memrchr): Don't use BP_SYM.
5612 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5613 <bp-sym.h> and <bp-asm.h>.
5614 (memset): Don't use BP_SYM.
5615 (__bzero): Likewise.
5616 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5617 <bp-sym.h> and <bp-asm.h>.
5618 (__rawmemchr): Don't use BP_SYM.
5619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5620 <bp-sym.h> and <bp-asm.h>.
5621 (__STRCMP): Don't use BP_SYM.
5622 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5623 <bp-sym.h> and <bp-asm.h>.
5624 (strchr): Don't use BP_SYM.
5625 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5626 <bp-sym.h> and <bp-asm.h>.
5627 (__strchrnul): Don't use BP_SYM.
5628 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5629 <bp-sym.h> and <bp-asm.h>.
5630 (strlen): Don't use BP_SYM.
5631 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5632 <bp-sym.h> and <bp-asm.h>.
5633 (strncmp): Don't use BP_SYM. Remove comment about bounded
5634 pointers.
5635 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5636 <bp-sym.h> and <bp-asm.h>.
5637 (__strnlen): Don't use BP_SYM.
5638 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5639 <bp-sym.h> and <bp-asm.h>.
5640 (__GI__setjmp): Don't use BP_SYM.
5641 (_setjmp): Likewise.
5642 (__sigsetjmp): Likewise.
5643 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5644 (L(start_addresses)): Don't use BP_SYM.
5645 (_start): Likewise.
5646 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5647 <bp-asm.h>.
5648 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5649 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5650 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5651 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5652 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5653 <bp-asm.h>.
5654 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5655 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5656 about bounded pointers.
5657 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5658 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5659 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5660 <bp-asm.h>.
5661 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5662 about bounded pointers. Remove GKM FIXME comments.
5663 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5664 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5665 <bp-asm.h>.
5666 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5667 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5668 Remove GKM FIXME comments.
5669 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5670 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5671 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5672 <bp-asm.h>.
5673 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5674 about bounded pointers. Remove GKM FIXME comment.
5675 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5676 and <bp-asm.h>.
5677 (strncmp): Don't use BP_SYM. Remove comment about bounded
5678 pointers.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5680 <bp-sym.h> and <bp-asm.h>.
5681 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5683 <bp-sym.h> and <bp-asm.h>.
5684 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5685 comment.
5686
cdcf361f
PP
56872013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5688
5689 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5690 call free(NULL).
5691
3c4a2b15
DM
56922013-03-05 David S. Miller <davem@davemloft.net>
5693
5694 * po/es.po: Update from translation team.
5695
cdcf361f 56962013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5697
5698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5699 <bits/mman-linux.h>.
5700 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5701 is fine.
5702 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5703 <bits/mman-linux.h> to end of file.
5704 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5705 is fine.
5706 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5707 <bits/mman-linux.h> to end of file.
5708 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5709 is fine.
5710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5711 <bits/mman-linux.h> to end of file.
5712
5713 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5714 (MCL_CURRENT, MCL_FUTURE): Define here.
5715
5f67c04f
AK
57162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5717
8a4473cc 5718 [BZ #15232]
5f67c04f
AK
5719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5720 attribute_hidden.
5721 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5722
c3e94a95
AK
57232013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5724
5725 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5726 fourth parameter needed for rt_sigprocmask syscall.
5727 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5728 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5729 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5730 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5731 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5732 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5733
cfb6382a
JM
57342013-03-04 Joseph Myers <joseph@codesourcery.com>
5735
5736 [BZ #13550]
5737 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5738 comment about bounded pointers.
5739 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5740 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5741
539d8e01
AJ
57422013-03-04 Andreas Jaeger <aj@suse.de>
5743
5744 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5745 common definitions.
5746
5747 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5748 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5749 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5750 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5753
2e167a70 57542013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5755
5756 [BZ #15055]
5757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5758 __ieee754_sqrl instead of __sqrl.
5759
68508633
JM
57602013-03-01 Joseph Myers <joseph@codesourcery.com>
5761
5762 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5763 * sysdeps/powerpc/fpu_control.h: ... here.
5764 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5765 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5766 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5767 * sysdeps/powerpc/bits/mathinline.h: ... here.
5768
7775448e
RM
57692013-03-01 Roland McGrath <roland@hack.frob.com>
5770
5771 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5772 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5773 to just [NEED_DL_SYSINFO_DSO].
5774 * elf/dl-support.c: Likewise.
5775 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5776 * elf/rtld.c (dl_main): Likewise.
5777 * elf/setup-vdso.h (setup_vdso): Likewise.
5778 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5779 * sysdeps/unix/sysv/linux/dl-sysdep.c
5780 (_dl_discover_osversion): Likewise.
5781
4e9b5995
CD
57822013-03-01 Carlos O'Donell <carlos@redhat.com>
5783
5784 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5785 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5786
e23872c8
SP
57872013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5788
e5c74c63
SP
5789 * NEWS: Mention libm performance improvements and non-x86 PI
5790 futex support.
5791
e23872c8
SP
5792 * csu/libc-start.c (__pthread_initialize_minimal): Change
5793 function arguments.
5794 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5795
b5510883
JM
57962013-02-28 Joseph Myers <joseph@codesourcery.com>
5797
5798 [BZ #13550]
5799 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5800 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5801 <bp-sym.h> and <bp-asm.h>.
5802 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5803 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5804 and <bp-asm.h>.
5805 (memcpy): Don't use BP_SYM.
5806 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5807 <bp-asm.h>.
5808 (__mpn_add_n): Don't use BP_SYM.
5809 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5810 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5811 and <bp-asm.h>.
5812 (__mpn_addmul_1): Don't use BP_SYM.
5813 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5814 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5815 <bp-sym.h>.
5816 (_setjmp): Don't use BP_SYM.
5817 (__novmx_setjmp): Likewise.
5818 (__GI__setjmp): Likewise.
5819 (__vmx_setjmp): Likewise.
5820 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5821 <bp-sym.h>.
5822 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5823 (__bzero): Don't use BP_SYM.
5824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5826 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5827 <bp-sym.h> and <bp-asm.h>.
5828 (memcpy): Don't use BP_SYM.
5829 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5830 <bp-sym.h> and <bp-asm.h>.
5831 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5832 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5833 <bp-sym.h> and <bp-asm.h>.
5834 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5835 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5836 <bp-asm.h>.
5837 (__mpn_lshift): Don't use BP_SYM.
5838 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5839 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5840 <bp-asm.h>.
5841 (memset): Don't use BP_SYM.
5842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5844 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5845 <bp-asm.h>.
5846 (__mpn_mul_1): Don't use BP_SYM.
5847 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5849 <bp-sym.h> and <bp-asm.h>.
5850 (memcmp): Don't use BP_SYM.
5851 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5852 <bp-sym.h> and <bp-asm.h>.
5853 (memcpy): Don't use BP_SYM.
5854 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5855 <bp-sym.h> and <bp-asm.h>.
5856 (memset): Don't use BP_SYM.
5857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5858 <bp-sym.h> and <bp-asm.h>.
5859 (strncmp): Don't use BP_SYM.
5860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5861 <bp-sym.h> and <bp-asm.h>.
5862 (memcpy): Don't use BP_SYM.
5863 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5864 <bp-sym.h> and <bp-asm.h>.
5865 (memset): Don't use BP_SYM.
5866 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5867 <bp-sym.h> and <bp-asm.h>.
5868 (__memchr): Don't use BP_SYM.
5869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5870 <bp-sym.h> and <bp-asm.h>.
5871 (memcmp): Don't use BP_SYM.
5872 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5873 <bp-sym.h> and <bp-asm.h>.
5874 (memcpy): Don't use BP_SYM.
5875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5876 <bp-sym.h> and <bp-asm.h>.
5877 (__mempcpy): Don't use BP_SYM.
5878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5879 <bp-sym.h> and <bp-asm.h>.
5880 (__memrchr): Don't use BP_SYM.
5881 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5882 <bp-sym.h> and <bp-asm.h>.
5883 (memset): Don't use BP_SYM.
5884 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5885 <bp-sym.h> and <bp-asm.h>.
5886 (__rawmemchr): Don't use BP_SYM.
5887 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5888 <bp-sym.h> and <bp-asm.h>.
5889 (__STRCMP): Don't use BP_SYM.
5890 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5891 <bp-sym.h> and <bp-asm.h>.
5892 (strchr): Don't use BP_SYM.
5893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5894 <bp-sym.h> and <bp-asm.h>.
5895 (__strchrnul): Don't use BP_SYM.
5896 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5897 <bp-sym.h> and <bp-asm.h>.
5898 (strlen): Don't use BP_SYM.
5899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5900 <bp-sym.h> and <bp-asm.h>.
5901 (strncmp): Don't use BP_SYM.
5902 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5903 <bp-sym.h> and <bp-asm.h>.
5904 (__strnlen): Don't use BP_SYM.
5905 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5906 <bp-asm.h>.
5907 (__mpn_rshift): Don't use BP_SYM.
5908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5909 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5910 <bp-sym.h> and <bp-asm.h>.
5911 (__sigsetjmp): Don't use BP_SYM.
5912 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5913 (L(start_addresses)): Don't use BP_SYM.
5914 (_start): Likewise.
5915 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5916 <bp-asm.h>.
5917 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5918 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5919 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5920 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5921 <bp-asm.h>.
5922 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5923 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5924 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5925 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5926 <bp-asm.h>.
5927 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5928 comments.
5929 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5930 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5931 <bp-asm.h>.
5932 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5933 FIXME comments.
5934 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5935 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5936 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5937 <bp-asm.h>.
5938 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5939 comment.
5940 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5941 and <bp-asm.h>.
5942 (strncmp): Don't use BP_SYM,
5943 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5944 <bp-asm.h>.
5945 (__mpn_sub_n): Don't use BP_SYM.
5946 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5947 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5948 and <bp-asm.h>.
5949 (__mpn_submul_1): Don't use BP_SYM.
5950 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5952 <bp-sym.h> and <bp-asm.h>.
5953 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5955 <bp-sym.h> and <bp-asm.h>.
5956 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5957 comment.
5958
8d19fe64
SP
59592013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5962 Use ZK to minimize writes to Z.
5963 (sub_magnitudes): Simplify code a bit.
5964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5965 Use ZK to minimize writes to Z.
5966 (sub_magnitudes): Simplify code a bit.
5967
85bd816a
RM
59682013-02-27 Roland McGrath <roland@hack.frob.com>
5969
5970 * csu/gmon-start.c: Add special exception to license text.
5971
b5977bf2
RH
59722013-02-27 Richard Henderson <rth@redhat.com>
5973
5974 * scripts/config.guess: Update from config.git.
5975 * scripts/config.sub: Likewise.
5976
11d6e2f2
SP
59772013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5978
09c14ed2
SP
5979 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5980
a688864e
SP
5981 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5982
6295157a
SP
5983 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5984
b8de2202
SP
5985 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5986
11d6e2f2
SP
5987 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5988
7e80ddb8
RM
59892013-02-26 Roland McGrath <roland@hack.frob.com>
5990
5991 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5992 [$(build-shared = yes].
7e80ddb8 5993
7da6d9ed
SP
59942013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5995
45f05884
SP
5996 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5997 (__mul): Reduce iterations for calculating mantissa.
5998
2236d359
SP
5999 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6000 MPTWO.
6001 (__mpranred): Likewise.
6002
7da6d9ed
SP
6003 [BZ #15160]
6004 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6005 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6006
b7688c42
PE
60072013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6008
6009 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6010 Define __attribute__.
6011
53a5c423
SP
60122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
6014 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6015 unused.
6016 * posix/regex_internal.h (__attribute): Remove.
6017 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6018 (re_string_context_at): Likewise.
6019 (bitset_not): Use __attribute__ and mark function as possibly
6020 unused.
6021 (bitset_merge): Likewise.
6022 (bitset_mask): Likewise.
6023 (re_string_char_size_at): Likewise.
6024 (re_string_wchar_at): Likewise.
6025 (re_string_elem_size_at): Likewise.
6026
60f5a8b5
SP
60272013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6028
2a983a2e
SP
6029 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6030 code.
6031 (cc32): Likewise.
6032
e69804d1
SP
6033 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6034 (__acr): Likewise.
6035 (__cpy): Likewise.
6036 (norm): Likewise.
6037 (denorm): Likewise.
6038 (__dbl_mp): Likewise.
6039 (add_magnitudes): Likewise.
6040 (sub_magnitudes): Likewise.
6041 (__mul): Likewise.
6042 (__inv): Likewise.
6043
2f22a1e8
SP
6044 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6045 style.
6046
8930ddc7
SP
6047 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6048 style.
6049
dc60cb11
SP
6050 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6051 code.
6052
60f5a8b5
SP
6053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6054 up changes with default code.
6055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6056 Likewise.
6057
b4d1fd33
AM
60582013-02-24 Allan McRae <allan@archlinux.org>
6059
faf6f8bc
AM
6060 * manual/socket.texi (The Internet Namespace): Order menu items
6061 to match that in the file.
6062
b4d1fd33
AM
6063 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6064 node listing of the info page menu.
6065
2366713d
JM
60662013-02-21 Joseph Myers <joseph@codesourcery.com>
6067
6068 [BZ #13550]
6069 * sysdeps/i386/bp-asm.h: Remove file.
6070 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6071 (PARMS): Do not use macros from bp-asm.h.
6072 (S1): Likewise.
6073 (S2): Likewise.
6074 (SIZE): Likewise.
6075 (__mpn_add_n): Do not use BP_SYM
6076 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6077 "bp-asm.h".
6078 (PARMS): Do not use macros from bp-asm.h.
6079 (S1): Likewise.
6080 (SIZE): Likewise.
6081 (__mpn_addmul_1): Do not use BP_SYM
6082 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6083 "bp-asm.h".
6084 (PARMS): Do not use macros from bp-asm.h.
6085 (SIGMSK): Likewise.
6086 (_setjmp): Likewise. Do not use BP_SYM.
6087 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6088 "bp-asm.h".
6089 (PARMS): Do not use macros from bp-asm.h.
6090 (SIGMSK): Likewise.
6091 (setjmp): Likewise. Do not use BP_SYM.
6092 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6093 "bp-asm.h".
6094 (PARMS): Do not use macros from bp-asm.h.
6095 (__frexp): Do not use BP_SYM.
6096 (frexp): Likewise.
6097 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6098 "bp-asm.h".
6099 (PARMS): Do not use macros from bp-asm.h.
6100 (__frexpf): Do not use BP_SYM.
6101 (frexpf): Likewise.
6102 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (__frexpl): Do not use BP_SYM.
6106 (frexpl): Likewise.
6107 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6108 "bp-asm.h".
6109 (PARMS): Do not use macros from bp-asm.h.
6110 (__remquo): Do not use BP_SYM.
6111 (remquo): Likewise.
6112 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6113 "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (__remquof): Do not use BP_SYM.
6116 (remquof): Likewise.
6117 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6118 "bp-asm.h".
6119 (PARMS): Do not use macros from bp-asm.h.
6120 (__remquol): Do not use BP_SYM.
6121 (remquol): Likewise.
6122 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6123 "bp-asm.h".
6124 (PARMS): Do not use macros from bp-asm.h.
6125 (DEST): Likewise.
6126 (SRC): Likewise.
6127 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6128 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6129 "bp-asm.h".
6130 (PARMS): Do not use macros from bp-asm.h.
6131 (strlen): Do not use BP_SYM.
6132 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6133 "bp-asm.h".
6134 (PARMS): Do not use macros from bp-asm.h.
6135 (S1): Likewise.
6136 (S2): Likewise.
6137 (SIZE): Likewise.
6138 (__mpn_add_n): Do not use BP_SYM.
6139 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6140 "bp-asm.h".
6141 (PARMS): Do not use macros from bp-asm.h.
6142 (S1): Likewise.
6143 (SIZE): Likewise.
6144 (__mpn_addmul_1): Do not use BP_SYM.
6145 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6146 weak_alias.
6147 (bzero): Likewise.
6148 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6149 "bp-asm.h".
6150 (PARMS): Do not use macros from bp-asm.h.
6151 (S): Likewise.
6152 (SIZE): Likewise.
6153 (__mpn_lshift): Do not use BP_SYM.
6154 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6155 "bp-asm.h".
6156 (PARMS): Do not use macros from bp-asm.h.
6157 (DEST): Likewise.
6158 (SRC): Likewise.
6159 (LEN): Likewise.
6160 (memcpy): Likewise. Do not use BP_SYM.
6161 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6162 libc_hidden_def and weak_alias.
6163 (mempcpy): Do not use BP_SYM in weak_alias.
6164 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6165 "bp-asm.h".
6166 (PARMS): Do not use macros from bp-asm.h.
6167 (DEST): Likewise.
6168 (LEN): Likewise.
6169 [!BZERO_P] (CHR): Likewise.
6170 (memset): Likewise. Do not use BP_SYM.
6171 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6172 "bp-asm.h".
6173 (PARMS): Do not use macros from bp-asm.h.
6174 (S1): Likewise.
6175 (SIZE): Likewise.
6176 (__mpn_mul_1): Do not use BP_SYM.
6177 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6178 "bp-asm.h".
6179 (PARMS): Do not use macros from bp-asm.h.
6180 (S): Likewise.
6181 (SIZE): Likewise.
6182 (__mpn_rshift): Do not use BP_SYM.
6183 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6184 "bp-asm.h".
6185 (PARMS): Do not use macros from bp-asm.h.
6186 (STR): Likewise.
6187 (CHR): Likewise.
6188 (strchr): Likewise. Do not use BP_SYM.
6189 (index): Do not use BP_SYM in weak_alias.
6190 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6191 "bp-asm.h".
6192 (PARMS): Do not use macros from bp-asm.h.
6193 (DEST): Likewise.
6194 (SRC): Likewise.
6195 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6196 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6197 "bp-asm.h".
6198 (PARMS): Do not use macros from bp-asm.h.
6199 (strlen): Do not use BP_SYM.
6200 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6201 "bp-asm.h".
6202 (PARMS): Do not use macros from bp-asm.h.
6203 (S1): Likewise.
6204 (S2): Likewise.
6205 (SIZE): Likewise.
6206 (__mpn_sub_n): Do not use BP_SYM.
6207 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6208 "bp-asm.h".
6209 (PARMS): Do not use macros from bp-asm.h.
6210 (S1): Likewise.
6211 (SIZE): Likewise.
6212 (__mpn_submul_1): Do not use BP_SYM.
6213 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6214 "bp-asm.h".
6215 (PARMS): Do not use macros from bp-asm.h.
6216 (S1): Likewise.
6217 (S2): Likewise.
6218 (SIZE): Likewise.
6219 (__mpn_add_n): Do not use BP_SYM.
6220 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6221 weak_alias.
6222 (bzero): Likewise.
6223 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6224 "bp-asm.h".
6225 (PARMS): Do not use macros from bp-asm.h.
6226 (BLK2): Likewise.
6227 (LEN): Likewise.
6228 (memcmp): Do not use BP_SYM.
6229 (bcmp): Do not use BP_SYM in weak_alias.
6230 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6231 "bp-asm.h".
6232 (PARMS): Do not use macros from bp-asm.h.
6233 (DEST): Likewise.
6234 (SRC): Likewise.
6235 (LEN): Likewise.
6236 (memcpy): Likewise. Do not use BP_SYM.
6237 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6238 "bp-asm.h".
6239 (PARMS): Do not use macros from bp-asm.h.
6240 (DEST): Likewise.
6241 (SRC): Likewise.
6242 (LEN): Likewise.
6243 (memmove): Likewise. Do not use BP_SYM.
6244 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6245 "bp-asm.h".
6246 (PARMS): Do not use macros from bp-asm.h.
6247 (DEST): Likewise.
6248 (SRC): Likewise.
6249 (LEN): Likewise.
6250 (__mempcpy): Likewise. Do not use BP_SYM.
6251 (mempcpy): Do not use BP_SYM in weak_alias.
6252 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6253 "bp-asm.h".
6254 (PARMS): Do not use macros from bp-asm.h.
6255 (DEST): Likewise.
6256 (LEN): Likewise.
6257 [!BZERO_P] (CHR): Likewise.
6258 (memset): Likewise. Do not use BP_SYM.
6259 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6260 "bp-asm.h".
6261 (PARMS): Do not use macros from bp-asm.h.
6262 (STR2): Likewise.
6263 (strcmp): Do not use BP_SYM.
6264 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6265 "bp-asm.h".
6266 (PARMS): Do not use macros from bp-asm.h.
6267 (STR): Likewise.
6268 (DELIM): Likewise.
6269 [USE_AS_STRTOK_R] (SAVE): Likewise.
6270 (FUNCTION): Likewise. Do not use BP_SYM.
6271 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6272 aliases.
6273 (strtok_r): Likewise.
6274 (__GI___strtok_r): Likewise.
6275 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6276 (PARMS): Do not use macros from bp-asm.h.
6277 (S): Likewise.
6278 (SIZE): Likewise.
6279 (__mpn_lshift): Do not use BP_SYM.
6280 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6281 (PARMS): Do not use macros from bp-asm.h.
6282 (STR): Likewise.
6283 (CHR): Likewise.
6284 (__memchr): Do not use BP_SYM.
6285 (memchr): Do not use BP_SYM in weak_alias.
6286 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6287 (PARMS): Do not use macros from bp-asm.h.
6288 (BLK2): Likewise.
6289 (LEN): Likewise.
6290 (memcmp): Do not use BP_SYM.
6291 (bcmp): Do not use BP_SYM in weak_alias.
6292 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6293 (PARMS): Do not use macros from bp-asm.h.
6294 (S1): Likewise.
6295 (SIZE): Likewise.
6296 (__mpn_mul_1): Do not use BP_SYM.
6297 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6298 "bp-asm.h".
6299 (PARMS): Do not use macros from bp-asm.h.
6300 (STR): Likewise.
6301 (CHR): Likewise.
6302 (__rawmemchr): Do not use BP_SYM.
6303 (rawmemchr): Do not use BP_SYM in weak_alias.
6304 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (S): Likewise.
6307 (SIZE): Likewise.
6308 (__mpn_rshift): Do not use BP_SYM.
6309 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6310 (PARMS): Do not use macros from bp-asm.h.
6311 (SIGMSK): Likewise.
6312 (__sigsetjmp): Likewise. Do not use BP_SYM.
6313 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6314 (_start): Do not use BP_SYM.
6315 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6316 (PARMS): Do not use macros from bp-asm.h.
6317 (DEST): Likewise.
6318 (SRC): Likewise.
6319 (__stpcpy): Likewise. Do not use BP_SYM.
6320 (stpcpy): Do not use BP_SYM in weak_alias.
6321 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6322 "bp-asm.h".
6323 (PARMS): Do not use macros from bp-asm.h.
6324 (DEST): Likewise.
6325 (SRC): Likewise.
6326 (LEN): Likewise.
6327 (__stpncpy): Likewise. Do not use BP_SYM.
6328 (stpncpy): Do not use BP_SYM in weak_alias.
6329 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6330 (PARMS): Do not use macros from bp-asm.h.
6331 (STR): Likewise.
6332 (CHR): Likewise.
6333 (strchr): Likewise. Do not use BP_SYM.
6334 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6335 "bp-asm.h".
6336 (PARMS): Do not use macros from bp-asm.h.
6337 (STR): Likewise.
6338 (CHR): Likewise.
6339 (__strchrnul): Likewise. Do not use BP_SYM.
6340 (strchrnul): Do not use BP_SYM in weak_alias.
6341 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6342 "bp-asm.h".
6343 (PARMS): Do not use macros from bp-asm.h.
6344 (STOP): Likewise.
6345 (strcspn): Do not use BP_SYM.
6346 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6347 "bp-asm.h".
6348 (PARMS): Do not use macros from bp-asm.h.
6349 (STR): Likewise.
6350 (STOP): Likewise.
6351 (strpbrk): Likewise. Do not use BP_SYM.
6352 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6353 "bp-asm.h".
6354 (PARMS): Do not use macros from bp-asm.h.
6355 (STR): Likewise.
6356 (CHR): Likewise.
6357 (strrchr): Likewise. Do not use BP_SYM.
6358 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6359 (PARMS): Do not use macros from bp-asm.h.
6360 (SKIP): Likewise.
6361 (strspn): Do not use BP_SYM.
6362 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6363 (PARMS): Do not use macros from bp-asm.h.
6364 (STR): Likewise.
6365 (DELIM): Likewise.
6366 (SAVE): Likewise.
6367 (FUNCTION): Likewise. Do not use BP_SYM.
6368 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6369 aliases.
6370 (strtok_r): Likewise.
6371 (__GI___strtok_r): Likewise.
6372 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6373 (PARMS): Do not use macros from bp-asm.h.
6374 (S1): Likewise.
6375 (S2): Likewise.
6376 (SIZE): Likewise.
6377 (__mpn_sub_n): Do not use BP_SYM.
6378 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6379 "bp-asm.h".
6380 (PARMS): Do not use macros from bp-asm.h.
6381 (S1): Likewise.
6382 (SIZE): Likewise.
6383 (__mpn_submul_1): Do not use BP_SYM.
6384 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6385 <bp-sym.h>.
6386 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6387 and <bp-asm.h>.
6388 (PARMS): Do not use macros from bp-asm.h.
6389 (FLAGS): Likewise.
6390 (PTID): Likewise.
6391 (TLS): Likewise.
6392 (CTID): Likewise.
6393 (__clone): Do not use BP_SYM.
6394 (clone): Do not use BP_SYM in weak_alias.
6395 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6396 and <bp-asm.h>.
6397 (PARMS): Do not use macros from bp-asm.h.
6398 (LEN): Likewise.
6399 (__mmap64): Do not use BP_SYM.
6400 (mmap64): Do not use BP_SYM in weak_alias.
6401 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6402 <bp-sym.h> and <bp-asm.h>.
6403 (PARMS): Do not use macros from bp-asm.h.
6404 (__posix_fadvise64_l64): Do not use BP_SYM.
6405 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6406 (PARMS): Do not use macros from bp-asm.h.
6407 (NSOPS): Likewise.
6408 (semtimedop): Do not use BP_SYM.
6409 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6410 and <bp-asm.h>.
6411
582a3cff
AM
64122013-02-21 Allan McRae <allan@archlinux.org>
6413
6414 * manual/message.texi (Charset conversion in gettext):
6415 Move @end statement to beginning of line.
6416
bab8a695
SP
64172013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6418
80945231
SP
6419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6420 static.
6421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6422 Likewise.
6423
bab8a695
SP
6424 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6425 (denorm): Likewise.
6426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6428
e21d7aa7
AK
64292013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6430
6431 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6432 tail-call to the resolved function if pltexit isn't needed.
6433
4c7a4263
SP
64342013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6435
6436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6437 or Y being zero as being unlikely.
6438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6439 Likewise.
6440
41f49342
CD
64412013-02-20 Carlos O'Donell <carlos@redhat.com>
6442
6443 * manual/nss.texi (System Databases and Name Service Switch):
6444 Remove frobnicate @pxref.
6445
50022a93
TS
64462013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6447
6448 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6449 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6450
08cbd996
PM
64512013-02-20 Petr Machata <pmachata@redhat.com>
6452
6453 * elf/elf.h (R_ARM_TARGET1): New macro.
6454 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6455 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6456 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6457 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6458 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6459 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6460 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6461 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6462 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6463 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6464 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6465 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6466 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6467 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6468 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6469 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6470 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6471 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6472 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6473 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6474 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6475 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6476 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6477 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6478 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6479 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6480 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6481 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6482 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6483 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6484 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6485 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6486 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6487 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6488 (R_ARM_THM_GOT_BREL12): Likewise.
6489 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6490 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6491 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6492 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6493 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6494 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6495 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6496 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6497 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6498
c7b275d6
TS
64992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6500
6501 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6502 __attribute_used__ to __attribute__ ((unused)).
6503
20cd7fb3
SP
65042013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
6506 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6507 powerpc mpa.c.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6509 comment formatting.
6510 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6511
92945b52
JM
65122013-02-19 Joseph Myers <joseph@codesourcery.com>
6513
6514 [BZ #13550]
6515 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6516 Remove macro.
6517 (ENTER): Remove both macro definitions.
6518 (LEAVE): Likewise.
6519 (CHECK_BOUNDS_LOW): Likewise.
6520 (CHECK_BOUNDS_HIGH): Likewise.
6521 (CHECK_BOUNDS_BOTH): Likewise.
6522 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6523 (RETURN_BOUNDED_POINTER): Likewise.
6524 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6525 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6526 (POP_ERRNO_LOCATION_RETURN): Likewise.
6527 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6528 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6529 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6530 macros.
6531 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6532 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6533 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6534 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6535 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6536 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6537 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6538 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6539 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6540 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6541 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6542 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6543 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6544 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6545 removed macros.
6546 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6547 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6548 macros.
6549 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6550 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6551 * sysdeps/i386/i586/memset.S (memset): Likewise.
6552 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6553 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6554 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6555 macros.
6556 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6557 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6558 Change uses of L(2) to L(out).
6559 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6560 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6561 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6563 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6564 removed macros.
6565 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6566 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6567 macros.
6568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6569 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6570 (RETURN): Do not use macro LEAVE.
6571 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6572 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6573 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6574 * sysdeps/i386/i686/memset.S (memset): Likewise.
6575 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6576 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6577 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6578 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6579 Likewise.
6580 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6581 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6582 L(1_2) and L(1_3) into L(1).
6583 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6584 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6585 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6586 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6587 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6588 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6589 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6590 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6591 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6592 macros.
6593 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6595 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6596 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6597 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6598 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6599 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6600 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6601 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6602 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6603 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6604 * sysdeps/i386/strspn.S (strspn): Likewise.
6605 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6606 conditional code.
6607 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6608 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6609 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6610 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6611 L(1_3) into L(1_1).
6612 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6613 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6614 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6615 macros.
6616 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6617
2389741a
JJ
66182013-02-19 Jakub Jelinek <jakub@redhat.com>
6619
6620 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6621 macro.
6622
2016b3cd
SP
66232013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6624
e4f22324
SP
6625 * math/atest-exp.c (exp_mpn): Remove ROUND.
6626 * math/atest-exp2.c (exp_mpn): Likewise.
6627 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6628
2016b3cd
SP
6629 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6630 * stdlib/tst-tls-atexit-lib.c: Likewise.
6631 * stdlib/tst-tls-atexit.c: Likewise.
6632
4be9b544
MF
66332013-02-18 Mike Frysinger <vapier@gentoo.org>
6634
6635 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6636 and __attribute_alloc_size__.
6637
2f62b9ee
MF
66382013-02-18 Mike Frysinger <vapier@gentoo.org>
6639
6640 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6641 __attribute_alloc_size__.
6642 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6643 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6644
6ff444c4
MF
66452013-02-18 Mike Frysinger <vapier@gentoo.org>
6646
6647 * include/programs/xmalloc.h: New file.
6648 * catgets/gencat.c: Include it.
6649 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6650 * elf/pldd.c: Likewise.
6651 * iconv/iconv_charmap.c: Likewise.
6652 * iconv/iconvconfig.c: Likewise.
6653 * iconv/strtab.c: Likewise.
6654 * locale/programs/locale.c: Likewise.
6655 * locale/programs/localedef.h: Likewise.
6656 * locale/programs/simple-hash.c: Likewise.
6657 * nscd/nscd.h: Likewise.
6658 * nss/makedb.c: Likewise.
6659 * sysdeps/generic/ldconfig.h: Likewise.
6660
be179c8a
SP
66612013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6662
ba384f6e
SP
6663 * Versions.def: Add GLIBC_2.18.
6664 * include/link.h (struct link_map): New member l_tls_dtor_count.
6665 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6666 (__call_tls_dtors): Likewise.
6667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6668 __cxa_thread_atexit_impl.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6670 Likewise.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6672 Likewise.
6673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6679 Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6681 Likewise.
6682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6684 Likewise.
6685 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6686 (tests): Add test case tst-tls-atexit.
6687 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6688 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6689 (GLIBC_PRIVATE): Add __call_tls_dtors.
6690 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6691 for libstdc++.
6692 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6693 * stdlib/tst-tls-atexit.c: New test case.
6694 * stdlib/tst-tls-atexit-lib.c: New test case.
6695
ffaa74cf 6696 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6697
be179c8a
SP
6698 * elf/Versions (ld): Add _dl_find_dso_for_object.
6699 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6700 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6701 (dl_open_worker): Use _dl_find_dso_for_object.
6702 * elf/dl-sym.c (do_sym): Likewise.
6703 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6704
f78b5caa
AK
67052013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6706
6707 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6708 Syntactic changes only.
6709 (_dl_runtime_profile): Do a tail-call to the resolved function.
6710
29691210
JM
67112013-02-17 Joseph Myers <joseph@codesourcery.com>
6712
6713 [BZ #13550]
6714 * sysdeps/x86_64/bp-asm.h: Remove file.
6715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6716 <bp-sym.h> and <bp-asm.h>.
6717 (__clone): Do not use BP_SYM.
6718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6719 <bp-sym.h> and <bp-asm.h>.
6720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6721 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6722 "bp-asm.h".
6723 (_setjmp): Do not use BP_SYM.
6724 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6725 "bp-asm.h".
6726 (setjmp): Do not use BP_SYM.
6727 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6728 libc_hidden_def.
6729 (mempcpy): Do not use BP_SYM in weak_alias.
6730 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6731 "bp-asm.h".
6732 (strchr): Do not use BP_SYM.
6733 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6734 "bp-asm.h".
6735 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6736 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6737 (_start): Do not use BP_SYM.
6738 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6739 "bp-asm.h".
6740 (strcat): Do not use BP_SYM.
6741 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6742 "bp-asm.h".
6743 (STRCMP): Do not use BP_SYM.
6744 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6745 "bp-asm.h".
6746 (STRCPY): Do not use BP_SYM.
6747 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6748 "bp-asm.h".
6749 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6750 "bp-asm.h".
6751 (FUNCTION): Do not use BP_SYM.
6752 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6753 weak_alias.
6754 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6755
f238fd19
AJ
67562013-02-17 Andreas Jaeger <aj@suse.de>
6757
6758 * time/Versions: Sort entries.
6759 * string/Versions: Likewise.
6760 * resolv/Versions: Likewise.
6761 * posix/Versions: Likewise.
6762 * iconv/Versions: Likewise.
6763 * elf/Versions: Likewise.
6764 * wcsmbs/Versions: Likewise.
6765
bd07f23c 67662013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6767
22af19f9
SP
6768 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6769 loop termination condition.
6770
4709fe76
SP
6771 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6772 variable to calculate EZ.
6773 (__sqr): Likewise.
2d0e0f29
SP
6774
6775 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6776 the lower precision input.
6777
daaa7713
JM
67782013-02-15 Joseph Myers <joseph@codesourcery.com>
6779
6780 [BZ #13550]
6781 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6782 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6783 (run-via-rtld-prefix): Do not handle %-bp tests.
6784 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6785 (all-object-suffixes): Remove .ob.
6786 (bppfx): Remove variable.
6787 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6788 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6789 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6790 [$(build-bounded) = yes] (libtype.ob): Likewise.
6791 * Makerules (elide-routines.ob): Remove variable.
6792 (do-tests-clean): Do not handle *-bp.out.
6793 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6794 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6795 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6796 (tests): Do not include $(tests-bp.out).
6797 (xtests): Do not include $(xtests-bp.out).
6798 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6799 [$(build-bounded) = yes] ($(addprefix
6800 $(objpfx),$(binaries-bounded))): Remove rule.
6801 ($(objpfx)%-bp.out): Remove rule.
6802 * config.make.in (build-bounded): Remove variable.
6803 * crypt/Makefile [$(build-bounded) = yes]
6804 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6805 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6806 append to variable.
6807 [$(build-bounded) = yes] (install-lib): Likewise.
6808 [$(build-bounded) = yes] (generated): Likewise.
6809 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6810 Remove rule.
6811 * intl/Makefile [$(build-bounded) = yes]
6812 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6813 * math/Makefile [$(build-bounded) = yes]
6814 ($(tests:%=$(objpfx)%-bp): Likewise.
6815 * misc/Makefile [$(build-bounded) = yes]
6816 ($(objpfx)tst-tsearch-bp): Likewise.
6817 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6818 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6819 Remove dependency.
6820 * string/Makefile (o-objects.ob): Remove variable.
6821 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6822 (CFLAGS-.ob): Remove variable.
6823 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6825 both definitions of variable.
6826 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6827 (ASFLAGS-.ob): Remove variable.
6828
e97ed6dd
JM
68292013-02-14 Joseph Myers <joseph@codesourcery.com>
6830
2bdd4ca6
JM
6831 [BZ #13550]
6832 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6833 Remove __BOUNDED_POINTERS__ from condition.
6834 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6835 * string/bits/string2.h [!__NO_STRING_INLINES &&
6836 !__BOUNDED_POINTERS__]: Likewise.
6837 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6838 Likewise.
6839 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6840 Remove conditional code.
6841 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6842 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6843 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6844 condition.
6845
e97ed6dd
JM
6846 [BZ #13550]
6847 * csu/libc-start.c: Do not include <bp-sym.h>.
6848 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6849 * elf/dl-open.c: Do not include <bp-sym.h>.
6850 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6851 * math/fegetenv.c: Do not include <bp-sym.h>.
6852 (fegetenv): Do not use BP_SYM in versioned symbols.
6853 * nptl/sysdeps/pthread/bits/libc-lockP.h
6854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6855 <bp-sym.h>.
6856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6857 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6859 (__pthread_mutex_destroy): Likewise.
6860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6861 (__pthread_mutex_lock): Likewise.
6862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6863 (__pthread_mutex_trylock): Likewise.
6864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6865 (__pthread_mutex_unlock): Likewise.
6866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6867 (__pthread_mutexattr_init): Likewise.
6868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6869 (__pthread_mutexattr_destroy): Likewise.
6870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6871 (__pthread_mutexattr_settype): Likewise.
6872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6873 (__pthread_rwlock_init): Likewise.
6874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6875 (__pthread_rwlock_destroy): Likewise.
6876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6877 (__pthread_rwlock_rdlock): Likewise.
6878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6879 (__pthread_rwlock_tryrdlock): Likewise.
6880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6881 (__pthread_rwlock_wrlock): Likewise.
6882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6883 (__pthread_rwlock_trywrlock): Likewise.
6884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6885 (__pthread_rwlock_unlock): Likewise.
6886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6887 (__pthread_key_create): Likewise.
6888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6889 (__pthread_setspecific): Likewise.
6890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6891 (__pthread_getspecific): Likewise.
6892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6893 Likewise.
6894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6895 (_pthread_cleanup_push_defer): Likewise.
6896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6897 (_pthread_cleanup_pop_restore): Likewise.
6898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6899 (pthread_setcancelstate): Likewise.
6900 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6901 <bp-sym.h>.
6902 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6903 (memchr): Do not use BP_SYM in weak_alias.
6904 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6905 (fegetenv): Do not use BP_SYM in versioned symbols.
6906 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6907 (fesetenv): Do not use BP_SYM in versioned symbols.
6908 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6909 (feupdateenv): Do not use BP_SYM in versioned symbols.
6910 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6911 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6912 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6913 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6914 (open64): Do not use BP_SYM in weak_alias.
6915 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6916 (fegetenv): Do not use BP_SYM in versioned symbols.
6917 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6918 (fesetenv): Do not use BP_SYM in versioned symbols.
6919 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6920 (feupdateenv): Do not use BP_SYM in versioned symbols.
6921 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6922 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6923 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6924 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6925 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6926 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6927 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6928 <bp-sym.h>.
6929 (__libc_start_main): Do not use BP_SYM.
6930
d6752ccd
SP
69312013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6932
cb57ce60
SP
6933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6934 redundant return line.
6935 (norm): Likewise.
6936 (denorm): Likewise.
6937 (dbl_mp): Likewise.
6938 (sub_magnitudes): Likewise.
6939 (__add): Likewise.
6940 (__sub): Likewise.
6941 (__mul): Likewise.
6942 (__inv): Likewise.
6943 (__dvd): Likewise.
6944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6945 (norm): Likewise.
6946 (denorm): Likewise.
6947 (dbl_mp): Likewise.
6948 (sub_magnitudes): Likewise.
6949 (__add): Likewise.
6950 (__sub): Likewise.
6951 (__mul): Likewise.
6952 (__inv): Likewise.
6953 (__dvd): Likewise.
6954
f414520d
SP
6955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6956 instead of __mul.
6957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6958 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6959 (cc32): Likewise.
6960
d6752ccd
SP
6961 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6962 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6964 of __mul for squares.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6966 function
6967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6968 Likewise.
6969 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6971
70d9946a
JM
69722013-02-13 Joseph Myers <joseph@codesourcery.com>
6973
6974 [BZ #13550]
6975 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6976 code.
6977 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6978 prototype or function definition. Rename ubp_* variables and
6979 parameters. Remove argv definitions conditional on
6980 [__BOUNDED_POINTERS__].
6981 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6982 * elf/dl-runtime.c (_dl_fixup): Likewise.
6983 * include/set-hooks.h (RUN_HOOK): Likewise.
6984 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6985 definition.
6986 * string/strcpy.c (strcpy): Do not use __unbounded.
6987 * sysdeps/generic/frame.h (struct layout): Likewise.
6988 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6989 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6990 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6991 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6992 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6993 (__backtrace): Likewise.
6994 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6995 use __ptrvalue.
6996 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6997 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6998 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6999 Likewise.
7000 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7001 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7002 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7003 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7004 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7005 Do not use __unbounded.
7006 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7007 Rename __unboundedrlimits parameter to rlimits in prototype.
7008 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7009 Do not use __unbounded.
7010 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7011 not use __ptrvalue.
7012 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7013 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7014 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7015 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7016 __ptrvalue or __unbounded.
7017 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7018 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7019 use __unbounded.
7020 (__new_msgctl): Do not use __ptrvalue.
7021 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7022 __unbounded.
7023 (__libc_msgrcv): Do not use __ptrvalue.
7024 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7025 startup_info): Do not use __unbounded.
7026 (__libc_start_main): Likewise. Rename ubp_* variables and
7027 parameters. Remove argv definitions conditional on
7028 [__BOUNDED_POINTERS__].
7029 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7030 __ptrvalue.
7031 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7032 use __unbounded.
7033 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7034 or __ptrvalue.
7035 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7036 use __unbounded.
7037 (__new_shmctl): Do not use __ptrvalue.
7038 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7039 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7043 (__libc_sigaction): Likewise.
7044 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7045 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7046 Likewise.
7047 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7048
cc7834d6
OB
70492013-02-13 Ondřej Bílka <neleai@seznam.cz>
7050
ffb1ec7b 7051 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7052
7053 * string/mempcpy.c: Implement by calling memcpy.
7054
bdf02814
SP
70552013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7056
c2af38aa
SP
7057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7058
4e92d59e
SP
7059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7060 evaluation.
7061
909279a5
SP
7062 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7063 values in the mantissa.
7064
bdf02814
SP
7065 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7066 minimize writes to Z.
7067 (sub_magnitudes): Simplify code a bit.
7068
cd525923
RM
70692013-02-12 Roland McGrath <roland@hack.frob.com>
7070
7071 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7072 from the message. The linker prefixes all warnings with that already.
7073
7e2f0d2d
AS
70742013-02-12 Andreas Schwab <schwab@suse.de>
7075
a445af0b
AS
7076 [BZ #15078]
7077 * posix/regexec.c (extend_buffers): Add parameter min_len.
7078 (check_matching): Pass minimum needed length.
7079 (clean_state_log_if_needed): Likewise.
7080 (get_subexp): Likewise.
7081 * posix/Makefile (tests): Add bug-regex34.
7082 (bug-regex34-ENV): Define.
7083 * posix/bug-regex34.c: New file.
7084
7e2f0d2d
AS
7085 [BZ #11561]
7086 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7087 elements compare against the byte sequence of it, not its name.
7088 * posix/Makefile (tests): Add bug-regex35.
7089 (bug-regex35-ENV): Define.
7090 * posix/bug-regex35.c: New file.
7091
a175b684
TV
70922013-02-11 Tom de Vries <tom@codesourcery.com>
7093
7094 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7095 comment.
7096 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7097 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7098 (CHECK_EOL): Add undef.
7099
310998fe 71002013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7101
7102 * bits/stdlib-bsearch.h: New file.
7103 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7104 * stdlib/stdlib.h: Likewise.
41eda41d 7105
8ded91fb
RM
71062013-02-11 Roland McGrath <roland@hack.frob.com>
7107
7108 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7109 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7110 declaration.
7111 * manual/search.texi (Array Search Function): Add missing const in
7112 lfind prototype.
7113 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7114 declaration to use rlim_t.
7115 (Basic Scheduling Functions): Remove erroneous const from
7116 sched_getparam prototype. Remove erroneous * from
7117 sched_get_priority_max and sched_get_priority_min prototypes.
7118 (Resource Usage): Fix summary @comment on vtimes to refer to
7119 sys/vtimes.h rather than vtimes.h.
7120 Add missing *s in vtimes prototype.
7121 (Limits on Resources): Fix ulimit prototype to return long int.
7122 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7123 prototypes to use long int rather than double.
7124 (BSD Random): Fix initstate and setstate to use char *, not void *.
7125 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7126 prototype to make second argument 'struct aiocb64 *const[]'.
7127 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7128 (Status of AIO Operations): Remove erroneous const in aio_return and
7129 aio_return64 prototypes.
7130 (Synchronizing I/O): Fix sync prototype to return void.
7131 * manual/startup.texi (Suboptions): Remove an erroneous const in
7132 getsubopt prototype.
7133 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7134 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7135 use size_t rather than int.
7136 (Scanning All Users): Likewise for getpwent_r.
7137 (Setting Groups): Add missing const to setgroups prototype.
7138 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7139 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7140 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7141 'const void *' rather than 'const char *'.
7142 (Host Address Functions): Likewise for inet_ntop.
7143 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7144 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7145 ssize_t for return value.
7146 (Sending Data): Likewise for send, sendto, sendmsg.
7147 (Socket Option Functions): Add a missing const in setsockopt prototype.
7148 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7149 use wchar_t for the argument.
7150 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7151 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7152 take no arguments.
7153 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7154 double/float/long double for second argument.
7155 Fix return types of significand, significandf, significandl.
7156 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7157 argument in fchmod prototype.
7158 (File Owner): Use uid_t and gid_t in fchown prototype.
7159 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7160 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7161 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7162 use 'const struct dirent **' as argument types to CMP function pointer
7163 argument.
7164 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7165 (File Times): Fix summary magic @comment for struct utimbuf and utime
7166 to refer to utime.h, not time.h.
7167 * manual/string.texi (Argz Functions): Add missing const in
7168 argz_extract and argz_next prototypes.
7169 (Finding Tokens in a String): Likewise for basename.
7170 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7171 (Copying and Concatenation): Fix typo in wmemmove prototype.
7172 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7173 (Signal Stack): Remove erroneous const in sigstack prototype.
7174 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7175 prototype.
7176 (Simple Calendar Time): Likewise for stime.
7177 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7178 prototype.
7179 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7180 say sys/sysctl.h instead.
7181 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7182 and vsyslog prototypes.
7183
fe77fe6d
TV
71842013-02-11 Tom de Vries <tom@codesourcery.com>
7185
7186 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7187 Remove.
7188
3a09b620
RM
71892013-02-11 Roland McGrath <roland@hack.frob.com>
7190
7191 * misc/sys/mman.h: Fix typo in mremap comment.
7192
550a0b89
RM
71932013-02-08 Roland McGrath <roland@hack.frob.com>
7194
7195 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7196 the '\0' terminator.
7197
a2da1673
JM
71982013-02-08 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #13550]
7201 * debug/segfault.c: Don't include <bp-checks.h>.
7202 * sysdeps/generic/bp-checks.h: Remove file.
7203 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7204 (__GETDENTS): Don't use CHECK_N.
7205 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7206 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7207 (__getgroups): Don't use CHECK_N.
7208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7209 (setgroups): Don't use CHECK_N.
7210 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7211 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7212 (__libc_msgrcv): Don't use CHECK_N.
7213 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7214 (__libc_msgsnd): Don't use CHECK_N.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7216 <bp-checks.h>.
7217 (__libc_pread): Don't use CHECK_N.
7218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7219 include <bp-checks.h>.
7220 (__libc_pread64): Don't use CHECK_N.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7222 include <bp-checks.h>.
7223 (__libc_pwrite): Don't use CHECK_N.
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7225 include <bp-checks.h>.
7226 (__libc_pwrite64): Don't use CHECK_N.
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7228 <bp-checks.h>.
7229 (__libc_pread): Don't use CHECK_N.
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7231 include <bp-checks.h>.
7232 (__libc_pread64): Don't use CHECK_N.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7234 include <bp-checks.h>.
7235 (__libc_pwrite): Don't use CHECK_N.
7236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7237 include <bp-checks.h>.
7238 (__libc_pwrite64): Don't use CHECK_N.
7239 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7240 (do_pread): Don't use CHECK_N.
7241 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7242 (do_pread64): Don't use CHECK_N.
7243 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7244 (do_pwrite): Don't use CHECK_N.
7245 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7246 (do_pwrite64): Don't use CHECK_N.
7247 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7248 (__libc_readv): Don't use CHECK_N.
7249 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7250 (semop): Don't use CHECK_N.
7251 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7252 <bp-checks.h>.
7253 (semtimedop): Don't use CHECK_N.
7254 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7255 (__libc_pread): Don't use CHECK_N.
7256 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7257 <bp-checks.h>.
7258 (__libc_pread64): Don't use CHECK_N.
7259 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7260 <bp-checks.h>.
7261 (__libc_pwrite): Don't use CHECK_N.
7262 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7263 <bp-checks.h>.
7264 (__libc_pwrite64): Don't use CHECK_N.
7265 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7266 <bp-checks.h>.
7267 (__libc_msgrcv): Don't use CHECK_N.
7268 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7269 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7270 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7271 (__libc_writev): Don't use CHECK_N.
7272
b84660a8
RM
72732013-02-08 Roland McGrath <roland@hack.frob.com>
7274
7f3e75f8
RM
7275 * string/strcpy.c: Removed unused variable.
7276
b84660a8
RM
7277 * Makeconfig (+sysdep-includes): Define with := rather than =.
7278 Use an existing include/ subdir of each sysdeps dir before it.
7279
471514d3
CD
72802013-02-08 Carlos O'Donell <carlos@redhat.com>
7281
7282 * nscd/connection.c (register_traced_file): Comment function.
7283 [HAVE_INOTIFY] (union __inev): Define.
7284 [HAVE_INOTIFY] (inotify_check_files): New function.
7285 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7286 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7287 clear_db_cache.
7288 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7289
b2d3c3be
CD
72902013-02-08 Carlos O'Donell <carlos@redhat.com>
7291
7292 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7293 loaded if not already and that a failure is permanent.
7294
b39949d2
CD
72952013-02-08 Carlos O'Donell <carlos@redhat.com>
7296
ddacd1db 7297 [BZ #15006]
b39949d2
CD
7298 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7299 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7300
b2c9eff4
JM
73012013-02-08 Joseph Myers <joseph@codesourcery.com>
7302
f3aae3f3
JM
7303 [BZ #13550]
7304 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7305 (CHECK_1_NULL_OK): Likewise.
7306 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7307 (__fxstat): Do not use CHECK_1.
7308 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7309 <bp-checks.h>.
7310 (___fxstat64): Do not use CHECK_1.
7311 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7312 <bp-checks.h>.
7313 (__fxstatat): Do not use CHECK_1.
7314 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7315 <bp-checks.h>.
7316 (__fxstatat64): Do not use CHECK_1.
7317 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7318 <bp-checks.h>.
7319 (__fxstat): Do not use CHECK_1.
7320 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7321 <bp-checks.h>.
7322 (__fxstatat): Do not use CHECK_1.
7323 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7324 <bp-checks.h>.
7325 (__getresgid): Do not use CHECK_1.
7326 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7327 <bp-checks.h>.
7328 (__getresuid): Do not use CHECK_1.
7329 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7330 <bp-checks.h>.
7331 (__lxstat): Do not use CHECK_1.
7332 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7333 <bp-checks.h>.
7334 (__old_msgctl): Do not use CHECK_1.
7335 (__new_msgctl): Likewise.
7336 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7337 <bp-checks.h>.
7338 (__new_setrlimit): Do not use CHECK_1.
7339 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7340 <bp-checks.h>.
7341 (__old_shmctl): Do not use CHECK_1.
7342 (__new_shmctl): Likewise.
7343 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7344 <bp-checks.h>.
7345 (__xstat): Do not use CHECK_1.
7346 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7347 (__lxstat): Do not use CHECK_1.
7348 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7349 <bp-checks.h>.
7350 (___lxstat64): Do not use CHECK_1.
7351 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7352 (__old_msgctl): Do not use CHECK_1.
7353 (__new_msgctl): Likewise.
7354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7355 <bp-checks.h>.
7356 (__gettimeofday): Do not use CHECK_1.
7357 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7358 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7359 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7360 <bp-checks.h>.
7361 (__gettimeofday): Do not use CHECK_1.
7362 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7363 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7364 (__new_shmctl): Do not use CHECK_1.
7365 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7366 <bp-checks.h>.
7367 (do_sigtimedwait): Do not use CHECK_1.
7368 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7369 <bp-checks.h>.
7370 (do_sigwaitinfo): Do not use CHECK_1.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7372 <bp-checks.h>.
7373 (msgctl): Do not use CHECK_1.
7374 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7375 <bp-checks.h>.
7376 (shmctl): Do not use CHECK_1.
7377 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7378 (ustat): Do not use CHECK_1.
7379 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7380 <bp-checks.h>.
7381 (__fxstat): Do not use CHECK_1.
7382 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7383 <bp-checks.h>.
7384 (__fxstatat): Do not use CHECK_1.
7385 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7386 <bp-checks.h>.
7387 (__lxstat): Do not use CHECK_1.
7388 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7389 <bp-checks.h>.
7390 (__xstat): Do not use CHECK_1.
7391 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7392 (__xstat): Do not use CHECK_1.
7393 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7394 (___xstat64): Do not use CHECK_1.
7395
b2c9eff4
JM
7396 [BZ #13550]
7397 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7398 definitions.
7399 (CHECK_BOUNDS_HIGH): Likewise.
7400 * string/strcpy.c: Do not include <bp-checks.h>.
7401 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7402
f1d70dad
RM
74032013-02-07 Roland McGrath <roland@hack.frob.com>
7404
7405 * nscd/nscd-client.h (__nscd_drop_map_ref):
7406 Add __attribute__ ((unused)).
7407 * nis/nss-nisplus.h (niserr2nss): Likewise.
7408
7409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7410 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7411
7412 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7413 Remove inline keyword.
7414 * include/rounding-mode.h (round_away): Likewise.
7415 * libio/wfileops.c (adjust_wide_data): Likewise.
7416 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7417 (__m128i_strloadu_tolower): Likewise.
7418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7419 (__m128i_strloadu_tolower): Likewise.
7420 * time/mktime.c (ydhms_diff): Likewise.
7421 * locale/elem-hash.h (elem_hash): Likewise.
7422 * locale/setlocale.c (setdata): Likewise.
7423 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7424 (re_string_wchar_at): Likewise.
7425 (bitset_not, bitset_merge, bitset_mask): Likewise.
7426 [!(__GNUC__ > 3)] (inline): Remove macro.
7427 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7428 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7429 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7430 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7431 * string/memcmp.c (memcmp_bytes): Likewise.
7432 * locale/programs/locarchive.c (compute_hashval): Likewise.
7433 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7434 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7435 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7436 * nss/getent.c (print_rpc, print_protocols): Likewise.
7437 (print_passwd, print_group, print_aliases): Likewise.
7438 * nis/nss-nisplus.h (niserr2nss): Likewise.
7439 * nscd/connections.c (restart_p): Likewise.
7440 Change return type to bool.
7441
eab55bfb
RM
74422013-02-05 Roland McGrath <roland@hack.frob.com>
7443
7bd642f5
RM
7444 * Makeconfig (all-Depend-files): Add existing
7445 $(sorted-subdirs:=/Depend) files.
7446 (all-subdirs): Remove nss.
7447 * sysdeps/unix/inet/Subdirs: Add it here instead.
7448 * hesiod/Depend: New file.
7449
573c29b2
RM
7450 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7451 instead of calling alloca.
7452
b2e25af0
RM
7453 * io/lseek.c (__lseek): Rename to __libc_lseek.
7454 Define __lseek as an alias.
7455
eab55bfb
RM
7456 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7457
9a0d1941
CD
74582013-02-04 Carlos O'Donell <carlos@redhat.com>
7459
7460 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7461 else clause and remove check for non-standard endianness.
7462
b83bbec4
DM
74632013-02-04 David S. Miller <davem@davemloft.net>
7464
7465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7466
6277fdab
JM
74672013-02-04 Joseph Myers <joseph@codesourcery.com>
7468
7469 [BZ #13550]
7470 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7471 (__ubp_memchr): Remove prototype.
7472 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7473 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7474 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7475 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7476 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7477 Remove alias.
7478 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7479 (__ubp_memchr): Likewise.
7480 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7481 (__ubp_memchr): Likewise.
7482 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7483 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7484 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7486 CHECK_STRING.
7487 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7488 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7489 (__getcwd): Do not use CHECK_STRING.
7490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7491 <bp-checks.h>.
7492 (__real_chown): Do not use CHECK_STRING.
7493 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7494 <bp-checks.h>.
7495 (fchownat): Do not use CHECK_STRING.
7496 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7497 CHECK_STRING.
7498 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7499 <bp-checks.h>.
7500 (__lchown): Do not use CHECK_STRING.
7501 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7502 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7503 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7504 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7506 include <bp-checks.h>.
7507 (truncate64): Do not use CHECK_STRING.
7508 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7509 <bp-checks.h>.
7510 (__real_chown): Do not use CHECK_STRING.
7511 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7512 <bp-checks.h>.
7513 (__lchown): Do not use CHECK_STRING.
7514 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7515 <bp-checks.h>.
7516 (__chown): Do not use CHECK_STRING.
7517 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7518 <bp-checks.h>.
7519 (truncate64): Do not use CHECK_STRING.
7520 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7521 Likewise.
7522 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7523 (__xmknod): Do not use CHECK_STRING.
7524 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7525 <bp-checks.h>.
7526 (__xmknodat): Do not use CHECK_STRING.
7527 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7528 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7529
903ae060
AS
75302013-02-04 Andreas Schwab <schwab@suse.de>
7531
7532 [BZ #14142]
7533 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7534 * include/netdb.h: Likewise for h_errno.
7535 * elf/tst-stackguard1.c: Include <tls.h>.
7536
542f9466
JK
75372013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7538
7539 * elf/link.h (struct link_map): Extend the l_addr comment.
7540 * include/link.h (struct link_map): Likewise.
7541
e782a927
JM
75422013-02-01 Joseph Myers <joseph@codesourcery.com>
7543
7544 [BZ #13550]
7545 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7546 (BOUNDED_1): Remove macro.
7547 * debug/backtrace.c: Don't include <bp-checks.h>.
7548 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7549 (__backtrace): Likewise.
7550 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7551 <bp-checks.h>.
7552 (__backtrace): Don't use BOUNDED_1.
7553 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7554 <bp-checks.h>.
7555 (__backtrace): Don't use BOUNDED_1.
7556 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7557 (__backtrace): Don't use BOUNDED_1.
7558 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7559 (shmat): Don't use BOUNDED_N.
7560
8cf28c5e
JM
75612013-01-31 Joseph Myers <joseph@codesourcery.com>
7562
3a7ac8a0
JM
7563 [BZ #13550]
7564 * sysdeps/generic/bp-start.h: Remove file.
7565 * csu/libc-start.c: Don't include <bp-start.h>.
7566 (LIBC_START_MAIN): Set up __environ directly instead of using
7567 INIT_ARGV_and_ENVIRON.
7568 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7569 <bp-start.h>.
7570
f3499f95
JM
7571 [BZ #13550]
7572 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7573 definitions.
7574 (CHECK_FCNTL): Likewise.
7575 (CHECK_N_PAGES): Likewise.
7576
32a45bea
JM
7577 [BZ #13550]
7578 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7579 definitions.
7580 (CHECK_SIGSET_NULL_OK): Likewise.
7581 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7582 <bp-checks.h>.
7583 (sigpending): Don't use CHECK_SIGSET.
7584 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7585 <bp-checks.h>.
7586 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7587 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7588 <bp-checks.h>.
7589 (do_sigsuspend): Don't use CHECK_SIGSET.
7590 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7591 use CHECK_SIGSET.
7592 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7593 (do_sigwait): Don't use CHECK_SIGSET.
7594 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7595 use CHECK_SIGSET.
7596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7597 include <bp-checks.h>.
7598 (sigpending): Don't use CHECK_SIGSET.
7599 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7600 include <bp-checks.h>.
7601 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7602 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7603 <bp-checks.h>.
7604 (sigpending): Don't use CHECK_SIGSET.
7605 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7606 <bp-checks.h>.
7607 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7608
2e8a5c8c
JM
7609 [BZ #13550]
7610 * sysdeps/generic/bp-semctl.h: Remove file.
7611 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7612 <bp-checks.h> and <bp-semctl.h>.
7613 (__old_semctl): Don't use CHECK_SEMCTL.
7614 (__new_semctl): Likewise.
7615 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7616 and <bp-semctl.h>.
7617 (__old_semctl): Don't use CHECK_SEMCTL.
7618 (__new_semctl): Likewise.
7619 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7620 <bp-checks.h> and <bp-semctl.h>.
7621 (__old_semctl): Don't use CHECK_SEMCTL.
7622 (__new_semctl): Likewise.
7623 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7624 <bp-checks.h> and <bp-semctl.h>.
7625 (semctl): Don't use CHECK_SEMCTL.
7626
c2d54929
JM
7627 [BZ #13550]
7628 * Makerules (elide-bp-thunks): Remove variable.
7629 (elide-routines.oS): Don't use $(elide-bp-thunks).
7630 (elide-routines.os): Likewise.
7631 (elide-routines.o): Likewise.
7632 (elide-routines.op): Likewise.
7633 (elide-routines.og): Likewise.
7634 (objects): Don't use $(bp-thunks).
7635 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7636 include.
7637 (common-generated): Do not add s-proto-bp.d.
7638 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7639 (int): Likewise.
7640 (typ): Likewise.
7641 Do not generate makefile rules for bounded-pointer thunks.
7642 * sysdeps/generic/bp-thunks.h: Remove file.
7643 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7644 * sysdeps/unix/s-proto-bp.S: Likewise.
7645
8cf28c5e
JM
7646 [BZ #15062]
7647 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7648 parts of result separately when argument is not close to line from
7649 -i to i and one part of argument is small.
7650 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7651 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7652 * math/libm-test.inc (cacos_test): Add more tests.
7653 (casin_test): Likewise.
7654 (casinh_test): Likewise.
7655 * sysdeps/i386/fpu/libm-test-ulps: Update.
7656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7657
c4e33b8d
DM
76582013-01-31 David S. Miller <davem@davemloft.net>
7659
7660 * po/de.po: Update from translation team.
7661
3b60b421
MK
76622013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7663
7664 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7665
bb931195
TS
76662013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7667
b5a5da23
TS
7668 * configure.in (_AC_PROG_CC_C89): New definition.
7669 * configure: Regenerate.
7670
bb931195
TS
7671 * configure.in (AC_PROG_CPP): New definition.
7672 * configure: Regenerate.
7673
8c53a12c
JM
76742013-01-23 Joseph Myers <joseph@codesourcery.com>
7675
7676 * debug/tst-backtrace.h: New file.
7677 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7678 (ret): Remove variable.
7679 (x): Likewise.
7680 (FAIL): Remove macro.
7681 (NO_INLINE): Likewise.
7682 (fn1): Use match function instead of strstr.
7683 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7684 (ret): Remove variable.
7685 (x): Likewise.
7686 (FAIL): Remove macro.
7687 (NO_INLINE): Likewise.
7688 (fn): Use match function instead of strstr.
7689 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7690 (ret): Remove variable.
7691 (x): Likewise.
7692 (FAIL): Remove macro.
7693 (NO_INLINE): Likewise.
7694 (handle_signal): Use match function instead of strstr.
7695 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7696 (ret): Remove variable.
7697 (x): Likewise.
7698 (FAIL): Remove macro.
7699 (NO_INLINE): Likewise.
7700 (handle_signal): Use match function instead of strstr.
7701
4858fa2a
RM
77022013-01-23 Roland McGrath <roland@hack.frob.com>
7703
7704 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7705
bae8e7f5
DM
77062013-01-23 David S. Miller <davem@davemloft.net>
7707
7708 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7709 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7710 argument of CAS if possible.
7711 * sysdeps/sparc/sparc64/bits/atomic.h
7712 (__arch_compare_and_exchange_val_32_acq): Likewise.
7713 (__arch_compare_and_exchange_val_64_acq): Likewise.
7714
9cbbc4ae
PT
77152013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7716
7717 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7718 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7719 Include <limits.h>.
67b3f58c 7720 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7721
5655a0b5
AC
77222013-01-23 Adam Conrad <adconrad@0c3.net>
7723
7724 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7725 (LDFLAGS-tst-array5): Likewise.
7726
052aff95
JM
77272013-01-23 Joseph Myers <joseph@codesourcery.com>
7728
7729 [BZ #15036]
7730 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7731 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7732 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7733 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7734
7c1e01aa
DM
77352013-01-21 David S. Miller <davem@davemloft.net>
7736
7737 * sysdeps/sparc/backtrace.c: New file.
7738 * sysdeps/sparc/sparc32/backtrace.h: New file.
7739 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7740 * sysdeps/sparc/sparc64/backtrace.h: New file.
7741 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7742 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7743 -funwind-tables.
7744
ab087e0a
AS
77452013-01-21 Andreas Schwab <schwab@suse.de>
7746
7747 [BZ #15020]
7748 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7749 closed its stdout.
7750
ed689c2f
AS
77512013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7752
7753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7754 "mpa2.h".
7755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7756
31d470ac
JM
77572013-01-18 Joseph Myers <joseph@codesourcery.com>
7758 Mark Mitchell <mark@codesourcery.com>
7759 Tom de Vries <tom@codesourcery.com>
7760 Paul Pluzhnikov <ppluzhnikov@google.com>
7761
7762 * debug/tst-backtrace2.c: New file.
7763 * debug/tst-backtrace3.c: Likewise.
7764 * debug/tst-backtrace4.c: Likewise.
7765 * debug/tst-backtrace5.c: Likewise.
7766 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7767 (CFLAGS-tst-backtrace3.c): Likewise.
7768 (CFLAGS-tst-backtrace4.c): Likewise.
7769 (CFLAGS-tst-backtrace5.c): Likewise.
7770 (LDFLAGS-tst-backtrace2): Likewise.
7771 (LDFLAGS-tst-backtrace3): Likewise.
7772 (LDFLAGS-tst-backtrace4): Likewise.
7773 (LDFLAGS-tst-backtrace5): Likewise.
7774 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7775 tst-backtrace4 and tst-backtrace5.
7776
90567f30 77772013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7778 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7779
7780 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7781 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7782 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7783 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7785 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7786 "+r" and remove output regs list as redundant. Add explicit inline
7787 asm to specify register of return val to work around compiler codegen
7788 bug. Remove (int) cast on return value. Add return type parameter to
7789 use in macro so that this macro does not truncate return value for
7790 64-bit values.
7791 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7792 pass to INTERNAL_VSYSCALL_NCS.
7793 (INLINE_VSYSCALL): Add 'long int' as return type to
7794 INTERNAL_VSYSCALL_NCS macro invocation.
7795 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7796 INTERNAL_VSYSCALL_NCS macro invocation.
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7798
d3b9ea61
SP
77992013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7800
0b57daeb
SP
7801 [BZ #14496]
7802 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7803 Fix application of SIMD FP exception mask.
7804
caa99d06
SP
7805 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7806 mp_no from a power of two.
7807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7808 __mpexp_twomm1. Use __pow_mp.
7809
d3b9ea61
SP
7810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7811 multiplication.
7812
1dbaee3c
DM
78132013-01-17 David S. Miller <davem@davemloft.net>
7814
7815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7816
728d7b43
JM
78172013-01-17 Joseph Myers <joseph@codesourcery.com>
7818
7819 [BZ #15023]
7820 * include/complex.h: Condition contents on [!_COMPLEX_H].
7821 (__kernel_casinhf): New prototype.
7822 (__kernel_casinh): Likewise.
7823 (__kernel_casinhl): Likewise.
7824 * math/Makefile (libm_calls): Add k_casinh.
7825 * math/k_casinh.c: New file.
7826 * math/k_casinhf.c: Likewise.
7827 * math/k_casinhl.c: Likewise.
7828 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7829 finite nonzero arguments.
7830 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7831 finite nonzero arguments.
7832 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7833 finite nonzero arguments.
7834 * math/s_casinh.c: Do not include <float.h>.
7835 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7836 * math/s_casinhf.c: Do not include <float.h>.
7837 (__casinhf): Move code for finite nonzero arguments to
7838 k_casinhf.c.
7839 * math/s_casinhl.c: Do not include <float.h>.
7840 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7841 redefine.
7842 (__casinhl): Move code for finite nonzero arguments to
7843 k_casinhl.c.
7844 * math/libm-test.inc (cacos_test): Add more tests.
7845 * sysdeps/i386/fpu/libm-test-ulps: Update.
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7847
2a26ef3a
PT
78482013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7849
7850 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7851 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7852 [!HAVE_MREMAP]: Remove [defined linux] case.
7853 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7854
a897655d
SP
78552013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7856
7857 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7858
881ebe89 78592013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7860
7861 * elf/elf.h (R_386_SIZE32): New relocation.
7862 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7863 R_386_SIZE32.
7864 (elf_machine_rela): Likewise.
7865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7866 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7867
59981e9b
JM
78682013-01-17 Joseph Myers <joseph@codesourcery.com>
7869
7870 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7871 (FP_FAST_FMA): Do not define.
7872 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7873 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7874 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7875 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7876 !_SOFT_FLOAT]: Likewise.
7877 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7879 value.
7880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7881 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7882 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7883 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7884 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7885 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7886 file.
7887
cfa8054f
AS
78882013-01-16 Andreas Schwab <schwab@suse.de>
7889
7890 [BZ #14327]
7891 * include/stdlib.h (__mktemp): Add declaration.
7892 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7893 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7894
dd930cc5
SP
78952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7896
881ebe89
SP
7897 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7898 definitions.
7899 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7900 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7901 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7902 definitions here.
7903 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7904 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7905 definitions.
7906 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7907 and ONE.
7908 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7909 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7910 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7911 definitions.
7912 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7913 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7914 definitions.
7915 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7916
dd930cc5
SP
7917 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7918
c19a9f89
DM
79192013-01-15 David S. Miller <davem@davemloft.net>
7920
1aa61767
DM
7921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7922 trunc{,f} to libm-sysdep_routes.
7923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7925 file.
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7928 file.
7929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7930 file.
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7933 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7936 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7937 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7938 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7939
c42d5e98
DM
7940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7941 nearbyint{,f} to libm-sysdep_routes.
7942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7944 New file.
7945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7946 file.
7947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7948 New file.
7949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7950 file.
7951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7954 file.
7955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7957 file.
7958 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7959 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7960 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7961
c19a9f89
DM
7962 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7963 libc_feholdexcept and libc_fesetenv.
7964
357679d2
MF
79652013-01-15 Mike Frysinger <vapier@gentoo.org>
7966
7967 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7968
65a82e3d
DM
79692013-01-14 David S. Miller <davem@davemloft.net>
7970
8b954ab9
DM
7971 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7972 (SPARC_ASM_VIS2_IFUNC): Likewise.
7973 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7975 use of 'siam' instruction.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7977 Likewise.
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7979 Likewise.
7980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7981 Likewise.
7982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7987 file.
7988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7989 file.
7990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7991 file.
7992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7993 file.
7994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7999 new VIS2 routines.
8000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8003 Likewise.
8004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8005 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8009 routines to libm-sysdep_routines.
8010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8011
65a82e3d
DM
8012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8013 fdim/fdimf to libm-sysdep_routines.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8015 file.
8016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8018 file.
8019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8022 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8023 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8024 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8025 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8026
e34ab705
SP
80272013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8028
2a91b573
SP
8029 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8030 to optimize copies.
8031
1066a534
SP
8032 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8035
e34ab705
SP
8036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8037 local variable MPTWO.
8038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8039 Likewise.
8040
aba5e596
MF
80412013-01-13 Mike Frysinger <vapier@gentoo.org>
8042
8043 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8044 GLOB_NOESCAPE.
8045
e557e9e5
MF
80462013-01-13 Mike Frysinger <vapier@gentoo.org>
8047
8048 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8049
0428cec9
MF
80502013-01-13 Mike Frysinger <vapier@gentoo.org>
8051
8052 * manual/pattern.texi (glob_t): Document gl_flags.
8053 (glob64_t): Likewise.
8054
8794a964
DM
80552013-01-11 David S. Miller <davem@davemloft.net>
8056
66438c3f
RM
8057 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8058 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8059 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8060 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8061 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8062 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8063 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8064 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8065 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8066 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8067 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8068 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8069 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8070
4ae4244d
DM
8071 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8072 sparc V9 rather than using V8 code.
8073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8075
8794a964
DM
8076 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8077 Move to...
8078 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8079 Here.
8080
6270516e
RM
80812013-01-11 Roland McGrath <roland@hack.frob.com>
8082
8083 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8084 not in the main loop.
8085 * configure: Regenerated.
8086
6a57d931
JM
80872013-01-11 Joseph Myers <joseph@codesourcery.com>
8088
8089 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8090 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8091 to just #else.
8092 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8093 [!__GLIBC_HAVE_LONG_LONG] case.
8094 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8095 condition to just #else.
8096 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8097 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8098 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8099 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8100 unconditional.
8101 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8102 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8103 #elif condition to just #else.
8104 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8105 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8106 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8107 #elif condition to just #else.
8108
0e8529e9
SE
81092013-01-11 Steve Ellcey <sellcey@mips.com>
8110
8111 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8112 (EF_MIPS_ARCH_64): Fix value.
8113 (EF_MIPS_ARCH_32R2): New.
8114 (EF_MIPS_ARCH_64R2): New.
8115
740b3dbe
L
81162013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8117
8118 * Makeconfig (+link-pie-before-libc): New.
8119 (+link-pie-after-libc): Likewise.
8120 (+link-pie-tests): Likewise.
8121 (+link-pie): Rewritten.
8122 (link-before-libc): Remove $(config-LDFLAGS).
8123 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8124 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8125 (config-LDFLAGS): Renamed to ...
8126 (rtld-LDFLAGS): This.
8127 (rtld-tests-LDFLAGS): New macro.
8128 (link-libc-rpath-link): Likewise.
8129 (link-libc-tests-rpath-link): Likewise.
8130 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8131 (link-libc): Prepand $(link-libc-rpath-link).
8132 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8133 (test-program-prefix): New macro.
8134 (test-via-rtld-prefix): Likewise.
8135 (test-program-cmd): Likewise.
8136 (host-test-program-cmd): Likewise.
8137 * Makefile ($(common-objpfx)testrun.sh): Replace
8138 $(run-program-prefix) with $(test-program-prefix).
8139 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8140 $(rtld-LDFLAGS).
8141 ($(common-objpfx)shlib.lds): Likewise.
8142 (build-module-helper): Likewise.
8143 ($(common-objpfx)format.lds): Likewise.
8144 * Rules (binaries-pie-tests): New.
8145 (binaries-pie-notests): Likewise.
8146 (binaries-pie): Rewritten.
8147 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8148 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8149 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8150 (make-test-out): Replace $(host-built-program-cmd) with
8151 $(host-test-program-cmd).
8152 * config.make.in (build-hardcoded-path-in-tests): New variable.
8153 * configure.in (--enable-hardcoded-path-in-tests): New configure
8154 option.
8155 (hardcoded_path_in_tests): New AC_SUBST.
8156 * configure: Regenerated.
8157 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8158 $(built-program-cmd) with $(test-program-cmd).
8159 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8160 (test_program_cmd): This.
8161 * elf/Makefile ($(objpfx)order.out): Run test with
8162 $(test-program-prefix).
8163 ($(objpfx)order2.out): Likewise.
8164 ($(objpfx)tst-initorder.out): Likewise.
8165 ($(objpfx)tst-initorder2.out): Likewise.
8166 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8167 $(test-program-cmd).
8168 ($(objpfx)tst-array1-static.out): Likewise.
8169 ($(objpfx)tst-array2.out): Likewise.
8170 ($(objpfx)tst-array3.out): Likewise.
8171 ($(objpfx)tst-array4.out): Likewise.
8172 ($(objpfx)tst-array5.out): Likewise.
8173 ($(objpfx)tst-array5-static.out): Likewise.
8174 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8175 $(test-program-cmd).
8176 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8177 $(run-program-prefix) with $(test-program-prefix).
8178 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8179 (test_program_prefix): This.
8180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8181 $(run-program-prefix) with $(test-program-prefix).
8182 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8183 (test_program_prefix): This.
8184 * iconvdata/tst-tables.sh: Likewise.
8185 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8186 $(run-program-prefix) with $(test-program-prefix).
8187 ($(objpfx)tst-translit.out): Likewise.
8188 ($(objpfx)tst-gettext2.out): Likewise.
8189 ($(objpfx)tst-gettext4.out): Likewise.
8190 ($(objpfx)tst-gettext6.out): Likewise.
8191 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8192 (test_program_prefix): This.
8193 * intl/tst-gettext2.sh: Likewise.
8194 * intl/tst-gettext4.sh Likewise.
8195 * intl/tst-gettext6.sh: Likewise.
8196 * intl/tst-translit.sh: Likewise.
8197 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8198 with $(test-program-cmd).
8199 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8200 $(run-program-prefix) with $(test-program-prefix).
8201 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8202 (test_program_prefix): This.
8203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8204 $(run-program-prefix) with $(test-program-prefix).
8205 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8206 (test_program_prefix): This.
8207 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8208 * posix/Makefile ($(objpfx)globtest.out): Replace
8209 $(run-via-rtld-prefix) and $(test-wrapper) with
8210 $(test-program-prefix) and $(test-via-rtld-prefix).
8211 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8212 $(test-program-prefix).
8213 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8214 $(host-test-program-cmd).
8215 (tst-spawn-ARGS): Likewise.
8216 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8217 $(test-program-prefix).
8218 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8219 (test_via_rtld_prefix): This.
8220 (test_wrapper): Renamed to ...
8221 (test_program_prefix): This.
8222 (run_program_prefix): Replaced by test_program_prefix.
8223 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8224 (test_program_prefix): This.
8225 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8226 with $(host-test-program-cmd).
8227 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8228 $(run-program-prefix) with $(test-program-prefix).
8229 ($(objpfx)tst-printf.out): Likewise.
8230 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8231 $(test-program-cmd).
8232 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8233 (test_program_prefix): This.
8234 * stdio-common/tst-unbputc.sh: Likewise.
8235 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8236 $(run-program-prefix) with $(test-program-prefix).
8237 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8238 (test_program_prefix): This.
8239 * string/Makefile ($(objpfx)tst-svc.out): Replace
8240 $(built-program-cmd) with $(test-program-cmd).
8241
c6fe55cf
AJ
82422013-01-11 Andreas Jaeger <aj@suse.de>
8243
8244 [BZ #15003]
8245 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8246 value. Sync with Linux 3.7.
8247
9e6919c8
DM
82482013-01-10 David S. Miller <davem@davemloft.net>
8249
8250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8251 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8252 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8253
1c9f1a02
RM
82542013-01-10 Roland McGrath <roland@hack.frob.com>
8255
8256 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8257 never set.
8258 * configure: Regenerated.
8259
b9de2dde
DM
82602013-01-10 David S. Miller <davem@davemloft.net>
8261
8262 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8263 sparc V9 rather than using V8 code.
8264 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8265 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8266
e7f68ef4
RM
82672013-01-10 Roland McGrath <roland@hack.frob.com>
8268
8269 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8270 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8271 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8272 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8273 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8274 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8275 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8276 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8277 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8278 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8279 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8280 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8281 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8282 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8283 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8284 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8285 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8286 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8287 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8288 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8289 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8290 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8291 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8292 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8293 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8294 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8295 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8296
5a47cc9c
DM
82972013-01-10 David S. Miller <davem@davemloft.net>
8298
8299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8300
4cf8f209
L
83012013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * posix/Makefile (tests-static): New variable.
8304 (tests): Add $(tests-static).
8305 (tst-exec-static-ARGS): New variable.
8306 (tst-spawn-static-ARGS): Likewise.
8307 * posix/tst-exec-static.c: New file.
8308 * posix/tst-spawn-static.c: Likewise.
8309 * posix/tst-exec.c: Support run directly.
8310 * posix/tst-spawn.c: Likewise.
8311
fed0faa1
JM
83122013-01-10 Joseph Myers <joseph@codesourcery.com>
8313
828beb13
JM
8314 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8315 long.
8316 * math/bits/mathcalls.h (llrint): Likewise.
8317 (llround): Likewise.
8318 * stdlib/stdlib.h (struct drand48_data): Likewise.
8319 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8320 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8321 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8322 Likewise.
8323 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8324 Likewise.
8325 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8326 (elf_greg_t): Likewise.
8327 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8328 (__jmp_buf): Likewise.
8329 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8330 definitions.
8331 (llrint): Likewise, for all definitions.
8332 (llrintl): Likewise.
8333
fed0faa1
JM
8334 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8335 Remove [__GNUC__] condition.
8336 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8337 condition to just [__USE_ISOC99].
8338 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8339
1a20cb20
L
83402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 [BZ #14200]
8343 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8344 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8345 defined.
8346 (_POSIX_V6_ILP32_OFF32): Likewise.
8347 (_XBS5_ILP32_OFF32): Likewise.
8348 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8349 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8350
751b85f7
SP
83512013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
7490eb81
SP
8353 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8354
751b85f7
SP
8355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8356 doubles __mpexp_twomm1. Adjust usage.
8357 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8358 Remove.
8359
988197f0
AS
83602013-01-10 Andreas Schwab <schwab@suse.de>
8361
8362 [BZ #14964]
8363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8364 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8365
e83d7298
DM
83662013-01-09 David S. Miller <davem@davemloft.net>
8367
034ed64b 8368 [BZ #15003]
e83d7298
DM
8369 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8370 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8371 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8372 TCP_FASTOPEN): Define.
8373 (tcp_repair_opt): New structure.
8374 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8375 enum values.
8376 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8377 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8378 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8379 (tcp_cookie_transactions): New structure.
8380
d5e0b9bd
AB
83812013-01-09 Anton Blanchard <anton@samba.org>
8382
8383 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8384 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8387
0c07e3ea
JM
83882013-01-09 Joseph Myers <joseph@codesourcery.com>
8389
8390 * include/features.h (__USE_ANSI): Remove.
8391
232f7002
RM
83922013-01-09 Roland McGrath <roland@hack.frob.com>
8393
ad98e30c
RM
8394 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8395
232f7002
RM
8396 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8397
950c99ca
SP
83982013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8399
b5792741
SP
8400 * sysdeps/s390/fpu/libm-test-ulps: Update.
8401
47cf2278
SP
8402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8403
950c99ca
SP
8404 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8405 (__acr): Likewise.
8406 (__cpy): Likewise.
8407 (norm): Likewise.
8408 (denorm): Likewise.
8409 (__mp_dbl): Likewise.
8410 (__dbl_mp): Likewise.
8411 (add_magnitudes): Likewise.
8412 (sub_magnitudes): Likewise.
8413 (__add): Likewise.
8414 (__sub): Likewise.
8415 (__mul): Likewise.
8416 (__inv): Likewise.
8417 (__dvd): Likewise.
8418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8419 (__acr): Likewise.
8420 (__cpy): Likewise.
8421 (norm): Likewise.
8422 (denorm): Likewise.
8423 (__mp_dbl): Likewise.
8424 (__dbl_mp): Likewise.
8425 (add_magnitudes): Likewise.
8426 (sub_magnitudes): Likewise.
8427 (__add): Likewise.
8428 (__sub): Likewise.
8429 (__mul): Likewise.
8430 (__inv): Likewise.
8431 (__dvd): Likewise.
8432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8433 (__acr): Likewise.
8434 (__cpy): Likewise.
8435 (norm): Likewise.
8436 (denorm): Likewise.
8437 (__mp_dbl): Likewise.
8438 (__dbl_mp): Likewise.
8439 (add_magnitudes): Likewise.
8440 (sub_magnitudes): Likewise.
8441 (__add): Likewise.
8442 (__sub): Likewise.
8443 (__mul): Likewise.
8444 (__inv): Likewise.
8445 (__dvd): Likewise.
8446
eede9df9
JM
84472013-01-08 Joseph Myers <joseph@codesourcery.com>
8448
8449 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8450 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8451 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8452 2 && __USE_EXTERN_INLINES]: Likewise.
8453
c40ea3d9
AJ
84542013-01-08 Andreas Jaeger <aj@suse.de>
8455
8456 [BZ# 14985]
8457 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8458 Remove.
8459 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8461
2ccdea26
AB
84622013-01-07 Anton Blanchard <anton@samba.org>
8463
8464 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8465 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8466 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8467 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8468 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8469 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8470 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8471 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8473 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8481 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8484 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8485 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8487 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8488 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8489 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8490 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8491 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8494 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8496 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8498 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8500 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8504 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8506 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8507
a9708fed
JM
85082013-01-07 Joseph Myers <joseph@codesourcery.com>
8509
375607b9
JM
8510 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8511 (__MALLOC_PMT): Likewise.
8512 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8513 [__GNUC__], only on [_LIBC].
8514 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8515 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8516 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8517 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8518 forward declaration.
8519 (realloc_hook_ini): Likewise.
8520 (memalign_hook_ini): Likewise.
8521 (__libc_memalign): Do not use __MALLOC_PMT in variable
8522 declaration.
8523 (__libc_valloc): Likewise.
8524 (__libc_pvalloc): Likewise.
8525 (__libc_calloc): Likewise.
8526 (__posix_memalign): Likewise.
8527
a9708fed
JM
8528 [BZ #14996]
8529 * math/s_casinh.c: Include <float.h>.
8530 (__casinh): Do not do computation with squaring and square root
8531 for large arguments.
8532 * math/s_casinhf.c: Include <float.h>.
8533 (__casinhf): Do not do computation with squaring and square root
8534 for large arguments.
8535 * math/s_casinhl.c: Include <float.h>.
8536 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8537 (__casinhl): Do not do computation with squaring and square root
8538 for large arguments.
8539 * math/libm-test.inc (casin_test): Add more tests.
8540 (casinh_test): Likewise.
8541 * sysdeps/i386/fpu/libm-test-ulps: Update.
8542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8543
afec409a
L
85442013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8547 (__x86_64_raw_data_cache_size): Likewise.
8548 (__x86_64_data_cache_size_half): Likewise.
8549 (__x86_64_raw_data_cache_size_half): Likewise.
8550 (__x86_64_shared_cache_size): Likewise.
8551 (__x86_64_raw_shared_cache_size): Likewise.
8552 (__x86_64_shared_cache_size_half): Likewise.
8553 (__x86_64_raw_shared_cache_size_half): Likewise.
8554 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8555 to ...
8556 (__x86_data_cache_size): This.
8557 (__x86_64_raw_data_cache_size): Renamed to ...
8558 (__x86_raw_data_cache_size): This.
8559 (__x86_64_data_cache_size_half): Renamed to ...
8560 (__x86_data_cache_size_half): This.
8561 (__x86_64_raw_data_cache_size_half): Renamed to ...
8562 (__x86_raw_data_cache_size_half): This.
8563 (__x86_64_shared_cache_size): Renamed to ...
8564 (__x86_shared_cache_size): This.
8565 (__x86_64_raw_shared_cache_size): Renamed to ...
8566 (__x86_raw_shared_cache_size): This.
8567 (__x86_64_shared_cache_size_half): Renamed to ...
8568 (__x86_shared_cache_size_half): This.
8569 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8570 (__x86_raw_shared_cache_size_half): This.
8571 * sysdeps/x86_64/memcpy.S: Updated.
8572 * sysdeps/x86_64/memset.S: Likewise.
8573 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8576
0b3986d0
DM
85772013-01-04 David S. Miller <davem@davemloft.net>
8578
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8580
e47686e9
AS
85812013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8582
d643bac1
AS
8583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8584 1 to avoid redefinition warning.
8585 (__USE_GNU): Don't define.
8586 (init_signaling_nan): Protoize.
8587
e47686e9
AS
8588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8589
b18decba
SP
85902013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8591
fffb407f
SP
8592 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8594 (__cpymn): Likewise.
8595 (norm): Remove commented code.
8596 (denorm): Likewise.
8597 (__mp_dbl): Likewise.
8598 (__inv): Likewise.
8599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8600 (__cpymn): Likewise.
8601 (norm): Remove commented code.
8602 (denorm): Likewise.
8603 (__mp_dbl): Likewise.
8604 (__inv): Likewise.
8605
b18decba
SP
8606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8607 mp_no value for 1.0 and 2.0.
8608 (norm): Use RADIXI instead of radixi.d.
8609 (denorm): Likewise.
8610 (__mul): Use 0.0 instead of zero.d.
8611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8612 mp_no value for 1.0 and 2.0.
8613 (norm): Use RADIXI instead of radixi.d.
8614 (denorm): Likewise.
8615 (__mul): Use 0.0 instead of zero.d.
8616
cdc1c96f
JM
86172013-01-04 Joseph Myers <joseph@codesourcery.com>
8618
8619 [BZ #14994]
8620 * math/s_casinh.c (__casinh): Reduce finite argument to first
8621 quadrant then set signs of results at the end.
8622 * math/s_casinhf.c (__casinhf): Likewise.
8623 * math/s_casinhl.c (__casinhl): Likewise.
8624 * math/libm-test.inc (casin_test): Add more tests.
8625 (casinh_test): Likewise.
8626 * sysdeps/i386/fpu/libm-test-ulps: Update.
8627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628
302913e1
SP
86292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
6420d207
SP
8631 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8632
a9e48ab4
SP
8633 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8634
b7837264
SP
8635 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8636 declarations.
8637 (denorm): Likewise.
8638 (__mp_dbl): Likewise.
8639 (__inv): Likewise.
8640
f8af25d2
SP
8641 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8642 and adjust the header comment.
8643
302913e1
SP
8644 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8645 variable name from declaration.
8646
5d7dd1ca
L
86472013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8648
8649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8650 Initialize COMMON_CPUID_INDEX_7 element.
8651 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8652 (CPUID_RTM): Likewise.
8653 (HAS_RTM): Likewise.
8654 (COMMON_CPUID_INDEX_7): New enum.
8655
2f5f40f4
AS
86562013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8657
8658 [BZ #14981]
8659 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8660 size is zero, record memory as freed.
8661
4056f4a0
AJ
86622013-01-03 Andreas Jaeger <aj@suse.de>
8663
8664 * po/ia.po: Add new Interlingua translation.
8665
ab15736f 86662012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8667
8668 * locale/programs/localedef.c: Fix description of '--posix' flag.
8669
568035b7
JM
86702013-01-02 Joseph Myers <joseph@codesourcery.com>
8671
e6898b8d
JM
8672 * NEWS: Update dates in second copyright notice.
8673 * README: Update copyright dates in example.
8674 * manual/libc.texinfo: Update copyright dates.
8675 * scripts/test-installation.pl: Update copyright date in --version
8676 output.
8677
0e2f9562
JM
8678 * hurd/ctty-input.c: Fix copyright notice formatting.
8679 * hurd/ctty-output.c: Likewise.
8680 * hurd/dtable.c: Likewise.
8681 * hurd/hurd-raise.c: Likewise.
8682 * hurd/hurdprio.c: Likewise.
8683 * hurd/msgportdemux.c: Likewise.
8684 * misc/sys/file.h: Likewise.
8685 * misc/sys/ioctl.h: Likewise.
8686 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8687 * sysdeps/mach/hurd/chdir.c: Likewise.
8688 * sysdeps/mach/hurd/fchdir.c: Likewise.
8689 * sysdeps/mach/hurd/rename.c: Likewise.
8690 * sysdeps/mach/hurd/rmdir.c: Likewise.
8691 * sysdeps/mach/hurd/seekdir.c: Likewise.
8692 * sysdeps/mach/hurd/setsid.c: Likewise.
8693 * sysdeps/posix/wait3.c: Likewise.
8694
568035b7
JM
8695 * All files with FSF copyright notices: Update copyright dates
8696 using scripts/update-copyrights.
8697 * intl/plural.c: Regenerated.
8698 * locale/programs/charmap-kw.h: Likewise.
8699 * locale/programs/locfile-kw.h: Likewise.
8700
da08f647
SP
87012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8702
0f5477af
SP
8703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8704 four values.
8705
44e0d4c2
SP
8706 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8707 calculation loop and add branch prediction.
8708
4d55b4e5
SP
8709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8710 check access beyond bounds of m1np.
8711
da08f647
SP
8712 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8713 MPTWO.
8714 (__inv): Remove local variable MPTWO to use the global
8715 constant.
8716 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8717 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8718 variable MPTWO.
8719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8720 MP3HALFS static const.
8721
8e051029
DM
87222013-01-01 David S. Miller <davem@davemloft.net>
8723
8724 * po/ca.po: Update from translation team.
8725
f4cf5f2d
JM
87262013-01-01 Joseph Myers <joseph@codesourcery.com>
8727
8728 * scripts/update-copyrights: New file.
8729 * Makeconfig: Reformat copyright notice.
8730 * ctype/ctype.h: Likewise.
8731 * debug/swprintf_chk.c: Likewise.
8732 * elf/dl-cache.c: Likewise.
8733 * elf/dl-debug.c: Likewise.
8734 * elf/dl-object.c: Likewise.
8735 * grp/initgroups.c: Likewise.
8736 * hurd/Makefile: Likewise.
8737 * hurd/hurd/signal.h: Likewise.
8738 * hurd/hurdfault.c: Likewise.
8739 * hurd/hurdioctl.c: Likewise.
8740 * hurd/hurdlookup.c: Likewise.
8741 * hurd/intr-msg.c: Likewise.
8742 * iconv/gconv_open.c: Likewise.
8743 * libio/swprintf.c: Likewise.
8744 * locale/lc-ctype.c: Likewise.
8745 * locale/nl_langinfo.c: Likewise.
8746 * mach/Machrules: Likewise.
8747 * mach/Makefile: Likewise.
8748 * malloc/obstack.h: Likewise.
8749 * manual/Makefile: Likewise.
8750 * manual/tsort.awk: Likewise.
8751 * misc/bits/stab.def: Likewise.
8752 * nis/nis_print_group_entry.c: Likewise.
8753 * nis/nis_table.c: Likewise.
8754 * nis/nss_compat/compat-pwd.c: Likewise.
8755 * nis/nss_compat/compat-spwd.c: Likewise.
8756 * po/Makefile: Likewise.
8757 * posix/fnmatch.c: Likewise.
8758 * posix/regex.h: Likewise.
8759 * resolv/Makefile: Likewise.
8760 * resolv/nss_dns/dns-network.c: Likewise.
8761 * resolv/res_hconf.c: Likewise.
8762 * scripts/gen-sorted.awk: Likewise.
8763 * soft-fp/soft-fp.h: Likewise.
8764 * stdio-common/printf.h: Likewise.
8765 * stdlib/monetary.h: Likewise.
8766 * stdlib/random.c: Likewise.
8767 * stdlib/random_r.c: Likewise.
8768 * sysdeps/generic/Makefile: Likewise.
8769 * sysdeps/gnu/Makefile: Likewise.
8770 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8774 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8780 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8781 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8782 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8786 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8794 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8798 * sysdeps/mach/hurd/errnos.awk: Likewise.
8799 * sysdeps/mach/hurd/fork.c: Likewise.
8800 * sysdeps/mach/hurd/getcwd.c: Likewise.
8801 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8802 * sysdeps/mach/hurd/mmap.c: Likewise.
8803 * sysdeps/mach/hurd/utimes.c: Likewise.
8804 * sysdeps/mach/hurd/xmknod.c: Likewise.
8805 * sysdeps/posix/profil.c: Likewise.
8806 * sysdeps/posix/readdir_r.c: Likewise.
8807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8808 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8810 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8813 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8818 * sysdeps/pthread/lio_listio.c: Likewise.
8819 * sysdeps/sparc/dl-procinfo.h: Likewise.
8820 * sysdeps/unix/i386/sysdep.S: Likewise.
8821 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8822 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8823 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8824 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8826 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8827 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8828 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8829 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8830 * sysdeps/wordsize-32/divdi3.c: Likewise.
8831 * time/sys/time.h: Likewise.
8832 * wcsmbs/Makefile: Likewise.
8833
0549fbba
DM
88342013-01-01 David S. Miller <davem@davemloft.net>
8835
a141f1a7
DM
8836 * po/fr.po: Update from translation team.
8837
0549fbba
DM
8838 * catgets/gencat.c: Update copyright year.
8839 * csu/version.c: Likewise.
8840 * debug/catchsegv.sh: Likewise.
8841 * debug/pcprofiledump.c: Likewise.
8842 * debug/xtrace.sh: Likewise.
8843 * elf/ldconfig.c: Likewise.
8844 * elf/ldd.bash.in: Likewise.
8845 * elf/pldd.c: Likewise.
8846 * elf/sotruss.ksh: Likewise.
8847 * elf/sprof.c: Likewise.
8848 * iconv/iconv_prog.c: Likewise.
8849 * iconv/iconvconfig.c: Likewise.
8850 * locale/programs/locale.c: Likewise.
8851 * locale/programs/localedef.c: Likewise.
8852 * login/programs/pt_chown.c: Likewise.
8853 * malloc/memusage.sh: Likewise.
8854 * malloc/memusagestat.c: Likewise.
8855 * malloc/mtrace.pl: Likewise.
8856 * nscd/nscd.c: Likewise.
8857 * nss/getent.c: Likewise.
8858 * nss/makedb.c: Likewise.
8859 * posix/getconf.c: Likewise.
8860
18ea052c
SP
88612012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8862
8863 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8864 numbers.
8865
9c89fca6
MF
88662012-12-30 Mike Frysinger <vapier@gentoo.org>
8867
8868 * math/bits/mathcalls.h (modf): Use __nonnull.
8869
085ec079
SP
88702012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8871
8872 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8873 (split): Use macro CN instead of the bare value.
8874 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8875 could be used.
8876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8877 instead of the bare value.
8878 (power1): Likewise.
8879
6d9f97e1
SP
88802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8881
d63f73be
SP
8882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8883 __ATAN_TWOM.
8884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8885
6d9f97e1
SP
8886 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8887 their values.
8888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8890 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8891 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8892
4c4febf5
AJ
88932012-12-28 Andreas Jaeger <aj@suse.de>
8894
af5843ef
AJ
8895 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8896 values are from Linux 3.7.
8897
4c4febf5
AJ
8898 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8899 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8900
99136f82
SP
89012012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
2f216c3c 8903 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8904 TRUE case.
8905
99136f82
SP
8906 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8907 (norm): Likewise.
8908 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8909 variables with preprocessor constants.
8910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8911 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8912 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8913
7fffbdff
BH
89142012-12-27 Bruno Haible <bruno@clisp.org>
8915
8916 [BZ #14317]
8917 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8918 only if needed.
8919
b76eb5f0
SP
89202012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
31a7fe5c
SP
8922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8923 and use variable directly.
8924 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8925
b76eb5f0
SP
8926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8927 MPONE.
8928 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8929 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8930 variable MPONE.
8931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8933 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8934 include directive. Remove local variable MPONE.
8935 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8936 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8938
2c8bfe7d
DM
89392012-12-25 David S. Miller <davem@davemloft.net>
8940
8941 * version.h (RELEASE): Set to "development".
8942 (VERSION): Set to "2.17.90".
8943 * NEWS: Add 2.18 section.
8944
147d03b0
DM
89452012-12-21 David S. Miller <davem@davemloft.net>
8946
8947 * po/hr.po: Update from translation team.
8948
a8ebb2b9
AK
89492012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8950
8951 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8952
95b4f1b6
SE
89532012-12-19 Steve Ellcey <sellcey@mips.com>
8954
b2d94007 8955 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8956
cedb2a90
MS
89572012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8958
8959 * manual/contrib.texi (Contributors): Spelling correction.
8960
bbf527d6
DM
89612012-12-15 David S. Miller <davem@davemloft.net>
8962
8963 * po/ru.po: Update from translation team.
8964
bc38c906
DM
89652012-12-13 David S. Miller <davem@davemloft.net>
8966
85429b1a
DM
8967 * NEWS: Mention IFUNC testsuite enhancements.
8968
d283e353
DM
8969 * po/pl.po: Update from translation team.
8970 * po/bg.po: Likewise.
8971
bc38c906
DM
8972 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8973 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8974
a181b0d7
DM
89752012-12-11 David S. Miller <davem@davemloft.net>
8976
4641d57e
DM
8977 * po/sv.po: Update from translation team.
8978
f7bc6495
DM
8979 * po/vi.po: Update from translation team.
8980
6fc9048f
DM
8981 * po/cs.po: Update from translation team.
8982
a181b0d7
DM
8983 * po/de.po: Update from translation team.
8984 * po/eo.po: Likewise.
8985 * po/nl.po: Likewise.
8986
f70bfe80
SP
89872012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8988
3c8b4190
SP
8989 [BZ #14246]
8990 * manual/argp.texi (Argp Helper Functions): Move node to follow
8991 Argp Parsing State.
8992
f70bfe80
SP
8993 [BZ #14872]
8994 * manual/conf.texi (Limits on File System Capacity): Mention if
8995 terminating null is included in the max size.
8996
188f0adf
AJ
89972012-12-10 Andreas Jaeger <aj@suse.de>
8998
8999 * po/cs.po: Update from translation team.
9000
56e7d3ad
SP
90012012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9004 void pointer and cast to uintptr_t.
9005 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9006 path.
9007 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9008 * sysdeps/s390/s390-64/memset.S: Likewise.
9009
76f2d2ea 90102012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9011
9012 [BZ #14833]
9013 * menual/message.texi (Message Translation): Fix typos.
9014 (Helper programs for gettext): Likewise.
9015
67cbf9a2
AS
90162012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9017
9018 [BZ #14898]
9019 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9020 Change to -1.
9021
682d0e9a
DM
90222012-12-07 David S. Miller <davem@davemloft.net>
9023
9024 * po/libc.pot: Update.
9025
573cd484
RH
90262012-12-07 Richard Henderson <rth@redhat.com>
9027
7e9da188 9028 [BZ #10114]
573cd484
RH
9029 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9030 normal/normal case to before the switch.
9031 (_FP_DIV): Likewise.
9032
e933a943
MF
90332012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9034 Mike Frysinger <vapier@gentoo.org>
9035
9036 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9037 check for __NR_fadvise64_64.
9038
82123268
CM
90392012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9040
9041 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9042 0, not just to plain "0" as a statement.
9043 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9044 with cw.
9045
d9814526
JM
90462012-12-06 Joseph Myers <joseph@codesourcery.com>
9047
9048 * NEWS: Use sourceware.org in Bugzilla URL.
9049
7728c574
SP
90502012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9051
f16946dd
SP
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9053 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9054
5704bbcb
SP
9055 * stdio-common/tst-put-error.c (do_test): Add newline to the
9056 padded test to ensure flush.
9057
17aa0516
JL
90582012-12-05 Jeff Law <law@redhat.com>
9059
9060 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9061
363313b5
JM
90622012-12-05 Joseph Myers <joseph@codesourcery.com>
9063
effbd42a
JM
9064 * README: Don't refer to ports add-on as distributed separately.
9065 Mention AArch64 in list of systems supported in the ports add-on.
9066
87600365
JM
9067 * LICENSES: Add more non-FSF copyright and license notices.
9068
a0d7066a
JM
9069 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9070 ((unused)).
9071
66ca5a5b
JM
9072 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9073
363313b5
JM
9074 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9075 10000 as width of padded output.
9076
b37984ad
JM
90772012-12-04 Joseph Myers <joseph@codesourcery.com>
9078
9003570a
JM
9079 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9080
b37984ad
JM
9081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9082 variable LX with __attribute__ ((unused)).
9083 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9084 Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9088 with __attribute__ ((unused)).
9089
c8df52ec
DM
90902012-12-04 David S. Miller <davem@abraco.davemloft.net>
9091
9092 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9093
b3b099af
JM
90942012-12-04 Joseph Myers <joseph@codesourcery.com>
9095
c33aa6e3
JM
9096 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9097 (CFLAGS-nldbl-acos.c): New variable.
9098 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9099 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9100 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9101 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9102 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9103 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9104 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9105 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9106 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9107 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9108 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9109 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9110 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9111 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9112 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9113 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9115 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9116 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9117 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9118 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9119 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9120 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9121 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9122 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9123 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9124 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9125 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9126 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9127 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9128 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9129 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9130 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9131 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9136 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9152 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9153 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9154 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9155 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9156 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9157 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9158 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9159 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9160 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9161 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9162 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9163 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9164 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9165 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9166 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9167 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9168 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9169 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9170 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9171 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9172 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9173 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9174 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9179 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9180 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9181 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9182 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9183 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9184 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9185 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9186 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9187 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9188 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9189 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9190 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9191 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9192 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9193 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9194 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9195
20f0018d
JM
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9197 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9198
b3b099af
JM
9199 [BZ #14914]
9200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9201 whole low double instead of just low 47 bits when splitting values
9202 into two parts.
9203
029264d1
AM
92042012-12-03 Allan McRae <allan@archlinux.org>
9205
9206 * manual/stdio.texi (Predefined Printf Handlers): Remove
9207 @hsep and @vsep usage.
9208
c9d6789e
MF
92092012-12-03 Mike Frysinger <vapier@gentoo.org>
9210
9211 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9212 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9213
4b7634a5
JL
92142012-12-03 Jeff Law <law@redhat.com>
9215
9216 * time/sys/time.h (settimeofday): Do not mark TV argument
9217 as __nonnull.
9218
eb6cbd24
MF
92192012-12-01 Mike Frysinger <vapier@gentoo.org>
9220
9221 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9222 when currently writing and seek to current position when not.
9223 * libio/Makefile (tests): Remove bug-fclose1.
9224 * libio/bug-fclose1.c: Delete.
9225
f638872a
JM
92262012-12-01 Joseph Myers <joseph@codesourcery.com>
9227
9228 * manual/arith.texi (feenableexcept): Fix typo.
9229 (fedisableexcept): Likewise.
9230
48085d14
RM
92312012-11-30 Roland McGrath <roland@hack.frob.com>
9232
9233 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9234 second, differently-typed declaration, rather than a cast.
9235
1a538b9f
SP
92362012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9237
9238 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9239 * include/rpc/svc.h: ... here.
9240
d07f2ff1 92412012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9242
9243 [BZ #13013]
9244 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9245 depending n and resplen2 to catch cases where answer
9246 equals answerp2.
9247
c93ec1f0
CD
92482012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9249
9250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9251 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9252
37db69de
MF
92532012-11-29 Mike Frysinger <vapier@gentoo.org>
9254
9255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9256
e10c4e4f
RM
92572012-11-29 Roland McGrath <roland@hack.frob.com>
9258
9259 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9260
2af1b328
JL
92612012-11-28 Jeff Law <law@redhat.com>
9262
9263 [BZ #13761]
9264 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9265 dataset_temporary. Track alloca usage into alloca_used.
9266 If dataset is large allocate and release it via malloc/free.
9267
111db5b1
FW
92682012-06-04 Florian Weimer <fweimer@redhat.com>
9269
f06cc227 9270 [BZ #14197]
111db5b1
FW
9271 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9272
dd694abd
DM
92732012-11-28 David S. Miller <davem@davemloft.net>
9274
9275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9276
9984dd01
JM
92772012-11-28 Joseph Myers <joseph@codesourcery.com>
9278
9279 [BZ #14803]
9280 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9281 of pi/2 rounded to nearest to 64 bits.
9282 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9283 nearest to 64 bits.
9284 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9285 bits.
9286
14bc93a9
JL
92872012-11-28 Jeff Law <law@redhat.com>
9288 Martin Osvald <mosvald@redhat.com>
9289
9290 [BZ #14889]
9291 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9292 * sunrpc/svc.c: Include time.h.
9293 (__svc_accept_failed): New function.
9294 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9295 any reason other than EINTR, call __svc_accept_failed.
9296 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9297 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9298
e3c6aa3a
AS
92992012-11-28 Andreas Schwab <schwab@suse.de>
9300
9301 * scripts/abilist.awk: Also handle indirect functions in .opd
9302 section.
9303
1bead169
JM
93042012-11-28 Joseph Myers <joseph@codesourcery.com>
9305
9306 [BZ #13881]
9307 * sysdeps/x86/fpu/powl_helper.c: New file.
9308 * sysdeps/x86/fpu/Makefile: Likewise.
9309 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9310 (p3): New object.
9311 (__ieee754_powl): Use __powl_helper for finite arguments except
9312 integer exponents below 8.
9313 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9314 (p3): New object.
9315 (__ieee754_powl): Use __powl_helper for finite arguments except
9316 integer exponents below 8.
9317 * math/libm-test.inc (pow_test): Add more tests and enable some
9318 previously disabled tests.
9319 * sysdeps/i386/fpu/libm-test-ulps: Update.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9321
0817d63d
SP
93222012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9323 Carlos O'Donell <carlos_odonell@mentor.com>
9324
9325 * nss/makedb.c (is_prime): Assert that input is odd and greater
9326 than 4. Note that fact in a comment too.
9327 (next_prime): Add 4 to input.
9328
de2fd463
SP
93292012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9330
9331 [BZ #11741]
9332 * libio/Makefile (tests): Add test case tst-fwrite-error.
9333 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9334 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9335 * libio/tst-fwrite-error.c: New test case.
9336
c515fb51
L
93372012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9338
9339 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9340 before casting to void *.
9341 * include/libc-internal.h (__pointer_type): New macro.
9342 (__integer_if_pointer_type_sub): Likewise.
9343 (__integer_if_pointer_type): Likewise.
9344 (cast_to_integer): Likewise.
9345 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9346 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9347 before casting to atomic64_t.
9348 (atomic_exchange_acq): Likewise.
9349 (__arch_exchange_and_add_body): Likewise.
9350 (__arch_add_body): Likewise.
9351 (atomic_add_negative): Likewise.
9352 (atomic_add_zero): Likewise.
9353
4cf77aa9
JM
93542012-11-26 Joseph Myers <joseph@codesourcery.com>
9355
9356 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9357 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9358 (add_fdes): Likewise.
9359 (linear_search_fdes): Likewise.
9360 (binary_search_unencoded_fdes): Likewise.
9361
d260b3b4
AS
93622012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9363
9364 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9365
67060746
AC
93662012-11-24 Adam Conrad <adconrad@0c3.net>
9367
9368 * configure.in: Autodetect C++ header directories.
9369 * configure: Regenerated.
9370
800938a1
MF
93712012-11-23 Mike Frysinger <vapier@gentoo.org>
9372
9373 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9374
4e6e34e6
AS
93752012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9376
9377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9378
7c7feb47
JM
93792012-11-22 Joseph Myers <joseph@codesourcery.com>
9380
7184dcdf
JM
9381 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9382 LDBL_MANT_DIG == 106]: Disable some tests.
9383 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9384 Likewise.
9385 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9386 Likewise.
9387
0a42601f
JM
9388 [BZ #14871]
9389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9390 input for small inputs. Return +/- pi/2 for large inputs.
9391 * math/libm-test.inc (atan_test): Add more tests.
9392
79c9b9fe
JM
9393 * sysdeps/generic/unwind-dw2-fde-glibc.c
9394 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9395 __attribute__ ((unused)).
9396
c60d3bf2
JM
9397 [BZ #14645]
9398 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9399 x * y if x and y are nonzero and z is zero.
9400
ef1e0867
JM
9401 [BZ #14811]
9402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9403 nonzero exponents with absolute value below 0x1p-117 to +/-
9404 0x1p-117.
9405
1468ded3
JM
9406 [BZ #14869]
9407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9408 up arguments below 2**-450, not just those below 2**-500.
9409 * math/libm-test.inc (hypot_test): Add another test.
9410
8e27e3cc
JM
9411 [BZ #14868]
9412 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9413 Return a+b for ratio over 2**120, not 2**60.
9414 * math/libm-test.inc (hypot_test): Add another test.
9415
c9c0279b
JM
9416 * math/libm-test.inc (clog_test): Use
9417 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9418 (clog10_test): Likewise.
9419
7c7feb47
JM
9420 [BZ #6778]
9421 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9422
fff1530e
AS
94232012-11-22 Andreas Schwab <schwab@suse.de>
9424
9425 * sysdeps/i386/fpu/libm-test-ulps: Update.
9426
94558d30
PT
94272012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9428
9429 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9430 printf output with newline.
9431
7e1be741
L
94322012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9433
6bfea974
L
9434 [BZ #14865]
9435 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9436 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9437 -z nodlopen, -z initfirst and -z execstack support.
9438 * configure: Regenerated.
9439
7e1be741
L
9440 * elf/elf.h (DF_1_NODIRECT): New macro.
9441 (DF_1_IGNMULDEF): Likewise.
9442 (DF_1_NOKSYMS): Likewise.
9443 (DF_1_NOHDR): Likewise.
9444 (DF_1_EDITED): Likewise.
9445 (DF_1_NORELOC): Likewise.
9446 (DF_1_SYMINTPOSE): Likewise.
9447 (DF_1_GLOBAUDIT): Likewise.
9448 (DF_1_SINGLETON): Likewise.
9449 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9450 DT_1_SUPPORTED_MASK bits.
9451 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9452
105ce2ce
CD
94532012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9454
9455 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9456
123be9de
TS
94572012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9458
d072f3f7
TS
9459 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9460 macro.
9461
123be9de
TS
9462 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9463 (sendmmsg): Move declarations...
9464 * socket/sys/socket.h: ... here.
9465 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9466 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9467 include it from...
9468 * socket/recvmmsg.c: ... this new file.
9469 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9470 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9471 definition of __sendmmsg hidden.
9472 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9473 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9474 Move ENOSYS stub into and include it from...
9475 * socket/sendmmsg.c: ... this new file.
9476 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9477 (sysdep_routines): Move recvmmsg and sendmmsg...
9478 * socket/Makefile (routines): ... here.
9479 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9480 (GLIBC_PRIVATE): Add __sendmmsg.
9481 * include/sys/socket.h (__sendmmsg): Add declarations.
9482 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9483 sendmmsg.
9484
cf9a5d18
JM
94852012-11-20 Joseph Myers <joseph@codesourcery.com>
9486
9487 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9488 variable I1 with __attribute__ ((unused)).
9489 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9490
ecd4caf9
JM
94912012-11-19 Joseph Myers <joseph@codesourcery.com>
9492
be14d48f
JM
9493 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9494 DUMMY variables with __attribute__ ((unused)).
9495
ecd4caf9
JM
9496 * bits/byteswap.h: Include <bits/types.h>.
9497 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9498
986cab95
PT
94992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9500
9501 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9502 string_t. Do not manually set errno.
9503 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9504 length with __strnlen. Make sure to both set errno and return it on
9505 failure.
9506
6d33cc9d
DM
95072012-11-19 David S. Miller <davem@davemloft.net>
9508
9509 With help from Joseph Myers.
9510 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9511 very large arguments properly.
9512 * math/libm-test.inc (atan_test): New tests.
9513 (atan2_test): New tests.
9514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9516
ee663277
JM
95172012-11-19 Joseph Myers <joseph@codesourcery.com>
9518
877f2d8e
JM
9519 [BZ #14856]
9520 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9521 Define to 3.
9522
116fc08a
JM
9523 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9524 [POSIX] (EADDRNOTAVAIL): Likewise.
9525 [POSIX] (EAFNOSUPPORT): Likewise.
9526 [POSIX] (EALREADY): Likewise.
9527 [POSIX] (ECONNABORTED): Likewise.
9528 [POSIX] (ECONNREFUSED): Likewise.
9529 [POSIX] (ECONNRESET): Likewise.
9530 [POSIX] (EDESTADDRREQ): Likewise.
9531 [POSIX] (EDQUOT): Likewise.
9532 [POSIX] (EHOSTUNREACH): Likewise.
9533 [POSIX] (EIDRM): Likewise.
9534 [POSIX] (EISCONN): Likewise.
9535 [POSIX] (ELOOP): Likewise.
9536 [POSIX] (EMULTIHOP): Likewise.
9537 [POSIX] (ENETDOWN): Likewise.
9538 [POSIX] (ENETUNREACH): Likewise.
9539 [POSIX] (ENOBUFS): Likewise.
9540 [POSIX] (ENODATA): Likewise.
9541 [POSIX] (ENOLINK): Likewise.
9542 [POSIX] (ENOMSG): Likewise.
9543 [POSIX] (ENOPROTOOPT): Likewise.
9544 [POSIX] (ENOSR): Likewise.
9545 [POSIX] (ENOSTR): Likewise.
9546 [POSIX] (ENOTCONN): Likewise.
9547 [POSIX] (ENOTSOCK): Likewise.
9548 [POSIX] (EOPNOTSUPP): Likewise.
9549 [POSIX] (EOVERFLOW): Likewise.
9550 [POSIX] (EPROTO): Likewise.
9551 [POSIX] (EPROTONOSUPPORT): Likewise.
9552 [POSIX] (EPROTOTYPE): Likewise.
9553 [POSIX] (ESTALE): Likewise.
9554 [POSIX] (ETIME): Likewise.
9555 [POSIX] (ETXTBSY): Likewise.
9556 [POSIX] (EWOULDBLOCK): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9558 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9559 [POSIX] (SEEK_CUR): Likewise.
9560 [POSIX] (SEEK_END): Likewise.
9561 [POSIX || UNIX98] (mode_t): Do not require.
9562 [POSIX] (off_t): Likewise.
9563 [POSIX] (pid_t): Likewise.
9564 [POSIX] (sys/stat.h): Do not allow header.
9565 [POSIX] (unistd.h): Likewise.
9566 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9567 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9568 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9569 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9570 require.
9571 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9572 sigevent): Specify elements.
9573 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9574 entry.
9575 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9576 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9577
a483863f
JM
9578 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9579 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9580 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9581 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9582 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9583 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9584 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9585 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9587 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9588 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9589 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9590 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9592 Likewise.
9593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9594 Likewise.
9595 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9596 Likewise.
9597 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9598 Likewise.
9599 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9600 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9601 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9602 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9604 Specify lower bound on value.
9605 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9611 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9612 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9613 value.
9614 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9615 as optional.
9616 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9617 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9619 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9626 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9627 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9628 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9629 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9632 entry.
9633 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9634 optional.
9635 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9641 Likewise.
9642 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9647 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9649 as optional.
9650 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9654 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9655 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9656 specify as optional.
9657 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9660 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9661 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9662 [XPG3] (NL_LANGMAX): Likewise.
9663 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9664 [POSIX || XPG3] (NL_NMAX): Likewise.
9665 [POSIX || XPG3] (NL_SETMAX): Likewise.
9666 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9667 [XPG3] (NZERO): Likewise.
9668 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9669 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9670 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9671 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9672 (REG_ERANGE): Expect.
9673 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9674 optional-constant.
9675 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9676 Use (void) in prototype.
9677 [POSIX] (*_t): Allow.
9678 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9679 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9680 (WRDE_BADVAL): Expect.
9681
5ba924e3
JM
9682 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9683 expect.
9684 [XPG3 || XPG4] (O_RSYNC): Likewise.
9685 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9686 Likewise.
9687 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9688 [XPG3 || XPG4] (sigqueue): Likewise.
9689 [XPG3 || XPG4] (sigtimedwait): Likewise.
9690 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9691 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9692 [XPG3 || XPG4] (vsnprintf): Likewise.
9693 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9694 Likewise.
9695 [XPG3 || XPG4] (blksize_t): Likewise.
9696 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9697 Likewise.
9698 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9699 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9700 [XPG3 || XPG4] (struct itimerspec): Likewise.
9701 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9702 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9703 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9704 [XPG3 || XPG4] (clockid_t): Likewise.
9705 [XPG3 || XPG4] (timer_t): Likewise.
9706 [XPG3 || XPG4] (clock_getres): Likewise.
9707 [XPG3 || XPG4] (clock_gettime): Likewise.
9708 [XPG3 || XPG4] (clock_settime): Likewise.
9709 [XPG3 || XPG4] (nanosleep): Likewise.
9710 [XPG3 || XPG4] (timer_create): Likewise.
9711 [XPG3 || XPG4] (timer_delete): Likewise.
9712 [XPG3 || XPG4] (timer_gettime): Likewise.
9713 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9714 [XPG3 || XPG4] (timer_settime): Likewise.
9715 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9716 [XPG3 || XPG4] (getlogin_r): Likewise.
9717 [XPG3 || XPG4] (pread): Likewise.
9718 [XPG3 || XPG4] (pthread_atfork): Likewise.
9719 [XPG3 || XPG4] (pwrite): Likewise.
9720
ee663277
JM
9721 [BZ #14835]
9722 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9723 <bits/siginfo.h>.
9724
942caa16
PT
97252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9726
e19af380
PT
9727 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9728 finalizing MALLSTREAM.
9729
942caa16
PT
9730 * sysdeps/mach/hurd/syncfs.c: New file.
9731
cfde9b46
SP
97322012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
9734 [BZ #14719]
9735 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9736 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9738 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9739 (_nss_dns_gethostbyname4_r): Likewise.
9740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9741 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9742
f6da27e5
PH
97432012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9744
9745 [BZ #13763]
9746 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9747
6665d4a2
SM
97482012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9749
1f51ee92
SM
9750 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9751 * elf/cache.c (print_entry): Print ",AArch64" for
9752 FLAG_AARCH64_LIB64
9753
6665d4a2
SM
9754 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9755 * elf/cache.c (print_entry): Print ",hard-float" for
9756 FLAG_ARM_LIBHF.
9757
05b227bd
DM
97582012-11-18 David S. Miller <davem@davemloft.net>
9759
9760 With help from Joseph Myers.
9761 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9762 cutoff to 2**-13.
9763 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9764 cutoff to 2**-25.
9765 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9766 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9767 small.
9768 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9769 * math/libm-test.inc (y0_test): New tests.
9770 (y1_test): New tests.
9771 * sysdeps/i386/fpu/libm-test-ulps: Update.
9772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9774
786b0b67
AS
97752012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9776
9777 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9778 64-bit targets.
9779 * configure: Regenerated.
9780
8e18b86d
DM
97812012-11-17 David S. Miller <davem@davemloft.net>
9782
9783 [BZ #14811]
9784 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9785 nonzero exponents with absolute value below 0x1p-128 to +/-
9786 0x1p-128.
9787
531f1ae0
JM
97882012-11-17 Joseph Myers <joseph@codesourcery.com>
9789
12df29e2
JM
9790 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9791
150dc1a0
JM
9792 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9793
531f1ae0
JM
9794 * posix/getconf-speclist.c: New file.
9795 * posix/posix-envs.def: Likewise.
9796 * posix/confstr.c (START_ENV_GROUP): New macro.
9797 (END_ENV_GROUP): Likewise.
9798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9799 (KNOWN_PRESENT_ENV_STRING): Likewise.
9800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9801 (UNKNOWN_ENVIRONMENT): Likewise.
9802 (confstr): Include posix-envs.def instead of handling
9803 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9804 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9805 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9806 (END_ENV_GROUP): Likewise.
9807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9808 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9809 (UNKNOWN_ENVIRONMENT): Likewise.
9810 (__sysconf): Include posix-envs.def instead of handling associated
9811 cases directly here.
9812 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9813 preprocessing getconf-speclist.c rather than running getconf or
9814 generating empty file.
9815
a93f9cbc
PT
98162012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9817
9818 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9819
d64d9f87
AL
98202012-11-16 Andrej Lajovic <natrij@gmail.com>
9821
9822 [BZ #14672]
9823 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9824
447885eb
DM
98252012-11-16 David S. Miller <davem@davemloft.net>
9826
9827 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9828 smaller than LDBL_EPSILON/2.0L, just return xm1.
9829
bcbf9830
L
98302012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9831
9832 * elf/tst-array1.c (init): Set constructor priority to 1000.
9833 (fini): Set destructor priority to 1000.
9834 * elf/tst-array2dep.c: Likewise.
9835
2b766585
SP
98362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9837
9838 [BZ #11741]
9839 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9840 (_IO_new_file_xsputn): Also return EOF if none of the input
9841 data was written when overflow failed.
9842 * libio/iopadn.c (_IO_padn): Likewise.
9843 * libio/iowpadn.c (_IO_wpadn): Likewise.
9844 * stdio-common/tst-put-error.c: Add copyright notice.
9845 (do_test): Add case for printing padded string.
9846 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9847 _IO_padn returned error.
9848 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9849 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9850 return EOF.
9851
b1848fde
SP
98522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9853
9854 * libio/libioP.h: Add comment note that the references to C++
9855 bits are now obsolete.
9856
2fd89785
MS
98572012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9858
9859 * math/libm-test.inc (check_complex): Use asprintf.
9860
e3ea5409
JM
98612012-11-14 Joseph Myers <joseph@codesourcery.com>
9862
9863 * debug/pcprofiledump.c (print_version): Update copyright year.
9864 * malloc/memusagestat.c (print_version): Likewise.
9865
2e64d265
L
98662012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9867
9868 [BZ #14831]
9869 * elf/Makefile (tests): Add tst-audit8.
9870 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9871 ($(objpfx)tst-audit8.out): New target.
9872 (tst-audit8-ENV): New variable.
9873 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9874 audit if l_reloc_result is NULL.
9875 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9876 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9877 * elf/tst-audit8.c: New file.
9878
c485e4d2
MS
98792012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9880
9881 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9882 * misc/Makefile (CFLAGS-select.c): Define.
9883 * posix/Makefile (CFLAGS-pause.c): Define.
9884
3a0d900a
DM
98852012-11-13 David S. Miller <davem@davemloft.net>
9886
9887 * crypt/Makefile: Move test targets after toplevel Rules
9888 inclusion. Grab any necessary sysdep routines when linking.
9889 * crypt/md5.c (md5_process_block): Remove define, we will always
9890 name it __md5_process_block.
9891 (md5_finish_ctx): Update md5_process_block call.
9892 (md5_stream): Likewise.
9893 (md5_process_bytes): Likewise.
9894 (md5_process_block): Rename to __md5_process_block and move to ...
9895 * crypt/md5-block.c: ... here.
9896 * crypt/sha256.c (sha256_process_block): Move to ...
9897 * crypt/sha256-block.c: ... here.
9898 * crypt/sha512.c (sha512_process_block): Move to ...
9899 * crypt/sha512-block.c: ... here.
9900 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9901 path.
9902 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9903 * sysdeps/sparc/sparc64/multiarch/Makefile
9904 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9905 crypt subdir.
9906 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9907 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9908 multiarch changes.
9909 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9910 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9911 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9912 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9913 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9914 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9915 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9916 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9918 file.
9919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9920 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9921 file.
9922 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9923
8ca89318
JM
99242012-11-13 Joseph Myers <joseph@codesourcery.com>
9925
e27d476a
JM
9926 * timezone/tzselect.ksh: Update from tzcode git revision
9927 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9928 * timezone/zdump.c: Likewise.
9929 * timezone/zic.c: Likewise.
9930 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9931 in TZVERSION setting, not $(PKGVERSION).
9932 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9933 REPORT_BUGS_TO settings.
9934
8ca89318
JM
9935 [BZ #14838]
9936 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9937 macro.
9938
47594329
MS
99392012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9940
9941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9942 detection to immediately after _FP_ROUND().
9943 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9944 bits are 0.
9945
640ac3f1
DM
99462012-11-11 David S. Miller <davem@davemloft.net>
9947
9948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9949 inttypes.h
9950 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9951 __close rather than their public counterparts.
9952
3d2577bb
JM
99532012-11-10 Joseph Myers <joseph@codesourcery.com>
9954
9955 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9956 file.
9957 [UNIX98] (sem_timedwait): Do not expect.
9958 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9959 [XPG4 || UNIX98] (sockatmark): Do not expect.
9960 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9961 (clock_getcpuclockid): Do not expect.
9962 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9963 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9964 Do not expect.
9965 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9966 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9967 [UNIX98] (vwscanf): Likewise.
9968 [UNIX98] (vswscanf): Likewise.
9969
fb1ae1ee
JM
99702012-11-09 Joseph Myers <joseph@codesourcery.com>
9971
9ec6f8bd
JM
9972 * timezone/version.h: Remove file.
9973 * timezone/README: Do not refer to version.h.
9974 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9975 $(objpfx)version.h.
9976 ($(objpfx)zdump.o): Likewise.
c3f81911 9977 ($(objpfx)version.h): New target.
9ec6f8bd 9978
0aa8f8a1
JM
9979 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9980 2012i.
9981 * timezone/README: Don't mention modification to tzselect.ksh.
9982 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9983 work on unmodified tzselect.ksh. Substitute version numbers in
9984 tzselect.ksh.
9985
4e87147f
JM
9986 * Makefile (format-me): Remove.
9987 (INSTALL): Adjust indentation. Use commands directly instead of
9988 using $(format-me).
9989
8b748aed
JM
9990 * aclocal.m4 (ACX_PKGVERSION): New macro.
9991 (ACX_BUGURL): Likewise.
9992 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9993 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9994 (REPORT_BUGS_TO): Likewise.
9995 * configure: Regenerated.
9996 * config.h.in (PKGVERSION): New macro.
9997 (REPORT_BUGS_TO): Likewise.
9998 * config.make.in (PKGVERSION): New variable.
9999 (PKGVERSION_TEXI): Likewise.
10000 (REPORT_BUGS_TO): Likewise.
10001 (REPORT_BUGS_TEXI): Likewise.
10002 * Makefile (format-me): Use -I$(common-objpfx)manual.
10003 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10004 ($(common-objpfx)manual/%): New target.
10005 (manual/%): Remove target.
10006 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10007 (print_version): Use PKGVERSION.
10008 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10009 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10010 and REPORT_BUGS_TO.
10011 ($(objpfx)xtrace): Likewise.
10012 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10013 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10014 (print_version): Use PKGVERSION.
10015 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10016 (do_version): Use PKGVERSION.
10017 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10018 REPORT_BUGS_TO.
10019 (common-ldd-rewrite): Likewise.
10020 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10021 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10022 (print_version): Use PKGVERSION.
10023 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10024 * elf/pldd.c (argp_program_bug_address): Remove variable.
10025 (more_help): New function.
10026 (argp): Use more_help.
10027 (print_version): Use PKGVERSION.
10028 * elf/sln.c (main): Use PKGVERSION.
10029 (usage): Use REPORT_BUGS_TO.
10030 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10031 (top level): Use PKGVERSION.
10032 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10033 (print_version): Use PKGVERSION.
10034 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10035 (print_version): Use PKGVERSION.
10036 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10037 (print_version): Use PKGVERSION.
10038 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10039 (print_version): Use PKGVERSION.
10040 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10041 (print_version): Use PKGVERSION.
10042 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10043 (print_version): Use PKGVERSION.
10044 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10045 and BUGURL.
10046 ($(objpfx)memusage): Likewise.
10047 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10048 (do_version): Use PKGVERSION.
10049 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10050 (print_version): Use PKGVERSION.
10051 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10052 ($PKGVERSION): New variable.
10053 ($REPORT_BUGS_TO): Likewise.
10054 (usage): Use $REPORT_BUGS_TO.
10055 (top level): Use $PKGVERSION.
10056 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10057 ($(objpfx)pkgvers.texi): New rule.
10058 ($(objpfx)stamp-pkgvers): Likewise.
10059 * manual/install.texi: Include pkgvers.texi.
10060 (--with-pkgversion): Document new configure option.
10061 (--with-bugurl): Likewise.
10062 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10063 than necessarily for this particular distribution. Use
10064 REPORT_BUGS_TO for where to report bugs.
10065 * INSTALL: Regenerated.
10066 * manual/libc.texinfo: Include pkgvers.texi.
10067 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10068 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10069 (print_version): Use PKGVERSION.
10070 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10071 (print_version): Use PKGVERSION.
10072 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10073 (print_version): Use PKGVERSION.
10074 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10075 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10076 macro.
10077 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10078 (print_version): Use PKGVERSION.
10079 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10080 (print_version): Use PKGVERSION.
10081 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10082 and PKGVERSION.
10083
92e4b6a9
JM
10084 * timezone/checktab.awk: Update from tzcode 2012i.
10085 * timezone/ialloc.c: Likewise.
10086 * timezone/private.h: Likewise.
10087 * timezone/scheck.c: Likewise.
10088 * timezone/tzfile.h: Likewise.
10089 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10090 (TZVERSION): Hardcode tzcode version number.
10091 * timezone/zdump.c: Update from tzcode 2012i.
10092 * timezone/zic.c: Likewise.
10093 * timezone/version.h: New file.
10094 * timezone/README: Describe version.h. Update upstream location.
10095
9bde902c
JM
10096 [BZ #14824]
10097 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10098 (mktemp): Enable declaration.
10099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10103 Likewise.
10104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10105 Likewise.
10106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10107 Likewise.
10108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10109 Likewise.
10110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10111 Likewise.
10112 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10113 Likewise.
10114
fb1ae1ee
JM
10115 [BZ #14821]
10116 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10117 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10118 for copies of such integer values.
10119 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10120 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10121
2c1adbcb
AJ
101222012-11-09 Andreas Jaeger <aj@suse.de>
10123
10124 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10125 definitions and declarations that are provided by
10126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10127
d0f8457e
AK
101282012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10129
3a235abb 10130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10131 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10132 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10133 definition.
10134
57241e26
MS
101352012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10136
10137 * elf/elf.h: Update comment before AArch64 relocations.
10138
60e8270d
DM
101392012-11-07 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10142 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10143 (__start_context): Declare.
10144 (__makecontext_ret): Delete.
10145 (__makecontext): Hook up __start_context instead of
10146 __makecontext_ret.
10147 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10148 (sysdep_routines): Add __start_context when in stdlib.
10149
0fbb0fbc
JM
101502012-11-07 Joseph Myers <joseph@codesourcery.com>
10151
10152 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10153 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10154 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10155 hardcoded "nm".
10156 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10157 (READELF): New variable. Use it instead of hardcoded "readelf".
10158
eb48db7e
L
101592012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10160
10161 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10162 * sysdeps/x86/Makefile: Here.
10163 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10164 * sysdeps/x86/tst-xmmymm.sh: This.
10165
05bcf62a
JM
101662012-11-07 Joseph Myers <joseph@codesourcery.com>
10167
c4b6cf53
JM
10168 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10169 expectations.
10170 [UNIX98] (pthread_barrier_t): Do not expect.
10171 [UNIX98] (pthread_barrierattr_t): Likewise.
10172 [UNIX98] (pthread_spinlock_t): Likewise.
10173 [UNIX98] (pthread_barrier_destroy): Likewise.
10174 [UNIX98] (pthread_barrier_init): Likewise.
10175 [UNIX98] (pthread_barrier_wait): Likewise.
10176 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10177 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10178 [UNIX98] (pthread_barrierattr_init): Likewise.
10179 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10180 [UNIX98] (pthread_getcpuclockid): Likewise.
10181 [UNIX98] (pthread_mutex_timedlock): Likewise.
10182 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10183 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10184 [UNIX98] (pthread_sigmask): Likewise.
10185 [UNIX98] (pthread_spin_destroy): Likewise.
10186 [UNIX98] (pthread_spin_init): Likewise.
10187 [UNIX98] (pthread_spin_lock): Likewise.
10188 [UNIX98] (pthread_spin_trylock): Likewise.
10189 [UNIX98] (pthread_spin_unlock): Likewise.
10190 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10191 Do not expect.
10192 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10193 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10194 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10195 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10196 [XPG3 || XPG4] (pthread_key_t): Likewise.
10197 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10198 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10199 [XPG3 || XPG4] (pthread_once_t): Likewise.
10200 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10201 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10202 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10203 [XPG3 || XPG4] (pthread_t): Likewise.
10204
cbe6e120
JM
10205 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10206 not expect.
10207 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10208
1b126443
JM
10209 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10210 Change function return type to int.
10211
b961a573
JM
10212 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10213 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10214 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10215 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10216 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10217 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10218 [!POSIX] (posix_madvise): Likewise.
10219 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10220 && !UNIX98].
10221 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10222 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10223 (mode_t): Likewise.
10224 (posix_mem_offset): Likewise.
10225 (posix_typed_mem_get_info): Likewise.
10226 (posix_typed_mem_open): Likewise.
10227
9e188909
JM
10228 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10229 Change condition to [XOPEN2K8].
10230
05bcf62a
JM
10231 * conform/conformtest.pl: Preprocess allow-header data with -x c
10232 instead of from stdin.
10233 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10234 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10235 [C99-based standards] (cerfc): Likewise.
10236 [C99-based standards] (cexp2): Likewise.
10237 [C99-based standards] (cexpm1): Likewise.
10238 [C99-based standards] (clog10): Likewise.
10239 [C99-based standards] (clog1p): Likewise.
10240 [C99-based standards] (clog2): Likewise.
10241 [C99-based standards] (clgamma): Likewise.
10242 [C99-based standards] (ctgamma): Likewise.
10243 [C99-based standards] (cerff): Likewise.
10244 [C99-based standards] (cerfcf): Likewise.
10245 [C99-based standards] (cexp2f): Likewise.
10246 [C99-based standards] (cexpm1f): Likewise.
10247 [C99-based standards] (clog10f): Likewise.
10248 [C99-based standards] (clog1pf): Likewise.
10249 [C99-based standards] (clog2f): Likewise.
10250 [C99-based standards] (clgammaf): Likewise.
10251 [C99-based standards] (ctgammaf): Likewise.
10252 [C99-based standards] (cerfl): Likewise.
10253 [C99-based standards] (cerfcl): Likewise.
10254 [C99-based standards] (cexp2l): Likewise.
10255 [C99-based standards] (cexpm1l): Likewise.
10256 [C99-based standards] (clog10l): Likewise.
10257 [C99-based standards] (clog1pl): Likewise.
10258 [C99-based standards] (clog2l): Likewise.
10259 [C99-based standards] (clgammal): Likewise.
10260 [C99-based standards] (ctgammal): Likewise.
10261 * conform/data/inttypes.h-data [C99-based standards]: Include
10262 stdint.h-data. Remove all expectations for stdint.h contents.
10263 [C99-based standards] (PRI*): Do not allow.
10264 [C99-based standards] (SCN*): Likewise.
10265 [C99-based standards] (*_t): Likewise.
10266 [C99-based-standards] (PRId8): Expect macro.
10267 [C99-based-standards] (PRIi8): Likewise.
10268 [C99-based-standards] (PRIo8): Likewise.
10269 [C99-based-standards] (PRIu8): Likewise.
10270 [C99-based-standards] (PRIx8): Likewise.
10271 [C99-based-standards] (PRIX8): Likewise.
10272 [C99-based-standards] (SCNd8): Likewise.
10273 [C99-based-standards] (SCNi8): Likewise.
10274 [C99-based-standards] (SCNo8): Likewise.
10275 [C99-based-standards] (SCNu8): Likewise.
10276 [C99-based-standards] (SCNx8): Likewise.
10277 [C99-based-standards] (PRIdLEAST8): Likewise.
10278 [C99-based-standards] (PRIiLEAST8): Likewise.
10279 [C99-based-standards] (PRIoLEAST8): Likewise.
10280 [C99-based-standards] (PRIuLEAST8): Likewise.
10281 [C99-based-standards] (PRIxLEAST8): Likewise.
10282 [C99-based-standards] (PRIXLEAST8): Likewise.
10283 [C99-based-standards] (SCNdLEAST8): Likewise.
10284 [C99-based-standards] (SCNiLEAST8): Likewise.
10285 [C99-based-standards] (SCNoLEAST8): Likewise.
10286 [C99-based-standards] (SCNuLEAST8): Likewise.
10287 [C99-based-standards] (SCNxLEAST8): Likewise.
10288 [C99-based-standards] (PRIdFAST8): Likewise.
10289 [C99-based-standards] (PRIiFAST8): Likewise.
10290 [C99-based-standards] (PRIoFAST8): Likewise.
10291 [C99-based-standards] (PRIuFAST8): Likewise.
10292 [C99-based-standards] (PRIxFAST8): Likewise.
10293 [C99-based-standards] (PRIXFAST8): Likewise.
10294 [C99-based-standards] (SCNdFAST8): Likewise.
10295 [C99-based-standards] (SCNiFAST8): Likewise.
10296 [C99-based-standards] (SCNoFAST8): Likewise.
10297 [C99-based-standards] (SCNuFAST8): Likewise.
10298 [C99-based-standards] (SCNxFAST8): Likewise.
10299 [C99-based-standards] (PRId16): Likewise.
10300 [C99-based-standards] (PRIi16): Likewise.
10301 [C99-based-standards] (PRIo16): Likewise.
10302 [C99-based-standards] (PRIu16): Likewise.
10303 [C99-based-standards] (PRIx16): Likewise.
10304 [C99-based-standards] (PRIX16): Likewise.
10305 [C99-based-standards] (SCNd16): Likewise.
10306 [C99-based-standards] (SCNi16): Likewise.
10307 [C99-based-standards] (SCNo16): Likewise.
10308 [C99-based-standards] (SCNu16): Likewise.
10309 [C99-based-standards] (SCNx16): Likewise.
10310 [C99-based-standards] (PRIdLEAST16): Likewise.
10311 [C99-based-standards] (PRIiLEAST16): Likewise.
10312 [C99-based-standards] (PRIoLEAST16): Likewise.
10313 [C99-based-standards] (PRIuLEAST16): Likewise.
10314 [C99-based-standards] (PRIxLEAST16): Likewise.
10315 [C99-based-standards] (PRIXLEAST16): Likewise.
10316 [C99-based-standards] (SCNdLEAST16): Likewise.
10317 [C99-based-standards] (SCNiLEAST16): Likewise.
10318 [C99-based-standards] (SCNoLEAST16): Likewise.
10319 [C99-based-standards] (SCNuLEAST16): Likewise.
10320 [C99-based-standards] (SCNxLEAST16): Likewise.
10321 [C99-based-standards] (PRIdFAST16): Likewise.
10322 [C99-based-standards] (PRIiFAST16): Likewise.
10323 [C99-based-standards] (PRIoFAST16): Likewise.
10324 [C99-based-standards] (PRIuFAST16): Likewise.
10325 [C99-based-standards] (PRIxFAST16): Likewise.
10326 [C99-based-standards] (PRIXFAST16): Likewise.
10327 [C99-based-standards] (SCNdFAST16): Likewise.
10328 [C99-based-standards] (SCNiFAST16): Likewise.
10329 [C99-based-standards] (SCNoFAST16): Likewise.
10330 [C99-based-standards] (SCNuFAST16): Likewise.
10331 [C99-based-standards] (SCNxFAST16): Likewise.
10332 [C99-based-standards] (PRId32): Likewise.
10333 [C99-based-standards] (PRIi32): Likewise.
10334 [C99-based-standards] (PRIo32): Likewise.
10335 [C99-based-standards] (PRIu32): Likewise.
10336 [C99-based-standards] (PRIx32): Likewise.
10337 [C99-based-standards] (PRIX32): Likewise.
10338 [C99-based-standards] (SCNd32): Likewise.
10339 [C99-based-standards] (SCNi32): Likewise.
10340 [C99-based-standards] (SCNo32): Likewise.
10341 [C99-based-standards] (SCNu32): Likewise.
10342 [C99-based-standards] (SCNx32): Likewise.
10343 [C99-based-standards] (PRIdLEAST32): Likewise.
10344 [C99-based-standards] (PRIiLEAST32): Likewise.
10345 [C99-based-standards] (PRIoLEAST32): Likewise.
10346 [C99-based-standards] (PRIuLEAST32): Likewise.
10347 [C99-based-standards] (PRIxLEAST32): Likewise.
10348 [C99-based-standards] (PRIXLEAST32): Likewise.
10349 [C99-based-standards] (SCNdLEAST32): Likewise.
10350 [C99-based-standards] (SCNiLEAST32): Likewise.
10351 [C99-based-standards] (SCNoLEAST32): Likewise.
10352 [C99-based-standards] (SCNuLEAST32): Likewise.
10353 [C99-based-standards] (SCNxLEAST32): Likewise.
10354 [C99-based-standards] (PRIdFAST32): Likewise.
10355 [C99-based-standards] (PRIiFAST32): Likewise.
10356 [C99-based-standards] (PRIoFAST32): Likewise.
10357 [C99-based-standards] (PRIuFAST32): Likewise.
10358 [C99-based-standards] (PRIxFAST32): Likewise.
10359 [C99-based-standards] (PRIXFAST32): Likewise.
10360 [C99-based-standards] (SCNdFAST32): Likewise.
10361 [C99-based-standards] (SCNiFAST32): Likewise.
10362 [C99-based-standards] (SCNoFAST32): Likewise.
10363 [C99-based-standards] (SCNuFAST32): Likewise.
10364 [C99-based-standards] (SCNxFAST32): Likewise.
10365 [C99-based-standards] (PRId64): Likewise.
10366 [C99-based-standards] (PRIi64): Likewise.
10367 [C99-based-standards] (PRIo64): Likewise.
10368 [C99-based-standards] (PRIu64): Likewise.
10369 [C99-based-standards] (PRIx64): Likewise.
10370 [C99-based-standards] (PRIX64): Likewise.
10371 [C99-based-standards] (SCNd64): Likewise.
10372 [C99-based-standards] (SCNi64): Likewise.
10373 [C99-based-standards] (SCNo64): Likewise.
10374 [C99-based-standards] (SCNu64): Likewise.
10375 [C99-based-standards] (SCNx64): Likewise.
10376 [C99-based-standards] (PRIdLEAST64): Likewise.
10377 [C99-based-standards] (PRIiLEAST64): Likewise.
10378 [C99-based-standards] (PRIoLEAST64): Likewise.
10379 [C99-based-standards] (PRIuLEAST64): Likewise.
10380 [C99-based-standards] (PRIxLEAST64): Likewise.
10381 [C99-based-standards] (PRIXLEAST64): Likewise.
10382 [C99-based-standards] (SCNdLEAST64): Likewise.
10383 [C99-based-standards] (SCNiLEAST64): Likewise.
10384 [C99-based-standards] (SCNoLEAST64): Likewise.
10385 [C99-based-standards] (SCNuLEAST64): Likewise.
10386 [C99-based-standards] (SCNxLEAST64): Likewise.
10387 [C99-based-standards] (PRIdFAST64): Likewise.
10388 [C99-based-standards] (PRIiFAST64): Likewise.
10389 [C99-based-standards] (PRIoFAST64): Likewise.
10390 [C99-based-standards] (PRIuFAST64): Likewise.
10391 [C99-based-standards] (PRIxFAST64): Likewise.
10392 [C99-based-standards] (PRIXFAST64): Likewise.
10393 [C99-based-standards] (SCNdFAST64): Likewise.
10394 [C99-based-standards] (SCNiFAST64): Likewise.
10395 [C99-based-standards] (SCNoFAST64): Likewise.
10396 [C99-based-standards] (SCNuFAST64): Likewise.
10397 [C99-based-standards] (SCNxFAST64): Likewise.
10398 [C99-based-standards] (PRIdMAX): Likewise.
10399 [C99-based-standards] (PRIiMAX): Likewise.
10400 [C99-based-standards] (PRIoMAX): Likewise.
10401 [C99-based-standards] (PRIuMAX): Likewise.
10402 [C99-based-standards] (PRIxMAX): Likewise.
10403 [C99-based-standards] (PRIXMAX): Likewise.
10404 [C99-based-standards] (SCNdMAX): Likewise.
10405 [C99-based-standards] (SCNiMAX): Likewise.
10406 [C99-based-standards] (SCNoMAX): Likewise.
10407 [C99-based-standards] (SCNuMAX): Likewise.
10408 [C99-based-standards] (SCNxMAX): Likewise.
10409 [C99-based-standards] (PRIdPTR): Likewise.
10410 [C99-based-standards] (PRIiPTR): Likewise.
10411 [C99-based-standards] (PRIoPTR): Likewise.
10412 [C99-based-standards] (PRIuPTR): Likewise.
10413 [C99-based-standards] (PRIxPTR): Likewise.
10414 [C99-based-standards] (PRIXPTR): Likewise.
10415 [C99-based-standards] (SCNdPTR): Likewise.
10416 [C99-based-standards] (SCNiPTR): Likewise.
10417 [C99-based-standards] (SCNoPTR): Likewise.
10418 [C99-based-standards] (SCNuPTR): Likewise.
10419 [C99-based-standards] (SCNxPTR): Likewise.
10420 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10421 allow.
10422 * conform/data/stdint.h-data: Update comments to clarify
10423 requirements.
10424 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10425 type.
10426 [C99-based standards] (INT8_MAX): Likewise.
10427 [C99-based standards] (INT16_MIN): Likewise.
10428 [C99-based standards] (INT16_MAX): Likewise.
10429 [C99-based standards] (INT32_MIN): Likewise.
10430 [C99-based standards] (INT32_MAX): Likewise.
10431 [C99-based standards] (INT64_MIN): Likewise.
10432 [C99-based standards] (INT64_MAX): Likewise.
10433 [C99-based standards] (UINT8_MAX): Likewise.
10434 [C99-based standards] (UINT16_MAX): Likewise.
10435 [C99-based standards] (UINT32_MAX): Likewise.
10436 [C99-based standards] (UINT64_MAX): Likewise.
10437 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10438 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10439 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10440 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10441 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10442 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10443 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10444 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10445 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10446 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10447 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10448 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10449 [C99-based standards] (INT_FAST8_MIN): Likewise.
10450 [C99-based standards] (INT_FAST8_MAX): Likewise.
10451 [C99-based standards] (INT_FAST16_MIN): Likewise.
10452 [C99-based standards] (INT_FAST16_MAX): Likewise.
10453 [C99-based standards] (INT_FAST32_MIN): Likewise.
10454 [C99-based standards] (INT_FAST32_MAX): Likewise.
10455 [C99-based standards] (INT_FAST64_MIN): Likewise.
10456 [C99-based standards] (INT_FAST64_MAX): Likewise.
10457 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10458 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10459 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10460 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10461 [C99-based standards] (INTPTR_MIN): Likewise.
10462 [C99-based standards] (INTPTR_MAX): Likewise.
10463 [C99-based standards] (UINTPTR_MAX): Likewise.
10464 [C99-based standards] (INTMAX_MIN): Likewise.
10465 [C99-based standards] (INTMAX_MAX): Likewise.
10466 [C99-based standards] (UINTMAX_MAX): Likewise.
10467 [C99-based standards] (PTRDIFF_MIN): Likewise.
10468 [C99-based standards] (PTRDIFF_MAX): Likewise.
10469 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10470 [C99-based standards] (SIZE_MAX): Likewise.
10471 [C99-based standards] (WCHAR_MAX): Likewise.
10472 [C99-based standards] (WINT_MAX): Likewise.
10473 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10474 constraint on value.
10475 [C99-based standards] (WCHAR_MIN): Likewise.
10476 [C99-based standards] (WINT_MIN): Likewise.
10477 [C99-based standards] (*_t): Allow.
10478 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10479 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10480 Include math.h-data and complex.h-data. Remove all expectations
10481 of math.h and complex.h contents.
10482 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10483 at end of line.
10484 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10485 (struct tm): Expect tag.
10486 [C99-based-standards] (wcstof): Expect function.
10487 [C99-based-standards] (wcstold): Likewise.
10488 [C99-based-standards] (wcstoll): Likewise.
10489 [C99-based-standards] (wcstoull): Likewise.
10490 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10491 macro-int-constant. Specify type.
10492 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10493 constraint on value.
10494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10495 Specify type.
10496 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10497 Specify value.
10498 [ISO C standards]: Do not allow headers.
10499 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10500 wcs[abcdefghijklmnopqrstuvwxyz]*.
10501 [ISO C standards] (*_t): Do not allow.
10502 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10503 Expect function.
10504 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10505 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10506 Specify type.
10507 [ISO C standards]: Do not allow headers.
10508 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10509 is[abcdefghijklmnopqrstuvwxyz]*.
10510 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10511 to[abcdefghijklmnopqrstuvwxyz]*.
10512 [ISO C standards] (*_t): Do not allow.
10513 * conform/data/stdalign.h-data: New file.
10514 * conform/data/stdbool.h-data: Likewise.
10515 * conform/data/stdnoreturn.h-data: Likewise.
10516
7514feb8
RM
105172012-11-07 Roland McGrath <roland@hack.frob.com>
10518
10519 [BZ #14815]
10520 * manual/filesys.texi (Directory Entries): Typo fix.
10521 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10522
19b2ecfc
MS
105232012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10524
10525 * elf/elf.h (EM_AARCH64): New macro.
10526 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10527 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10528 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10529 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10530 (R_AARCH64_TLSDESC): Likewise.
10531 (NT_ARM_TLS): Likewise.
10532 (NT_ARM_HW_BREAK): Likewise.
10533 (NT_ARM_HW_WATCH): Likewise.
10534
60e235ee
JM
105352012-11-07 Joseph Myers <joseph@codesourcery.com>
10536
10537 [BZ #14811]
10538 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10539 (__ieee754_powl): Saturate nonzero exponents with absolute value
10540 below 0x1p-79 to +/- 0x1p-79.
10541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10542 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10543 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10544 nonzero exponents with absolute value below 0x1p-32 to +/-
10545 0x1p-32.
10546 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10547 (__ieee754_powl): Saturate nonzero exponents with absolute value
10548 below 0x1p-79 to +/- 0x1p-79.
10549 * math/libm-test.inc (pow_test): Add more tests.
10550
0ab234b7
AK
105512012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10552
10553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10554 _dl_s390_cap_flags with kernel. Increase string length.
10555 (_dl_s390_platforms): Add z196 and zEC12.
10556
45832f74
JM
105572012-11-07 Joseph Myers <joseph@codesourcery.com>
10558
10559 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10560 Change XOPEN21K to XOPEN2K.
10561
19218757
MK
105622012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10563
10564 * string/memmove.c: Use memcpy when possible.
10565
c5f45721
AJ
105662012-11-06 Andreas Jaeger <aj@suse.de>
10567
10568 * po/eo.po: Update from translation team.
10569
82477c28
JM
105702012-11-06 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #14793]
10573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10574 exponent and small x and y exponents, scale x or y up. Increase
10575 by 2 the exponent used in scaling up.
10576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10578 * math/libm-test.inc (fma_test): Add more tests.
10579 (fma_test_towardzero): Likewise.
10580 (fma_test_downward): Likewise.
10581 (fma_test_upward): Likewise.
10582
99252c8c
JM
105832012-11-05 Joseph Myers <joseph@codesourcery.com>
10584
acfa885f
JM
10585 [BZ #14805]
10586 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10587 fenv_t *.
10588
99252c8c
JM
10589 [BZ #14801]
10590 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10591 namespace for names of struct fields.
10592 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10593 fenv_t fields.
10594 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10595 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10596
d6d98dea
ST
105972012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10598
10599 [BZ #3665]
10600 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10601
e10bb107
TS
106022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10603
10604 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10605 PTR_DEMANGLE.
10606
10607 [BZ #5246]
10608 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10609 PTR_DEMANGLE.
10610
a0c2940d
JM
106112012-11-04 Joseph Myers <joseph@codesourcery.com>
10612
10613 [BZ #14797]
10614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10615 definitely overflow as x * y not x * y + z.
10616 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10618 * math/libm-test.inc (fma_test): Add more tests.
10619 (fma_test_towardzero): Likewise.
10620 (fma_test_downward): Likewise.
10621 (fma_test_upward): Likewise.
10622
b830319d
TS
106232012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10624
10625 [BZ #157]
10626
10627 * include/stub-tag.h: Remove file.
10628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10629 '#include' of it.
10630 * manual/maint.texi (Porting): Don't reference it.
10631 * Makerules ($(objpfx)stubs): Likewise.
10632 * dirent/closedir.c: Don't include <stub-tag.h>.
10633 * dirent/dirfd.c: Likewise.
10634 * dirent/fdopendir.c: Likewise.
10635 * dirent/getdents.c: Likewise.
10636 * dirent/getdents64.c: Likewise.
10637 * dirent/opendir.c: Likewise.
10638 * dirent/readdir.c: Likewise.
10639 * dirent/readdir64.c: Likewise.
10640 * dirent/readdir64_r.c: Likewise.
10641 * dirent/readdir_r.c: Likewise.
10642 * dirent/rewinddir.c: Likewise.
10643 * dirent/seekdir.c: Likewise.
10644 * dirent/telldir.c: Likewise.
10645 * gmon/profil.c: Likewise.
10646 * grp/setgroups.c: Likewise.
10647 * inet/if_index.c: Likewise.
10648 * io/access.c: Likewise.
10649 * io/chdir.c: Likewise.
10650 * io/chmod.c: Likewise.
10651 * io/chown.c: Likewise.
10652 * io/close.c: Likewise.
10653 * io/dup.c: Likewise.
10654 * io/dup2.c: Likewise.
10655 * io/dup3.c: Likewise.
10656 * io/euidaccess.c: Likewise.
10657 * io/faccessat.c: Likewise.
10658 * io/fchdir.c: Likewise.
10659 * io/fchmod.c: Likewise.
10660 * io/fchmodat.c: Likewise.
10661 * io/fchown.c: Likewise.
10662 * io/fchownat.c: Likewise.
10663 * io/fcntl.c: Likewise.
10664 * io/flock.c: Likewise.
10665 * io/fstatfs.c: Likewise.
10666 * io/fstatfs64.c: Likewise.
10667 * io/fstatvfs.c: Likewise.
10668 * io/fstatvfs64.c: Likewise.
10669 * io/futimens.c: Likewise.
10670 * io/fxstat.c: Likewise.
10671 * io/fxstat64.c: Likewise.
10672 * io/fxstatat.c: Likewise.
10673 * io/fxstatat64.c: Likewise.
10674 * io/getcwd.c: Likewise.
10675 * io/isatty.c: Likewise.
10676 * io/lchmod.c: Likewise.
10677 * io/lchown.c: Likewise.
10678 * io/link.c: Likewise.
10679 * io/linkat.c: Likewise.
10680 * io/lseek.c: Likewise.
10681 * io/lseek64.c: Likewise.
10682 * io/lxstat64.c: Likewise.
10683 * io/mkdir.c: Likewise.
10684 * io/mkdirat.c: Likewise.
10685 * io/mkfifo.c: Likewise.
10686 * io/mkfifoat.c: Likewise.
10687 * io/open.c: Likewise.
10688 * io/open64.c: Likewise.
10689 * io/openat.c: Likewise.
10690 * io/openat64.c: Likewise.
10691 * io/pipe.c: Likewise.
10692 * io/pipe2.c: Likewise.
10693 * io/poll.c: Likewise.
10694 * io/posix_fadvise.c: Likewise.
10695 * io/posix_fadvise64.c: Likewise.
10696 * io/posix_fallocate.c: Likewise.
10697 * io/posix_fallocate64.c: Likewise.
10698 * io/read.c: Likewise.
10699 * io/readlink.c: Likewise.
10700 * io/readlinkat.c: Likewise.
10701 * io/rmdir.c: Likewise.
10702 * io/sendfile.c: Likewise.
10703 * io/sendfile64.c: Likewise.
10704 * io/statfs.c: Likewise.
10705 * io/statfs64.c: Likewise.
10706 * io/statvfs.c: Likewise.
10707 * io/statvfs64.c: Likewise.
10708 * io/symlink.c: Likewise.
10709 * io/symlinkat.c: Likewise.
10710 * io/ttyname.c: Likewise.
10711 * io/ttyname_r.c: Likewise.
10712 * io/umask.c: Likewise.
10713 * io/unlink.c: Likewise.
10714 * io/unlinkat.c: Likewise.
10715 * io/utime.c: Likewise.
10716 * io/utimensat.c: Likewise.
10717 * io/write.c: Likewise.
10718 * io/xmknod.c: Likewise.
10719 * io/xmknodat.c: Likewise.
10720 * io/xstat.c: Likewise.
10721 * io/xstat64.c: Likewise.
10722 * login/getpt.c: Likewise.
10723 * login/grantpt.c: Likewise.
10724 * login/unlockpt.c: Likewise.
10725 * math/e_acoshl.c: Likewise.
10726 * math/e_acosl.c: Likewise.
10727 * math/e_asinl.c: Likewise.
10728 * math/e_atan2l.c: Likewise.
10729 * math/e_atanhl.c: Likewise.
10730 * math/e_coshl.c: Likewise.
10731 * math/e_expl.c: Likewise.
10732 * math/e_fmodl.c: Likewise.
10733 * math/e_gammal_r.c: Likewise.
10734 * math/e_hypotl.c: Likewise.
10735 * math/e_j0l.c: Likewise.
10736 * math/e_j1l.c: Likewise.
10737 * math/e_jnl.c: Likewise.
10738 * math/e_lgammal_r.c: Likewise.
10739 * math/e_log10l.c: Likewise.
10740 * math/e_log2l.c: Likewise.
10741 * math/e_logl.c: Likewise.
10742 * math/e_powl.c: Likewise.
10743 * math/e_rem_pio2l.c: Likewise.
10744 * math/e_sinhl.c: Likewise.
10745 * math/e_sqrtl.c: Likewise.
10746 * math/fclrexcpt.c: Likewise.
10747 * math/fedisblxcpt.c: Likewise.
10748 * math/feenablxcpt.c: Likewise.
10749 * math/fegetenv.c: Likewise.
10750 * math/fegetexcept.c: Likewise.
10751 * math/fegetround.c: Likewise.
10752 * math/feholdexcpt.c: Likewise.
10753 * math/fesetenv.c: Likewise.
10754 * math/fesetround.c: Likewise.
10755 * math/feupdateenv.c: Likewise.
10756 * math/fgetexcptflg.c: Likewise.
10757 * math/fraiseexcpt.c: Likewise.
10758 * math/fsetexcptflg.c: Likewise.
10759 * math/ftestexcept.c: Likewise.
10760 * math/k_cosl.c: Likewise.
10761 * math/k_rem_pio2l.c: Likewise.
10762 * math/k_sinl.c: Likewise.
10763 * math/k_tanl.c: Likewise.
10764 * math/s_asinhl.c: Likewise.
10765 * math/s_atanl.c: Likewise.
10766 * math/s_cbrtl.c: Likewise.
10767 * math/s_erfl.c: Likewise.
10768 * math/s_expm1l.c: Likewise.
10769 * math/s_log1pl.c: Likewise.
10770 * math/s_tanhl.c: Likewise.
10771 * misc/acct.c: Likewise.
10772 * misc/brk.c: Likewise.
10773 * misc/chflags.c: Likewise.
10774 * misc/chroot.c: Likewise.
10775 * misc/fchflags.c: Likewise.
10776 * misc/fgetxattr.c: Likewise.
10777 * misc/flistxattr.c: Likewise.
10778 * misc/fremovexattr.c: Likewise.
10779 * misc/fsetxattr.c: Likewise.
10780 * misc/fsync.c: Likewise.
10781 * misc/ftruncate.c: Likewise.
10782 * misc/futimes.c: Likewise.
10783 * misc/futimesat.c: Likewise.
10784 * misc/getdomain.c: Likewise.
10785 * misc/getdtsz.c: Likewise.
10786 * misc/gethostid.c: Likewise.
10787 * misc/gethostname.c: Likewise.
10788 * misc/getloadavg.c: Likewise.
10789 * misc/getpagesize.c: Likewise.
10790 * misc/getsysstats.c: Likewise.
10791 * misc/getxattr.c: Likewise.
10792 * misc/gtty.c: Likewise.
10793 * misc/ioctl.c: Likewise.
10794 * misc/lgetxattr.c: Likewise.
10795 * misc/listxattr.c: Likewise.
10796 * misc/llistxattr.c: Likewise.
10797 * misc/lremovexattr.c: Likewise.
10798 * misc/lsetxattr.c: Likewise.
10799 * misc/lutimes.c: Likewise.
10800 * misc/madvise.c: Likewise.
10801 * misc/mincore.c: Likewise.
10802 * misc/mlock.c: Likewise.
10803 * misc/mlockall.c: Likewise.
10804 * misc/mmap.c: Likewise.
10805 * misc/mprotect.c: Likewise.
10806 * misc/msync.c: Likewise.
10807 * misc/munlock.c: Likewise.
10808 * misc/munlockall.c: Likewise.
10809 * misc/munmap.c: Likewise.
10810 * misc/preadv.c: Likewise.
10811 * misc/preadv64.c: Likewise.
10812 * misc/ptrace.c: Likewise.
10813 * misc/pwritev.c: Likewise.
10814 * misc/pwritev64.c: Likewise.
10815 * misc/readv.c: Likewise.
10816 * misc/reboot.c: Likewise.
10817 * misc/remap_file_pages.c: Likewise.
10818 * misc/removexattr.c: Likewise.
10819 * misc/revoke.c: Likewise.
10820 * misc/select.c: Likewise.
10821 * misc/setdomain.c: Likewise.
10822 * misc/setegid.c: Likewise.
10823 * misc/seteuid.c: Likewise.
10824 * misc/sethostid.c: Likewise.
10825 * misc/sethostname.c: Likewise.
10826 * misc/setregid.c: Likewise.
10827 * misc/setreuid.c: Likewise.
10828 * misc/setxattr.c: Likewise.
10829 * misc/sstk.c: Likewise.
10830 * misc/stty.c: Likewise.
10831 * misc/swapoff.c: Likewise.
10832 * misc/swapon.c: Likewise.
10833 * misc/sync.c: Likewise.
10834 * misc/syncfs.c: Likewise.
10835 * misc/syscall.c: Likewise.
10836 * misc/truncate.c: Likewise.
10837 * misc/ualarm.c: Likewise.
10838 * misc/usleep.c: Likewise.
10839 * misc/ustat.c: Likewise.
10840 * misc/utimes.c: Likewise.
10841 * misc/vhangup.c: Likewise.
10842 * misc/writev.c: Likewise.
10843 * posix/_exit.c: Likewise.
10844 * posix/alarm.c: Likewise.
10845 * posix/execve.c: Likewise.
10846 * posix/fexecve.c: Likewise.
10847 * posix/fork.c: Likewise.
10848 * posix/fpathconf.c: Likewise.
10849 * posix/getaddrinfo.c: Likewise.
10850 * posix/getegid.c: Likewise.
10851 * posix/geteuid.c: Likewise.
10852 * posix/getgid.c: Likewise.
10853 * posix/getgroups.c: Likewise.
10854 * posix/getlogin.c: Likewise.
10855 * posix/getlogin_r.c: Likewise.
10856 * posix/getpgid.c: Likewise.
10857 * posix/getpid.c: Likewise.
10858 * posix/getppid.c: Likewise.
10859 * posix/getresgid.c: Likewise.
10860 * posix/getresuid.c: Likewise.
10861 * posix/getsid.c: Likewise.
10862 * posix/getuid.c: Likewise.
10863 * posix/glob64.c: Likewise.
10864 * posix/nanosleep.c: Likewise.
10865 * posix/pathconf.c: Likewise.
10866 * posix/pause.c: Likewise.
10867 * posix/posix_madvise.c: Likewise.
10868 * posix/pread.c: Likewise.
10869 * posix/pread64.c: Likewise.
10870 * posix/pwrite.c: Likewise.
10871 * posix/pwrite64.c: Likewise.
10872 * posix/sched_getaffinity.c: Likewise.
10873 * posix/sched_getp.c: Likewise.
10874 * posix/sched_gets.c: Likewise.
10875 * posix/sched_primax.c: Likewise.
10876 * posix/sched_primin.c: Likewise.
10877 * posix/sched_rr_gi.c: Likewise.
10878 * posix/sched_setaffinity.c: Likewise.
10879 * posix/sched_setp.c: Likewise.
10880 * posix/sched_sets.c: Likewise.
10881 * posix/sched_yield.c: Likewise.
10882 * posix/setgid.c: Likewise.
10883 * posix/setlogin.c: Likewise.
10884 * posix/setpgid.c: Likewise.
10885 * posix/setresgid.c: Likewise.
10886 * posix/setresuid.c: Likewise.
10887 * posix/setsid.c: Likewise.
10888 * posix/setuid.c: Likewise.
10889 * posix/sleep.c: Likewise.
10890 * posix/spawni.c: Likewise.
10891 * posix/sysconf.c: Likewise.
10892 * posix/times.c: Likewise.
10893 * posix/wait.c: Likewise.
10894 * posix/wait3.c: Likewise.
10895 * posix/wait4.c: Likewise.
10896 * posix/waitpid.c: Likewise.
10897 * resolv/gai_sigqueue.c: Likewise.
10898 * resource/getpriority.c: Likewise.
10899 * resource/getrlimit.c: Likewise.
10900 * resource/getrusage.c: Likewise.
10901 * resource/nice.c: Likewise.
10902 * resource/setpriority.c: Likewise.
10903 * resource/setrlimit.c: Likewise.
10904 * resource/ulimit.c: Likewise.
10905 * rt/aio_cancel.c: Likewise.
10906 * rt/aio_fsync.c: Likewise.
10907 * rt/aio_read.c: Likewise.
10908 * rt/aio_sigqueue.c: Likewise.
10909 * rt/aio_suspend.c: Likewise.
10910 * rt/aio_write.c: Likewise.
10911 * rt/clock_getres.c: Likewise.
10912 * rt/clock_gettime.c: Likewise.
10913 * rt/clock_nanosleep.c: Likewise.
10914 * rt/clock_settime.c: Likewise.
10915 * rt/lio_listio.c: Likewise.
10916 * rt/mq_close.c: Likewise.
10917 * rt/mq_getattr.c: Likewise.
10918 * rt/mq_notify.c: Likewise.
10919 * rt/mq_open.c: Likewise.
10920 * rt/mq_receive.c: Likewise.
10921 * rt/mq_send.c: Likewise.
10922 * rt/mq_setattr.c: Likewise.
10923 * rt/mq_timedreceive.c: Likewise.
10924 * rt/mq_timedsend.c: Likewise.
10925 * rt/mq_unlink.c: Likewise.
10926 * rt/shm_open.c: Likewise.
10927 * rt/shm_unlink.c: Likewise.
10928 * rt/timer_create.c: Likewise.
10929 * rt/timer_delete.c: Likewise.
10930 * rt/timer_getoverr.c: Likewise.
10931 * rt/timer_gettime.c: Likewise.
10932 * rt/timer_settime.c: Likewise.
10933 * setjmp/__longjmp.c: Likewise.
10934 * setjmp/setjmp.c: Likewise.
10935 * signal/kill.c: Likewise.
10936 * signal/killpg.c: Likewise.
10937 * signal/raise.c: Likewise.
10938 * signal/sigaction.c: Likewise.
10939 * signal/sigaltstack.c: Likewise.
10940 * signal/sigblock.c: Likewise.
10941 * signal/sigignore.c: Likewise.
10942 * signal/sigintr.c: Likewise.
10943 * signal/signal.c: Likewise.
10944 * signal/sigpause.c: Likewise.
10945 * signal/sigpending.c: Likewise.
10946 * signal/sigqueue.c: Likewise.
10947 * signal/sigreturn.c: Likewise.
10948 * signal/sigset.c: Likewise.
10949 * signal/sigsetmask.c: Likewise.
10950 * signal/sigstack.c: Likewise.
10951 * signal/sigsuspend.c: Likewise.
10952 * signal/sigtimedwait.c: Likewise.
10953 * signal/sigvec.c: Likewise.
10954 * signal/sigwait.c: Likewise.
10955 * signal/sigwaitinfo.c: Likewise.
10956 * signal/sysv_signal.c: Likewise.
10957 * socket/accept.c: Likewise.
10958 * socket/accept4.c: Likewise.
10959 * socket/bind.c: Likewise.
10960 * socket/connect.c: Likewise.
10961 * socket/getpeername.c: Likewise.
10962 * socket/getsockname.c: Likewise.
10963 * socket/getsockopt.c: Likewise.
10964 * socket/isfdtype.c: Likewise.
10965 * socket/listen.c: Likewise.
10966 * socket/recv.c: Likewise.
10967 * socket/recvfrom.c: Likewise.
10968 * socket/recvmsg.c: Likewise.
10969 * socket/send.c: Likewise.
10970 * socket/sendmsg.c: Likewise.
10971 * socket/sendto.c: Likewise.
10972 * socket/setsockopt.c: Likewise.
10973 * socket/shutdown.c: Likewise.
10974 * socket/sockatmark.c: Likewise.
10975 * socket/socket.c: Likewise.
10976 * socket/socketpair.c: Likewise.
10977 * stdio-common/ctermid.c: Likewise.
10978 * stdio-common/cuserid.c: Likewise.
10979 * stdio-common/remove.c: Likewise.
10980 * stdio-common/rename.c: Likewise.
10981 * stdio-common/renameat.c: Likewise.
10982 * stdio-common/tempname.c: Likewise.
10983 * stdlib/getcontext.c: Likewise.
10984 * stdlib/makecontext.c: Likewise.
10985 * stdlib/setcontext.c: Likewise.
10986 * stdlib/swapcontext.c: Likewise.
10987 * stdlib/system.c: Likewise.
10988 * streams/fattach.c: Likewise.
10989 * streams/fdetach.c: Likewise.
10990 * streams/getmsg.c: Likewise.
10991 * streams/getpmsg.c: Likewise.
10992 * streams/putmsg.c: Likewise.
10993 * streams/putpmsg.c: Likewise.
10994 * sysdeps/unix/bsd/getpt.c: Likewise.
10995 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10996 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10997 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10999 Likewise.
11000 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11001 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11002 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11003 * sysvipc/msgctl.c: Likewise.
11004 * sysvipc/msgget.c: Likewise.
11005 * sysvipc/msgrcv.c: Likewise.
11006 * sysvipc/msgsnd.c: Likewise.
11007 * sysvipc/semctl.c: Likewise.
11008 * sysvipc/semget.c: Likewise.
11009 * sysvipc/semop.c: Likewise.
11010 * sysvipc/semtimedop.c: Likewise.
11011 * sysvipc/shmat.c: Likewise.
11012 * sysvipc/shmctl.c: Likewise.
11013 * sysvipc/shmdt.c: Likewise.
11014 * sysvipc/shmget.c: Likewise.
11015 * termios/tcdrain.c: Likewise.
11016 * termios/tcflow.c: Likewise.
11017 * termios/tcflush.c: Likewise.
11018 * termios/tcgetattr.c: Likewise.
11019 * termios/tcgetpgrp.c: Likewise.
11020 * termios/tcsendbrk.c: Likewise.
11021 * termios/tcsetattr.c: Likewise.
11022 * termios/tcsetpgrp.c: Likewise.
11023 * time/adjtime.c: Likewise.
11024 * time/clock.c: Likewise.
11025 * time/getitimer.c: Likewise.
11026 * time/gettimeofday.c: Likewise.
11027 * time/setitimer.c: Likewise.
11028 * time/settimeofday.c: Likewise.
11029 * time/stime.c: Likewise.
11030 * time/time.c: Likewise.
11031
110322012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11033
a20492cf
PT
11034 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11035 /usr/old/bin.
11036
72e182e3
PT
11037 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11038 instead of spaces.
11039 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11040
fbeafede
JM
110412012-11-03 Joseph Myers <joseph@codesourcery.com>
11042
5b5b04d6
JM
11043 [BZ #14796]
11044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11045 FE_TONEAREST before applying Dekker multiplication and Knuth
11046 addition. Clear inexact exceptions and check for exact zero
11047 results afterwards.
11048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11051 * math/libm-test.inc (fma_test): Add more tests.
11052 (fma_test_towardzero): Likewise.
11053 (fma_test_downward): Likewise.
11054 (fma_test_upward): Likewise.
11055 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11056 function.
11057 (libc_fesetround): New macro.
11058 (libc_fesetroundf): Likewise.
11059 (libc_fesetroundl): Likewise.
11060 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11061 function.
11062 (libc_fesetround_387): Likewise.
11063 (libc_fesetroundf): New macro.
11064 (libc_fesetround): Likewise.
11065 (libc_fesetroundl): Likewise.
11066 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11067 function.
11068 (libc_fesetroundf): New macro.
11069 (libc_fesetround): Likewise.
11070 (libc_fesetroundl): Likewise.
11071 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11072 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11073 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11074 libm_hidden_ver.
11075 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11076 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11077 libm_hidden_def.
11078 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11079 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11080 libm_hidden_ver.
11081 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11082 libm_hidden_def.
11083
fbeafede
JM
11084 [BZ #3439]
11085 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11086 integer constant usable in #if and use that to give value to enum
11087 constant.
11088 (FE_DIVBYZERO): Likewise.
11089 (FE_UNDERFLOW): Likewise.
11090 (FE_OVERFLOW): Likewise.
11091 (FE_INVALID): Likewise.
11092 (FE_INVALID_SNAN): Likewise.
11093 (FE_INVALID_ISI): Likewise.
11094 (FE_INVALID_IDI): Likewise.
11095 (FE_INVALID_ZDZ): Likewise.
11096 (FE_INVALID_IMZ): Likewise.
11097 (FE_INVALID_COMPARE): Likewise.
11098 (FE_INVALID_SOFTWARE): Likewise.
11099 (FE_INVALID_SQRT): Likewise.
11100 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11101 (FE_TONEAREST): Likewise.
11102 (FE_TOWARDZERO): Likewise.
11103 (FE_UPWARD): Likewise.
11104 (FE_DOWNWARD): Likewise.
11105 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11106 (FE_DIVBYZERO): Likewise.
11107 (FE_OVERFLOW): Likewise.
11108 (FE_UNDERFLOW): Likewise.
11109 (FE_INEXACT): Likewise.
11110 (FE_TONEAREST): Likewise.
11111 (FE_DOWNWARD): Likewise.
11112 (FE_UPWARD): Likewise.
11113 (FE_TOWARDZERO): Likewise.
11114 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11115 (FE_UNDERFLOW): Likewise.
11116 (FE_OVERFLOW): Likewise.
11117 (FE_DIVBYZERO): Likewise.
11118 (FE_INVALID): Likewise.
11119 (FE_TONEAREST): Likewise.
11120 (FE_TOWARDZERO): Likewise.
11121 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11122 (FE_OVERFLOW): Likewise.
11123 (FE_UNDERFLOW): Likewise.
11124 (FE_DIVBYZERO): Likewise.
11125 (FE_INEXACT): Likewise.
11126 (FE_TONEAREST): Likewise.
11127 (FE_TOWARDZERO): Likewise.
11128 (FE_UPWARD): Likewise.
11129 (FE_DOWNWARD): Likewise.
11130 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11131 (FE_DIVBYZERO): Likewise.
11132 (FE_OVERFLOW): Likewise.
11133 (FE_UNDERFLOW): Likewise.
11134 (FE_INEXACT): Likewise.
11135 (FE_TONEAREST): Likewise.
11136 (FE_DOWNWARD): Likewise.
11137 (FE_UPWARD): Likewise.
11138 (FE_TOWARDZERO): Likewise.
11139
105ca950
CM
111402012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11141
11142 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11143
a542b389
AS
111442012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11145
11146 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11147 commands. Quote $PWD.
11148 (blacklist_exports): Don't use remove_newlines. Replace "declare
11149 -x" by "export".
11150 (remove_newlines): Remove.
11151
f62c8abc
L
111522012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11153
11154 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11155 * stdlib/stdlib.h (atof): Moved to ...
11156 * include/bits/stdlib-float.h: Here. New file.
11157 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11158 * stdlib/bits/stdlib-float.h: New file.
11159 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11160 -mno-sse -mno-mmx.
11161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11162 <xmmintrin.h>.
11163
0155d5b2
JM
111642012-11-02 Joseph Myers <joseph@codesourcery.com>
11165
a68d0680
JM
11166 * conform/conformtest.pl (@headers): Add fenv.h.
11167 * conform/data/fenv.h-data: New file.
11168 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11169 include of <math/fenv.h>.
11170
caf7f573
JM
11171 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11172 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11173 && !UNIX98]. Enables tests for XOPEN2K8.
11174 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11175 POSIX2008]: Likewise.
11176
6c073ad6
JM
11177 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11178 (struct rusage): Do not expect type or its members.
11179
0155d5b2
JM
11180 [BZ #3439]
11181 * math/math.h (FP_NAN): Define macro to integer constant usable in
11182 #if and use that to give value to enum constant.
11183 (FP_INFINITE): Likewise.
11184 (FP_ZERO): Likewise.
11185 (FP_SUBNORMAL): Likewise.
11186 (FP_NORMAL): Likewise.
11187
b5dcacb4
AS
111882012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11189
11190 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11191 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11192 arguments.
11193
f7934be8
RM
111942012-11-02 Roland McGrath <roland@hack.frob.com>
11195
11196 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11197 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11198 autoconf-time if not.
11199 * configure.in: Remove AC_PREREQ.
11200
d7d08bde
TMQMF
112012012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11202
11203 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11204 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11205 of the internal implementation.
11206
dcdae19a
JM
112072012-11-02 Joseph Myers <joseph@codesourcery.com>
11208
11209 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11210 except include of <misc/sys/syslog.h>.
11211
d6cffd3e
AS
112122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11213
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11215 function returns with a NULL context exit with zero.
11216
b3563932
TMQMF
112172012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11218
11219 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11220
b288a93d
L
112212012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11222
11223 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11224 (run_program_cmd): This.
11225 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11226 (tst_langinfo): New variable. Use it.
11227
a2421a68
SAS
112282012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11229
11230 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11231 floating point opcodes.
11232
6f796e1b
TS
112332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11234
7402596b
TS
11235 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11236 variable.
11237
d0d4f868
TS
11238 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11239
6f796e1b
TS
11240 * sysdeps/mach/hurd/powerpc: Remove directory.
11241 * sysdeps/mach/powerpc: Likewise.
11242
4da224a2
AS
112432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11244
11245 * scripts/check-local-headers.sh: Ignore c++ headers.
11246
341dd673
TS
112472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11248
11249 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11250 __libc_cleanup_region_start argument.
11251
473611b2
JM
112522012-11-01 Joseph Myers <joseph@codesourcery.com>
11253
11254 [BZ #14784]
11255 [BZ #14785]
11256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11257 x * y using scaling, not as x * y + z.
11258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11260 * math/libm-test.inc (fma_test): Add more tests.
11261 (fma_test_towardzero): Likewise.
11262 (fma_test_downward): Likewise.
11263 (fma_test_upward): Likewise.
11264
4078da3d
TS
112652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11266
11267 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11268
903252aa
JM
112692012-10-31 Joseph Myers <joseph@codesourcery.com>
11270
11271 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11272 New variable.
11273
cbc818d0
TS
112742012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11275
11276 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11277
5a03cb1e
AS
112782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11279
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11281 Fix sort order.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11283 Likewise.
11284
90aff2ff
TMQMF
112852012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11286
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11288 Fix the order of the list for glibc 2.17.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11290 Likewise.
11291
1818fcb7
AS
112922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11293
11294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11295
ef82f4da
JM
112962012-10-31 Joseph Myers <joseph@codesourcery.com>
11297
16a0e2ec
JM
11298 [BZ #14610]
11299 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11300 for low part of x being zero before using __atanl (y).
11301 * math/libm-test.inc (atan2_test): Add another test.
11302
0eb69512
JM
11303 * manual/install.texi (Configuring and compiling): Document
11304 general use of test-wrapper and test-wrapper-env.
11305 * INSTALL: Regenerated.
11306
ef82f4da
JM
11307 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11308 (__fma): Do not extract and scale down low bits on after-rounding
11309 systems when result rounded to normal precision would have normal
11310 exponent.
11311 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11312 (__fmal): Do not extract and scale down low bits on after-rounding
11313 systems when result rounded to normal precision would have normal
11314 exponent.
11315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11316 (__fmal): Do not extract and scale down low bits on after-rounding
11317 systems when result rounded to normal precision would have normal
11318 exponent.
11319 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11320 macro.
11321 (fma_test): Add more tests.
11322 (fma_test_towardzero): Likewise.
11323 (fma_test_downward): Likewise.
11324 (fma_test_upward): Likewise.
11325
954ef0d9
L
113262012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11327
11328 * sysdeps/i386/tininess.h: Renamed to ...
11329 * sysdeps/x86/tininess.h: This.
11330 * sysdeps/x86_64/tininess.h: Removed.
11331
df61ffb2
JM
113322012-10-30 Joseph Myers <joseph@codesourcery.com>
11333
11334 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11335 input. Use $(build-program-cmd).
11336 ($(objpfx)tst-array1-static.out): Likewise.
11337 ($(objpfx)tst-array2.out): Likewise.
11338 ($(objpfx)tst-array3.out): Likewise.
11339 ($(objpfx)tst-array4.out): Likewise.
11340 ($(objpfx)tst-array5.out): Likewise.
11341 ($(objpfx)tst-array5-static.out): Likewise.
11342
01767843
CM
113432012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11344
47cc1490
CM
11345 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11346 if defined.
11347
01767843
CM
11348 * nss/nsswitch.h (nss_interface_function): Provide new
11349 macro for use with NSS functions.
11350 * grp/initgroups.c: Use new macro.
11351 * nss/getXXbyYY.c: Likewise.
11352 * nss/getXXbyYY_r.c: Likewise.
11353 * nss/getXXent.c: Likewise.
11354 * nss/getXXent_r.c: Likewise.
11355 * sysdeps/posix/getaddrinfo.c: Likewise.
11356
8321aa97
AJ
113572012-10-30 Andreas Jaeger <aj@suse.de>
11358
11359 * po/ru.po: Update Russion translation from translation project.
11360
2a27fd6d
JM
113612012-10-30 Joseph Myers <joseph@codesourcery.com>
11362
8627a232
JM
11363 [BZ #14152]
11364 [BZ #14783]
11365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11366 result and shift together with sticky bit instead of replicating
11367 round-to-nearest rounding.
11368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11370 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11371 missing underflow exceptions.
11372 (fma_test_towardzero): Add more tests.
11373 (fma_test_downward): Likewise.
11374 (fma_test_upward): Likewise.
11375
2a27fd6d
JM
11376 [BZ #14047]
11377 * sysdeps/generic/tininess.h: New file.
11378 * sysdeps/i386/tininess.h: Likewise.
11379 * sysdeps/sh/tininess.h: Likewise.
11380 * sysdeps/x86_64/tininess.h: Likewise.
11381 * stdlib/tst-strtod-underflow.c: Likewise.
11382 * stdlib/tst-tininess.c: Likewise.
11383 * stdlib/strtod_l.c: Include <tininess.h>.
11384 (round_and_return): Do not set errno for exact underflow cases.
11385 Force an underflow exception when setting errno for underflow.
11386 Determine underflow based on rounding to normal precision if
11387 TININESS_AFTER_ROUNDING.
11388 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11389 ERANGE for exact underflow cases.
11390 * stdlib/Makefile (tests): Add tst-tininess and
11391 tst-strtod-underflow.
11392 ($(objpfx)tst-tininess): Use $(link-libm).
11393 ($(objpfx)tst-strtod-underflow): Likewise.
11394
e7170363
AJ
113952012-10-30 Andreas Jaeger <aj@suse.de>
11396
e5088dc6
AJ
11397 [BZ#14767]
11398 * elf/Makefile (tests): Remove conditional for have-initfini-array
11399 since this is now always required and the variable does not exist
11400 anymore.
11401 (tests-static): Likewise.
11402 (modules-names): Likewise.
11403
e7170363 11404 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11405
11406 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11407 merged with constructor/destructor.
11408 (init_array): Likewise.
11409 * elf/tst-array2dep.c (fini_array): Likewise.
11410 (init_array): Likewise.
11411
60457d8a
MF
114122012-10-29 Mike Frysinger <vapier@gentoo.org>
11413
11414 * manual/message.texi: Delete @cartouche tags.
11415
8bece752
PT
114162012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11417
94ce799f
PT
11418 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11419 EOPNOTSUPP.
11420 * sysdeps/mach/hurd/fsync.c: Likewise.
11421
8bece752
PT
11422 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11423 [_POSIX_REALTIME_SIGNALS]: Change condition to
11424 [_POSIX_REALTIME_SIGNALS > 0].
11425
86ebe6b1
AJ
114262012-10-27 Andreas Jaeger <aj@suse.de>
11427
11428 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11429 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11431 [__WORDSIZE != 64]: Likewise.
11432
54399c08
L
114332012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11434
11435 * iconvdata/tst-table.sh: Remove ${SHELL}.
11436 * iconvdata/tst-tables.sh: Likewise.
11437
e2211bed
DM
114382012-10-25 David S. Miller <davem@davemloft.net>
11439
11440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11441 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11442 of strtoull.
11443
f303f97c
DM
11444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11445 ifunc-impl-list.c
11446 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11447 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11448 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11449 file.
11450
1e9d84cd
RM
114512012-10-25 Roland McGrath <roland@hack.frob.com>
11452
11453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11454 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11455 __getdirentries.
11456
df381762
JM
114572012-10-25 Joseph Myers <joseph@codesourcery.com>
11458 Jim Blandy <jimb@codesourcery.com>
11459
11460 * scripts/cross-test-ssh.sh: New file.
11461 * manual/install.texi (Configuring and compiling): Document use of
11462 cross-test-ssh.sh.
11463 * INSTALL: Regenerated.
11464
bff64913
PT
114652012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11466
11467 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11468 EOPNOTSUPP.
11469
25fe8932
JM
114702012-10-25 Joseph Myers <joseph@codesourcery.com>
11471
11472 * Makeconfig (run-program-prefix): Fix comment.
11473
cc1290d0
JM
114742012-10-24 Joseph Myers <joseph@codesourcery.com>
11475 Jim Blandy <jimb@codesourcery.com>
11476
11477 * Makeconfig (test-wrapper): New variable,
11478 (test-wrapper-env): Likewise.
11479 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11480 (run-built-tests): Define to yes.
11481 (run-program-prefix): Use $(test-wrapper).
11482 (built-program-cmd): Likewise.
11483 * Rules (make-test-out): Use $(test-wrapper-env) and
11484 $(host-built-program-cmd).
11485 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11486 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11487 tst-pathopt.sh.
11488 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11489 $(test-wrapper-env) to tst-rtld-load-self.sh.
11490 ($(objpfx)order2.out): Use $(test-wrapper).
11491 ($(objpfx)tst-initorder.out): Likewise.
11492 ($(objpfx)tst-initorder2.out): Likewise.
11493 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11494 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11495 (test_wrapper_env): New variable. Use it to run ld.so.
11496 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11497 Use it to run ld.so.
11498 (test_wrapper_env): Likewise.
11499 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11500 $(test-wrapper) to run-iconv-test.sh.
11501 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11502 (ICONV): Use $test_wrapper.
11503 * posix/Makefile ($(objpfx)globtest.out): Pass
11504 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11505 globtest.sh, not $(run-program-prefix).
11506 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11507 (test_wrapper): Likewise.
11508 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11509 set together with run_via_rtld_prefix.
11510 (run_program_prefix): Define in terms of test_wrapper and
11511 run_via_rtld_prefix.
11512
6e6249d0
RM
115132012-10-24 Roland McGrath <roland@hack.frob.com>
11514
11515 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11516 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11517 Targets removed.
11518
11519 [BZ #14743]
11520 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11521 Declare __clock_getres, __clock_gettime, __clock_settime,
11522 __clock_nanosleep, and __clock_getcpuclockid.
11523 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11524 Remove librt_hidden_def (clock_gettime).
11525 * sysdeps/unix/clock_gettime.c: Likewise.
11526 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11528 * rt/clock_getres.c: Define __clock_getres as an alias.
11529 * sysdeps/posix/clock_getres.c: Likewise.
11530 * rt/clock_settime.c: Define __clock_settime as an alias.
11531 * sysdeps/unix/clock_settime.c: Likewise.
11532 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11533 * sysdeps/unix/clock_nanosleep.c: Likewise.
11534 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11535 * rt/clock-compat.c: New file.
11536 * rt/Makefile (librt-routines): Add clock-compat and move
11537 $(clock-routines) to ...
11538 (routines): ... here, new variable.
11539 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11540 Don't add get_clockfreq here.
11541 * rt/Versions (libc: GLIBC_2.17): New version set.
11542 Add clock_* symbols here.
11543 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11545 (GLIBC_2.17): Add clock_* symbols.
11546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11550 Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11552 Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11557 * NEWS: Mention the move.
11558
11559 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11560 Use __open, __read, __close rather than their public counterparts.
11561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11562 (__get_clockfreq_via_cpuinfo): Likewise.
11563 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11564 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11565
11566 * config.h.in (HAVE_IFUNC): New #undef.
11567 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11568 was successful.
11569 * configure: Regenerated.
11570
0cae3f4b
MF
115712012-10-24 Mike Frysinger <vapier@gentoo.org>
11572
11573 * configure.in: Move READELF check to start of file.
11574 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11575 libc_cv_asm_gnu_indirect_function in the process.
11576 * configure: Regenerated.
11577
8175a253
MF
115782012-10-24 Mike Frysinger <vapier@gentoo.org>
11579
11580 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11581 send the output to /dev/null.
11582 (libc_cv_cc_with_libunwind): Likewise.
11583 (libc_cv_as_noexecstack): Likewise.
11584 * configure: Regenerate.
11585
0708a7d1
JM
115862012-10-24 Joseph Myers <joseph@codesourcery.com>
11587
10b40d85
JM
11588 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11589
0708a7d1
JM
11590 * posix/globtest.sh (TMPDIR): Do not set.
11591 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11592 (testout): Likewise.
11593
9fddec1a
AJ
115942012-10-24 Andreas Jaeger <aj@suse.de>
11595
3a8db22f
AJ
11596 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11597 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11598 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11599 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11600 posix_fadvise64, posix_fallocate64.
11601
9fddec1a
AJ
11602 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11603 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11604 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11605 Likewise.
11606 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11607 Likewise.
11608 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11609
11610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11611 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11612 <bits/fcntl-linux.h>.
11613 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11614
11615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11616 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11617 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11618 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11619 [__WORDSIZE != 64]: Likewise.
11620
ebfd1bbd
JM
116212012-10-23 Joseph Myers <joseph@codesourcery.com>
11622
03ac099f
JM
11623 * Makeconfig (run-built-tests): New variable.
11624 * Rules [$(cross-compiling) = yes]: Change condition to
11625 [$(run-built-tests) = no].
11626 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11627 to [$(run-built-tests) = yes].
11628 * elf/Makefile [$(cross-compiling) = no]: Likewise
11629 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11630 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11631 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11632 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11633 * io/Makefile [$(cross-compiling) = no]: Likewise.
11634 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11635 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11636 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11637 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11638 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11639 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11640 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11641 * string/Makefile [$(cross-compiling) = no]: Likewise.
11642
ebfd1bbd
JM
11643 * posix/Makefile ($(objpfx)globtest.out): Pass
11644 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11645 $(rtld-installed-name).
11646 * posix/globtest.sh (elf_objpfx): Remove variable.
11647 (rtld_installed_name): Likewise.
11648 (library_path): Likewise.
11649 (run_program_prefix): New variable. Use for running globtest
11650 binary.
11651
166bca24
JB
116522012-10-23 Jim Blandy <jimb@codesourcery.com>
11653 Joseph Myers <joseph@codesourcery.com>
11654
11655 * Makeconfig (host-built-program-cmd): New variable.
11656 * elf/Makefile (tst-stackguard1-ARGS): Use
11657 $(host-built-program-cmd).
11658 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11659 (tst-spawn-ARGS): Likewise.
11660 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11661
88866099
JM
116622012-10-23 Joseph Myers <joseph@codesourcery.com>
11663 Jim Blandy <jimb@codesourcery.com>
11664
11665 * Makeconfig (run-via-rtld-prefix): New variable.
11666 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11667 (built-program-cmd): Likewise.
11668
b4b4c296
AJ
116692012-10-22 Andreas Jaeger <aj@suse.de>
11670
11671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11672 __O_RSYNC if it exists, otherwise to O_SYNC.
11673
6fb54a22
JB
116742012-10-22 Jim Blandy <jimb@codesourcery.com>
11675 Joseph Myers <joseph@codesourcery.com>
11676
11677 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11678 /dev/null.
11679 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11680 from /dev/null
11681 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11682 /dev/null.
11683
481b90b9
AJ
116842012-10-22 Andreas Jaeger <aj@suse.de>
11685
2a0e2669
AJ
11686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11687 Define always.
11688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11689
76e38f9a
AJ
11690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11691 bits/fcntl-linux.h.
11692
7cd37b43
AJ
11693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11694 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11695
481b90b9
AJ
11696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11697 to __O_LARGEFILE.
11698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11699 to __O_LARGEFILE.
11700
aba75984
JB
117012012-10-21 Jim Blandy <jimb@codesourcery.com>
11702 Joseph Myers <joseph@codesourcery.com>
11703
11704 * config.make.in (NM): New variable.
11705
88d4247f
AJ
117062012-10-21 Andreas Jaeger <aj@suse.de>
11707
11708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11709 definitions and declarations that are provided by
11710 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11711
f2eed205
L
117122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 [BZ #14683]
11715 * elf/Makefile (tests-static): Add tst-leaks1-static.
11716 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11717 ($(objpfx)tst-leaks1-static): New rule.
11718 ($(objpfx)tst-leaks1-static-mem): Likewise.
11719 (tst-leaks1-static-ENV): New macro.
11720 * elf/dl-open.c (dl_open_worker): Check the main application
11721 only if SHARED is defined.
11722 * elf/tst-leaks1-static.c: New file.
11723
335e6931
AJ
117242012-10-20 Andreas Jaeger <aj@suse.de>
11725
11726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11727 generic values for Linux.
11728 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11729 and declarations that are provided by <bits/fcntl-linux.h> and
11730 include <bits/fcntl-linux.h>.
11731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11733
ac5c94d3
RM
117342012-10-20 Roland McGrath <roland@hack.frob.com>
11735
11736 * io/fcntl.h: Move include of <bits/types.h> to the top and
11737 include it unconditionally.
11738
de54b33a
L
117392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11740
228cfb01
L
11741 * wcsmbs/Makefile (tests-ifunc): New variable.
11742 (tests): Add $(tests-ifunc).
11743 * wcsmbs/test-wcschr-ifunc.c: New file.
11744 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11745 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11746 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11747 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11748 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11749
69f07e5f
L
11750 * string/Makefile (tests-ifunc): New variable.
11751 (tests): Add $(tests-ifunc).
11752 * string/test-memccpy.c (TEST_NAME): New macro.
11753 * string/test-memchr.c (TEST_NAME): Likewise.
11754 * string/test-memcmp.c (TEST_NAME): Likewise.
11755 * string/test-memcpy.c (TEST_NAME): Likewise.
11756 * string/test-memmem.c (TEST_NAME): Likewise.
11757 * string/test-memmove.c (TEST_NAME): Likewise.
11758 * string/test-memset.c (TEST_NAME): Likewise.
11759 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11760 * string/test-stpcpy.c (TEST_NAME): Likewise.
11761 * string/test-stpncpy.c (TEST_NAME): Likewise.
11762 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11763 * string/test-strcasestr.c (TEST_NAME): Likewise.
11764 * string/test-strcat.c (TEST_NAME): Likewise.
11765 * string/test-strchr.c (TEST_NAME): Likewise.
11766 * string/test-strcmp.c(TEST_NAME): Likewise.
11767 * string/test-strcpy.c (TEST_NAME): Likewise.
11768 * string/test-strcspn.c (TEST_NAME): Likewise.
11769 * string/test-strlen.c (TEST_NAME): Likewise.
11770 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11771 * string/test-strncmp.c (TEST_NAME): Likewise.
11772 * string/test-strncpy.c (TEST_NAME): Likewise.
11773 * string/test-strnlen.c (TEST_NAME): Likewise.
11774 * string/test-strpbrk.c (TEST_NAME): Likewise.
11775 * string/test-strrchr.c (TEST_NAME): Likewise.
11776 * string/test-strspn.c (TEST_NAME): Likewise.
11777 * string/test-strstr.c (TEST_NAME): Likewise.
11778 * string/test-bcopy-ifunc.c: New file.
11779 * string/test-bzero-ifunc.c: Likewise.
11780 * string/test-memccpy-ifunc.c: Likewise.
11781 * string/test-memchr-ifunc.c: Likewise.
11782 * string/test-memcmp-ifunc.c: Likewise.
11783 * string/test-memcpy-ifunc.c: Likewise.
11784 * string/test-memmem-ifunc.c: Likewise.
11785 * string/test-memmove-ifunc.c: Likewise.
11786 * string/test-mempcpy-ifunc.c: Likewise.
11787 * string/test-memset-ifunc.c: Likewise.
11788 * string/test-rawmemchr-ifunc.c: Likewise.
11789 * string/test-stpcpy-ifunc.c: Likewise.
11790 * string/test-stpncpy-ifunc.c: Likewise.
11791 * string/test-strcasecmp-ifunc.c: Likewise.
11792 * string/test-strcasestr-ifunc.c: Likewise.
11793 * string/test-strcat-ifunc.c: Likewise.
11794 * string/test-strchr-ifunc.c: Likewise.
11795 * string/test-strchrnul-ifunc.c: Likewise.
11796 * string/test-strcmp-ifunc.c: Likewise.
11797 * string/test-strcpy-ifunc.c: Likewise.
11798 * string/test-strcspn-ifunc.c: Likewise.
11799 * string/test-strlen-ifunc.c: Likewise.
11800 * string/test-strncasecmp-ifunc.c: Likewise.
11801 * string/test-strncat-ifunc.c: Likewise.
11802 * string/test-strncmp-ifunc.c: Likewise.
11803 * string/test-strncpy-ifunc.c: Likewise.
11804 * string/test-strnlen-ifunc.c: Likewise.
11805 * string/test-strpbrk-ifunc.c: Likewise.
11806 * string/test-strrchr-ifunc.c: Likewise.
11807 * string/test-strspn-ifunc.c: Likewise.
11808 * string/test-strstr-ifunc.c: Likewise.
11809
de54b33a
L
11810 * debug/Makefile (tests-ifunc): New variable.
11811 (tests): Add $(tests-ifunc).
11812 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11813 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11814 * debug/test-stpcpy_chk-ifunc.c: New file.
11815 * debug/test-strcpy_chk-ifunc.c: Likewise.
11816
88481c16
SP
118172012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11818
11819 [BZ #13601]
11820 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11821 header is not read in.
11822
135948bd
JM
118232012-10-19 Joseph Myers <joseph@codesourcery.com>
11824
89f1c388
JM
11825 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11826 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11827 directly. Pass built executable to script as
11828 $(built-program-cmd).
11829 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11830 $testprogram without using LD_LIBRARY_PATH and $ldso.
11831
e40a0d21
JM
11832 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11833 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11834 $(rtld-installed-name).
11835 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11836 (rtld_installed_name): Likewise.
11837 (library_path): Likewise.
11838 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11839 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11840 $(run-program-prefix) to tst-tables.sh.
11841 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11842 it to run tst-table-from and tst-table-to.
11843 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11844 Pass it to tst-table.sh.
11845 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11846 $(run-program-prefix) to tst-gettext.sh.
11847 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11848 tst-translit.sh.
11849 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11850 tst-gettext2.sh.
11851 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11852 to run tst-gettext.
11853 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11854 to run tst-gettext2.
11855 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11856 to run tst-translit.
11857 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11858 $(run-program-prefix) to tst-mtrace.sh.
11859 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11860 to run tst-mtrace.
11861 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11862 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11863 $(rtld-installed-name).
11864 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11865 (rtld_installed_name): Likewise.
11866 (run_program_prefix): New variable. Use it to run wordexp-test.
11867
728e272a
JM
11868 * Makeconfig (ARCH): Remove all definitions.
11869 (machine): Likewise.
11870 [ARCH]: Remove conditional code.
11871 [!objdir]: Give error.
11872 [!objdir] (objpfx): Remove.
11873 [!objdir] (common-objpfx): Likewise.
11874 [!objdir] (common-objdir): Likewise.
11875 * configure.in (config_makefile): Remove. Hardcode Makefile in
11876 AC_CONFIG_FILES call.
11877 * configure: Regenerated.
11878
d528cdcf
JM
11879 [BZ #13888]
11880 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11881 or TMPDIR.
11882 (testout): Likewise.
11883
135948bd
JM
11884 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11885 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11886 $(rtld-installed-name).
11887 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11888 (rtld_installed_name): Likwise.
11889 (runit): Remove function.
11890 (run_getconf): New variable, Use it for running getconf binary.
11891
38c78296
L
118922012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11893
11894 [BZ #14716]
11895 * string/test-memmem.c (check_result): New function.
11896 (do_one_test): Use it.
11897 (check1): New function.
11898 (test_main): Use it.
11899
d077f65f
MT
119002012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11901
11902 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11903
ced52c71
JM
119042012-10-18 Joseph Myers <joseph@codesourcery.com>
11905
11906 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11907 (_G_LSEEK64): Likewise.
11908 (_G_MMAP64): Likewise.
11909 (_G_FSTAT64): Likewise.
11910 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11911 (_G_LSEEK64): Likewise.
11912 (_G_MMAP64): Likewise.
11913 (_G_FSTAT64): Likewise.
11914 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11915 unconditional. Call __mmap64 directly.
11916 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11917 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11918 __lseek64 directly.
11919 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11920 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11921 __mmap64 directly.
11922 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11923 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11924 __lseek64 directly.
11925 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11926 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11927 __lseek64 directly.
11928 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11929 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11930 __lseek64 directly.
11931 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11932 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11933 __fxstat64 directly.
11934 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11935 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11936 unconditional.
11937 (freopen64) [!_G_OPEN64]: Remove conditional code.
11938 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11939 unconditional.
11940 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11941 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11942 unconditional.
11943 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11944 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11945 unconditional.
11946 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11947 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11948 unconditional.
11949 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11950 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11951 unconditional.
11952 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11953 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11954 unconditional.
11955 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11956 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11957 unconditional.
11958 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11959
b741de23
SP
119602012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11961
11962 [BZ #12140]
11963 * manual/memory.texi (Malloc Tunable Parameters): Add note
11964 about free list pointers overwriting some perturb bytes.
11965 Wording suggested by Roland McGrath.
11966
f9b9d9c9
JM
119672012-10-17 Joseph Myers <joseph@codesourcery.com>
11968
11969 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11970 (lgamma_test): Likewise.
11971 (tgamma_test): Likewise.
11972
172a631a
FW
119732012-10-16 Florian Weimer <fweimer@redhat.com>
11974
11975 [BZ #14700]
11976 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11977 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11978
e9f37252
MK
119792012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11980
11981 * NEWS: Mention BZ #14716.
11982 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11983 when removing AVAILABLE1_USES_J macro.
11984
d394eb74
L
119852012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11986
11987 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11988 (__bswap_64): __uint64_t for unsigned 64-bit int.
11989
ca38dc17
AS
119902012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11991
11992 * include/string.h (memmem): Declare libc hidden alias.
11993 * string/memmem.c (memmem): Define libc hidden alias.
11994 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11995 __read, __close instead of open, read, close.
11996
9a387d1f
L
119972012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11998
ac49ecaf
L
11999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12000 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12001 global and hidden.
12002 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12003 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12004 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12005 Likewise.
12006 (__rawmemchr_sse2): Likewise.
12007 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12008 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12009 (__strchr_sse2): Likewise.
12010 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12011 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12012 (__strcasecmp_sse2): Likewise.
12013 (__strncasecmp_sse2): Likewise.
12014 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12015 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12016 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12017 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12018 (__strrchr_sse2): Likewise.
12019 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12020 ifunc-impl-list.c.
12021 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12022 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12023 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12024 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12025 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12027 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12028 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12029 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12030 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12031 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12033 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12034 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12035 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12036 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12037 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12038 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12039 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12040 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12041 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12042 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12043 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12044 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12045 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12046 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12047 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12048 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12049 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12050 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12051
b090e8ea
L
12052 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12053 global and hidden.
12054 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12055 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12056 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12057 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12058 Likewise.
12059 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12060 Likewise.
12061 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12062 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12063 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12064 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12065 ifunc-impl-list.c.
12066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12069 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12072 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12073 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12074 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12075 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12076 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12077 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12078 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12079 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12080 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12081 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12082 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12084 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12086 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12087 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12088 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12089 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12090 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12091 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12092 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12093 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12094 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12095 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12096 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12099 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12100 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12107
11dd4af6
L
12108 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12109 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12110 * include/ifunc-impl-list.h: New file.
12111 * misc/ifunc-impl-list.c: Likewise.
12112 * misc/Makefile (routines): Add ifunc-impl-list.
12113 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12114 * string/test-string.h: Include <ifunc-impl-list.h>.
12115 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12116 impl_array): New variables.
12117 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12118 are defined.
12119 (test_init): Call __libc_ifunc_impl_list to initialize
12120 func_list if TEST_IFUNC and TEST_NAME are defined.
12121
9a387d1f
L
12122 * string/Makefile (strop-tests): Add bcopy and bzero.
12123 * string/test-bcopy.c: New file.
12124 * string/test-bzero.c: Likewise.
12125 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12126 defined.
12127 * string/test-memset.c: Support bzero test if TEST_BZERO is
12128 defined.
12129 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12130 __libc_memmove.
12131 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12132 __libc_memset.
12133 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12134 of memset.
12135
472371b9
JM
121362012-10-10 Joseph Myers <joseph@codesourcery.com>
12137
1e4a9536
JM
12138 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12139 * configure: Regenerated.
12140
d173d12e
JM
12141 * Makeconfig (+link-static-before-libc): Don't include
12142 $(link-static-libc).
12143
472371b9
JM
12144 * libio/libio.h (_IO_pos_t): Remove.
12145
89a3ad0b
AO
121462012-10-10 Alexandre Oliva <aoliva@redhat.com>
12147
12148 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12149 McGrath.
12150
e7451425
AO
121512012-10-10 Alexandre Oliva <aoliva@redhat.com>
12152
12153 * crypt/crypt-entry.c: Include fips-private.h.
12154 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12155 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12156 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12157 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12158
4ba74a35
AO
121592012-10-10 Alexandre Oliva <aoliva@redhat.com>
12160
12161 * crypt/crypt-private.h: Include stdbool.h.
12162 (_ufc_setup_salt_r): Return bool.
12163 * crypt/crypt-entry.c: Include errno.h.
12164 (__crypt_r): Return NULL with EINVAL for bad salt.
12165 * crypt/crypt_util.c (bad_for_salt): New.
12166 (_ufc_setup_salt_r): Check that salt is long enough and within
12167 the specified alphabet.
12168 * crypt/badsalttest.c: New file.
12169 * crypt/Makefile (tests): Add it.
12170 ($(objpfx)badsalttest): New.
12171
f96f1242
MK
121722012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12173
12174 * NEWS: Add entry for BZ #14602.
12175
0e8e0c1c
JM
121762012-10-09 Joseph Myers <joseph@codesourcery.com>
12177
12178 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12179 type-generic.
12180 * math/libm-test.inc: Update comment listing what functions and
12181 macros are tested.
12182 (isgreater_test): New function.
12183 (isgreaterequal_test): Likewise.
12184 (isless_test): Likewise.
12185 (islessequal_test): Likewise.
12186 (islessgreater_test): Likewise.
12187 (isunordered_test): Likewise.
12188 (main): Call the new functions.
12189
273edc5e
RM
121902012-10-09 Roland McGrath <roland@hack.frob.com>
12191
b8493de0
RM
12192 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12193 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12194 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12195 * sysdeps/i386/configure: Regenerated.
12196 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12197 * sysdeps/mach/configure: Regenerated.
12198 * sysdeps/mach/hurd/configure: Regenerated.
12199 * sysdeps/powerpc/configure: Regenerated.
12200 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12201 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12202 * sysdeps/s390/s390-32/configure: Regenerated.
12203 * sysdeps/s390/s390-64/configure: Regenerated.
12204 * sysdeps/sh/configure: Regenerated.
12205 * sysdeps/sparc/configure: Regenerated.
12206 * sysdeps/unix/sysv/linux/configure: Regenerated.
12207 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12208 * sysdeps/x86_64/configure: Regenerated.
12209
273edc5e
RM
12210 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12211 defined. Don't check if MAP is NULL.
12212
c8450f70
JM
122132012-10-09 Joseph Myers <joseph@codesourcery.com>
12214
12215 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12216 (_G_stat64): Likewise.
12217 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12218 (_G_stat64): Likewise.
12219 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12220 instead of struct _G_stat64.
12221 * libio/fileops.c (mmap_remap_check): Likewise.
12222 (decide_maybe_mmap): Likewise.
12223 (_IO_new_file_seekoff): Likewise.
12224 (_IO_file_stat): Likewise.
12225 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12226 _G_off64_t.
12227 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12228 instead of struct _G_stat64.
12229 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12230
57e605ba
MK
122312012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12232
12233 [BZ #14602]
12234 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12235 Replace with ...
12236 (CHECK_EOL): New macro.
12237 (two_way_short_needle): Check beginning of haystack for EOL. Use
12238 CHECK_EOL.
12239 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12240 Replace with CHECK_EOL.
12241 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12242 Replace with CHECK_EOL.
12243
ef1bb361
JM
122442012-10-08 Joseph Myers <joseph@codesourcery.com>
12245
12246 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12247 type-generic.
12248 * math/libm-test.inc: Update comment listing what functions and
12249 macros are tested.
12250 (finite_test): New function.
12251 (isinf_test): Likewise.
12252 (isnan_test): Likewise.
12253 (fpclassify_test): Test subnormal input.
12254 (isfinite_test): Likewise.
12255 (isnormal_test): Likewise.
12256 (main): Call the new functions.
12257
55f11534
JN
122582012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12259
12260 [BZ #14660]
12261 * Makerules (%.dynsym): Force C locale when running
12262 $(OBJDUMP) --dynamic-syms.
12263
1ab29350
AS
122642012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12265
12266 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12267 <stdint.h>.
12268
f1ecb7ef
DM
122692012-10-06 David S. Miller <davem@davemloft.net>
12270
12271 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12272 upper 32-bits of the length value in %o2 since we use branch-on-register
12273 tests which consider the entire 64-bit register.
12274
5d41d91a
L
122752012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12276
12277 * string/test-strstr.c (check2): Add a test for page boundary.
12278
3baddb72
DM
122792012-10-05 David S. Miller <davem@davemloft.net>
12280
12281 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12282 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12283 file.
12284 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12285 sysdep_routines.
12286 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12287 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12288 and bzero when HWCAP_SPARC_CRYPTO is present.
12289
9cee5585
L
122902012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12291
d7e0dab9
L
12292 [BZ #14602]
12293 * string/test-strstr.c (check2): New function.
12294 (test_main): Call check2.
12295
03759f47
L
12296 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12297 and bug-strchr1.
12298 * string/bug-strcasestr1.c (do_test): Moved to ...
12299 * string/test-strcasestr.c (check1): Here. New function.
12300 (do_one_test): Break out result checking code into ...
12301 (check_result): This. New function.
12302 (do_one_test): Call check_result.
12303 (test_main): Call check1.
12304 * string/bug-strchr1.c (do_test): Moved to ...
12305 * string/test-strchr.c (check1): Here. New function.
12306 (do_one_test): Break out result checking code into ...
12307 (check_result): This. New function.
12308 (do_one_test): Call check_result.
12309 (test_main): Call check1.
12310 * string/bug-strstr1.c (main): Moved to ...
046f153e 12311 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12312 (do_one_test): Break out result checking code into ...
12313 (check_result): This. New function.
12314 (do_one_test): Call check_result.
12315 (test_main): Call check1.
12316 * string/bug-strcasestr1.c: Removed.
12317 * string/bug-strchr1.c: Likewise.
12318 * string/bug-strstr1.c: Likewise.
12319
53cea63e
L
12320 * elf/Makefile (dl-routines): Add hwcaps.
12321 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12322 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12323 (_dl_important_hwcaps): Moved to ...
12324 * elf/dl-hwcaps.c: Here. New file.
12325 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12326
9cee5585 12327 [BZ #14557]
bb859b06
L
12328 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12329 if IS_IN_rtld isn't defined.
12330
9cee5585
L
12331 * elf/dl-support.c (_dl_sysinfo_map): New.
12332 Include "get-dynamic-info.h" and "setup-vdso.h".
12333 (_dl_non_dynamic_init): Call setup_vdso.
12334 * elf/dynamic-link.h: Don't include <assert.h>.
12335 (elf_get_dynamic_info): Moved to ...
12336 * elf/get-dynamic-info.h: Here. New file.
12337 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12338 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12339 * elf/setup-vdso.h: Here. New file.
12340 * elf/rtld.c: Include "setup-vdso.h".
12341 (dl_main): Call setup_vdso.
12342
23c31b76
JM
123432012-10-05 Joseph Myers <joseph@codesourcery.com>
12344
28234b07
JM
12345 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12346 creal in comment listing functions tested. List finite, isinf,
12347 isnan, isless, islessequal, isgreater, isgreaterequal,
12348 islessgreater, isunordered, lgamma_r and pow10 as functions and
12349 macros not tested. Mention which functions not tested are aliases
12350 for other functions. Fix typo. Note that signs of NaNs are not
12351 tested.
12352
23c31b76
JM
12353 * scripts/config.guess: Update from config.git.
12354 * scripts/config.sub: Likewise.
12355
9043e228
RM
123562012-10-04 Roland McGrath <roland@hack.frob.com>
12357
12358 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12359 * misc/madvise.c (madvise): Renamed to __madvise.
12360 Make madvise a weak alias.
12361 * include/sys/mman.h: Declare __madvise.
12362 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12363 * sysdeps/unix/syscalls.list
12364 (madvise): Make __madvise the strong name, and madvise a weak alias.
12365 * sysdeps/unix/sysv/linux/syscalls.list
12366 (madvise, mmap): Remove redundant entries.
12367 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12368 * malloc/malloc.c (mtrim): Likewise.
12369 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12370
f57f8055
RM
123712012-10-03 Roland McGrath <roland@hack.frob.com>
12372
12373 * sysdeps/mach/hurd/dl-cache.c: File removed.
12374 * config.h.in (USE_LDCONFIG): New #undef.
12375 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12376 * configure: Regenerated.
12377 * elf/Makefile (dl-routines): Add dl-cache only under
12378 [$(use-ldconfig) = yes].
12379 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12380 cache on [USE_LDCONFIG].
12381 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12382 [USE_LDCONFIG].
12383 * elf/rtld.c (dl_main): Likewise.
12384
5bb0c10a
PT
123852012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12386
12387 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12388 _SC_LEVEL4_CACHE_LINESIZE.
12389
010188c6
RM
123902012-10-03 Roland McGrath <roland@hack.frob.com>
12391
12392 * sysdeps/unix/bsd/confstr.h: File removed.
12393
b6c5ec07
AO
123942012-10-02 Alexandre Oliva <aoliva@redhat.com>
12395
12396 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12397 sys/sdt-config.h.
12398
408223d4
RM
123992012-10-02 Roland McGrath <roland@hack.frob.com>
12400
12401 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12402 Make 'mapoff' field ElfW(Off) rather than off_t.
12403
bb9510dc
DL
124042012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12405
fc997c6e
DL
12406 * nscd/Makefile: Remove nscd-cflags and all its users.
12407 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12408 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12409
bb9510dc
DL
12410 [BZ #10631]
12411 * malloc.c (malloc_printerr): Clarify error message.
12412
05699367
L
124132012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12414
12415 [BZ #14648]
12416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12417 Set bit_FMA_Usable if FMA is supported.
12418 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12419 macro.
12420 (bit_FMA4_Usable): Updated.
12421 (index_FMA_Usable): New macro.
12422 (CPUID_FMA): Likewise
12423 (HAS_FMA): Defined with bit_FMA_Usable.
12424
51367701
RM
124252012-10-01 Roland McGrath <roland@hack.frob.com>
12426
12427 * bits/types.h (__swblk_t): Type removed.
12428 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12429 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12431 (__SWBLK_T_TYPE): Likewise.
12432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12433 (__SWBLK_T_TYPE): Likewise.
12434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12435 (__SWBLK_T_TYPE): Likewise.
12436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12437 (__SWBLK_T_TYPE): Likewise.
12438
4d57bf63 124392012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12440 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12441
12442 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12443 (xdr_mapname): Use YPMAXMAP as maxsize.
12444 (xdr_peername): Use YPMAXPEER as maxsize.
12445 (xdr_keydat): Use YPAXRECORD as maxsize.
12446 (xdr_valdat): Use YPMAXRECORD as maxsize.
12447
93c65d43
RM
124482012-10-01 Roland McGrath <roland@hack.frob.com>
12449
497a03d6
RM
12450 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12451
93c65d43
RM
12452 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12453 * csu/init-first.c: ... here.
12454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12455 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12456 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12458 * sysdeps/i386/init-first.c: File removed.
12459 * sysdeps/sh/init-first.c: File removed.
12460
bec749fd
JM
124612012-10-01 Joseph Myers <joseph@codesourcery.com>
12462
12463 [BZ #14645]
12464 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12465 if x * y might underflow to zero and z is zero.
12466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12468 * math/libm-test.inc (min_subnorm_value): New variable.
12469 (fma_test): Add more tests.
12470 (fma_test_towardzero): Likewise.
12471 (fma_test_downward): Likewise
12472 (fma_test_upward): Likewise.
12473 (initialize): Set min_subnorm_value.
12474
8ec5b013
JM
124752012-09-29 Joseph Myers <joseph@codesourcery.com>
12476
12477 [BZ #14638]
12478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12479 0 + 0.
12480 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12481 mode for addition resulting in exact zero.
12482 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12484 exact 0 + 0.
12485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12487 * math/libm-test.inc (fma_test): Add more tests.
12488 (fma_test_towardzero): New function.
12489 (fma_test_downward): Likewise.
12490 (fma_test_upward): Likewise.
12491 (main): Call the new functions.
12492
b1fa802e
DM
124932012-09-28 David S. Miller <davem@davemloft.net>
12494
12495 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12496
d3b9fd9e
RM
124972012-09-28 Roland McGrath <roland@hack.frob.com>
12498
ea4d37b3
RM
12499 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12500 instead of SIGALRM.
12501
ac51c949
RM
12502 * sysdeps/gnu/_G_config.h: Moved to ...
12503 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12504 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12505 * sysdeps/generic/_G_config.h: ... here.
12506
28c195f7
RM
12507 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12508
848917f9
RM
12509 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12510
6bacf05b
RM
12511 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12512 Conditionalize target on [libnss_test1.so-version].
12513
91363dbb
RM
12514 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12515
cc87f7d8
RM
12516 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12517 (elfobjdir): Move out of conditionals.
12518
b1c608fe
RM
12519 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12520 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12521 (__nss_lookup_function): Conditionalize label remove_from_tree on
12522 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12523
1d9a6d96
DM
125242012-09-28 David S. Miller <davem@davemloft.net>
12525
12526 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12528 file.
12529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12530 sysdep_routines.
12531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12532 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12533 when HWCAP_SPARC_CRYPTO is present.
12534
72581615
PT
125352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12536
12537 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12538
715a900c
JL
125392012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12540
12541 [BZ #6530]
12542 * stdio-common/vfprintf.c (process_string_arg): Revert
12543 2000-07-22 change.
12544
125452011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12546
12547 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12548 for testcase.
12549 * stdio-common/tst-sprintf.c: Include <locale.h>
12550 (main): Test sprintf's handling of incomplete multibyte
12551 characters.
12552
9bac1d86
L
125532012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * elf/dl-runtime.c (VERSYMIDX): Removed.
12556 * elf/dl-version.c (VERSYMIDX): Likewise.
12557 * elf/do-rel.h (VERSYMIDX): Likewise.
12558 (VALIDX): Likewise.
12559 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12560 * elf/rtld.c (VALIDX): Likewise.
12561 (ADDRIDX): Likewise.
9bac1d86
L
12562 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12563 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12564 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12565 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12566 (VALIDX): Likewise.
12567 (ADDRIDX): Likewise.
9bac1d86 12568
b31606c0
PT
125692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12570
12571 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12572
11541177
JL
125732012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12574
12575 [BZ #11438]
12576 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12577 to global scope.
12578 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12579 addresses are in the same scope as 192.0.2/24.
12580 * posix/gai.conf: Document new scope table defaults.
12581
adb26fae
SP
125822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 [BZ #5298]
12585 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12586 for ftell. Compute offsets from write pointers instead.
12587 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12588
4573c6b0
SP
125892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12590
12591 [BZ #14543]
12592 * libio/Makefile (tests): New test case tst-fseek.
12593 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12594 combination works in wide mode.
12595 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12596 state when the external buffer state changes.
12597
aa9bbfe6
DM
125982012-09-27 David S. Miller <davem@davemloft.net>
12599
12600 [BZ #14376]
12601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12602 pass reloc->r_addend in as the 'high' argument to
12603 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12604
784421e7
DM
12605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12606
c39bc8b8
PT
126072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12608
12609 * rt/tst-aio2.c: Include <pthread.h>.
12610 * rt/tst-aio3.c: Likewise.
12611
1ccc2399
SE
126122012-09-27 Steve Ellcey <sellcey@mips.com>
12613
12614 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12615
31ed4153
L
126162012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12617
25f5f885
L
12618 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12619 contents on [SHARED].
31ed4153 12620
b7bfe116
MP
126212012-09-26 Marek Polacek <polacek@redhat.com>
12622
12623 [BZ #14530]
12624 [BZ #13741]
12625 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12626 for C++ and GCC <4.3 as well as for non GCC compilers.
12627
43c4edba
MT
126282012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12629
12630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12631
6a1bf82f
RM
126322012-09-25 Roland McGrath <roland@hack.frob.com>
12633
12634 * Makefile.in (all, install): Declare with .PHONY.
12635 Reported by Michael Hope <michael.hope@linaro.org>.
12636
8ad11b9a
TMQMF
126372012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12638
12639 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12640 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12641 system header.
12642 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12643 Likewise.
12644 (sydep_routines): Add the new and the internal functions.
12645 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12646 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12648 (GLIBC_2.17): Add the new function.
12649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12650 (GLIBC_2.17): Likewise.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12652 (GLIBC_2.17): Likewise.
12653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12654 (GLIBC_2.17): Likewise.
12655 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12656
7e2fca8d
AM
126572012-09-25 Alan Modra <amodra@gmail.com>
12658
12659 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12660 Add release barrier before setting once_control to say
12661 initialisation is done. Add hints on lwarx. Use macro in
12662 place of isync.
12663 (clear_once_control): Add release barrier.
12664
b87c4b24
JM
126652012-09-25 Joseph Myers <joseph@codesourcery.com>
12666
d032e0d2
JM
12667 [BZ #13629]
12668 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12669 specially.
12670 * math/s_clog10.c (__clog10): Likewise.
12671 * math/s_clog10f.c (__clog10f): Likewise.
12672 * math/s_clog10l.c (__clog10l): Likewise.
12673 * math/s_clogf.c (__clogf): Likewise.
12674 * math/s_clogl.c (__clogl): Likewise.
12675 * math/Makefile (libm-calls): Add x2y2m1.
12676 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12677 (__x2y2m1): Likewise.
12678 (__x2y2m1l): Likewise.
12679 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12680 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12683 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12685 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12686 * sysdeps/i386/fpu/libm-test-ulps: Update.
12687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12688
b87c4b24
JM
12689 [BZ #14621]
12690 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12691 int as type of variable DEPTH.
12692 (glob): Use size_t instead of int as type of variables NEWCOUNT
12693 and OLD_PATHC.
12694
6d3bf199
LD
126952012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12696
22bf5c17
LD
12697 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12698 Add s_sincosf-sse2.
12699 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12700 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12701 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12702 macros for using routine as __sincosf_ia32.
12703 Use macro for function declaration and weak_alias.
12704 * sysdeps/i386/fpu/libm-test-ulps: Update.
12705
12706 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12708
12709 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12710 subnormal argument.
12711 * math/s_cexpf.c (__cexpf): Likewise.
12712 * math/s_csinf.c (__csinf): Likewise.
12713 * math/s_csinhf.c (__csinhf): Likewise.
12714 * math/s_ctanf.c (__ctanf): Likewise.
12715 * math/s_ctanhf.c (__ctanhf): Likewise.
12716 * math/s_ccosh.c (__ccoshf): Likewise.
12717 * math/s_cexp.c (__cexpl): Likewise.
12718 * math/s_csin.c (__csin): Likewise.
12719 * math/s_csinh.c (__csinh): Likewise.
12720 * math/s_ctan.c (__ctan): Likewise.
12721 * math/s_ctanh.c (ctanh): Likewise.
12722 * math/s_ccoshl.c (__ccoshl): Likewise.
12723 * math/s_cexpl.c (__cexpl): Likewise.
12724 * math/s_csinl.c (__csinl): Likewise.
12725 * math/s_csinhl.c (__csinhl): Likewise.
12726 * math/s_ctanl.c (__ctanl): Likewise.
12727 * math/s_ctanhl.c (__ctanhl): Likewise.
12728
203e5603
JM
127292012-09-25 Joseph Myers <joseph@codesourcery.com>
12730
12731 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12732 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12733 (_IO_off_t): Define to __off_t, not _G_off_t.
12734 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12735 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12736 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12737 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12738 type of __dummy and __dummy2 fields.
12739 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12740 (_G_ssize_t): Likewise.
12741 (_G_off_t): Likewise.
12742 (_G_pid_t): Likewise.
12743 (_G_uid_t): Likewise.
12744 (_G_wchar_t): Likewise.
12745 (_G_wint_t): Likewise.
12746 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12747 (_G_ssize_t): Likewise.
12748 (_G_off_t): Likewise.
12749 (_G_pid_t): Likewise.
12750 (_G_uid_t): Likewise.
12751 (_G_wchar_t): Likewise.
12752 (_G_wint_t): Likewise.
12753 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12754 (_G_ssize_t): Likewise.
12755 (_G_off_t): Likewise.
12756 (_G_pid_t): Likewise.
12757 (_G_uid_t): Likewise.
12758 (_G_wchar_t): Likewise.
12759 (_G_wint_t): Likewise.
12760
9fab36eb
SP
127612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 * malloc/arena.c: Include malloc-sysdep.h.
12764 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12765 is sufficient to shrink the heap or an unmap is needed.
12766 * sysdeps/generic/malloc-sysdep.h: New file. Define
12767 new function check_may_shrink_heap.
12768 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12769 new function check_may_shrink_heap.
12770
2b4f00d1
SP
127712012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12772
12773 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12774 comments.
12775
9a9028b1
DL
127762012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12777
57c69bef
DL
12778 * catgets/test-gencat.sh: Add "set -e".
12779 * elf/tst-pathopt.sh: Likewise.
12780 * grp/tst_fgetgrent.sh: Likewise.
12781 * iconvdata/run-iconv-test.sh: Likewise.
12782 * intl/tst-gettext.sh: Likewise.
12783 * intl/tst-gettext2.sh: Likewise.
12784 * intl/tst-gettext4.sh: Likewise.
12785 * intl/tst-gettext6.sh: Likewise.
12786 * intl/tst-translit.sh: Likewise.
12787 * io/ftwtest-sh: Likewise.
12788 * libio/test-freopen.sh: Likewise.
12789 * malloc/tst-mtrace.sh: Likewise.
12790 * posix/globtest.sh: Likewise.
12791 * posix/tst-getconf.sh: Likewise.
12792 * posix/wordexp-tst.sh: Likewise.
12793 * stdio-common/tst-printf.sh: Likewise.
12794 * stdio-common/tst-unbputc.sh: Likewise.
12795 * stdlib/tst-fmtmsg.sh: Likewise.
12796 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12797 * catgets/Makefile: Do not specify -e option when running
12798 testsuite shell scripts.
12799 * elf/Makefile: Likewise.
12800 * grp/Makefile: Likewise.
12801 * iconvdata/Makefile: Likewise.
12802 * intl/Makefile: Likewise.
12803 * io/Makefile: Likewise.
12804 * libio/Makefile: Likewise.
12805 * malloc/Makefile: Likewise.
12806 * posix/Makefile: Likewise.
12807 * stdio-common/Makefile: Likewise.
12808 * stdlib/Makefile: Likewise.
12809 * sysdeps/x86_64/Makefile: Likewise.
12810
9a9028b1
DL
12811 * io/ftwtest-sh: Add copyright header.
12812 * posix/globtest.sh: Likewise.
12813 * posix/tst-getconf.sh: Likewise.
12814 * posix/wordexp-tst.sh: Likewise.
12815 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12816
ced6f16e
L
128172012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12818
94b32c39
L
12819 [BZ #13679]
12820 * Makeconfig (+link): Defined as $(+link-static) if
12821 $(build-shared) isn't yes.
12822 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12823 isn't yes.
12824 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12825
189e935b
L
12826 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12827
ced6f16e
L
12828 [BZ #14562]
12829 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12830 new chunk size with MALLOC_ALIGN_MASK.
12831
a9f8e53a
JM
128322012-09-24 Joseph Myers <joseph@codesourcery.com>
12833
12834 [BZ #5044]
12835 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12836 <rounding-mode.h>.
12837 (__printf_fphex): Determine rounding using get_rounding_mode and
12838 round_away.
12839 * stdio-common/tst-printf-round.c (struct hex_test): New
12840 structure.
12841 (hex_tests): New variable.
12842 (test_hex_in_one_mode): New function.
12843 (do_test): Also run tests for hex float output.
12844
43153109
JM
128452012-09-21 Joseph Myers <joseph@codesourcery.com>
12846
12847 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12849 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12850 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12851 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12852 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12853 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12854 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12855
8a26625d
JM
128562012-09-20 Joseph Myers <joseph@codesourcery.com>
12857
12858 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12859 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12860 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12861 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12862
f3fd569c
DL
128632012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12864
12865 [BZ #14579]
12866 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12867 mode only.
12868 * elf/tst-rtld-load-self.sh: New test.
12869 * elf/Makefile: Run it.
12870
63bbedd4
JM
128712012-09-18 Joseph Myers <joseph@codesourcery.com>
12872
12873 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12874 (tst-writev-ENV): Remove.
12875 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12876
626f8b6a
CM
128772012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12878
12879 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12880
b7aaa4d6
JM
128812012-09-17 Joseph Myers <joseph@codesourcery.com>
12882
12883 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12884 unconditional.
12885 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12886 Likewise.
12887 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12888 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12889 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12890 Likewise.
12891
65513990
L
128922012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 [BZ #14587]
12895 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12896 * config.make.in (have-cpp-asm-debuginfo): Removed.
12897 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12898 * configure: Regenerated.
12899
784761be
JM
129002012-09-14 Joseph Myers <joseph@codesourcery.com>
12901
12902 [BZ #5044]
12903 * stdio-common/printf_fp.c: Include <stdbool.h> and
12904 <rounding-mode.h>.
12905 (___printf_fp): Determine rounding using get_rounding_mode and
12906 round_away.
12907 * stdio-common/tst-printf-round.c: New file.
12908 * stdio-common/Makefile (tests): Add tst-printf-round.
12909 (link-libm): New variable.
12910 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12911
9503345f
L
129122012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 [BZ #14576]
12915 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12916 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12917 Likewise.
12918 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12919 Likewise.
12920
ad35fc00
JM
129212012-09-13 Joseph Myers <joseph@codesourcery.com>
12922
12923 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12924 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12925 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12926 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12927
6c9b0f68
JM
129282012-09-12 Joseph Myers <joseph@codesourcery.com>
12929
12930 [BZ #14518]
12931 * include/rounding-mode.h: New file.
12932 * sysdeps/generic/get-rounding-mode.h: Likewise.
12933 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12934 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12935 (MAX_VALUE): New macro.
12936 (MIN_VALUE): Likewise.
12937 (overflow_value): New function.
12938 (underflow_value): Likewise.
12939 (round_and_return): Use overflow_value and underflow_value to
12940 determine return values in overflow and underflow cases. Use
12941 round_away to determine rounding depending on rounding mode.
12942 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12943 determine return values in overflow and underflow cases.
12944 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12945 (struct test_results): New structure.
12946 (struct test): Use struct test_results to store expected results
12947 for all rounding modes.
12948 (TEST): Include expected results for all rounding modes.
12949 (test_in_one_mode): New function.
12950 (do_test): Use test_in_one_mode to compute and check results.
12951 Check results for all rounding modes.
12952 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12953 $(link-libm).
12954
19fcedd5
AM
129552012-12-09 Allan McRae <allan@archlinux.org>
12956
1e9d84cd 12957 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12958
8bbfd2f1
JM
129592012-09-11 Joseph Myers <joseph@codesourcery.com>
12960
12961 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12962 (_G_int32_t): Likewise.
12963 (_G_uint16_t): Likewise.
12964 (_G_uint32_t): Likewise.
12965 (_G_HAVE_BOOL): Likewise.
12966 (_G_HAVE_ATEXIT): Likewise.
12967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12968 (_G_HAVE_IO_FILE_OPEN): Likewise.
12969 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12970 (_G_int32_t): Likewise.
12971 (_G_uint16_t): Likewise.
12972 (_G_uint32_t): Likewise.
12973 (_G_HAVE_BOOL): Likewise.
12974 (_G_HAVE_ATEXIT): Likewise.
12975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12976 (_G_HAVE_IO_FILE_OPEN): Likewise.
12977 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12978 (_G_int32_t): Likewise.
12979 (_G_uint16_t): Likewise.
12980 (_G_uint32_t): Likewise.
12981 (_G_HAVE_BOOL): Likewise.
12982 (_G_HAVE_ATEXIT): Likewise.
12983 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12984 (_G_HAVE_IO_FILE_OPEN): Likewise.
12985
b1dc5912
L
129862012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12987
12988 * csu/libc-tls.c: Update copyright years.
12989
0e886ef9
JM
129902012-09-10 Joseph Myers <joseph@codesourcery.com>
12991
28361c5e
JM
12992 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12993 [!_G_USING_THUNKS]: Remove conditional code.
12994 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12995 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12996
0e886ef9
JM
12997 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12998 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12999 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13000 (_G_VTABLE_LABEL_PREFIX): Likewise.
13001 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13002 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13004 (_G_VTABLE_LABEL_PREFIX): Likewise.
13005 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13006 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13008 (_G_VTABLE_LABEL_PREFIX): Likewise.
13009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13010
bcba7aa2
L
130112012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 * libio/Makefile: Include ../Makeconfig before tests.
13014 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13015 only if $(build-shared) is yes.
13016
06585ee8
L
13017 * iconv/gconv_db.c: Update copyright years.
13018
80ccd52c
LD
130192012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13020
13021 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13022 unwind info if defined PIC. Fix special cases description.
13023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13024
13025 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13026 DP_HI_MASK entry.
13027 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13028
691bc9c1
L
130292012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13030
3d9b46b3
L
13031 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13032
de2139a9
L
13033 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13034 is NULL.
13035
5ca78dd0
L
13036 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13037 (LDLIBS-tst-chk4): This.
13038 (LDFLAGS-tst-chk5): Renamed to ...
13039 (LDLIBS-tst-chk5): This.
13040 (LDFLAGS-tst-chk6): Renamed to ...
13041 (LDLIBS-tst-chk6): This.
13042 (LDFLAGS-tst-lfschk4): Renamed to ...
13043 (LDLIBS-tst-lfschk4): This.
13044 (LDFLAGS-tst-lfschk5): Renamed to ...
13045 (LDLIBS-tst-lfschk5): This.
13046 (LDFLAGS-tst-lfschk6): Renamed to ...
13047 (LDLIBS-tst-lfschk6): This.
13048
691bc9c1
L
13049 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13050 on $(common-objpfx)soversions.mk.
13051
65cafb1c
JM
130522012-09-07 Joseph Myers <joseph@codesourcery.com>
13053
13054 [BZ #10014]
13055 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13056 example host name.
13057
c78ab094
SP
130582012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13059
13060 * malloc/arena.c (arena_get_retry): New function that gets
13061 another arena for the caller to try its request on.
13062 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13063 current arena cannot fulfill the request.
13064 (__libc_memalign): Likewise.
13065 (__libc_memalign): Likewise.
13066 (__libc_pvalloc): Likewise.
13067 (__libc_calloc): Likewise.
13068
01f49f59
JT
130692012-09-05 John Tobey <john.tobey@gmail.com>
13070
13071 [BZ #13542]
13072 * manual/arith.texi (Operations on Complex): Fix description
13073 of carg branch cut.
13074
4c23fed5
JM
130752012-09-06 Joseph Myers <joseph@codesourcery.com>
13076
1d3c8572
JM
13077 [BZ #10014]
13078 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13079 host name.
13080
4c23fed5
JM
13081 [BZ #10038]
13082 * manual/memory.texi (Memory): Make order of menu items match
13083 order of sections.
13084
04570aaa
L
130852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13088 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13089 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13090
b80af2f4
L
130912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * csu/libc-tls.c (static_dtv): Renamed to ...
13094 (_dl_static_dtv): This. Make it global.
13095 (_dl_initial_dtv): Removed.
13096 (__libc_setup_tls): Updated.
13097 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13098 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13099 DL_INITIAL_DTV.
13100
2abe9f15
PM
131012012-09-06 Petr Machata <pmachata@redhat.com>
13102
13103 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13104 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13105 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13106 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13107
0948c3af
L
131082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13109
13110 [BZ #14545]
13111 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13112 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13113 freeing dtv[-1].
13114
a5055ad1
L
131152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 [BZ #14544]
13118 * Makeconfig (link-static-before-libc): Replace $(+prector)
13119 with $(+prectorT).
13120 (link-static-after-libc): Replace $(+postctor) with
13121 $(+postctorT).
13122 (link-bounded): Replace $(+prector)/$(+postctor) with
13123 $(+prectorT)/$(+postctorT).
13124 (+prectorT): New macro.
13125 (+postctorT): Likewise.
13126
ed8c2ecd
JM
131272012-09-06 Joseph Myers <joseph@codesourcery.com>
13128
13129 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13130 (round_str): Handle values above the maximum for IBM long double
13131 as inexact.
13132 * stdlib/tst-strtod-round.c (tests): Regenerated.
13133
14c996c8
AK
131342012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13135
13136 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13137 assembler flag.
13138 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13139 zarch_nohighgprs around the zarch optimized routines.
13140 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13141 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13143 for zarch.
13144
430d6ce6
DM
131452012-09-05 David S. Miller <davem@davemloft.net>
13146
13147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13148
ff04dda4
DM
13149 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13150 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13151 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13153 entries.
13154
24d4e01b
AO
131552012-09-05 Alexandre Oliva <aoliva@redhat.com>
13156
13157 * malloc/arena.c: Fold copyright years.
13158 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13159
61d58174
AO
131602012-09-05 Alexandre Oliva <aoliva@redhat.com>
13161
13162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13163
20196a5e
AO
131642012-09-05 Alexandre Oliva <aoliva@redhat.com>
13165
13166 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13167
5c447383
AO
131682012-09-05 Alexandre Oliva <aoliva@redhat.com>
13169
13170 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13171 change internal state upon failure.
13172
fad64255
AO
131732012-09-05 Alexandre Oliva <aoliva@redhat.com>
13174
13175 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13176 * malloc/memusage.c (mmap): Likewise.
13177 (mmap64, mremap): Likewise. Adjust name in comment.
13178
1ffb8c90
SP
131792012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13180
13181 * libio/fileops.c: Fix typos in comments.
13182 * libio/oldfileops.c: Likewise.
13183 * libio/wfileops.c: Likewise.
13184
6ef9cc37
SP
131852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13186
13187 [BZ #1349]
13188 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13189 (tst-malloc-usable-ENV): Set environment for test case.
13190 * malloc/hooks.c (malloc_check_get_size): New function to get
13191 requested size.
13192 * malloc/malloc.c (musable): Use malloc_check_get_size.
13193 * malloc/tst-malloc-usable.c: New test case.
13194
4d038ae3
AS
131952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13196
13197 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13198
c4e85184
AM
131992012-09-05 Allan McRae <allan@archlinux.org>
13200
b9dafc56 13201 [BZ #13966]
c4e85184
AM
13202 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13203 determine header location.
13204 * configure: Regenerated.
13205
e1343020
AS
132062012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13207
13208 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13209 float format.
13210 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13211 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13212 format.
e1343020
AS
13213 (test): Regenerate.
13214
0a9f1987
DM
132152012-09-04 David S. Miller <davem@davemloft.net>
13216
13217 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13218 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13220
29237804
FW
132212012-09-04 Florian Weimer <fweimer@redhat.com>
13222
13223 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13224 failures.
13225
edb3cb88
FW
13226 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13227
60160d83
JM
132282012-09-04 Joseph Myers <joseph@codesourcery.com>
13229
13230 [BZ #9914]
13231 * libio/iogetdelim.c: Include <limits.h>.
13232 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13233 + len + 1 would overflow.
13234
bcd6c8dc
AJ
132352012-09-03 Andreas Jaeger <aj@suse.de>
13236
13237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13238 * sysdeps/i386/fpu/libm-test-ulps: Update.
13239
4ffffbd2
LD
132402012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13241
13242 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13243 Add s_sinf-sse2, s_conf-sse2.
13244
13245 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13246 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13247 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13248 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13249
13250 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13251 for using routine as __sinf_ia32.
13252 Use macro for function declaration and weak_alias.
13253 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13254 for using routine as __cosf_ia32.
13255 Use macro for function declaration and weak_alias.
13256
13257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13258 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13259
13260 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13261 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13263
13264 * math/libm-test.inc (cos_test): Add more test cases.
13265 (sin_test): Likewise.
13266 (sincos_test): Likewise.
13267
511fa286
AK
132682012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13269
13270 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13271 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13272 hidden.
13273 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13274
5f30cfec
L
132752012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13276
13277 [BZ #14538]
13278 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13279 first element of the GOT.
13280 (elf_machine_load_address): Return the difference between
13281 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13282
0786794f
AM
132832012-09-01 Allan McRae <allan@archlinux.org>
13284
5f30cfec
L
13285 [BZ #13412]
13286 * configure.in (AWK): Require gawk version 3.0 or later.
13287 * configure: Regenerated.
0786794f 13288
26889eac
JM
132892012-09-01 Joseph Myers <joseph@codesourcery.com>
13290
13291 * sysdeps/unix/sysv/linux/kernel-features.h
13292 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13294 [__NR_clock_getres]: Make code unconditional.
13295 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13296 (clock_getcpuclockid): Remove code left unreachable by removal of
13297 conditionals.
13298 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13299 code unconditional.
13300 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13302 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13303 Make code unconditional.
13304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13306 * sysdeps/unix/sysv/linux/clock_settime.c
13307 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13308 conditional code.
13309 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13311
d22e28b0
L
133122012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 [BZ #14476]
13315 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13316 scripts/test-installation.pl.
13317
13318 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13319 and $ld_so_version if it is set.
13320
050af9c4
SP
133212012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13322
13323 [BZ #14516]
13324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13325 failure if reading from procfs failed.
13326 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13327
ad845c0b
JM
133282012-08-27 Joseph Myers <joseph@codesourcery.com>
13329
13330 * sysdeps/unix/sysv/linux/kernel-features.h
13331 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13332 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13333 Remove conditional code.
13334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13335 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13336 Remove conditional code.
13337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13338 * sysdeps/unix/sysv/linux/i386/fxstat.c
13339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13341 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13344 * sysdeps/unix/sysv/linux/i386/lxstat.c
13345 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13347 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13348 Remove conditional code.
13349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13350 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13351 Remove conditional code.
13352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13354 <kernel-features.h>.
13355 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13356 Remove.
13357 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13358 Remove conditional code.
13359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13360 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13361 Remove conditional.
13362
5dbf56af
MF
133632012-08-27 Mike Frysinger <vapier@gentoo.org>
13364
13365 [BZ #5400]
13366 * NEWS: Add fixed bug number.
13367
d6e70f43
JM
133682012-08-27 Joseph Myers <joseph@codesourcery.com>
13369
7efb4737
JM
13370 [BZ #14519]
13371 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13372 underflowing exponent in case of negative sign.
13373 * stdlib/tst-strtod-round-data: Add more tests.
13374 * stdlib/tst-strtod-round.c (tests): Regenerated.
13375
af92131a
JM
13376 [BZ #3479]
13377 * stdlib/strtod_l.c (NDIG): Remove.
13378 (HEXNDIG): Likewise.
13379 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13380 smallest representable value.
13381 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13382 lie within an exact representation of 1/2 ulp of the result.
13383 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13384 unconditionally.
13385 (TENS_P9_IDX): Define unconditionally.
13386 (TENS_P9_SIZE): Likewise.
13387 (TENS_P10_IDX): Likewise.
13388 (TENS_P10_SIZE): Likewise.
13389 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13390 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13391 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13392 entries for 10^2^13 and 10^2^14.
13393 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13394 (TENS_P13_IDX): Define.
13395 (TENS_P13_SIZE): Likewise.
13396 (TENS_P14_IDX): Likewise.
13397 (TENS_P14_SIZE): Likewise.
13398 (_fpioconst_pow10): Change array size to
13399 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13400 unconditional.
13401 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13402 1024]: Add entries for 10^2^13 and 10^2^14.
13403 [LAST_POW10 > _LAST_POW10]: Remove #error.
13404 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13405 (_fpioconst_pow10): Change array size to
13406 FPIOCONST_POW10_ARRAY_SIZE.
13407 * stdlib/gen-fpioconst.c: New file.
13408 * stdlib/gen-tst-strtod-round.c: Likewise.
13409 * stdlib/tst-strtod-round-data: Likewise.
13410 * stdlib/tst-strtod-round.c: Likewise.
13411 * stdlib/Makefile (tests): Add tst-strtod-round.
13412
d6e70f43
JM
13413 [BZ #14459]
13414 * stdlib/strtod_l.c: Include <stdint.h>.
13415 (NDEBUG): Do not define.
13416 (round_and_return): Change EXPONENT parameter to type intmax_t.
13417 Rearrange calculations to avoid internal overflow possibilities.
13418 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13419 Rearrange calculations to avoid internal overflow possibilities.
13420 Assert that number fits inside MPNSIZE limbs.
13421 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13422 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13423 calculations and add assertions to avoid internal overflow
13424 possibilities. Add casts to avoid signed/unsigned operations.
13425 * stdlib/tst-strtod-overflow.c: New file.
13426 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13427
1f529f7d
MP
134282012-08-25 Marek Polacek <polacek@redhat.com>
13429
13430 * time/time.h: Fix some typos in comments.
13431
59a629f1
RM
134322012-08-23 Roland McGrath <roland@hack.frob.com>
13433
13434 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13435 * posix/tst-rfc3484-2.c: Likewise.
13436 * posix/tst-rfc3484-3.c: Likewise.
13437
d3bafbc9
SM
134382012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13439
13440 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13441 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13442
4efcc022
JM
134432012-08-23 Joseph Myers <joseph@codesourcery.com>
13444
13445 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13446 #include of fxstatat64.c.
13447
3cc3ef96
RM
134482012-08-22 Roland McGrath <roland@hack.frob.com>
13449
f04e2132
RM
13450 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13451 * shadow/getspent_r.c: Likewise.
13452 * shadow/getspnam.c: Likewise.
13453 * shadow/getspnam_r.c: Likewise.
13454 * gshadow/getsgent.c: Likewise.
13455 * gshadow/getsgent_r.c: Likewise.
13456 * gshadow/getsgnam.c: Likewise.
13457 * gshadow/getsgnam_r.c: Likewise.
13458 * inet/getnetbyad.c: Likewise.
13459 * inet/getnetbyad_r.c: Likewise.
13460 * inet/getnetbynm.c: Likewise.
13461 * inet/getnetbynm_r.c: Likewise.
13462 * inet/getnetent.c: Likewise.
13463 * inet/getnetent_r.c: Likewise.
13464 * inet/getproto.c: Likewise.
13465 * inet/getproto_r.c: Likewise.
13466 * inet/getprtent.c: Likewise.
13467 * inet/getprtent_r.c: Likewise.
13468 * inet/getprtname.c: Likewise.
13469 * inet/getprtname_r.c: Likewise.
13470 * inet/getrpcbyname.c: Likewise.
13471 * inet/getrpcbyname_r.c: Likewise.
13472 * inet/getrpcbynumber.c: Likewise.
13473 * inet/getrpcbynumber_r.c: Likewise.
13474 * inet/getrpcent.c: Likewise.
13475 * inet/getrpcent_r.c: Likewise.
13476 * inet/getaliasent.c: Likewise.
13477 * inet/getaliasent_r.c: Likewise.
13478 * inet/getaliasname.c: Likewise.
13479 * inet/getaliasname_r.c: Likewise.
13480 * nscd/getgrgid_r.c: Likewise.
13481 * nscd/getgrnam_r.c: Likewise.
13482 * nscd/gethstbyad_r.c: Likewise.
13483 * nscd/gethstbynm3_r.c: Likewise.
13484 * nscd/getpwnam_r.c: Likewise.
13485 * nscd/getpwuid_r.c: Likewise.
13486 * nscd/getsrvbynm_r.c: Likewise.
13487 * nscd/getsrvbypt_r.c: Likewise.
13488 * nscd/gai.c: Likewise.
13489
c53d909c
RM
13490 * configure.in (build_nscd): New substituted variable, set
13491 by --disable-build-nscd and defaults to $use_nscd.
13492 * configure: Regenerated.
13493 * config.make.in (build-nscd): New substituted variable.
13494 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13495 Change conditional to require [$(build-nscd) = yes] as well.
13496 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13497
3cc3ef96
RM
13498 [BZ# 13696]
13499 * configure.in (use_nscd): New substituted variable, set by
13500 --disable-nscd. If enabled, define USE_NSCD.
13501 * configure: Regenerated.
13502 * config.h.in: Add USE_NSCD.
13503 * config.make.in (use-nscd): New substituted variable.
13504 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13505 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13506 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13507 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13508 (CFLAGS-getgrnam_r.c): Likewise.
13509 (CFLAGS-initgroups.c): Likewise.
13510 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13511 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13512 Variables removed.
13513 * inet/getnetgrent_r.c
13514 (nscd_setnetgrent): New function, broken out of ...
13515 (setnetgrent): ... here. Call it.
13516 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13517 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13518 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13519 * nscd/Makefile (routines, aux): Move definitions after include of
13520 Makeconfig. Conditionalize on [$(use-nscd) != no].
13521 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13522 Conditionalize on [USE_NSCD].
13523 (is_nscd, nscd_init_cb): Likewise.
13524 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13525 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13526 * nss/nss_db/db-init.c: Likewise.
13527 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13528 [USE_NSCD].
13529 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13530 (make_request): Use it.
13531 (cache_valid_p): New function.
13532 (__check_pf): Use it.
13533 * NEWS: Add item for --disable-nscd.
13534
07e51550
DL
135352012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13536
13537 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13538 to support sed >= 4.2.1-20-ga9bf076.
13539 * configure: Regenerated.
13540
35a5b08b
RM
135412012-08-22 Roland McGrath <roland@hack.frob.com>
13542
13543 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13544 Conditionalize whole body on [IREL].
13545
8479f23a
JL
135462012-08-22 Jeff Law <law@redhat.com>
13547
13548 [BZ #14505]
13549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13550 if the family is PF_UNSPEC.
13551
48da0b21
MF
135522012-08-22 Mike Frysinger <vapier@gentoo.org>
13553
13554 * Makerules (lib-version): Rename from V.
13555 (install-lib-nosubdir): Change V to lib-version.
13556
15d0da8c
WS
135572012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13558
13559 [BZ #14252]
13560 * powerpc32/power6/wcschr.c: New file.
13561 * powerpc32/power6/wcscpy.c: New file.
13562 * powerpc32/power6/wcsrchr.c: New file.
13563 * powerpc64/power6/wcschr.c: New file.
13564 * powerpc64/power6/wcscpy.c: New file.
13565 * powerpc64/power6/wcsrchr.c: New file.
13566
bcca0895
MK
135672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13568
13569 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13570 (two_way_short_needle): Use it.
5a4aaa33
RM
13571 * string/strstr.c (AVAILABLE1_USES_J): Define.
13572 * string/strcasestr.c: Likewise.
99677e57
MK
13573
13574 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13575 array references.
13576 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13577
400726de
MK
13578 [BZ #11607]
13579 * NEWS: Add an entry.
13580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13581 define their defaults.
13582 (two_way_short_needle): Detect end-of-string on-the-fly.
13583 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13584 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13585 * string/bug-strcasestr1.c: New test.
13586 * string/Makefile: Run it.
13587
20a71f2c
MK
135882012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13589
13590 [BZ #11607]
13591 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13592 the first character.
13593
21ad0558
RM
135942012-08-21 Roland McGrath <roland@hack.frob.com>
13595
13596 * csu/elf-init.c (__libc_csu_irel): Function removed.
13597 * csu/libc-start.c (apply_irel): New function.
13598 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13599
0e1d9911
JM
136002012-08-21 Joseph Myers <joseph@codesourcery.com>
13601
13602 * sysdeps/unix/sysv/linux/kernel-features.h
13603 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13604 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13605 <kernel-features.h>.
13606 [__NR_fadvise64_64]: Make code unconditional.
13607 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13608 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13609 !__NR_fadvise64_64)]: Likewise.
13610 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13611 !__NR_fadvise64_64))]: Likewise.
13612 [__NR_fadvise64]: Make code unconditional.
13613 [!__NR_fadvise64]: Remove conditional code.
13614 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13615 <kernel-features.h>.
13616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13617 unconditional.
13618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13619 conditional code.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13621 not include <kernel-features.h>.
13622 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13623 unconditional.
13624 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13625 conditional code.
13626 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13627 include <kernel-features.h>.
13628 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13629 unconditional.
13630 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13631 conditional code.
13632
14a50c9d
WS
136332012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13634
13635 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13636 slight instruction rearrangements per scrollpipe analysis.
13637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13638
c0f4faf0
RM
136392012-08-20 Roland McGrath <roland@hack.frob.com>
13640
696da859
RM
13641 * manual/syslog.texi (syslog; vsyslog, closelog):
13642 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13643 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13644
c0f4faf0
RM
13645 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13646 DSOCAPS to match condition on defining it.
13647
348363b2
JM
136482012-08-20 Joseph Myers <joseph@codesourcery.com>
13649
a35cbf28
JM
13650 * sysdeps/unix/sysv/linux/kernel-features.h
13651 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13659 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13660 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13661
445f7ecd
JM
13662 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13663 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13664
348363b2
JM
13665 * sysdeps/unix/sysv/linux/kernel-features.h
13666 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13667 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13668 unconditional.
13669 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13670 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13673 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13674 Make code unconditional.
13675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13676 (__mmap64) [!__NR_mmap2]: Likewise.
13677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13678 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13679 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13680 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13681 [__NR_mmap2]: Make code unconditional.
13682 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13683 (__mmap64) [!__NR_mmap2]: Likewise.
13684
bc5bc0e5
AK
136852012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13686
13687 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13688
88d506de
AJ
136892012-08-18 Andreas Jaeger <aj@suse.de>
13690
13691 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13692
493387d2
MF
136932012-08-18 Mike Frysinger <vapier@gentoo.org>
13694
13695 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13696 * include/unistd.h (__have_sock_cloexec): Likewise.
13697 (__have_pipe2): Likewise.
13698 (__have_dup3): Likewise.
13699
a277af22
MF
137002012-08-18 Mike Frysinger <vapier@gentoo.org>
13701
13702 [BZ #9685]
13703 * include/unistd.h (__have_pipe2): Change define into an extern int.
13704 (__have_dup3): Likewise.
13705 * socket/have_sock_cloexec.c: Include fcntl.h.
13706 (__have_pipe2): New variable.
13707 (__have_dup3): Likewise.
13708
fdab8fd3
MF
137092012-08-17 Mike Frysinger <vapier@gentoo.org>
13710
13711 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13712
31035e80
MP
137132012-08-17 Marek Polacek <polacek@redhat.com>
13714
13715 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13716 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13717
3bd9e993
RM
137182012-08-17 Roland McGrath <roland@hack.frob.com>
13719
c91c505f
RM
13720 * configure.in: Add AC_SUBST for sysheaders.
13721 * configure: Regenerated.
13722 * config.make.in (sysheaders): New substituted variable.
13723
7c6f9d53
RM
13724 * sysdeps/unix/mkfifo.c: Moved ...
13725 * sysdeps/posix/mkfifo.c: ... here.
13726 * sysdeps/unix/mkfifoat.c: Moved ...
13727 * sysdeps/posix/mkfifoat.c: ... here.
13728
13729 * sysdeps/unix/utime.c: Moved ...
13730 * sysdeps/posix/utime.c: ... here.
13731
13732 * sysdeps/unix/time.c: Moved ...
13733 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13734 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13736
13737 * sysdeps/unix/nice.c: Moved ...
13738 * sysdeps/posix/nice.c: ... here.
13739
13740 * sysdeps/unix/alarm.c: Moved ...
13741 * sysdeps/posix/alarm.c: ... here.
13742
3bd9e993
RM
13743 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13744
d1f09384
JL
137452012-08-17 Jeff Law <law@redhat.com>
13746
13747 * intl/Makefile (codeset_mo): New variable.
13748 ($(codeset_mo)): New target.
13749 (tst-codeset.out): Depend on that. Remove explicit rule.
13750 (tst-gettext3.out, tst-gettext5.out): Likewise.
13751 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13752 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13753 * intl/tst-codeset.sh: Remove.
13754 * intl/tst-gettext3.sh: Likewise.
13755 * intl/tst-gettext5.sh: Likewise.
13756
2ae1ae5c
RM
137572012-08-17 Roland McGrath <roland@hack.frob.com>
13758
c31fdb83
RM
13759 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13760 * sysdeps/unix/syscalls.list: ... here.
13761
a0844057
RM
13762 * sysdeps/posix/getaddrinfo.c
13763 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13764 (gaiconf_init, gaiconf_reload): Use them.
13765 [!_STATBUF_ST_NSEC]
13766 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13767 Define using time_t rather than struct timespec.
13768
750c1f2a
RM
13769 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13770 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13771 Macros removed.
13772 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13773 [!NO_THREADS].
13774 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13775 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13776 Likewise.
13777
2ae1ae5c
RM
13778 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13779 __libc_cleanup_push argument.
13780
e66a42f5
RM
13781 * bits/param.h: New file.
13782 * misc/sys/param.h: New file.
13783 * include/sys/param.h: New file.
13784 * misc/Makefile (headers): Add bits/param.h.
13785 * sysdeps/generic/sys/param.h: File removed.
13786 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13787 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13788 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13789 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13790
b7c08a66
RM
13791 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13792 last change.
13793
b2e1c562
RM
13794 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13795 [_IO_MTSAFE_IO].
13796 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13797 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13798 New macros.
13799
c75ccd4c
RM
13800 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13801 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13802 rather than -D_IO_MTSAFE_IO conditionally.
13803 * stdio-common/Makefile (CPPFLAGS): Likewise.
13804 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13805 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13806 Use $(libio-mtsafe).
13807 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13808 of -D_IO_MTSAFE_IO.
13809 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13810 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13811 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13812 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13813 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13814 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13815 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13816 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13817 (CFLAGS-fread_u_chk.c): Likewise.
13818 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13819 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13820 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13821 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13822 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13823 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13824 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13825 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13826 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13827
13828 * libio/Makefile: Test [$(libc-reentrant) = yes]
13829 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13830
13831 * Makeconfig
13832 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13833 * sysdeps/pthread/configure: File removed.
13834 * sysdeps/pthread/Makeconfig: New file.
13835 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13836 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13837
d9195db8
GB
138382012-08-16 Gary Benson <gbenson@redhat.com>
13839
13840 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13841 unmapping the first object in a namespace.
13842
86466cd9
RM
138432012-08-16 Roland McGrath <roland@hack.frob.com>
13844
13845 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13846 (__internal_setnetgrent): ... this. Add internal_function to
13847 definition. Add libc_hidden_def.
13848 (setnetgrent): Update caller.
13849 (internal_endnetgrent): Renamed to ...
13850 (__internal_endnetgrent): ... this. Add internal_function to
13851 definition. Add libc_hidden_def.
13852 (endnetgrent): Update caller.
13853 (internal_getnetgrent_r): Renamed to ...
13854 (__internal_getnetgrent_r): ... this. Add internal_function to
13855 definition. Add libc_hidden_def.
13856 (__getnetgrent_r): Update caller.
13857 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13858
c3c8283c
JM
138592012-08-16 Joseph Myers <joseph@codesourcery.com>
13860
13861 * stdlib/longlong.h: Update from GCC.
13862
db1ee0a8
RM
138632012-08-16 Roland McGrath <roland@hack.frob.com>
13864
13865 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13866 on _QL, which is set by umul_ppmm but never used.
13867 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13868 variables, which are set by GMP macros but never used.
13869 * stdio-common/_itowa.c (_itowa): Likewise.
13870 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13871 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13872
30f69637
CD
138732012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13874
13875 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13876 struct La_sh_regs is not constant.
13877 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13878 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13879 and struct La_sparc64_regs are not constant.
13880
93a78ac4
JM
138812012-08-16 Joseph Myers <joseph@codesourcery.com>
13882
13883 * sysdeps/unix/sysv/linux/kernel-features.h
13884 (__ASSUME_POSIX_TIMERS): Remove.
13885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13887 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13888 Make code unconditional.
13889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13890 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13891 Make code unconditional.
13892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13893 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13894 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13896 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13897 Make code unconditional.
13898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13899 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13900 (__libc_missing_posix_timers): Remove.
13901
dd924cd7
RM
139022012-08-15 Roland McGrath <roland@hack.frob.com>
13903
4b4f2771
RM
13904 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13905 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13906
601c888b
RM
13907 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13908
176790a7
RM
13909 * elf/dl-sym.c: Include <stdlib.h>.
13910
329bc018
RM
13911 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13912 constants, which avoids warnings in 32-bit builds.
13913
e04e272d
RM
13914 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13915 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13916
952bf94a
RM
13917 * misc/lseek.c: File moved to ...
13918 * io/lseek.c: ... here.
13919
7c99b50a
RM
13920 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13921
dd924cd7
RM
13922 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13923 shifting LEN more than 31 bits at once.
13924
b3f479a8
LD
139252012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13926
13927 [BZ #14195]
8c4ae0d4
RM
13928 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13929 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13930 * string/test-strncasecmp.c (check1): Renamed to...
13931 (bz12205): ...this.
13932 (bz14195): Add new testcase for two empty input strings and N > 0.
13933 (test_main): Call new testcase, adapt for renamed function.
13934
9c55864e
AJ
139352012-08-15 Andreas Jaeger <aj@suse.de>
13936
13937 [BZ #14090]
13938 * crypt/md5test2.c: New test, based on test supplied by Serge
13939 Belyshev <belyshev@depni.sinp.msu.ru>.
13940 * crypt/Makefile (xtests): Add md5test-giant..
13941 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13942
02dcb6c5
PE
139432012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13944
13945 [BZ #14090]
13946 * crypt/md5.c (md5_process_block): Don't assume the buffer
13947 length is less than 2**32.
13948 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13949 length is less than 2**64.
13950
a3f95dcc
RM
139512012-08-15 Roland McGrath <roland@hack.frob.com>
13952
be75d758
RM
13953 * string/str-two-way.h: Include <sys/param.h>.
13954 (MAX): Macro removed.
13955
7312ca90
RM
13956 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13957 Move #define and #undef of memmove to just before and after
13958 including <string.h>.
13959
9a0a5486
RM
13960 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13961 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13962 and after including <string.h>. Move declarations of
13963 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13964 to before #include "string/memmove.c".
13965
67cc348d
RM
13966 * include/dirent.h: Declare __getdirentries.
13967
a3f95dcc
RM
13968 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13969 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13970
ca98e171
MF
139712012-08-14 Mike Frysinger <vapier@gentoo.org>
13972
13973 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13974 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13975 * sysdeps/i386/configure: Regenerated.
13976 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13977 STABS_CURRENT_FILE, and STABS_FUN.
13978 (END): Remove call to STABS_FUN_END.
13979 (STABS_CURRENT_FILE1): Delete.
13980 (STABS_CURRENT_FILE): Likewise.
13981 (STABS_FUN): Likewise.
13982 (STABS_FUN_END): Likewise.
13983 (STABS_FUN2): Likewise.
13984 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13985 * sysdeps/x86_64/configure: Regenerated.
13986
5908bf46
RM
139872012-08-14 Roland McGrath <roland@hack.frob.com>
13988
13989 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13990 * elf/dl-lookup.c: Likewise.
5908bf46 13991
f2c05b9e
JM
139922012-08-14 Joseph Myers <joseph@codesourcery.com>
13993
13994 * sysdeps/unix/sysv/linux/kernel-features.h
13995 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13996 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13997 unconditionally.
13998 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13999 unconditionally.
14000 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14001 condition on __ASSUME_CLONE_THREAD_FLAGS.
14002
e11f5155
AJ
140032012-08-14 Andreas Jaeger <aj@suse.de>
14004
14005 * sysdeps/i386/fpu/libm-test-ulps: Update.
14006
51a9ba86
MK
140072012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14008
2fdd4f78
AJ
14009 * include/atomic.h (atomic_exchange_and_add): Split into ...
14010 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14011 New atomic macros.
51a9ba86 14012
ba6cba9e
MT
140132012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14014
14015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14016
42443a47
JL
140172012-08-13 Jeff Law <law@redhat.com>
14018
14019 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14020 null byte in the output string.
14021
121dce05
JM
140222012-08-10 Joseph Myers <joseph@codesourcery.com>
14023
14024 * sysdeps/unix/sysv/linux/kernel-features.h
14025 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14026 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14027 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14029 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14030 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14031 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14032
bf51f568
JL
140332012-08-09 Jeff Law <law@redhat.com>
14034
14035 [BZ #13939]
14036 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14037 When avoid_arena is set, don't retry in the that arena. Pick the
14038 next one, whatever it might be.
14039 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14040 (arena_lock): Pass in new parameter to arena_get2.
14041 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14042 arena_get2.
14043 (__libc_malloc): Unify retrying after main arena failure with
14044 __libc_memalign version.
14045 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14046
f85fa270
L
140472012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14048
14049 [BZ #14166]
14050 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14051 to __redirect_strstr.
14052 (__strstr_sse42): Use typeof __redirect_strstr.
14053 (__strstr_ia32): Likewise.
14054 (__libc_strstr): New prototype.
14055 (strstr): Renamed to ...
14056 (__libc_strstr): This.
14057 (strstr): New strong alias of __libc_strstr.
14058 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14059 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14060 __redirect_time.
14061 Include <time.h>.
14062 (__libc_time): New prototype.
14063 (time_ifunc): Replace time with __libc_time.
14064 (time): New strong alias and hidden definition of __libc_time.
14065 (__GI_time): Remove strong alias.
14066 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14067 Include <stddef.h>.
14068 (memmove): Redefined to __redirect_memmove.
14069 (__memmove_sse2): Use typeof __redirect_memmove.
14070 (__memmove_ssse3): Likewise.
14071 (__memmove_ssse3_back): Likewise.
14072 (__libc_memmove): New prototype.
14073 (memmove): Renamed to ...
14074 (__libc_memmove): This.
14075 (memmove): New strong alias of __libc_memmove.
14076
33b4a91e
MS
140772012-08-08 Mark Salter <msalter@redhat.com>
14078
14079 * elf/elf.h
14080 (R_MN10300_TLS_GD): Define.
14081 (R_MN10300_TLS_LD): Likewise.
14082 (R_MN10300_TLS_LDO): Likewise.
14083 (R_MN10300_TLS_GOTIE): Likewise.
14084 (R_MN10300_TLS_IE): Likewise.
14085 (R_MN10300_TLS_LE): Likewise.
14086 (R_MN10300_TLS_DTPMOD): Likewise.
14087 (R_MN10300_TLS_DTPOFF): Likewise.
14088 (R_MN10300_TLS_TPOFF): Likewise.
14089 (R_MN10300_SYM_DIFF): Likewise.
14090 (R_MN10300_ALIGN): Likewise.
14091 (R_MN10300_NUM): Update.
14092
b36137f1
JM
140932012-08-08 Joseph Myers <joseph@codesourcery.com>
14094
14095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14096 Remove.
14097
cdd915fd
RM
140982012-08-08 Roland McGrath <roland@hack.frob.com>
14099
a2433aac
RM
14100 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14101
cdd915fd
RM
14102 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14103 sysdeps/unix -> sysdeps/posix move.
14104 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14105
bf9b740a
AM
141062012-08-07 Allan McRae <allan@archlinux.org>
14107
14108 [BZ #14303]
14109 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14110 (SUNOS_CPP): Likewise.
14111 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14112 not found.
14113 (open_input): Call CPP using execvp.
14114
93df14ee
JM
141152012-08-07 Joseph Myers <joseph@codesourcery.com>
14116
14117 * sysdeps/unix/sysv/linux/kernel-features.h
14118 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14119 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14120 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14121 (__ASSUME_WAITID_SYSCALL): Likewise.
14122 * sysdeps/unix/sysv/linux/dl-execstack.c
14123 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14124 code unconditional.
14125 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14126 conditional code.
14127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14128 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14129 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14130 code.
14131 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14132 unconditional.
14133 [__ASSUME_WAITID_SYSCALL]: Likewise.
14134 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14135
d34689de
RM
141362012-08-07 Roland McGrath <roland@hack.frob.com>
14137
a281decc
RM
14138 * sysdeps/unix/closedir.c: Renamed to ...
14139 * sysdeps/posix/closedir.c: ... here.
14140 * sysdeps/unix/dirfd.c: Renamed to ...
14141 * sysdeps/posix/dirfd.c: ... here.
14142 * sysdeps/unix/dirstream.h: Renamed to ...
14143 * sysdeps/posix/dirstream.h: ... here.
14144 * sysdeps/unix/fdopendir.c: Renamed to ...
14145 * sysdeps/posix/fdopendir.c: ... here.
14146 * sysdeps/unix/opendir.c: Renamed to ...
14147 * sysdeps/posix/opendir.c: ... here.
14148 * sysdeps/unix/readdir.c: Renamed to ...
14149 * sysdeps/posix/readdir.c: ... here.
14150 * sysdeps/unix/readdir_r.c: Renamed to ...
14151 * sysdeps/posix/readdir_r.c: ... here.
14152 * sysdeps/unix/rewinddir.c: Renamed to ...
14153 * sysdeps/posix/rewinddir.c: ... here.
14154 * sysdeps/unix/seekdir.c: Renamed to ...
14155 * sysdeps/posix/seekdir.c: ... here.
14156 * sysdeps/unix/telldir.c: Renamed to ...
14157 * sysdeps/posix/telldir.c: ... here.
14158 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14159 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14160 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14161 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14162
22895b47
RM
14163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14164 * bits/fcntl.h: ... here.
14165
707a53b6
RM
14166 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14167 not 0.
14168 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14169 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14170 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14171 (struct flock): Move l_start, l_len to the beginning.
14172 Use __pid_t for l_pid.
14173 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14174 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14175 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14176 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14177 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14178 [__USE_LARGEFILE64] (struct flock64): New type.
14179 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14180
f0bd3e25
RM
14181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14182 * bits/dirent.h: ... here.
14183
d34689de
RM
14184 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14185 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14186
6dad2c06
JM
141872012-08-07 Joseph Myers <joseph@codesourcery.com>
14188
14189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14190 Change from 2.6.0 to 2.6.16.
14191 * sysdeps/unix/sysv/linux/configure: Regenerated.
14192 * sysdeps/unix/sysv/linux/kernel-features.h
14193 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14194 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14195 version.
14196 (__ASSUME_UTIMES): Likewise.
14197 (__ASSUME_CLONE_STOPPED): Remove.
14198 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14199 architectures, not kernel version.
14200 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14201 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14202 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14203 (__ASSUME_WAITID_SYSCALL): Likewise.
14204 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14205 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14206 * README: State 2.6.16 as minimum Linux kernel version. Do not
14207 refer to older versions.
14208
03af9520
RM
142092012-08-06 Roland McGrath <roland@hack.frob.com>
14210
8e49df1d
RM
14211 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14212 Define alphasort64 as an alias.
14213 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14214 Define versionsort64 as an alias.
14215 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14216 Define scandir64 as an alias.
14217 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14218 Define scandirat64 as an alias.
14219 * dirent/alphasort64.c (alphasort64):
14220 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14221 * dirent/versionsort64.c: Likewise.
14222 * dirent/scandir64.c: Likewise.
14223 * dirent/scandirat64.c: Likewise.
14224 * sysdeps/wordsize-64/alphasort.c: File removed.
14225 * sysdeps/wordsize-64/alphasort64.c: File removed.
14226 * sysdeps/wordsize-64/scandir.c: File removed.
14227 * sysdeps/wordsize-64/scandir64.c: File removed.
14228 * sysdeps/wordsize-64/scandirat.c: File removed.
14229 * sysdeps/wordsize-64/scandirat64.c: File removed.
14230 * sysdeps/wordsize-64/versionsort.c: File removed.
14231 * sysdeps/wordsize-64/versionsort64.c: File removed.
14232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14235 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14240
14241 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14243 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14245 [defined __arch64__ || defined __sparcv9]
14246 (__INO_T_MATCHES_INO64_T): New macro.
14247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14248 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14249 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14250 * sysdeps/unix/sysv/linux/bits/dirent.h
14251 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14252 (_DIRENT_MATCHES_DIRENT64): New macro.
14253
03af9520
RM
14254 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14255 Define lockf64 as an alias.
14256 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14257 Define fseeko64 as an alias.
14258 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14259 Define ftello64 as an alias.
14260 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14261 Define _IO_fgetpos64 and fgetpos64 as aliases.
14262 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14263 Define _IO_fsetpos64 and fsetpos64 as aliases.
14264 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14265 Conditionalize body on this.
14266 * libio/fseeko64.c: Likewise.
14267 * libio/ftello64.c: Likewise.
14268 * libio/iofgetpos64.c: Likewise.
14269 * libio/iofsetpos64.c: Likewise.
14270 * sysdeps/wordsize-64/lockf.c: File removed.
14271 * sysdeps/wordsize-64/lockf64.c: File removed.
14272 * sysdeps/wordsize-64/fseeko.c: File removed.
14273 * sysdeps/wordsize-64/fseeko64.c: File removed.
14274 * sysdeps/wordsize-64/ftello.c: File removed.
14275 * sysdeps/wordsize-64/ftello64.c: File removed.
14276 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14277 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14278 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14279 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14281 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14282 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14284 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14286 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14287 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14290
14291 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14293 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14295 [defined __arch64__ || defined __sparcv9]
14296 (__OFF_T_MATCHES_OFF64_T): New macro.
14297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14298 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14300 (__OFF_T_MATCHES_OFF64_T): New macro.
14301
c5757acd
L
143022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14303
14304 * stdlib/secure-getenv.c (__secure_getenv): Replace
14305 GLIBC_2_16 with GLIBC_2_17.
14306
3a31811e
L
143072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14310 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14311
faa2bccb
DM
143122012-08-03 David S. Miller <davem@davemloft.net>
14313
14314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14315
85fe1997
JM
143162012-08-03 Joseph Myers <joseph@codesourcery.com>
14317
14318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14319 Remove.
14320 (__ASSUME_CORRECT_SI_PID): Likewise.
14321 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14322 (__ASSUME_TMPFS_NAME): Likewise.
14323 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14324 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14325 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14326 (HAVE_AUX_SECURE): Make definition unconditional.
14327 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14328 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14329
4f75b7a0
RM
143302012-08-03 Roland McGrath <roland@hack.frob.com>
14331
14332 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14333 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14334 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14335 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14336 __eloop_threshold instead of SYMLOOP_MAX.
14337
14338 * sysdeps/generic/eloop-threshold.h: New file.
14339 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14340 of MAXSYMLINKS.
14341 * elf/chroot_canon.c (chroot_canon): Likewise.
14342
7aab07e4
JM
143432012-08-03 Joseph Myers <joseph@codesourcery.com>
14344
14345 [BZ #13717]
14346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14347 Change to 2.6.0 everywhere.
14348 * sysdeps/unix/sysv/linux/configure: Regenerated.
14349 * sysdeps/unix/sysv/linux/kernel-features.h
14350 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14351 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14352 kernel versions.
14353 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14354 (__ASSUME_FUTEX_REQUEUE): Remove.
14355 (__ASSUME_STATFS64): Define unconditionally.
14356 (__ASSUME_AT_SECURE): Likewise.
14357 (__ASSUME_CORRECT_SI_PID): Likewise.
14358 (__ASSUME_TGKILL): Define without depending on kernel version for
14359 i386.
14360 (__ASSUME_UTIMES): Likewise.
14361 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14362 kernel version.
14363 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14364 (__ASSUME_TMPFS_NAME): Likewise.
14365 * README: Update reference to Linux kernel versions.
14366
b67e9372
MP
143672012-08-02 Marek Polacek <polacek@redhat.com>
14368
1f529f7d 14369 [BZ# 14150]
b67e9372
MP
14370 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14371 libc_cv_asm_type_prefix with %.
14372 * configure: Regenerated.
d2441631
RM
14373 * include/libc-symbols.h: Remove comment about
14374 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14375 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14376 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14377 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14378 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14379 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14380 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14381 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14382 * elf/tst-unique2mod1.c: Likewise.
14383 * elf/tst-unique1mod2.c: Likewise.
14384 * elf/tst-unique1mod1.c: Likewise.
14385 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14386 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14387 Replace ASM_TYPE_DIRECTIVE with .type.
14388 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14389 * sysdeps/i386/sysdep.h: Likewise.
14390 * sysdeps/x86_64/sysdep.h: Likewise.
14391 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14393 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14394 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14395 * sysdeps/powerpc/powerpc32/sysdep.h:
14396 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14397 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14399 * sysdeps/i386/fpu/e_powf.S: Likewise.
14400 * sysdeps/i386/fpu/e_expl.S: Likewise.
14401 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14403 * sysdeps/i386/fpu/e_pow.S: Likewise.
14404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14408 * sysdeps/i386/fpu/e_log2.S: Likewise.
14409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14411 * sysdeps/i386/fpu/e_powl.S: Likewise.
14412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14414 * sysdeps/i386/fpu/e_logl.S: Likewise.
14415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14416 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14417 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14419 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14420 * sysdeps/i386/fpu/e_log.S: Likewise.
14421 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14422 * sysdeps/i386/fpu/e_logf.S: Likewise.
14423 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14424 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14425 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14426 * sysdeps/i386/fpu/e_log10.S: Likewise.
14427 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14428 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14429 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14430 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14431 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14433 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14434 * sysdeps/i386/i686/strtok.S: Likewise.
14435 * sysdeps/i386/i386-mcount.S: Likewise.
14436 * sysdeps/i386/strtok.S: Likewise.
14437 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14438 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14439 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14440 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14442 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14443 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14444 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14445 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14446 * sysdeps/x86_64/_mcount.S: Likewise.
14447 * sysdeps/x86_64/strtok.S: Likewise.
14448 * sysdeps/sh/_mcount.S: Likewise.
14449
2747bf9a
RM
144502012-08-01 Roland McGrath <roland@hack.frob.com>
14451
14452 * libio/iofopen.c: Include <fcntl.h>.
14453 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14454 (_IO_fopen64, fopen64): Define as aliases.
14455 * libio/iofopen64.c: Include <fcntl.h>.
14456 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14457 Conditionalize body on this.
14458 * sysdeps/wordsize-64/iofopen.c: File removed.
14459 * sysdeps/wordsize-64/iofopen64.c: File removed.
14460
3fb791b8
MP
144612012-08-01 Marek Polacek <polacek@redhat.com>
14462
14463 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14464 Use dlfcn directly instead of a variable.
14465 (binfmt-subdir): Do not define.
14466 (dlfcn): Likewise.
14467
a9f1039f
JM
144682012-08-01 Joseph Myers <joseph@codesourcery.com>
14469
23bddc06
JM
14470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14471 Remove all definitions.
14472 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14473 <kernel-features.h>.
14474 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14475 (miss_F_GETOWN_EX): Remove all definitions.
14476 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14477 macro definition.
14478 [!__ASSUME_FCNTL64]: Remove conditional code.
14479 [__ASSUME_FCNTL64]: Make code unconditional.
14480 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14481 <kernel-features.h>.
14482 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14483 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14484 (lockf64) [__NR_fcntl64]: Make code unconditional.
14485 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14486
a9f1039f
JM
14487 * sysdeps/unix/sysv/linux/kernel-features.h
14488 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14489 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14490 Make code unconditional.
14491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14494 [__NR_vfork]: Make code unconditional.
14495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14498 [__NR_vfork]: Make code unconditional.
14499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14501
09c0ee5f
RM
145022012-08-01 Roland McGrath <roland@hack.frob.com>
14503
48aec5b9
RM
14504 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14505 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14506
cd97c966
RM
14507 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14508 Define mkstemp64 as an alias.
3f55550c
RM
14509 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14510 Define mkstemps64 as an alias.
cd97c966
RM
14511 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14512 Define mkostemp64 as an alias.
b8625cfc
RM
14513 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14514 Define mkostemps64 as an alias.
cd97c966
RM
14515 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14516 Conditionalize body on this.
14517 * misc/mkostemp64.c: Likewise.
b8625cfc 14518 * misc/mkostemps64.c: Likewise.
3f55550c 14519 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14520 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14521 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14522 * sysdeps/wordsize-64/mkostemp.c: File removed.
14523 * sysdeps/wordsize-64/mkstemp.c: File removed.
14524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14525 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14526 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14527 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14528
09c0ee5f
RM
14529 [BZ #14138]
14530 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14531 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14532 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14533 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14534
14535 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14536 compat_symbol macros from <shlib-compat.h> rather than the underlying
14537 default_symbol_version and symbol_version macros, so that DEFAULT
14538 lines in shlib-versions are respected.
14539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14540
7e66ee51
FW
145412012-08-01 Florian Weimer <fweimer@redhat.com>
14542
14543 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14544 Declare with warn_unused_result.
14545 (setgid, setregid, setegid, setresgid): Likewise.
14546 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14547 Likewise.
14548 * WUR-REPORT: Remove set*id functions.
14549
d2a54255
PT
145502012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14551
14552 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14553
7ecdb005
RM
145542012-07-31 Roland McGrath <roland@hack.frob.com>
14555
b4180a5e 14556 [BZ #10191]
789bd351
RM
14557 * include/sys/socket.h (__libc_accept, __libc_accept4):
14558 Add attribute_hidden.
14559 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14560
40ce302d
RM
14561 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14562 use of PTR_MANGLE.
14563 * inet/getnetgrent_r.c (setup): Likewise.
14564
7ecdb005
RM
14565 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14566
e2eabb2c
DM
145672012-07-31 David S. Miller <davem@davemloft.net>
14568
14569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14570
d0419dbf
JM
145712012-07-31 Joseph Myers <joseph@codesourcery.com>
14572
14573 [BZ #13629]
14574 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14575 value between 1.0 and 2.0 and smaller part has absolute value less
14576 than 1.0.
14577 * math/s_clog10.c (__clog10): Likewise.
14578 * math/s_clog10f.c (__clog10f): Likewise.
14579 * math/s_clog10l.c (__clog10l): Likewise.
14580 * math/s_clogf.c (__clogf): Likewise.
14581 * math/s_clogl.c (__clogl): Likewise.
14582 * math/libm-test.inc (clog_test): Add more tests.
14583 (clog10_test): Likewise.
14584 * sysdeps/i386/fpu/libm-test-ulps: Update.
14585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14586
2bc13872
FW
145872012-07-31 Florian Weimer <fweimer@redhat.com>
14588
14589 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14590 Exit with zero in case no suitable GID is found, and write a
14591 message to standard error.
14592
bea9b193
RM
145932012-07-30 Roland McGrath <roland@hack.frob.com>
14594
14595 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14596 rather than to 1.
14597 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14598 (MAXPATHLEN): Removed.
14599 (NOGROUP, NODEV): New macros.
14600 (setbit, clrbit, isset, isclr): New macros.
14601 (howmany, roundup, powerof2): New macros.
14602 (DEV_BSIZE): New macro.
14603
14604 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14605 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14606
14607 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14608 definition on [!__NO_LONG_DOUBLE_MATH].
14609
14610 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14611 PTR_MANGLE and PTR_DEMANGLE.
14612
14613 * socket/accept4.c (accept4): Rename to __libc_accept4.
14614 Define accept4 as a weak alias.
14615
14616 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14617 on [_DIRENT_HAVE_D_TYPE].
14618 * io/ftw.c (ftw_dir): Likewise.
14619
14620 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14621
14622 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14623
14624 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14625 Use the BSD numbers rather than the arbitrary ones we had.
14626 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14627 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14628 (SIGXCPU, SIGXFSZ): New macros.
14629 (_NSIG): Now 32.
14630
14631 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14632 initializer on [_LIBC_REENTRANT].
14633
14634 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14635 definitions inside [_POSIX_MAPPED_FILES].
14636
14637 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14638
14639 * dirent/opendir.c: Include <fcntl.h>.
14640
14641 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14642 (__libc_getspecific): Likewise.
14643 (__libc_key_create): Likewise.
14644
14645 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14646 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14647 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14648 (tmpfile64): Define as alias.
14649 * sysdeps/wordsize-64/tmpfile.c: File removed.
14650 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14653
14654 * stdio-common/vfscanf.c: Include <stdbool.h>.
14655 * nss/makedb.c: Likewise.
14656 * stdio-common/_i18n_number.h: Likewise.
14657 * argp/argp-help.c: Likewise.
14658 * posix/wordexp.c: Likewise.
14659 * sysdeps/posix/spawni.c: Likewise.
14660 * nss/nss_files/files-initgroups.c: Likewise.
14661 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14662 * nss/nss_files/files-initgroups.c: Likewise.
14663 * nss/nss_db/db-netgrp.c: Likewise.
14664 * nss/nss_db/db-initgroups.c: Likewise.
14665 * io/fchmodat.c: Include <sys/stat.h>.
14666
14667 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14668 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14669
14670 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14671 [HAVE_MMAP].
14672
14673 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14674 Add multiple inclusion protection.
14675
e5abc686
DM
146762012-07-27 David S. Miller <davem@davemloft.net>
14677
14678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14679
815e6fa3
GB
146802012-07-27 Gary Benson <gbenson@redhat.com>
14681
14682 [BZ #14298]
14683 * elf/rtld.c: Include <stap-probe.h>.
14684 (dl_main): Added static probes "init_start" and "init_complete".
14685 * elf/dl-load.c: Include <stap-probe.h>.
14686 (lose): Take new parameter "nsid".
14687 Added static probe "map_failed".
14688 (_dl_map_object_from_fd): Pass namespace id to lose.
14689 Added static probe "map_start".
14690 (open_verify): Pass namespace id to lose.
14691 * elf/dl-open.c: Include <stap-probe.h>.
14692 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14693 and "reloc_complete".
14694 * elf/dl-close.c: Include <stap-probe.h>.
14695 (_dl_close_worker): Added static probes "unmap_start" and
14696 "unmap_complete".
14697 * elf/rtld-debugger-interface.txt: New file documenting the above.
14698
9f98c16c
RM
146992012-07-26 Roland McGrath <roland@hack.frob.com>
14700
14701 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14702 rather than a string variable.
14703 * sunrpc/rpc_main.c (h_output): Likewise.
14704 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14705
f3c22df3
PT
147062012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14707
14708 * inet/check_native.c: New file.
14709
3129cfc6
JM
147102012-07-26 Joseph Myers <joseph@codesourcery.com>
14711
da865e95
JM
14712 [BZ #13629]
14713 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14714 if larger part has absolute value 1.0.
14715 * math/s_clog10.c (__clog10): Likewise.
14716 * math/s_clog10f.c (__clog10f): Likewise.
14717 * math/s_clog10l.c (__clog10l): Likewise.
14718 * math/s_clogf.c (__clogf): Likewise.
14719 * math/s_clogl.c (__clogl): Likewise.
14720 * math/libm-test.inc (clog_test): Add more tests.
14721 (clog10_test): Likewise.
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14724
3129cfc6
JM
14725 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14726 (pltexit): Likewise.
14727 (La_regs): Likewise.
14728 (La_retval): Likewise.
14729 (int_retval): Likewise.
14730 Update #error for removed macros to refer only to definitions in
14731 tst-audit.h.
14732 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14733 macro.
14734 (pltexit): Likewise.
14735 (La_regs): Likewise.
14736 (La_retval): Likewise.
14737 (int_retval): Likewise.
14738 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14739 macro.
14740 (pltexit): Likewise.
14741 (La_regs): Likewise.
14742 (La_retval): Likewise.
14743 (int_retval): Likewise.
14744 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14745 macro.
14746 (pltexit): Likewise.
14747 (La_regs): Likewise.
14748 (La_retval): Likewise.
14749 (int_retval): Likewise.
14750 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14751 macro.
14752 (pltexit): Likewise.
14753 (La_regs): Likewise.
14754 (La_retval): Likewise.
14755 (int_retval): Likewise.
14756 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14757 macro.
14758 (pltexit): Likewise.
14759 (La_regs): Likewise.
14760 (La_retval): Likewise.
14761 (int_retval): Likewise.
14762 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14763 macro.
14764 (pltexit): Likewise.
14765 (La_regs): Likewise.
14766 (La_retval): Likewise.
14767 (int_retval): Likewise.
14768 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14769 macro definitions in tst-audit.h.
14770 * sysdeps/i386/tst-audit.h: New file.
14771 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14772 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14773 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14774 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14775 * sysdeps/sh/tst-audit.h: Likewise.
14776 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14777 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14778 * sysdeps/x86_64/tst-audit.h: Likewise.
14779
bfc07087
AJ
147802012-07-26 Andreas Jaeger <aj@suse.de>
14781
b1b2aaf8
AJ
14782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14783 ptrace.
14784
14785 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14786 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14787 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14788 PTRACE_O_MASK.
14789 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14790 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14791 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14792
bfc07087
AJ
14793 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14794 value.
14795
14796 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14797 _sigsys.
14798 (si_call_addr, si_syscall, si_arch): Define new macro.
14799 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14800 _sigsys.
14801 (si_call_addr, si_syscall, si_arch): Define new marcro.
14802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14803 _sigsys.
14804 (si_call_addr, si_syscall, si_arch): Define new macro.
14805 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14806 _sigsys.
14807 (si_call_addr, si_syscall, si_arch): Define new macro.
14808
89b4b02f
JM
148092012-07-25 Joseph Myers <joseph@codesourcery.com>
14810
14811 [BZ #13717]
14812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14813 Change to 2.4.21 where previously 2.4.1.
14814 * sysdeps/unix/sysv/linux/configure: Regenerated.
14815 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14816 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14817 Linux kernel version.
14818 (__ASSUME_STD_AUXV): Remove.
14819 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14820 kernel version.
14821 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14822 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14823 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14824 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14825 (__ASSUME_NETLINK_SUPPORT): Likewise.
14826 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14827 (__no_netlink_support): Remove conditional definition.
14828 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14829 Remove.
14830 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14831 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14832 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14833 (if_nameindex_ioctl): Remove.
14834 (if_nameindex_netlink): Do not handle __no_netlink_support.
14835 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14836 code.
14837 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14838 Remove conditional code.
14839 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14840 code.
14841 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14842 unconditional.
14843 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14844 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14845 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14846 Remove.
14847 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14848 [!__ASSUME_STD_AUXV]: Remove conditional code.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14850 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14851 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14853 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14855 code.
14856 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14858 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14860 conditional code.
14861 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14864 code.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14866 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14867 conditional code.
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14869 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14870 code unconditional.
14871 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14872 conditional code.
14873 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14874 unconditional.
14875 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14876 conditional code.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14878 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14879 unconditional.
14880 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14881 conditional code.
14882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14883 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14884 code unconditional.
14885 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14886 conditional code.
14887 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14888 unconditional.
14889 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14890 conditional code.
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14892 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14893 code unconditional.
14894 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14895 conditional code.
14896 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14897 unconditional.
14898 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14899 conditional code.
14900
842a39cd
AS
149012012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14902
14903 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14904 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14905 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14906 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14907 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14908 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14909 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14910 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14912 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14913 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14914 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14915 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14916 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14917 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14918 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14921 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14923 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14924 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14926
84b3fd84
FW
149272012-07-25 Florian Weimer <fweimer@redhat.com>
14928
14929 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14930 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14931 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14932 Introduce __libc_secure_getenv.
0c7936d5
FW
14933 * stdlib/Versions (2.17): Add secure_getenv
14934 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14935 * stdlib/secure-getenv.c: Rename __secure_getenv to
14936 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14937 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14938 * stdlib/tst-secure-getenv.c: New.
14939 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14940 * manual/startup.texi (Environment Access): Document
14941 secure_getenv.
84b3fd84
FW
14942 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14943 __libc_secure_getenv.
14944 * inet/ruserpass.c (ruserpass): Likewise.
14945 * malloc/mtrace.c (mtrace): Likewise.
14946 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14947 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14948 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14949 * sysdeps/posix/tempname.c: Likewise. Evaluate
14950 HAVE_SECURE_GETENV.
14951 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14952 __secure_getenv to __libc_secure_getenv.
84b3fd84 14953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14955 Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14957 Likewise.
14958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14965
56e49b71
JM
149662012-07-25 Joseph Myers <joseph@codesourcery.com>
14967
14968 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14969 (struct La_i86_retval): Likewise.
14970 (struct La_x86_64_regs): Likewise.
14971 (struct La_x86_64_retval): Likewise.
14972 (struct La_x32_regs): Likewise.
14973 (struct La_x32_retval): Likewise.
14974 (struct La_ppc32_regs): Likewise.
14975 (struct La_ppc32_retval): Likewise.
14976 (struct La_ppc64_regs): Likewise.
14977 (struct La_ppc64_retval): Likewise.
14978 (struct La_sh_regs): Likewise.
14979 (struct La_sh_retval): Likewise.
14980 (struct La_s390_32_regs): Likewise.
14981 (struct La_s390_32_retval): Likewise.
14982 (struct La_s390_64_regs): Likewise.
14983 (struct La_s390_64_retval): Likewise.
14984 (struct La_sparc32_regs): Likewise.
14985 (struct La_sparc32_retval): Likewise.
14986 (struct La_sparc64_regs): Likewise.
14987 (struct La_sparc64_retval): Likewise.
14988 (struct audit_ifaces): Remove architecture-specific pltenter and
14989 pltexit members.
14990 * sysdeps/i386/ldsodefs.h: New file.
14991 * sysdeps/powerpc/ldsodefs.h: Likewise.
14992 * sysdeps/s390/ldsodefs.h: Likewise.
14993 * sysdeps/sh/ldsodefs.h: Likewise.
14994 * sysdeps/sparc/ldsodefs.h: Likewise.
14995 * sysdeps/x86_64/ldsodefs.h: Likewise.
14996
354691b7
MP
149972012-07-25 Marek Polacek <polacek@redhat.com>
14998
14999 [BZ #6808]
15000 * math/libm-test.inc (yn_test): Add another test.
15001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15002 to ERANGE when the result is +-Inf.
15003 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15004 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15005 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15006 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15007
bf9e2071
JM
150082012-07-24 Joseph Myers <joseph@codesourcery.com>
15009
15010 * conform/data/time.h-data (NULL): Use macro-constant. Require
15011 equal to 0.
15012 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15013 clock_t.
15014 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15015
57633811
TS
150162012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15017
15018 * configure.in <sysdeps resolving>: Correct printing
15019 Implies_before.
15020 * configure: Regenerate.
15021
c23c33b0
TS
150222012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15023
15024 * math/w_ilogb.c: Include <limits.h>.
15025 * math/w_ilogbl.c: Likewise.
15026
b5982523
JM
150272012-07-20 Joseph Myers <joseph@codesourcery.com>
15028
15029 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15030 va_copy. Document allowing for unavailable va_copy only as
15031 pre-C99 compatibility.
15032 * manual/string.texi (Copying and Concatenation): Use va_copy
15033 instead of __va_copy in concat example.
15034
ac4ea442
PT
150352012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15036
15037 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15038 (__sendto): Use create_address_port. Initialize APORT and deallocate
15039 it if not null.
15040
f98eafbd
PT
15041 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15042 with O_NOLINK passed to __file_name_lookup.
15043
898c7aab
PT
15044 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15045 with O_NOLINK passed to __file_name_lookup.
15046
0ced335a
PT
15047 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15048 negative N or less than NGIDS.
15049
b3404dbd
PT
15050 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15051 type to string_t. Set ERANGE as errno and return it if NAME is not big
15052 enough. Use memcpy instead of strncpy.
15053
0f48659e
JM
150542012-07-20 Joseph Myers <joseph@codesourcery.com>
15055
15056 * elf/Makefile (check-data): Remove.
15057 (localplt.data): New vpath directive.
15058 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15059 instead of $(check-data).
15060 * scripts/data/localplt-generic.data: Move to ...
15061 * sysdeps/generic/localplt.data: ... here.
15062 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15063 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15064 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15066 ... here.
15067 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15069 ... here.
15070 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15072 ... here.
15073 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15075 ... here.
15076 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15078 ... here.
15079 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15081 ... here.
15082
d37cbdaa
AZ
150832012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15084
15085 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15086 PPC32 and PPC64 files.
15087 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15088 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15089
46f85fc2
AK
150902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15091
15092 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15093 __makecontext_ret to ...
15094 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15095 ... here and call exit if uc_link is NULL. New file.
15096 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15097 __makecontext_ret.S.
15098 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15099 __makecontext_ret to ...
15100 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15101 ... here and call exit if uc_link is NULL. New file.
15102 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15103 __makecontext_ret.S.
15104
08f43f9b
AK
151052012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15106
15107 * elf/elf.h (R_390_IRELATIVE): New definition.
15108 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15109 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15110 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15111 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15112 (elf_machine_lazy_rel): Likewise.
15113 * sysdeps/s390/dl-irel.h: New file.
15114 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15115 * sysdeps/s390/s390-64/memset.S: New asm code.
15116 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15117 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15118 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15119 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15120 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15121 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15123 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15124 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15125 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15126 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15127 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15128 * sysdeps/s390/s390-32/memset.S: New asm code.
15129 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15130
3b05db33
MP
151312012-07-17 Marek Polacek <polacek@redhat.com>
15132
15133 [BZ #14349]
15134 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15135 * sysdeps/s390/s390-64/configure.in: Likewise.
15136 * sysdeps/sparc/configure.in: Likewise.
15137 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15138 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15139 * sysdeps/i386/configure.in: Likewise.
15140 * sysdeps/x86_64/configure.in: Likewise.
15141 * sysdeps/sh/configure.in: Likewise.
15142 * sysdeps/s390/s390-32/configure: Regenerated.
15143 * sysdeps/s390/s390-64/configure: Likewise.
15144 * sysdeps/x86_64/configure: Likewise.
15145 * sysdeps/sh/configure: Likewise.
15146 * sysdeps/powerpc/powerpc64/configure: Likewise.
15147 * sysdeps/powerpc/powerpc32/configure: Likewise.
15148 * sysdeps/sparc/configure: Likwise.
15149 * sysdeps/i386/configure: Likewise.
15150
a66877c6
MP
15151 * elf/dl-open.c: Comment fixes.
15152
cfc82fd8
JM
151532012-07-17 Joseph Myers <joseph@codesourcery.com>
15154
bd29910a
JM
15155 * Makefile [CXX] (check-data): Remove.
15156 [CXX] (c++-types.data): New vpath directive.
15157 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15158 vpath. Do not allow for C++ type data being missing.
15159 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15160 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15161 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15162 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15163 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15164 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15165 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15167 ... here.
15168 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15170 ... here.
15171 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15173 ... here.
15174 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15176 ... here.
15177 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15179 ... here.
15180 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15182 ... here.
15183 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15185 ... here.
15186 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15188
cfc82fd8
JM
15189 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15190 definitions to architecture-specific files.
15191 (TLS_IE): Likewise.
15192 (TLS_LD): Likewise.
15193 (TLS_GD): Likewise.
15194 * sysdeps/i386/tls-macros.h: New file.
15195 * sysdeps/powerpc/tls-macros.h: Likewise.
15196 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15197 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15198 * sysdeps/sh/tls-macros.h: Likewise.
15199 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15200 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15201 * sysdeps/x86_64/tls-macros.h: Likewise.
15202
f7db3170
TS
152032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15204
07cbfc23
TS
15205 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15206 zero value for regular exit case.
15207
f7db3170
TS
15208 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15209 (__start_context): Preserve zero value for regular exit case.
15210
dc97c227
TS
152112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15212 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15213
15214 * manual/setjmp.texi (setcontext): Clarify normal process
15215 termination when uc_link is the null pointer.
15216 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15217 exit call.
15218
d0cd7d02
AS
152192012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15220
15221 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15222 preprocessor. Test for each exception mask separately.
15223
dd318934
AJ
152242012-07-16 Andreas Jaeger <aj@suse.de>
15225
15226 * po/ru.po: Update from translation team.
15227
8048311a
JM
152282012-07-15 Joseph Myers <joseph@codesourcery.com>
15229
15230 * conform/data/string.h-data (NULL): Use macro-constant. Require
15231 equal to 0.
15232 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15233 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15234 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15235 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15237
b637d46e
AJ
152382012-07-13 Andreas Jaeger <aj@suse.de>
15239
15240 * po/fr.po: Update from translation team.
15241
541428fe
MP
152422012-07-12 Marek Polacek <polacek@redhat.com>
15243
15244 [BZ #14173]
15245 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15246 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15247 loop condition.
15248
ec332e94
JM
152492012-07-12 Joseph Myers <joseph@codesourcery.com>
15250
15251 [BZ #13717]
15252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15253 Change to 2.4.1 where previously 2.4.0.
15254 * sysdeps/unix/sysv/linux/configure: Regenerated.
15255 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15256 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15257 version.
15258 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15259 (__ASSUME_AT_CLKTCK): Remove.
15260 (__ASSUME_AT_PAGESIZE): Likewise.
15261 (__ASSUME_AT_XID): Likewise.
15262 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15263 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15264 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15265 unconditionally.
15266 (HAVE_AUX_PAGESIZE): Likewise.
15267 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15268 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15269 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15270
7b6e99be
JB
152712012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15272
15273 [BZ #14307]
15274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15275 the temporary buffer used to invoke __gethostbyname2_r,
15276 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15277 host_data / struct gaih_addrtuple.
15278 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15279 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15280 header file nss/nsswitch.h.
15281 * nss/nsswitch.h (global scope): Add definition of implementation
15282 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15283 resolv/nss_dns/dns-host.c).
15284
608404eb
AJ
152852012-07-11 Andreas Jaeger <aj@suse.de>
15286
15287 * po/fr.po: Update from translation team.
15288
71220aca
AJ
15289 * po/sv.po: Update from translation team
15290 * po/fr.po: Another update from translation team.
15291
28cfe843
AZ
152922012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293
15294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15295 for subnormals or multiply small sinh result by itself.
15296 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15298
6b90f981
DM
152992012-07-11 David S. Miller <davem@davemloft.net>
15300
15301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15302
c6825772
AS
153032012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15304
15305 [BZ #14347]
15306 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15307 (INTERNAL_MARK): Shift it here.
15308
7b8e0d49
MP
153092012-07-10 Marek Polacek <polacek@redhat.com>
15310
15311 [BZ #14151]
15312 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15313 libc_cv_asm_global_directive with .globl.
15314 * configure: Regenerated.
15315 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15316 with .globl.
15317 * sysdeps/i386/configure: Regenerated.
15318 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15319 with .globl.
15320 * sysdeps/x86_64/configure: Regenerated.
15321 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15322 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15323 * elf/tst-unique2mod2.c: Likewise.
15324 * elf/tst-unique2mod1.c: Likewise.
15325 * elf/tst-unique1mod2.c: Likewise.
15326 * elf/tst-unique1mod1.c: Likewise.
15327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15328 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15330 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15331 * sysdeps/mach/sysdep.h: Likewise.
15332 * sysdeps/i386/sysdep.h: Likewise.
15333 * sysdeps/i386/i386-mcount.S: Likewise.
15334 * sysdeps/x86_64/_mcount.S: Likewise.
15335 * sysdeps/x86_64/sysdep.h: Likewise.
15336 * sysdeps/sh/_mcount.S: Likewise.
15337 * sysdeps/sh/sysdep.h: Likewise.
15338 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15339 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15340 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15341 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15342 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15343 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15344 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15345 * locale/localeinfo.h: Likewise.
15346 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15347 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15348
6c55cda3
RM
153492012-07-09 Roland McGrath <roland@hack.frob.com>
15350
15351 [BZ #14336]
15352 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15353 system".
15354 * manual/message.texi (The Uniforum approach): Likewise.
15355 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15356 (glibc iconv Implementation): Likewise.
15357
638a572e
JM
153582012-07-09 Joseph Myers <joseph@codesourcery.com>
15359
15360 [BZ #14337]
15361 * math/s_clog.c (__clog): Avoid scaling a value down where that
15362 could result in underflow.
15363 * math/s_clog10.c (__clog10): Likewise.
15364 * math/s_clog10f.c (__clog10f): Likewise.
15365 * math/s_clog10l.c (__clog10l): Likewise.
15366 * math/s_clogf.c (__clogf): Likewise.
15367 * math/s_clogl.c (__clogl): Likewise.
15368 * math/libm-test.inc (clog_test): Add more tests.
15369 (clog10_test): Likewise.
15370 * sysdeps/i386/fpu/libm-test-ulps: Update.
15371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15372
261f4859
AS
153732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15374
0abaf3e4
AS
15375 [BZ #14283]
15376 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15377 by 7 not 8 to examine high bit of fractional part.
15378
261f4859
AS
15379 [BZ #14042]
15380 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15381 for call to __mcount_internal.
15382 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15383 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15384 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15385
f17ac40d
JM
153862012-07-06 Joseph Myers <joseph@codesourcery.com>
15387
9ad63c23
JM
15388 [BZ #14154]
15389 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15390 approximation for values within 0x1p-13f of an odd multiple of
15391 pi/4.
15392 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15393 exception. Add more tests.
15394 * sysdeps/i386/fpu/libm-test-ulps: Update.
15395
f17ac40d
JM
15396 [BZ #6778]
15397 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15398 inputs and return -1 for them. Do not check for +Inf in case not
15399 reachable for +Inf.
15400 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15401 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15402 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15403 and return -1 for them. Do not check for +Inf in case not
15404 reachable for +Inf.
15405 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15406 define.
15407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15408 and return -1 for them. Do not check for +Inf in case not
15409 reachable for +Inf.
15410 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15411 spurious underflow.
15412 * sysdeps/i386/fpu/libm-test-ulps: Update.
15413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15414
fb21f89b
MF
154152012-07-06 Mike Frysinger <vapier@gentoo.org>
15416
15417 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15418
cdfe2c5e
JM
154192012-07-05 Joseph Myers <joseph@codesourcery.com>
15420
15421 [BZ #14157]
15422 [BZ #14331]
15423 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15424 could result in spurious underflow. Scale down values above
15425 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15426 * math/s_csqrtf.c (__csqrtf): Likewise.
15427 * math/s_csqrtl.c (__csqrtl): Likewise.
15428 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15429 spurious underflow.
15430 * sysdeps/i386/fpu/libm-test-ulps: Update.
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15432
70d35b67
AS
154332012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15434
704bc459
AS
15435 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15436 xopen-msg.sed.
15437 * catgets/xopen-msg.awk: New file.
15438 * catgets/xopen-msg.sed: Removed.
15439
70d35b67
AS
15440 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15441 po2text.sed.
15442 * intl/po2test.awk: New file.
15443 * intl/po2test.sed: Removed.
15444
ca61cf32
JM
154452012-07-04 Joseph Myers <joseph@codesourcery.com>
15446
15447 [BZ #14328]
15448 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15449 or multiply small sinh result by itself.
15450 * math/s_ctanf.c (__ctanf): Likewise.
15451 * math/s_ctanh.c (__ctanh): Likewise.
15452 * math/s_ctanhf.c (__ctanhf): Likewise.
15453 * math/s_ctanhl.c (__ctanhl): Likewise.
15454 * math/s_ctanl.c (__ctanl): Likewise.
15455 * math/libm-test.inc (ctan_test_tonearest): New function.
15456 (ctan_test_towardzero): Likewise.
15457 (ctan_test_downward): Likewise.
15458 (ctan_test_upward): Likewise.
15459 (ctanh_test_tonearest): Likewise.
15460 (ctanh_test_towardzero): Likewise.
15461 (ctanh_test_downward): Likewise.
15462 (ctanh_test_upward): Likewise.
15463 (main): Call these new functions.
15464 * sysdeps/i386/fpu/libm-test-ulps: Update.
15465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15466
ca48a46a
MF
154672012-07-03 Mike Frysinger <vapier@gentoo.org>
15468
15469 * .gitignore: Delete /ports entry.
15470
9d63d37d
AJ
154712012-07-03 Andreas Jaeger <aj@suse.de>
15472
15473 * po/bg.po: Update from translation team.
15474 * po/cs.po: Likewise.
15475 * po/de.po: Likewise.
15476 * po/hr.po: Likewise.
15477 * po/nl.pl: Likewise.
15478 * po/pl.po: Likewise.
15479 * po/vi.po: Likewise.
15480
370ca3d2
JM
154812012-07-03 Joseph Myers <joseph@codesourcery.com>
15482
95f5a9a8
JM
15483 * Makeconfig [!+link] (+link-before-libc): New variable.
15484 [!+link] (+link-after-libc): Likewise.
15485 [!+link] (+link-tests): Likewise.
15486 [!+link] (+link): Define in terms of $(+link-before-libc) and
15487 $(+link-after-libc).
15488 [!+link-static] (+link-static-before-libc): New variable.
15489 [!+link-static] (+link-static-after-libc): Likewise.
15490 [!+link-static] (+link-static-tests): Likewise.
15491 [!+link-static] (+link-static): Define in terms of
15492 $(+link-static-before-libc) and $(+link-static-after-libc).
15493 [build-shared] (link-libc-before-gnulib): New variable.
15494 [build-shared] (link-libc-tests): Likewise.
15495 [build-shared] (link-libc): Define in terms of
15496 $(link-libc-before-gnulib).
15497 [!build-shared] (link-libc-tests): New variable.
15498 (link-libc-static-tests): New variable.
15499 [!gnulib] (gnulib-arch): New variable.
15500 [!gnulib] (gnulib-tests): Likewise.
15501 [!gnulib] (static-gnulib-arch): Likewise.
15502 [!gnulib] (static-gnulib-tests): Likewise.
15503 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15504 Define with "=" instead of ":=".
15505 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15506 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15507 * Rules (binaries-all-notests): New variable.
15508 (binaries-all-tests): Likewise.
15509 (binaries-static-notests): Likewise.
15510 (binaries-static-tests): Likewise.
15511 (binaries-all): Define using $(binaries-all-notests) and
15512 $(binaries-all-tests).
15513 (binaries-static): Define using $(binaries-static-notests) and
15514 $(binaries-static-tests).
15515 (binaries-shared-tests): New variable.
15516 (binaries-shared-notests): Likewise.
15517 (binaries-shared): Remove variable.
15518 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15519 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15520 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15521 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15522 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15523 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15524 * elf/Makefile (sln-modules): New variable.
15525 (extra-objs): Add $(sln-modules:=.o).
15526 (ldconfig-modules): Add static-stubs.
15527 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15528 * elf/static-stubs.c: New file.
15529
7a845b2c
JM
15530 [BZ #14283]
15531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15532 by 7 not 8 to examine high bit of fractional part. Use volatile
15533 variables when splitting into final array of floats if
15534 __FLT_EVAL_METHOD__ != 0.
15535 * math/libm-test.inc (cos_test): Add another test.
15536 (sin_test): Likewise.
15537 * sysdeps/i386/fpu/libm-test-ulps: Update.
15538
e2283f38
JM
15539 [BZ #14273]
15540 * math/libm-test.inc (cosh_test): Add more tests.
15541
370ca3d2
JM
15542 * version.h (RELEASE): Set to "development".
15543 (VERSION): Set to "2.16.90".
15544
ee9247c3
CD
155452012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15546
15547 * NEWS: Update copyright. Remove last-updated date.
15548 Mention math library bug fixes and timezone data changes.
15549 * README: Mention GNU/Hurd, x32, and HPPA support status.
15550
4648c381
TS
155512012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15552
15553 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15554
aac78a43
AJ
155552012-06-27 Andreas Jaeger <aj@suse.de>
15556
15557 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15558
ed3dbfad
AJ
155592012-06-25 Andreas Jaeger <aj@suse.de>
15560
15561 * sysdeps/s390/fpu/libm-test-ulps: Update.
15562
4d0ee855
AS
155632012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15564 Thomas Schwinge <thomas@codesourcery.com>
15565
15566 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15567 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15569 fanotify_mark.
15570
af1bce34
TS
155712012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15572
a9fa33ba
TS
15573 * sysdeps/mach/start.c: Remove file.
15574 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15575 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15576 * sysdeps/sh/init-first.c: Likewise.
15577
58f902b8
TS
15578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15579 registers for frame unwinding purposes, add CFI directives.
15580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15581 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15582 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15583 Likewise.
15584
1518f58b
TS
15585 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15586 __fortify_fail returning.
15587 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15588
db9b5059
TS
15589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15590 sysdeps/sh/____longjmp_chk.S.
15591 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15592 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15593 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15594 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15595
967705fe
TS
15596 * sysdeps/sh/abort-instr.h: New file.
15597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15598 process in case exit returns.
15599
a9def8c4
TS
15600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15601 initialize the GOT register before use.
15602
2a649725
TS
15603 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15604 calculation of ARGC > 4.
15605
af1bce34
TS
15606 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15607 meaningful names to some local labels.
15608
d230f50a
KK
156092012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15610 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15611
15612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15613 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15614 (__arch_compare_and_exchange_val_16_acq): Likewise.
15615 (__arch_compare_and_exchange_val_32_acq): Likewise.
15616 (atomic_exchange_and_add): Fix gUSA sequence.
15617 (atomic_add): Likewise.
15618 (atomic_add_negative): Likewise.
15619 (atomic_add_zero): Likewise.
15620 (atomic_bit_test_set): Likewise.
15621
0479b305
AS
156222012-06-22 Andreas Schwab <schwab@redhat.com>
15623
15624 [BZ #13579]
15625 * include/link.h (struct link_map): Add l_free_initfini.
15626 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15627 l_initfini.
15628 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15629 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15630 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15631 set.
15632
0e3933b9
CD
156332012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15634
15635 * configure.in: Use AC_LANG_SOURCE.
15636 * configure: Regenerate.
15637
4248b1b1
RM
156382012-06-22 Roland McGrath <roland@hack.frob.com>
15639
15640 * configure.in (libc_cv_localstatedir): New substituted variable.
15641 * configure: Regenerated.
15642 * config.make.in (localstatedir): New variable, substituted from
15643 libc_cv_localstatedir.
15644 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15645 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15646 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15647 * sysdeps/gnu/configure: Regenerated.
15648
006dd861
JL
156492012-06-21 Jeff Law <law@redhat.com>
15650
15651 [BZ #14277]
15652 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15653 free. Simplify list management for _LIBC case.
15654
79662d42
JM
156552012-06-21 Joseph Myers <joseph@codesourcery.com>
15656
b7abb4bf
JM
15657 [BZ #14273]
15658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15659 Clear sign bit of 64-bit integer value before comparing against
15660 overflow value.
15661
79662d42
JM
15662 * sysdeps/mach/configure: Regenerated.
15663
1f150908
L
156642012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15665
15666 [BZ #14278]
15667 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15668
28363bbf
JL
156692012-06-21 Jeff Law <law@redhat.com>
15670
15671 [BZ #13882]
15672 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15673 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15675 * elf/dl-open.c (dl_open_worker): Likewise.
15676
09615db4
CD
156772012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15678
15679 * scripts/list-sources.sh: Scan PORTS for translations.
15680 * po/libc.pot: Regenerated.
15681
2174c6dd
AJ
156822012-06-21 Andreas Jaeger <aj@suse.de>
15683
15684 [BZ #12194]
15685 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15686 warning.
15687 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15688 * bits/byteswap-16.h (__bswap_16): Likewise.
15689 * bits/byteswap.h (__bswap_constant_16): Likewise.
15690
3ee947b1
L
156912012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15692
15693 [BZ #14117]
a2f34833
L
15694 * sysdeps/i386/fpu_control.h: Removed.
15695 * sysdeps/x86_64/fpu_control.h: Moved to ...
15696 * sysdeps/x86/fpu_control.h: Here.
15697
3ee947b1
L
15698 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15699 (_FPU_SETCW): Likewise.
15700
ed1825f8
L
157012012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15702
25f1282a
L
15703 [BZ #14117]
15704 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15705 * sysdeps/x86/fpu/bits/mathinline.h: This.
15706 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15707
ed1825f8
L
15708 [BZ #14050]
15709 [BZ #14117]
15710 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15711 functions if __x86_64__ is defined.
15712
36d54b74
CLT
157132012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15714
15715 * string/endian.h: Add !__ASSEMBLER__ condition for including
15716 conversion interfaces.
15717
10285c21
JM
157182012-06-15 Joseph Myers <joseph@codesourcery.com>
15719
15720 [BZ #14241]
15721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15722 of ABS(x) in calculating zero to negative powers other than odd
15723 integers.
15724 * math/libm-test.inc (pow_test): Add more tests.
15725
06c5abbd
AJ
157262012-06-15 Andreas Jaeger <aj@suse.de>
15727
15728 * manual/contrib.texi (Contributors): Update entry of Liubov
15729 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15730 Machado Filho.
15731
a3aeac40
CH
157322012-06-15 Cyril Hrubis <metan@ucw.cz>
15733
15734 * string/string.h: Add __wur to GNU version of strerror_r.
15735
49bdf4c1
L
157362012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15737
15738 [BZ #14229]
15739 * string/Makefile (tests): Add tst-strtok_r.
15740 * string/tst-strtok_r.c: New file.
15741 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15742 RAX_LP/RDX_LP on SAVE_PTR.
15743
834f9b8d
RM
157442012-06-14 Roland McGrath <roland@hack.frob.com>
15745
15746 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15747
75fa1921
JM
157482012-06-14 Joseph Myers <joseph@codesourcery.com>
15749
15750 * libm_test.inc (csqrt_test): Allow more spurious underflow
15751 exceptions.
15752 (j0_test): Likewise.
15753 (j1_test): Likewise.
15754 (y0_test): Likewise.
15755 (y1_test): Likewise.
15756
771766df
CD
157572012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15758
15759 * po/Makefile (libc.pot): Use UTF-8 charset.
15760
ceb9e56b
PP
157612012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15762
15763 [BZ #14210]
15764 Suppress sign-conversion warning from FD_SET.
15765 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15766 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15767 not unsigned long int.
15768 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15769
ddb28975
L
157702012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15771
15772 [BZ #14050]
15773 [BZ #14117]
15774 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15775 __extern_always_inline instead of __extern_inline.
15776 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15777 (__signbit): Likewise.
15778 (__signbitl): Support C++ namespace.
15779 (lrintf): New inline function.
15780 (lrint): Likewise.
15781 (llrintf): Likewise.
15782 (llrint): Likewise.
15783 (fmaxf): Likewise.
15784 (fmax): Likewise.
15785 (fminf): Likewise.
15786 (fmin): Likewise.
15787 (rint): Likewise.
15788 (rintf): Likewise.
15789 (ceil): Likewise.
15790 (ceilf): Likewise.
15791 (floor): Likewise.
15792 (floorf): Likewise.
15793 (nearbyint): Likewise.
15794 (nearbyintf): Likewise.
15795
d7b4fb26
TS
157962012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15797
15798 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15799 non-default versions.
15800
eb55f5c2
RM
158012012-06-11 Roland McGrath <roland@hack.frob.com>
15802
15803 [BZ #14218]
15804 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15805
366af02c
TS
158062012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15807
99ff6e5c
TS
15808 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15809 (FE_UPWARD, FE_DOWNWARD): Don't define.
15810 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15812
366af02c
TS
15813 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15814 reading it.
15815 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15816 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15817
793ea851
KK
158182012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15819
15820 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15822 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15824
a728a38f
L
158252012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 [BZ #14117]
c08010c7
L
15828 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15829 * sysdeps/i386/fpu/Implies: New file.
15830 * sysdeps/x86_64/fpu/Implies: Likewise.
15831 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15832 * sysdeps/x86/fpu/bits/fenv.h: This.
15833
a728a38f
L
15834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15835 __SSE_MATH__.
15836
6e230d11
SP
158372012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15838
15839 [BZ #14134]
15840 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15841 character 0xffff that matches the last element of the
15842 conversion table.
15843
1b671feb
AZ
158442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
15846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15847 fmodl commit.
15848
6043738b
AZ
158492012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15850
15851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15852 values higher than 25.6283.
15853
34ae0b32
AZ
158542012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15855
15856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15857 subnormal exponent extraction and add some __builtin_expect.
15858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15859 Fix for subnormal mantissa calculation.
15860
1214ec8f
MF
158612012-06-04 Mike Frysinger <vapier@gentoo.org>
15862
15863 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15864 cpu2 is -1 and errno is not ENOSYS.
15865
f3d1f93c
L
158662012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15867
15868 [BZ #14117]
0e4a3cd7
L
15869 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15870 * sysdeps/x86/bits/string.h: This.
15871 * sysdeps/x86_64/bits/string.h: Removed.
15872
6704c645
L
15873 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15874 if not compiling for x86-64, but compiling for >= i486.
15875
48495318
L
15876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15877 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15878
14adcbfc
L
15879 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15880 New macro from Linux kernel 3.4.0.
15881 (FP_XSTATE_MAGIC2): Likewise.
15882 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15883 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15884 (struct _fpx_sw_bytes): New struct.
15885 (struct _xsave_hdr): Likewise.
15886 (struct _ymmh_state): Likewise.
15887 (struct _xstate): Likewise.
15888
68e408ab
L
15889 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15890 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15892 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15893 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15894 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15895
f3d1f93c
L
15896 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15897 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15898 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15899 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15900 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15901 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15902
d9dc34cd
TMQMF
159032012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15904
15905 [BZ #13743]
15906 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15907 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15908 (sysdep_headers): Include sys/platform/ppc.h.
15909 * sysdeps/powerpc/test-gettimebase.c: Test for
15910 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15911 * manual/Makefile (appendices): Include platform.texi.
15912 * manual/contrib.texi (Contributors): Update @node pointers.
15913 * manual/maint.texi (Maintenance): Likewise.
15914 (Platform): New node.
15915 * manual/platform.texi: New file. Document the new features.
15916
4af3879c
SP
159172012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15918 Jakub Jelinek <jakub@redhat.com>
15919
15920 [BZ #14188]
15921 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15922 where __builtin_expect is unavailable.
15923
2fd6ff13
DM
159242012-06-03 David S. Miller <davem@davemloft.net>
15925
15926 * stdlib/longlong.h: Updated from GCC.
15927
173f7220
AS
159282012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15929
15930 [BZ #14042]
15931 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15932 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15933 __mcount_internal.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15935 (GLIBC_2.16): Likewise.
15936
f34a1c6f
L
159372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15938
15939 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15940
88a4576f
JM
159412012-06-01 Joseph Myers <joseph@codesourcery.com>
15942
ea32bcdd
JM
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15944 (default-abi): New variable.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15946 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15947 variable.
15948 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15949 Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15951 Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15953 Likewise.
15954
88a4576f
JM
15955 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15956 definition. Document in comment.
15957
402fe938
DM
159582012-06-01 David S. Miller <davem@davemloft.net>
15959
15960 * stdlib/longlong.h: Updated from GCC.
15961
3553723f
L
159622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15963
15964 [BZ #14117]
3bd872c4
L
15965 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15966 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15967 sys/debugreg.h sys/io.h here.
15968 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15969 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15970 sys/io.h.
15971 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15972 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15973 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15974 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15975 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15976 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15977
3553723f
L
15978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15979 Define only if __x86_64__ is defined.
15980
4842e4fe
JM
159812012-06-01 Joseph Myers <joseph@codesourcery.com>
15982
c5bfe3d5
JM
15983 [BZ #14048]
15984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15985 Use int64_t for variable i.
15986 * math/libm-test.inc (fmod_test): Add more tests.
15987
4842e4fe
JM
15988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15989 z computation is not scheduled after fetestexcept.
15990 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15991 Use math_force_eval instead of asm to ensure calculation scheduled
15992 before exception test.
15993 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15994 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15995
efb73488
AJ
159962012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15997
15998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15999 computation is not scheduled after fetestexcept.
16000
29bcce7c
L
160012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 [BZ #14117]
16004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16005 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16006
73a68f94
AZ
160072012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16008
16009 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16010 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16011
67b6df78
L
160122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16013
edf2933a 16014 [BZ #14117]
ebc64a18
L
16015 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16016 <bits/wordsize.h>.
16017 (__WCHAR_MIN): Support __WORDSIZE == 64.
16018 (__WCHAR_MAX): Likewise.
16019
edf2933a
L
16020 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16021 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16022
57c6cf40
L
16023 [BZ #14183]
16024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16025 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16026
67b6df78 16027 [BZ #14117]
8eb6281e
L
16028 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16029 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16030
aac639f4
L
16031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16032 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16033
67b6df78
L
16034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16035 Defined to 1 if __x86_64__ isn't defined.
16036 (_STAT_VER_LINUX_OLD): New.
16037 (st_atime): Remove duplicate.
16038 (st_mtime): Likewise.
16039 (st_ctime): Likewise.
16040
1c2cfe81
DM
160412012-05-31 David S. Miller <davem@davemloft.net>
16042
16043 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16044 entries.
16045
5be8418c
AS
160462012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16047
e7725326
AS
16048 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16049 gen-libm-test.pl.
16050
5be8418c
AS
16051 [BZ #14132]
16052 * elf/dl-reloc.c: Include <_itoa.h>.
16053 (_dl_reloc_bad_type): Remove use of INTUSE.
16054 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16055 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16056 * stdio-common/psiginfo.c (psiginfo): Likewise.
16057 * stdio-common/psignal.c (psignal): Likewise.
16058 * string/strsignal.c (strsignal): Likewise.
16059 * include/signal.h (_sys_siglist): Declare hidden proto.
16060 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16061 INTVARDEF with libc_hidden_data_def.
16062 * stdio-common/itoa-udigits.c: Likewise.
16063 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16064 (_itoa_lower_digits_internal): Remove declaration.
16065 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16066 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16067 (_sys_sigabbrev_internal): Remove aliases.
16068 (_sys_siglist): Define hidden alias.
16069
507352f1
MT
160702012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16071
16072 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16073 bits/sysctl.h.
16074
42bbb1c3
L
160752012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 [BZ #14117]
6bd784b6
L
16078 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16079 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16080
8bca20f0
L
16081 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16082 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16083 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16084 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16086 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16087
f9e890a9
L
16088 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16089 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16090 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16091
471101a1
L
16092 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16093 with __addr.
16094 (insw): Likewise.
16095 (insl): Likewise.
16096 (outsb): Likewise.
16097 (outsw): Likewise.
16098 (outsl): Likewise.
16099
6451c862
L
16100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16103
a254b8c9
L
16104 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16105 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16107 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16108 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16109 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16110
b8dfdd92
L
16111 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16112 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16113
578cd270
L
16114 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16115 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16116
de662f5f
L
16117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16119 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16120
25653439
L
16121 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16122 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16123 to ...
16124 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16125
6bad24a0
L
16126 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16127 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16128 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16129
42bbb1c3
L
16130 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16131 for x86-64.
16132 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16133
2d10d547
JM
161342012-05-31 Joseph Myers <joseph@codesourcery.com>
16135
16136 * math/math.h (M_El): Use two more decimal places.
16137 (M_LOG2El): Likewise.
16138 (M_LOG10El): Likewise.
16139 (M_LN2l): Likewise.
16140 (M_LN10l): Likewise.
16141 (M_PIl): Likewise.
16142 (M_PI_2l): Likewise.
16143 (M_PI_4l): Likewise.
16144 (M_1_PIl): Likewise.
16145 (M_2_PIl): Likewise.
16146 (M_2_SQRTPIl): Likewise.
16147 (M_SQRT2l): Likewise.
16148 (M_SQRT1_2l): Likewise.
16149
f230c29b
DM
161502012-05-31 David S. Miller <davem@davemloft.net>
16151
16152 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16153 values between float registers.
16154 * sysdeps/sparc/sparc64/memset.S: Likewise.
16155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16156
fed806c3
MF
161572012-05-31 Mike Frysinger <vapier@gentoo.org>
16158
16159 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16160 -D_FORTIFY_SOURCE=1.
16161 (CPPFLAGS-tst-longjmp_chk.c): Define.
16162 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16163 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16164 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16165 CFLAGS-tst-wchar-h.c.
16166
30917259
MP
161672012-05-31 Marek Polacek <polacek@redhat.com>
16168
16169 [BZ #14132]
16170 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16171 __endmntent_internal): Remove declaration.
16172 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16173 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16174 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16175
1c58d5dc
DM
161762012-05-30 David S. Miller <davem@davemloft.net>
16177
16178 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16179 (___Q_simulate_exceptions): Use real FP ops rather than writing
16180 into the %fsr.
16181 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16182 Likewise.
16183
7dc00e0d
L
161842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16185
16186 [BZ #14117]
0bd53985
L
16187 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16188 * sysdeps/x86/bits/xtitypes.h: This.
16189
3a257e66
L
16190 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16191 * sysdeps/x86/bits/wordsize.h: This.
16192
62f62904
L
16193 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16194 * sysdeps/x86/bits/huge_vall.h: This.
16195
404fe9d9
L
16196 * sysdeps/i386/bits/select.h: Removed.
16197 * sysdeps/x86_64/bits/select.h: Renamed to ...
16198 * sysdeps/x86/bits/select.h: This.
16199
d48d0446
L
16200 * sysdeps/i386/bits/setjmp.h: Removed.
16201 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16202 * sysdeps/x86/bits/setjmp.h: This.
16203
7dc00e0d
L
16204 * sysdeps/i386/bits/mathdef.h: Removed.
16205 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16206 * sysdeps/x86/bits/mathdef.h: This.
16207
03277f8f
AS
162082012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16209
16210 [BZ #14132]
16211 * include/sys/socket.h (__connect_internal)
16212 (__libc_sa_len_internal): Remove declaration.
16213 (__connect, __libc_sa_len): Declare hidden_proto.
16214 (SA_LEN): Remove use of INTUSE.
16215 * socket/connect.c: Add libc_hidden_def.
16216 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16217 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16218 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16219 alias.
16220 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16221 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16222 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16223 of adding _internal alias.
16224
13764867
L
162252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 [BZ #14117]
6bd97696
L
16228 * sysdeps/i386/bits/link.h: Removed.
16229 * sysdeps/i386/bits/linkmap.h: Likewise.
16230 * sysdeps/x86_64/bits/link.h: Renamed to ...
16231 * sysdeps/x86/bits/link.h: This.
16232 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16233 * sysdeps/x86/bits/linkmap.h: This.
16234
f726f0bb
L
16235 * sysdeps/i386/bits/endian.h: Removed.
16236 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16237 * sysdeps/x86/bits/endian.h: This.
16238
13764867
L
16239 * sysdeps/i386/bits/byteswap.h: Removed.
16240 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16241 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16242 * sysdeps/x86/bits/byteswap.h: This.
16243 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16244 * sysdeps/x86/bits/byteswap-16.h: This.
16245 * sysdeps/i386/Implies: Add x86.
16246 * sysdeps/x86_64/Implies: Likewise.
16247
ae251b0b
DM
162482012-05-30 David S. Miller <davem@davemloft.net>
16249
16250 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16251 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16253 (FP_TRAPPING_EXCEPTIONS): Define.
16254 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16255 (FP_TRAPPING_EXCEPTIONS): Define.
16256 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16257 subnormals only when inexact has been signalled or underflow
16258 exceptions are enabled.
16259 (_FP_PACK_CANONICAL): Likewise.
16260
d5c90867
L
162612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16262
16263 [BZ #14183]
16264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16265 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16266
63f1549e
RH
162672012-05-30 Richard Henderson <rth@twiddle.net>
16268
8d8f2279
RH
16269 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16270 with #ifndef NOT_IN_libc.
16271
63f1549e
RH
16272 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16273 marked to avoid plt entry.
16274
0ab0291b
L
162752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16276
16277 [BZ #14112]
16278 * Makeconfig (default-abi): New macro.
16279 (abi-includes): Likewise.
16280 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16281 $(abi-$(default-abi)-lib-soname) for soname if defined.
16282 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16283 abi-variants.
16284 * Makefile (installed-stubs): Likewise.
16285 * include/stubs-biarch.h: Removed.
16286 * scripts/lib-names.awk: Only handle one library at a time.
16287 * scripts/soversions.awk: Remove WORDSIZE support.
16288 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16289 entries.
16290 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16291 Removed.
16292 (syscall-list-default-condition): Likewise.
16293 (syscall-list-default-condition): Likewise.
16294 (syscall-list-includes): Likewise.
16295 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16296 syscall-list-* with abi-*. Handle undefined abi-variants.
16297 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16298 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16299 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16300 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16301 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16302 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16303 Removed.
16304 (syscall-list-32-options): Likewise.
16305 (syscall-list-32-condition): Likewise.
16306 (syscall-list-64-options): Likewise.
16307 (syscall-list-64-condition): Likewise.
16308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16309 macro.
16310 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16311 Renamed to ...
16312 (abi-*): This.
16313 (abi-64-ld-soname): New macro.
16314 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16315 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16316 Renamed to ...
16317 (abi-*): This.
16318 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16319 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16320
4da0431d
JM
163212012-05-30 Joseph Myers <joseph@codesourcery.com>
16322
3a85279c
JM
16323 * sysdeps/unix/sysv/linux/kernel-features.h
16324 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16325 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16326 include <kernel-features.h>.
16327 [!__NR_ftruncate64]: Remove conditional code.
16328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16329 [__NR_ftruncate64]: Make code unconditional.
16330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16331 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16332 include <kernel-features.h>.
16333 [!__NR_ftruncate64]: Remove conditional code.
16334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16335 [__NR_ftruncate64]: Make code unconditional.
16336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16338 include <kernel-features.h>.
16339 [!__NR_ftruncate64]: Remove conditional code.
16340 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16341 [__NR_ftruncate64]: Make code unconditional.
16342 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16344 include <kernel-features.h>.
16345 [!__NR_ftruncate64]: Remove conditional code.
16346 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16347 [__NR_ftruncate64]: Make code unconditional.
16348 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16349
4da0431d
JM
16350 * configure.in (libc_cv_fpie): Weaken to a compile test using
16351 LIBC_TRY_CC_OPTION.
16352 * configure: Regenerated.
16353
11ef492c
AK
163542012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16355
16356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16360 Refreshed.
16361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16367 Refreshed.
16368
d66ef399
DM
163692012-05-27 David S. Miller <davem@davemloft.net>
16370
16371 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16372 (___Q_zero): New.
16373 (__Q_simulate_exceptions): Return void. Change to simulate
16374 exceptions by writing into the %fsr.
16375 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16376 (__Qp_handle_exceptions): Likewise.
16377 (numbers): Delete.
16378 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16379 __Qp_handle_exceptions.
16380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16381 __Qp_handle_exceptions.
16382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16383 as unused and give dummy FP_RND_NEAREST initializer.
16384 (FP_INHIBIT_RESULTS): Define.
16385 (___Q_simulate_exceptions): Update declaration.
16386 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16387 formatting.
16388 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16389 as unused and give dummy FP_RND_NEAREST initializer.
16390 (__Qp_handle_exceptions): Update declaration.
16391 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16392 formatting.
16393
04fb54b5
TS
163942012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16395
16396 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16397 the temporary FPU control word.
16398 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16399 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16400 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16401 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16402 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16403 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16404 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16405 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16406 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16407 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16408 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16409
3f99608f
KK
164102012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16411
16412 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16413 fields.
16414
65a4de4e
CLT
164152012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16416
16417 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16418 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16419 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16420 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16421 Likewise.
16422 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16423 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16424 Likewise.
16425
15749d40
UD
164262012-05-27 Ulrich Drepper <drepper@gmail.com>
16427
16428 * po/h.po: Update from translation team.
16429
25dbcb27
AS
164302012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16431
3d3f8e55
AS
16432 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16433
25dbcb27
AS
16434 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16435 handling of denormals.
16436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16437 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16438 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16439 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16443 Likewise.
16444
7ad47a80 164452012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16446
16447 [BZ #14152]
16448 * math/libm-test.inc (fma_test): Don't always expect underflow
16449 exception.
16450
9c6ea9fa
SP
164512012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16452
16453 [BZ #12416]
16454 * elf/tst-execstack.c: Include stackinfo.h.
16455 (do_test): Adjust test case to ensure that pthread_getattr_np
16456 behaviour remains the same after marking stack executable.
16457
a8239222
JM
164582012-05-25 Joseph Myers <joseph@codesourcery.com>
16459
16460 * sysdeps/unix/sysv/linux/kernel-features.h
16461 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16462 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16463 kernel-features.h.
16464 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16465 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16466 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16467 kernel-features.h.
16468 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16469 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16470
918b5606
L
164712012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * configure.in: Define the default includes to being none.
16474 * configure: Regenerated.
16475
3a097cc7
RM
164762012-05-25 Roland McGrath <roland@hack.frob.com>
16477
8422c9a5
RM
16478 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16479 * sysdeps/x86_64/setjmp.S: Likewise.
16480 * sysdeps/i386/bsd-setjmp.S: Likewise.
16481 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16482 * sysdeps/i386/setjmp.S: Likewise.
16483 * sysdeps/i386/__longjmp.S: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16486
3a097cc7
RM
16487 * include/stap-probe.h: New file.
16488 * configure.in: Handle --enable-systemtap.
16489 * configure: Regenerated.
16490 * config.h.in (USE_STAP_PROBE): New #undef.
16491 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16492 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16493 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16494
21708942
JM
164952012-05-25 Joseph Myers <joseph@codesourcery.com>
16496
16497 [BZ #13717]
16498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16499 to 2.4.0 where earlier.
16500 * sysdeps/unix/sysv/linux/configure: Regenerated.
16501 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16502 <kernel-features.h>.
16503 [__ASSUME_32BITUIDS]: Make code unconditional.
16504 [!__ASSUME_32BITUIDS]: Remove conditional code.
16505 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16506 <kernel-features.h>.
16507 [__ASSUME_32BITUIDS]: Make code unconditional.
16508 [!__ASSUME_32BITUIDS]: Remove conditional code.
16509 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16510 [__ASSUME_32BITUIDS]: Make code unconditional.
16511 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16512 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16513 <kernel-features.h>.
16514 [__ASSUME_32BITUIDS]: Make code unconditional.
16515 [!__ASSUME_32BITUIDS]: Remove conditional code.
16516 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16517 <kernel-features.h>.
16518 [__ASSUME_32BITUIDS]: Make code unconditional.
16519 [!__ASSUME_32BITUIDS]: Remove conditional code.
16520 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16521 <kernel-features.h>.
16522 [__ASSUME_32BITUIDS]: Make code unconditional.
16523 [!__ASSUME_32BITUIDS]: Remove conditional code.
16524 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16525 <kernel-features.h>.
16526 [__ASSUME_32BITUIDS]: Make code unconditional.
16527 [!__ASSUME_32BITUIDS]: Remove conditional code.
16528 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16529 <kernel-features.h>.
16530 [__ASSUME_32BITUIDS]: Make code unconditional.
16531 [!__ASSUME_32BITUIDS]: Remove conditional code.
16532 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16533 <kernel-features.h>.
16534 [__ASSUME_32BITUIDS]: Make code unconditional.
16535 [!__ASSUME_32BITUIDS]: Remove conditional code.
16536 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16537 <kernel-features.h>.
16538 [__ASSUME_32BITUIDS]: Make code unconditional.
16539 [!__ASSUME_32BITUIDS]: Remove conditional code.
16540 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16541 <kernel-features.h>.
16542 [__ASSUME_32BITUIDS]: Make code unconditional.
16543 [!__ASSUME_32BITUIDS]: Remove conditional code.
16544 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16545 <kernel-features.h>.
16546 [__ASSUME_32BITUIDS]: Make code unconditional.
16547 [!__ASSUME_32BITUIDS]: Remove conditional code.
16548 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16549 <kernel-features.h>.
16550 [__ASSUME_32BITUIDS]: Make code unconditional.
16551 [!__ASSUME_32BITUIDS]: Remove conditional code.
16552 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16553 <kernel-features.h>.
16554 [__NR_setresgid] (__setresgid): Do not declare.
16555 [__ASSUME_32BITUIDS]: Make code unconditional.
16556 [!__ASSUME_32BITUIDS]: Remove conditional code.
16557 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16558 <kernel-features.h>.
16559 [__NR_setresuid] (__setresuid): Do not declare.
16560 [__ASSUME_32BITUIDS]: Make code unconditional.
16561 [!__ASSUME_32BITUIDS]: Remove conditional code.
16562 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16563 <kernel-features.h>.
16564 [__ASSUME_32BITUIDS]: Make code unconditional.
16565 [!__ASSUME_32BITUIDS]: Remove conditional code.
16566 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16567 <kernel-features.h>.
16568 [__ASSUME_32BITUIDS]: Make code unconditional.
16569 [!__ASSUME_32BITUIDS]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16571 <kernel-features.h>.
16572 [__ASSUME_32BITUIDS]: Make code unconditional.
16573 [!__ASSUME_32BITUIDS]: Remove conditional code.
16574 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16575 <kernel-features.h>.
16576 [__ASSUME_32BITUIDS]: Make code unconditional.
16577 [!__ASSUME_32BITUIDS]: Remove conditional code.
16578 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16579 <kernel-features.h>.
16580 [__ASSUME_32BITUIDS]: Make code unconditional.
16581 [!__ASSUME_32BITUIDS]: Remove conditional code.
16582 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16583 <kernel-features.h>.
16584 [__ASSUME_32BITUIDS]: Make code unconditional.
16585 [!__ASSUME_32BITUIDS]: Remove conditional code.
16586 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16587 <kernel-features.h>.
16588 [__ASSUME_32BITUIDS]: Make code unconditional.
16589 [!__ASSUME_32BITUIDS]: Remove conditional code.
16590 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16591 <kernel-features.h>.
16592 [__ASSUME_32BITUIDS]: Make code unconditional.
16593 [!__ASSUME_32BITUIDS]: Remove conditional code.
16594 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16595 <kernel-features.h>.
16596 [__ASSUME_32BITUIDS]: Make code unconditional.
16597 [!__ASSUME_32BITUIDS]: Remove conditional code.
16598 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16599 <kernel-features.h>.
16600 [__ASSUME_32BITUIDS]: Make code unconditional.
16601 [!__ASSUME_32BITUIDS]: Remove conditional code.
16602 * sysdeps/unix/sysv/linux/kernel-features.h
16603 (__ASSUME_SETRESUID_SYSCALL): Remove.
16604 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16605 (__ASSUME_32BITUIDS): Likewise.
16606 (__ASSUME_LDT_WORKS): Likewise.
16607 (__ASSUME_O_DIRECTORY): Likewise.
16608 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16609 architecture but not kernel version.
16610 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16611 (__ASSUME_MMAP2_SYSCALL): Likewise.
16612 (__ASSUME_STAT64_SYSCALL): Likewise.
16613 (__ASSUME_IPC64): Likewise.
16614 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16615 <kernel-features.h>.
16616 [__ASSUME_32BITUIDS]: Make code unconditional.
16617 [!__ASSUME_32BITUIDS]: Remove conditional code.
16618 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16619 <kernel-features.h>.
16620 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16621 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16622 132096]: Remove conditional code.
16623 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16624 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16625 <kernel-features.h>.
16626 [__ASSUME_32BITUIDS]: Make code unconditional.
16627 [!__ASSUME_32BITUIDS]: Remove conditional code.
16628 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16629 <kernel-features.h>.
16630 [__ASSUME_32BITUIDS]: Make code unconditional.
16631 [!__ASSUME_32BITUIDS]: Remove conditional code.
16632 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16633 <kernel-features.h>.
16634 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16635 unconditional.
16636 (__setresgid): Do not declare.
16637 [__ASSUME_32BITUIDS]: Make code unconditional.
16638 [!__ASSUME_32BITUIDS]: Remove conditional code.
16639 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16640 <kernel-features.h>.
16641 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16642 unconditional.
16643 (__setresuid): Do not declare.
16644 [__ASSUME_32BITUIDS]: Make code unconditional.
16645 [!__ASSUME_32BITUIDS]: Remove conditional code.
16646 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16647 <kernel-features.h>.
16648 [__ASSUME_32BITUIDS]: Make code unconditional.
16649 [!__ASSUME_32BITUIDS]: Remove conditional code.
16650 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16651 <kernel-features.h>.
16652 [__ASSUME_32BITUIDS]: Make code unconditional.
16653 [!__ASSUME_32BITUIDS]: Remove conditional code.
16654
a386f1cc
RH
166552012-05-25 Richard Henderson <rth@twiddle.net>
16656
16657 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16658 dl_hwcap to ifunc resolver.
16659 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16660 elf_ifunc_invoke.
16661 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16662 dl_hwcap to ifunc resolver.
16663 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16664
b6550497
JM
166652012-05-24 Joseph Myers <joseph@codesourcery.com>
16666
16667 [BZ #14153]
16668 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16669 for |x| <= 2**-26, not 2**-57.
16670 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16671 exception.
16672
b0bc23a1
JL
166732012-05-24 Jeff Law <law@redhat.com>
16674
16675 * stdio-common/Makefile (tests): Add bug25.
16676 * stdio-common/bug25.c: New test.
16677
347c92e9
L
166782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16679
16680 [BZ #13576]
16681 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16682 multiple of MALLOC_ALIGNMENT in size.
16683 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16684
6bcc8b3f
JM
166852012-05-24 Joseph Myers <joseph@codesourcery.com>
16686
16687 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16688 Require >= 256.
16689 (FILENAME_MAX): Use macro-int-constant.
16690 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16691 (_IOFBF): Use macro-int-constant.
16692 (_IOLBF): Likewise.
16693 (_IONBF): Likewise.
16694 (SEEK_CUR): Likewise.
16695 (SEEK_END): Likewise.
16696 (SEEK_SET): Likewise.
16697 (TMP_MAX): Likewise.
16698 (EOF): Use macro-int-constant. Require < 0.
16699 (NULL): Use macro-constant. Require == 0.
16700 (stdin): Require type to be FILE *.
16701 (stdout): Likewise.
16702 (stderr): Likewise.
16703 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16704 macro-int-constant.
16705 (EXIT_SUCCESS): Likewise.
16706 (NULL): Use macro-constant. Require == 0.
16707 (RAND_MAX): Use macro-int-constant.
16708 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16709 [C99-based standards] (strtof): Require function.
16710 [C99-based standards] (strtold): Likewise.
16711 [C99-based standards] (strtoll): Likewise.
16712 [C99-based standards] (strtoull): Likewise.
16713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16714 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16715 [ISO || ISO99 || ISO11] (math.h): Likewise.
16716 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16717 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16719
d18ea0c5
AS
167202012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16721
16722 [BZ #14132]
56d25bb8
AS
16723 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16724 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16725 * intl/dgettext.c (DCGETTEXT): Likewise.
16726 * intl/gettext.c (DCGETTEXT): Likewise.
16727 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16728 * posix/regex_internal.h (gettext): Likewise.
16729 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16730 Remove declaration.
16731 * include/argz.h (__argz_count_internal)
16732 (__argz_stringify_internal): Remove declaration.
16733 (__argz_count, __argz_stringify): Declare hidden proto.
16734 * intl/dcgettext.c: Remove use of INTDEF.
16735 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16736 * string/argz-stringify.c: Likewise.
16737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16739 Declare hidden proto.
d18ea0c5
AS
16740 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16741 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16742 Declare hidden proto.
16743 * include/stdio.h (__asprintf_internal): Don't declare.
16744 (__asprintf): Don't define as macro. Declare hidden proto.
16745 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16746 (__fsetlocking): Declare hidden proto.
16747 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16748 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16749 hidden proto.
16750 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16751 (_IO_setlinebuf): Remove use of INTUSE.
16752 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16753 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16754 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16755 Remove declaration.
16756 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16757 (_IO_do_flush): Remove use of INTUSE.
16758 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16759 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16760 (_IO_adjust_column, _IO_least_wmarker)
16761 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16762 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16763 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16764 (_IO_default_doallocate, _IO_wdefault_doallocate)
16765 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16766 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16767 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16768 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16769 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16770 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16771 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16772 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16773 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16774 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16775 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16776 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16777 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16778 proto.
16779 (_IO_flush_all_internal, _IO_adjust_column_internal)
16780 (_IO_default_uflow_internal, _IO_default_finish_internal)
16781 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16782 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16783 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16784 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16785 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16786 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16787 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16788 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16789 (_IO_file_close_internal, _IO_file_close_it_internal)
16790 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16791 (_IO_file_init_internal, _IO_file_attach_internal)
16792 (_IO_file_fopen_internal, _IO_file_read_internal)
16793 (_IO_file_sync_internal, _IO_file_seek_internal)
16794 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16795 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16796 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16797 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16798 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16799 (_IO_list_all_internal, _IO_link_in_internal)
16800 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16801 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16802 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16803 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16804 (_IO_do_write_internal, _IO_padn_internal)
16805 (_IO_getline_info_internal, _IO_getline_internal)
16806 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16807 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16808 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16809 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16810 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16811 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16812 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16813 with libc_hidden_ver, remove use of INTUSE.
16814 * libio/genops.c: Likewise.
16815 * libio/freopen.c: Likewise.
16816 * libio/freopen64.c: Likewise.
16817 * libio/iofclose.c: Likewise.
16818 * libio/iofdopen.c: Likewise.
16819 * libio/iofflush.c: Likewise.
16820 * libio/iofflush_u.c: Likewise.
16821 * libio/iofgets.c: Likewise.
16822 * libio/iofgets_u.c: Likewise.
16823 * libio/iofopen.c: Likewise.
16824 * libio/iofopncook.c: Likewise.
16825 * libio/iofread.c: Likewise.
16826 * libio/iofread_u.c: Likewise.
16827 * libio/ioftell.c: Likewise.
16828 * libio/iofwrite.c: Likewise.
16829 * libio/iogetline.c: Likewise.
16830 * libio/iogets.c: Likewise.
16831 * libio/iogetwline.c: Likewise.
16832 * libio/iopadn.c: Likewise.
16833 * libio/iopopen.c: Likewise.
16834 * libio/ioseekoff.c: Likewise.
16835 * libio/ioseekpos.c: Likewise.
16836 * libio/iosetbuffer.c: Likewise.
16837 * libio/iosetvbuf.c: Likewise.
16838 * libio/ioungetc.c: Likewise.
16839 * libio/ioungetwc.c: Likewise.
16840 * libio/iovdprintf.c: Likewise.
16841 * libio/iovsprintf.c: Likewise.
16842 * libio/iovsscanf.c: Likewise.
16843 * libio/memstream.c: Likewise.
16844 * libio/obprintf.c: Likewise.
16845 * libio/oldfileops.c: Likewise.
16846 * libio/oldiofclose.c: Likewise.
16847 * libio/oldiofdopen.c: Likewise.
16848 * libio/oldiofopen.c: Likewise.
16849 * libio/oldiopopen.c: Likewise.
16850 * libio/oldstdfiles.c: Likewise.
16851 * libio/putc.c: Likewise.
16852 * libio/setbuf.c: Likewise.
16853 * libio/setlinebuf.c: Likewise.
16854 * libio/stdfiles.c: Likewise.
16855 * libio/strops.c: Likewise.
16856 * libio/vasprintf.c: Likewise.
16857 * libio/vscanf.c: Likewise.
16858 * libio/vsnprintf.c: Likewise.
16859 * libio/vswprintf.c: Likewise.
16860 * libio/wfiledoalloc.c: Likewise.
16861 * libio/wfileops.c: Likewise.
16862 * libio/wgenops.c: Likewise.
16863 * libio/wmemstream.c: Likewise.
16864 * libio/wstrops.c: Likewise.
16865 * libio/__fpurge.c: Likewise.
16866 * libio/__fsetlocking.c: Likewise.
16867 * assert/assert.c: Likewise.
16868 * debug/fgets_chk.c: Likewise.
16869 * debug/fgets_u_chk.c: Likewise.
16870 * debug/fread_chk.c: Likewise.
16871 * debug/fread_u_chk.c: Likewise.
16872 * debug/gets_chk.c: Likewise.
16873 * debug/obprintf_chk.c: Likewise.
16874 * debug/vasprintf_chk.c: Likewise.
16875 * debug/vdprintf_chk.c: Likewise.
16876 * debug/vsnprintf_chk.c: Likewise.
16877 * debug/vsprintf_chk.c: Likewise.
16878 * malloc/mtrace.c: Likewise.
16879 * misc/error.c: Likewise.
16880 * misc/syslog.c: Likewise.
16881 * stdio-common/asprintf.c: Likewise.
16882 * stdio-common/fxprintf.c: Likewise.
16883 * stdio-common/getw.c: Likewise.
16884 * stdio-common/isoc99_fscanf.c: Likewise.
16885 * stdio-common/isoc99_scanf.c: Likewise.
16886 * stdio-common/isoc99_vfscanf.c: Likewise.
16887 * stdio-common/isoc99_vscanf.c: Likewise.
16888 * stdio-common/isoc99_vsscanf.c: Likewise.
16889 * stdio-common/printf-prs.c: Likewise.
16890 * stdio-common/printf_fp.c: Likewise.
16891 * stdio-common/printf_fphex.c: Likewise.
16892 * stdio-common/printf_size.c: Likewise.
16893 * stdio-common/putw.c: Likewise.
16894 * stdio-common/scanf.c: Likewise.
16895 * stdio-common/sprintf.c: Likewise.
16896 * stdio-common/tmpfile.c: Likewise.
16897 * stdio-common/vfprintf.c: Likewise.
16898 * stdio-common/vfscanf.c: Likewise.
16899 * stdlib/strfmon_l.c: Likewise.
16900 * sunrpc/openchild.c: Likewise.
16901 * sunrpc/xdr_stdio.c: Likewise.
16902 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16903 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16904
d6c33fda
RM
169052012-05-24 Roland McGrath <roland@hack.frob.com>
16906
c1487492
RM
16907 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16908
16909 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16910 in the third column, to generate for the shared library an IFUNC
16911 that uses _dl_vdso_vsym.
16912 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16913 * Makeconfig (object-suffixes-noshared): New variable.
16914
16915 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16916 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16917 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16918 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16919
d6c33fda
RM
16920 [BZ #14132]
16921 * include/sys/time.h (__gettimeofday): Remove macro.
16922 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16923 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16924 Remove INTDEF.
16925 (__gettimeofday): Add libc_hidden_def.
16926 (gettimeofday): Add libc_hidden_weak.
16927 * sysdeps/mach/gettimeofday.c: Likewise.
16928 * sysdeps/posix/gettimeofday.c: Likewise.
16929 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16930 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16932 (__gettimeofday_internal): Remove strong_alias.
16933 (__gettimeofday): Add libc_hidden_def.
16934 (gettimeofday): Add libc_hidden_weak.
16935 * sysdeps/unix/syscalls.list (gettimeofday):
16936 Remove __gettimeofday_internal alias.
16937
b5a2bbe6
L
169382012-05-24 Daniel Jacobowitz <drow@false.org>
16939 H.J. Lu <hongjiu.lu@intel.com>
16940
16941 [BZ #12495]
16942 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16943 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16944 (largebin_index_32_big): New.
16945 (largebin_index): Use it for 16-byte alignment.
16946 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16947 correction with front_misalign.
16948
cfba4fda
L
169492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16950
7f907421
L
16951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16953 Likewise.
16954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16955 Likewise.
16956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16957 Likewise.
16958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16959 Likewise.
16960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16961 Likewise.
16962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16963 Likewise.
16964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16965 Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16967 Likewise.
16968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16969 Likewise.
16970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16971 Likewise.
16972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16973 Likewise.
16974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16975 Likewise.
16976
cfba4fda
L
16977 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16978 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16979
80bad0cc
JM
169802012-05-24 Joseph Myers <joseph@codesourcery.com>
16981
7a25eb06
JM
16982 [BZ #10846]
16983 [BZ #14036]
16984 * math/libm-test.inc (exp_test): Add test from bug 14036.
16985 (pow_test): Add test from bug 10846.
16986
795405f9
JM
16987 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16988 and other flags.
16989 (special_function): Do not include flags in test name.
16990 (parse_args): Likewise.
16991 * sysdeps/i386/fpu/libm-test-ulps: Update.
16992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16994 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996
80bad0cc
JM
16997 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16998 exceptions.
16999 * math/libm-test.inc ("Philosophy"): Update comment about
17000 exception testing.
17001 (UNDERFLOW_EXCEPTION): New macro.
17002 (UNDERFLOW_EXCEPTION_OK): Likewise.
17003 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17004 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17005 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17006 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17007 (INVALID_EXCEPTION_OK): Update value.
17008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17009 (OVERFLOW_EXCEPTION_OK): Likewise.
17010 (IGNORE_ZERO_INF_SIGN): Likewise.
17011 (test_exceptions): Handle underflow exceptions.
17012 (acos_test): Update for underflow exception expectations.
17013 (cexp_test): Likewise.
17014 (clog_test): Likewise.
17015 (clog10_test): Likewise.
17016 (csqrt_test): Likewise.
17017 (ctan_test): Likewise.
17018 (ctanh_test): Likewise.
17019 (exp_test): Likewise.
17020 (exp10_test): Likewise.
17021 (exp2_test): Likewise.
17022 (expm1_test): Likewise.
17023 (fma_test): Likewise.
17024 (j0_test): Likewise.
17025 (jn_test): Likewise.
17026 (nexttoward_test): Likewise.
17027 (pow_test): Likewise.
17028 (scalbn_test): Likewise.
17029 (scalbln_test): Likewise.
17030 (tan_test): Likewise.
17031 (y1_test): Likewise.
17032 * sysdeps/i386/fpu/libm-test-ulps: Update.
17033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034
9e0e3d0b
DM
170352012-05-23 David S. Miller <davem@davemloft.net>
17036
17037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17038 (__libc_sigaction): Remove unused local variables.
17039
ccd0a08f
L
170402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17041
17042 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17043
62bdf9a6
PE
170442012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17045
f8591f80
PE
17046 mktime: avoid signed integer overflow
17047 * time/mktime.c (__mktime_internal): Do not mishandle the case
17048 where diff == INT_MIN.
17049
94c7d826
PE
17050 mktime: simplify computation of average
17051 * time/mktime.c (ranged_convert): Use new time_t_avg function
17052 instead of rolling our own (probably-slower) code.
17053
ce73d683
PE
17054 mktime: do not assume signed right shift propagates sign bit
17055 * time/mktime.c (isdst_differ): New static function.
17056 (__mktime_internal): No need to normalize tm_isdst now.
17057 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17058 tm_isdst values.
17059
72a22e59
PE
17060 mktime: merge another wrapv change from gnulib
17061 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17062 from some compilers.
17063
68605433
PE
17064 mktime: remove incorrect attempt at unusual arithmetics
17065 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17066 The code didn't really work on such machines anyway.
17067 (TYPE_MINIMUM): Assume two's complement.
17068 (twos_complement_arithmetic): Verify that long_int and time_t
17069 are two's complement (or unsigned, in the latter case).
17070
03cf7fe3
PE
17071 mktime: check signed shifts on long_int and time_t, too
17072 * time/mktime.c (SHR): Check that shifts work as desired
17073 on the types long_int and time_t too, as SHR is used on
17074 such types.
17075
f04dfbc2
PE
17076 mktime: do not assume 'long' is wide enough
17077 * time/mktime.c (verify): Move decl up.
17078 (long_int): New type.
17079 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17080 to remove assumption in the code that 'long' is wide enough to
17081 store year values. This assumption is not true on x32 and on
17082 some non-glibc platforms.
17083
62bdf9a6
PE
17084 mktime: merge wrapv change from gnulib
17085 * time/mktime.c (WRAPV): New macro.
17086 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17087 (guess_time_tm, __mktime_internal): Do not assume that signed
17088 integer overflow wraps around; modern compilers generate code
17089 where this assumption is no longer valid.
17090
5e292e4f
L
170912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17092
17093 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17094 Replace "jmp L(pseudo_end)" with "ret".
17095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17096 Likewise.
17097
8caf8c87
AJ
170982012-05-23 Andreas Jaeger <aj@suse.de>
17099
17100 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17101 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17102
1a09dc56
AJ
171032012-05-23 Andreas Jaeger <aj@suse.de>
17104 Maximilian Attems <max@stro.at>
17105
17106 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17107 New macros.
17108
1c87aba0
L
171092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17112 code so that pseudo_end is just ret and the stack pointer is
17113 correct also for static library in error case.
17114
40e45bd5
JM
171152012-05-23 Joseph Myers <joseph@codesourcery.com>
17116
c2670533
JM
17117 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17118 move to syscalls.list.
17119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17123
40e45bd5
JM
17124 * manual/install.texi (Running make install): Do not mention Linux
17125 kernel version for which pt_chown is not needed.
17126 (Linux): Do not mention problems with nscd with 2.0 kernels.
17127 * INSTALL: Regenerated.
17128
be08eda5
AJ
171292012-05-23 Andreas Jaeger <aj@suse.de>
17130
17131 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17132 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17133 macro.
17134 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17136 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17138 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17141 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17143 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17144 * sysdeps/unix/sysv/linux/bits/in.h
17145 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17146
a6a056bb
RM
171472012-05-22 Roland McGrath <roland@hack.frob.com>
17148
17149 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17150 (PREPARE_VERSION): Just use assert instead, it will be elided
17151 under [NDEBUG] anyway.
17152
c9009328
L
171532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * sysdeps/unix/sysv/linux/Makefile: Include
17156 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17157 (sysdep_routines): Remove sysctl.
c9009328
L
17158 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17159 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17160 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17161 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17162 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17163
73338355
AJ
171642012-05-22 Andreas Jaeger <aj@suse.de>
17165
17166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17167 that pseudo_end is just ret and the stack pointer is correct also
17168 for static library in error case.
17169
d44638b0
PP
171702012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17171
17172 [BZ #14122]
17173 * nss/nsswitch.c (defconfig_entries): New variable.
17174 (__nss_database_lookup): Don't leak defconfig entries.
17175 (nss_parse_service_list): Don't leak on error paths.
17176 (free_database_entries): New function.
17177 (free_defconfig): New function.
17178 (free_mem): Move common code to free_database_entries.
17179
31a39bd8
L
171802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17181
da0331a8
L
17182 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17183 Add arch_prctl.
17184 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17185
31a39bd8
L
17186 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17187 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17189 New macro.
17190 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17191 (INTERNAL_SYSCALL_TYPES): Likewise.
17192 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17193 (LOAD_REGS_TYPES_[1-6]): Likewise.
17194 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17195 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17196
45470df3
AZ
171972012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17198
17199 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17200 copysignl for GLIBC_2_0.
17201 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17202 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17204 logbl for GLIBC_2_0.
17205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17206 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17207
98a61bcb
L
172082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17209
a4f6e481
L
17210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17212
f63d5db6
L
17213 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17214 Use "neg %eax".
17215
98a61bcb
L
17216 * time/mktime.c: Update copyright years.
17217
95770f14
PE
172182012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17219
6226efbd
PE
17220 mktime: merge comment-quoting-style change from gnulib
17221 * time/mktime.c: Quote 'like this' in comments.
17222 The GNU coding standards suggest that we no longer quote `like this',
17223 as "`" and "'" are typically rendered asymmetrically nowadays.
17224 The typical gnulib style is to quote 'like this' when quoting
17225 code, and "like this" when quoting English.
17226
b99e4f78
PE
17227 * time/mktime.c (compile-command): Add "-I.".
17228
643e01e6
PE
17229 mktime: merge mktime-internal.h change from gnulib
17230 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17231
2554247d
PE
17232 mktime: merge time_r change from gnulib
17233 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17234
826dd0ab
PE
17235 mktime: merge DEBUG change from gnulib
17236 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17237 case system <time.h> has a #define.
17238
bd83aabe
PE
17239 mktime: merge <sys/types.h> change from gnulib
17240 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17241 since <time.t> is now guaranteed to define time_t.
17242
95770f14
PE
17243 mktime: merge HAVE_CONFIG_H change from gnulib
17244 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17245
5e1a27a9
L
172462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17247
0e44a77e
L
17248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17249 Use "neg %eax".
17250
5e1a27a9
L
17251 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17252 __rlim_t cast.
17253 (struct rusage): Use anonymous union to pad each field to
17254 __syscall_slong_t.
17255
46259bec
DM
172562012-05-21 David S. Miller <davem@davemloft.net>
17257
17258 * Makefules (o-iterator): Remove .s cases.
17259 (compile-command.s): Delete.
17260 (COMPILE.s): Delete.
17261 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17262
59f0c22e
JM
172632012-05-21 Joseph Myers <joseph@codesourcery.com>
17264
17265 * configure.in (libc_cv_predef_stack_protector): Only consider
17266 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17267 * configure: Regenerated.
17268
20c07380
L
172692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17270
bbb3154b
L
17271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17272 New macro. Use R*LP on int and pointer.
17273 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17274 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17276 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17277
20c07380
L
17278 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17279 [__WORDSIZE_TIME64_COMPAT32] instead of
17280 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17281 (struct utmp): Likewise.
17282 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17283 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17284 Renamed to ...
17285 (__WORDSIZE_TIME64_COMPAT32): This.
17286 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17287 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17288 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17289 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17291 (__WORDSIZE_TIME64_COMPAT32): New macro.
17292
d8d1017e
AJ
172932012-05-21 Andreas Jaeger <aj@suse.de>
17294
17295 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17296 only if [SHARED]. Add prototype for __wcschr_ia32.
17297
6c7fb145
RM
172982012-05-21 Roland McGrath <roland@hack.frob.com>
17299
17300 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17301 of %rbp unmolested in the jmp_buf while mangling the low bits.
17302 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17303 unmolested high bits of %rbp while demangling the low bits.
17304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17305
66274218
AJ
173062012-05-21 Andreas Jaeger <aj@suse.de>
17307
07c58f8f
AJ
17308 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17309 * sunrpc/svc_simple.c: Use it for registerrpc.
17310 * sunrpc/xcrypt.c: Use it for passwd2des.
17311
66274218
AJ
17312 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17313
61f65140
L
173142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17315
17316 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17317 Don't define if [__SYSCALL_WORDSIZE != 32].
17318 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17319 New macro.
17320
5fefb436
AJ
173212012-05-21 Bruno Haible <bruno@clisp.org>
17322 Andreas Jaeger <aj@suse.de>
17323
17324 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17325 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17326 inptr and inend for must_buffer_ch.
17327 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17328 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17329 * stdio-common/Makefile (tests): Remove bug15.
17330 (bug15-ENV): Remove macro.
17331 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17332 anymore.
17333
d8e272ab
AJ
173342012-05-19 Andreas Jaeger <aj@suse.de>
17335 Roland McGrath <roland@hack.frob.com>
17336
17337 * manual/contrib.texi: Completely rewritten. It contains now an
17338 alphabetical list of contributors and their contributions.
17339
4a56a162
RH
173402012-05-21 Richard Henderson <rth@twiddle.net>
17341
17342 * misc/getauxval.c (__getauxval): Use unsigned long int.
17343 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17344 (getauxval): Use unsigned long int.
17345
d024d23c
L
173462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17349
cbc00a03
RM
173502012-05-21 Roland McGrath <roland@hack.frob.com>
17351
17352 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17353 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17354 __alignof__ (long double).
17355
478143fa
AZ
173562012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17357
17358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17359
c7683a6d
RH
173602012-05-20 Richard Henderson <rth@twiddle.net>
17361
17362 * misc/getauxval.c: New file.
17363 * misc/sys/auxv.h: New file.
17364 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17365 (routines): Add getauxval.
17366 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17367 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17368 * elf/dl-sysdep.c (_dl_auxv): Remove.
17369 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17370 * elf/dl-support.c (_dl_auxv): New variable.
17371 (_dl_aux_init): Initialize it.
17372 * manual/startup.texi (Auxiliary Vector): New node.
17373 * sysdeps/generic/bits/hwcap.h: New file.
17374 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17375 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17376 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17377 * sysdeps/sparc/sysdep.h: ... here. Include it.
17378 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17381 Update.
c7683a6d
RH
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17385 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17390
a6f1845d
AZ
173912012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17392
17393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17394
cbcbe830
DM
173952012-05-19 David S. Miller <davem@davemloft.net>
17396
17397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17398
e0b16cc2
JM
173992012-05-19 Joseph Myers <joseph@codesourcery.com>
17400
17401 [BZ #14123]
17402 * math/s_ccosh.c: Include <float.h>
17403 (__ccosh): Avoid internal overflow calculating sinh and cosh
17404 values before multiplying by sin and cos values.
17405 * math/s_ccoshf.c: Likewise.
17406 * math/s_ccoshl.c: Likewise.
17407 * math/s_csin.c: Likewise.
17408 * math/s_csinf.c: Likewise.
17409 * math/s_csinl.c: Likewise.
17410 * math/s_csinh.c: Likewise.
17411 * math/s_csinhf.c: Likewise.
17412 * math/s_csinhl.c: Likewise.
17413 * math/libm-test.inc (ccos_test): Add more tests.
17414 (ccosh_test): Likewise.
17415 (csin_test): Likewise.
17416 (csinh_test): Likewise.
17417 * sysdeps/i386/fpu/libm-test-ulps: Update.
17418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17419
6ad13e08
L
174202012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17421
f66f0ce8
L
17422 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17423 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17424
6ad13e08
L
17425 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17426
b1d072a7
JM
174272012-05-19 Joseph Myers <joseph@codesourcery.com>
17428
17429 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17430 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17431 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17432 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17433 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17434 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17435 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17436 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17437 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17438 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17439 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17440 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17441 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17442 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17443 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17444 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17445 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17446 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17447 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17448 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17449 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17450 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17451 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17452 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17453 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17454 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17455 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17456 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17457 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17458 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17459 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17460
9eae47cb
AJ
174612012-05-18 Andreas Jaeger <aj@suse.de>
17462
17463 * csu/.gitignore: Delete.
17464
bb07f69f
L
174652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17466
17467 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17468 (timex): Use __syscall_slong_t.
17469
e6bdb741
AJ
174702012-05-18 Andreas Jaeger <aj@suse.de>
17471 Carlos O'Donell <carlos_odonell@mentor.com>
17472
17473 * manual/install.texi (Configuring and compiling): Update
17474 description about files modified in the source directory.
d6c33fda 17475 * INSTALL: Regenerated.
e6bdb741 17476
1b74487e
L
174772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17478
17479 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17480 value. Use "or" to set return value to -1.
17481 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17482 negate return value.
17483
a88b64b9
TMQMF
174842012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17485
17486 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17487 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17488 failure if the compiler has Graphite support disabled.
17489 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17490 Likewise.
17491 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17492 CFLAGS-memmove.c): Likewise.
17493 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17494 Likewise.
17495
3707636e
L
174962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17497
610b8622
L
17498 * sysdeps/x86_64/x32/_itoa.h: New file.
17499
7cd195df
L
17500 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17501 getdents system call only if kernel and user dirents have the
17502 same d_ino and d_off.
17503
94b07d20
L
17504 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17505 LLONG_MAX != LONG_MAX.
17506 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17507 (_fitoa_word): Likewise.
17508
18298070
L
17509 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17510 years.
17511 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17513 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17514
553c7ea4
L
17515 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17516 include <bits/wordsize.h>. Check __x86_64__ instead of
17517 __WORDSIZE.
17518 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17519 if __x86_64__ is defined. Use anonymous union on fpstate.
17520
3707636e
L
17521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17522 anonymous union.
17523
b53ef01a
AS
175242012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17525
37fb1dc0
AS
17526 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17527 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17528 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17529 Refer to _rtld_local_ro instead of _rtld_global_ro.
17530 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17531 Likewise.
17532 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17533 Likewise.
17534 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17535 Likewise.
17536 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17537 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17538 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17539
b53ef01a
AS
17540 * sysdeps/powerpc/powerpc32/dl-machine.c
17541 (__elf_machine_runtime_setup) [PROF]: Don't reference
17542 _dl_prof_resolve.
17543
7a185db2
AJ
175442012-05-18 Andreas Jaeger <aj@suse.de>
17545
17546 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17547 function only available for GCCs before 3.4 since GCC 3.4
17548 introduced a builtin.
17549 (lrint): Likewise.
17550 (llrintf): Likewise.
17551 (llrint): Likewise.
17552 (fmaxf): Likewise.
17553 (fmax): Likewise.
17554 (fminf): Likewise.
17555 (fmin): Likewise.
17556 (rint): Likewise.
17557 (rintf): Likewise.
17558 (nearbyint): Likewise.
17559 (nearbyintf): Likewise.
17560 (ceil): Likewise.
17561 (ceilf): Likewise.
17562 (floor): Likewise.
17563 (floorf): Likewise.
17564
3e5aef87
L
175652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17566
428bd707
L
17567 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17568 on both fields and cast pointer to __syscall_ulong_t.
17569
3e5aef87
L
17570 * bits/types.h (__fsword_t): New type.
17571 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17572 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17574 (__FSWORD_T_TYPE): Likewise.
17575 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17576 (__FSWORD_T_TYPE): Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17578 (__FSWORD_T_TYPE): Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17580 (__FSWORD_T_TYPE): Likewise.
17581 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17582 __SWORD_TYPE with __fsword_t.
17583 (statfs64): Likewise.
17584
1ba7c3dc
DM
175852012-05-17 David S. Miller <davem@davemloft.net>
17586
17587 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17588
59910343
AJ
175892012-05-17 Andreas Jaeger <aj@suse.de>
17590
17591 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17592 warning.
17593
2e4c1e9e
L
175942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17595
17596 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17597
de7f5ce7
AJ
175982012-05-17 Andreas Jaeger <aj@suse.de>
17599
17600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17601 when it is used.
17602
286abc3d
CM
176032012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17604
17605 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17606
477cc68e
L
176072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17610 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17611
1a0994f5
CD
176122012-05-17 Andreas Jaeger <aj@suse.de>
17613 Carlos O'Donell <carlos_odonell@mentor.com>
17614
17615 [BZ #14059]
17616 * sysdeps/x86_64/multiarch/init-arch.h
17617 (bit_YMM_Usable): Rename to...
17618 (bit_AVX_Usable): ... this.
17619 (bit_FMA4_Usable): New macro.
17620 (bit_XMM_state): New macro.
17621 (bit_YMM_state): New macro.
17622 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17623 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17624 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17625 (CPUID_OSXSAVE): New macro.
17626 (CPUID_AVX): New macro.
17627 (CPUID_FMA4): New macro.
17628 (index_YMM_Usable): Rename to...
17629 (index_AVX_Usable): ... this.
17630 (HAS_AVX): Use HAS_ARCH_FEATURE.
17631 (HAS_FMA4): Likewise.
17632 (HAS_YMM_USABLE): Remove.
17633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17634 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17635 are present.
17636 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17637 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17638 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17639 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17640 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17641
0af797de
CM
176422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17643
17644 * math/libm-test.c: Support platforms without multiple rounding modes.
17645 * math/bug-nextafter.c: Support platforms without FP exceptions.
17646 * math/bug-nexttoward.c: Likewise.
17647 * math/test-fenv.c: Likewise.
17648 * math/test-misc.c: Likewise.
17649 * stdlib/bug-getcontext.c: Likewise.
17650
e39745ff
AJ
176512012-05-17 Andreas Jaeger <aj@suse.de>
17652
17653 * manual/examples/search.c (critter_cmp): Change signature to
17654 avoid warnings.
17655 * manual/string.texi (Collation Functions): Likewise.
17656
48970aba
L
176572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 * bits/types.h: Fold copyright years.
17660 * bits/typesizes.h: Likewise.
17661 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17665 * time/time.h: Likewise.
17666
bedee953
PP
176672012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17668
17669 [BZ #208]
17670 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17671 in instead of returning them. Return void.
17672 (__libc_mallinfo): Accumulate over all arenas.
17673 (__malloc_stats): Adjust for change in int_mallinfo interface.
17674
61653dfb
RM
176752012-05-16 Roland McGrath <roland@hack.frob.com>
17676
30b99d79
RM
17677 [BZ #10375]
17678 * configure.in (NM): Add AC_CHECK_TOOL for it.
17679 (libc_extra_cflags): New substituted variable.
17680 Check for -fstack-protector being used implicitly.
17681 * configure: Regenerated.
17682 * config.make.in (config-extra-cflags): New variable,
17683 gets @libc_extra_cflags@.
17684 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17685
61653dfb
RM
17686 [BZ #10375]
17687 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17688 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17689 * configure: Regenerated.
17690 * config.make.in (CPPUNDEFS): New substituted variable.
17691 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17692 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17693 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17694
661768bb
L
176952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17696
17697 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17698 (mq_attr): Use __syscall_slong_t.
17699
d4261567
L
177002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17701
17702 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17703 Check __x86_64__ instead of __WORDSIZE.
17704 (_STAT_VER_LINUX): Likewise.
17705 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17706 __syscall_ulong_t and __syscall_slong_t.
17707 (stat64): Likewise.
17708
cf3ff365
L
177092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17712
76cf3e4d
L
177132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17714
17715 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17716
a637753a
L
177172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17718
17719 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17720 __syscall_ulong_t.
17721
d5e05119
L
17722 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17723 include <bits/wordsize.h>. Check __x86_64__ instead of
17724 __WORDSIZE.
17725 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17726 defined.
17727 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17728
f62ee380
L
17729 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17730 include <bits/wordsize.h>. Check __x86_64__ instead of
17731 __WORDSIZE.
17732 (user_regs_struct): Use "__extension__ unsigned long long"
17733 instead of "unsigned long" if __x86_64__ is defined.
17734 (user): Likewise. Pad after pointer field if __ILP32__ is
17735 defined.
17736
4e124ced
JM
177372012-05-16 Joseph Myers <joseph@codesourcery.com>
17738
6a3951a0
JM
17739 * configure.in (makeinfo): Require version 4.5 or later. Allow
17740 versions 5 to 9.
17741 * configure: Regenerated.
17742 * manual/install.texi (texinfo): Increase version requirement to
17743 4.5 or later.
17744 * INSTALL: Regenerated.
17745
4e124ced
JM
17746 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17747
953ca31a
L
177482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17751
617aca05
L
17752 * sysdeps/x86_64/x32/ffs.c: New file.
17753
5762f7ae
L
17754 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17755 __syscall_ulong_t.
17756 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17757 defined. Use __syscall_ulong_t.
17758 (shminfo): Use __syscall_ulong_t.
17759 (shm_info): Likewise.
17760
a26b6856
L
17761 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17762 __syscall_ulong_t.
17763
cb2b9ef7
L
17764 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17765 <bits/wordsize.h>.
17766 (msgqnum_t): Use __syscall_ulong_t.
17767 (msglen_t): Likewise.
17768 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17769 __syscall_ulong_t.
17770
34683bb0
L
17771 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17772 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17773
84a68786
L
17774 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17775
48baa5f1
L
17776 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17777 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17778
180be88b
L
17779 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17780 __syscall_slong_t.
17781
5e90c8ad
L
17782 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17783 include <bits/wordsize.h>. Check __x86_64__ instead of
17784 __WORDSIZE.
17785
23dfb58b
L
17786 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17787 "unsigned long long int" if __x86_64__ is defined.
17788 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17789
ce5d54b0
L
17790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17791 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17792 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17793
13dc9eac
L
17794 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17795 <stdint.h>.
17796 (GET_PC): Cast to uintptr_t first.
17797 (GET_FRAME): Likewise.
17798 (GET_STACK): Likewise.
17799
a7895d15
L
17800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17805 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17806 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17810 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17812 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17816 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17823 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17825 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17829
656416c9
AS
178302012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17831
5bd66283
AS
17832 * Makerules (+depfiles): Also collect depfiles from .oS in
17833 $(extra-objs).
17834 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17835 .oS, $(libnldbl-routines)).
17836
656416c9
AS
17837 * Makerules (native-compile-mkdep-flags): Define.
17838 * sunrpc/Makefile (extra-objs): Add $(addprefix
17839 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17840 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17841 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17842 calling $(make-target-directory).
17843
a46f2169
L
178442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17845
17846 * bits/types.h (__snseconds_t): Removed.
17847 * time/time.h (struct timespec): Replace __snseconds_t with
17848 __syscall_slong_t.
17849 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17850 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17851 Likewise.
17852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17853 (__SNSECONDS_T_TYPE): Likewise.
17854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17855 (__SNSECONDS_T_TYPE): Likewise.
17856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17857 (__SNSECONDS_T_TYPE): Likewise.
17858
6af6528b
L
178592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 * sysdeps/mach/hurd/bits/typesizes.h
17862 (__SYSCALL_SLONG_TYPE): New macro.
17863 (__SYSCALL_ULONG_TYPE): Likewise.
17864
de986b56
L
178652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17866
17867 * bits/types.h (__syscall_slong_t): New type.
17868 (__syscall_ulong_t): Likewise.
17869
17870 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17871 (__SYSCALL_ULONG_TYPE): Likewise.
17872 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17873 (__SYSCALL_SLONG_TYPE): Likewise.
17874 (__SYSCALL_ULONG_TYPE): Likewise.
17875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17876 (__SYSCALL_SLONG_TYPE): Likewise.
17877 (__SYSCALL_ULONG_TYPE): Likewise.
17878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17879 (__SYSCALL_SLONG_TYPE): Likewise.
17880 (__SYSCALL_ULONG_TYPE): Likewise.
17881
85736dc7
L
178822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17883
17884 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17885 Add sigaltstack-offsets.sym.
17886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17887 <sigaltstack-offsets.h>.
17888 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17889 longjmp_msg pointer.
17890 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17891 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17892 signal stack.
17893 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17894
cc03b296
JM
178952012-05-15 Joseph Myers <joseph@codesourcery.com>
17896
a9538892
JM
17897 * elf/stackguard-macros.h: Remove file.
17898 * sysdeps/generic/stackguard-macros.h: New file.
17899 * sysdeps/i386/stackguard-macros.h: Likewise.
17900 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17901 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17902 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17903 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17904 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17905 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17906 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17907 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17908 <elf/stackguard-macros.h>.
17909
cc03b296
JM
17910 [BZ #14109]
17911 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17912 __aligned__ in attribute.
17913 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17914 (gregset_t): Likewise.
17915
93171016
L
179162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17917
17918 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17919 * sysdeps/x86_64/64/Implies-after: Here. New file.
17920 * sysdeps/x86_64/x32/Implies-after: New file.
17921
d86813a0
L
179222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17923
17924 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17925 and access return value for _dl_profile_fixup. Use R10_LP to
17926 load frame size.
17927
2953ec75
L
179282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17931
3b550e9e
L
179322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17933
17934 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17935 * sysdeps/x86_64/x32/sysdep.h: New file.
17936
eda41706
L
179372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17938
17939 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17940 * sysdeps/x86_64/setjmp.S: Likewise.
17941
9ea01d93
AZ
179422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17943
17944 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17945 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17946 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17948 remove unused global constant.
17949
02a91938
CM
179502012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17951
17952 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17953 include of <not-cancel.h>.
17954
6540185f
RM
179552012-05-15 Roland McGrath <roland@hack.frob.com>
17956
17957 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17958
509072a0
AJ
179592012-05-15 Jeff Law <law@redhat.com>
17960 Andreas Jaeger <aj@suse.de>
17961
17962 [BZ #13594]
17963 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17964 out from...
17965 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17966 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17967 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17968 code changing __hst_map_handle.map.
17969
ba75122d
RM
179702012-05-15 Roland McGrath <roland@hack.frob.com>
17971
17972 * configure.in (sysnames): Look for Implies-before and Implies-after
17973 files.
17974 * configure: Regenerated.
17975
890d8bd8
L
179762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17979 8-byte data alignment with LP_SIZE alignment.
17980
f6ee6623
L
179812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17984 into R10_LP.
17985
ea2626f6
L
179862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17987
17988 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17989
085f715e
L
179902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17994 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17995 Likewise.
17996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17997
be8498fc
L
179982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17999
18000 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18001 (stackinfo_sub_sp): Likewise.
18002
70bc83b9
L
180032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18004
18005 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18006 RAX_LP.
18007
9bc0b730
L
180082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18009
18010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18011 into R*_LP.
18012
6d2850e7
L
180132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18014
18015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18016 sizes into R*_LP.
18017
3cb84561
L
180182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18021
54e2ed81
L
180222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18025 into R11_LP and load __x86_64_shared_cache_size_half into
18026 R8_LP.
18027
8a17f349
L
180282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18029
18030 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18031 R8_LP.
18032
777b1eea
AZ
180332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18034
18035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18036 logb for POWER7.
18037 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18038 logbf for POWER7.
18039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18040 logbl for POWER7.
18041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18042 powerpc32/power7/fpu/s_logb.c via #include.
18043 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18044 powerpc32/power7/fpu/s_logbf.c via #include.
18045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18046 powerpc32/power7/fpu/s_logbl.c via #include.
18047
d20d4ac2
JM
180482012-05-15 Joseph Myers <joseph@codesourcery.com>
18049
18050 * README.libm: Remove file.
18051
6cdef1ab
L
180522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18055 count for x32. Use R*_LP and omit operand-size suffix.
18056
0b254d8f
L
180572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18058
18059 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18060 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18061 * sysdeps/x86_64/x32/shlib-versions: New file.
18062
ceb809dc
RM
180632012-05-14 Roland McGrath <roland@hack.frob.com>
18064
18065 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18066 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18067 Use _dl_fatal_printf instead.
18068
37f1abd4
JM
180692012-05-14 Joseph Myers <joseph@codesourcery.com>
18070
18071 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18072 set if not set by the user. Do not allow for being unset.
18073 * sysdeps/unix/sysv/linux/configure: Regenerated.
18074
11de3a33
L
180752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18076
18077 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18078 the `q' suffix from lea and replace .quad with ASM_ADDR.
18079
e02f153a
L
180802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18081
18082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18083 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18084 instead of $17.
18085 (PTR_DEMANGLE): Likewise.
18086
520ae0fd
L
180872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18088
18089 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18090 (LP_OP): Likewise.
18091 (ASM_ADDR): Likewise.
18092 (RAX_LP): Likewise.
18093 (RBP_LP): Likewise.
18094 (RBX_LP): Likewise.
18095 (RCX_LP): Likewise.
18096 (RDI_LP): Likewise.
18097 (RSI_LP): Likewise.
18098 (RSP_LP): Likewise.
18099 (R8_LP): Likewise.
18100 (R9_LP): Likewise.
18101 (R10_LP): Likewise.
18102 (R10_LP): Likewise.
18103 (R11_LP): Likewise.
18104 (R12_LP): Likewise.
18105 (R13_LP): Likewise.
18106 (R14_LP): Likewise.
18107 (R15_LP): Likewise.
18108
b985be81
L
181092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18110
18111 * sysdeps/x86_64/x32/dl-machine.h: New file.
18112
6a4888ff
AJ
181132012-05-14 Andreas Jaeger <aj@suse.de>
18114
18115 * manual/Makefile (subdir): Remove export of subdir.
18116 (all): Remove target.
18117 (.PHONY): Remove all from list.
18118 (mkinstalldirs): Remove.
18119 (.PHONY): Remove installdirs from list.
18120 ($(inst_infodir)/libc.info): Use make-target-directory.
18121 (installdirs): Remove.
18122 (subdir_%): Remove.
18123 (glibc-targets): Remove.
18124 (lib): Remove.
18125 (stubs): Remove.
18126 ($(objpfx)stubs ../po/manual.pot): Remove.
18127 ($(objpfx)stamp%): Remove.
18128 (make-target-directory): Remove.
18129 (subdir_install): Remove.
18130 (routines): Remove.
18131 (aux): Remove.
18132 (sources): Remove.
18133 (objects): Remove.
18134 (headers): Remove.
18135
18136 [BZ #13750]
18137 * manual/.gitignore: Remove, it's not needed anymore.
18138 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18139 all files in it.
18140 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18141 directory.
18142 (texis): Renamed to $(objpfx)texis.
18143 (texis-path): New, contains path to generated files.
18144 (chapters.%): Use texis-path for complete path, add extra argument
18145 libc-texinfo.sh.
18146 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18147 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18148 (summary,texi, stamp-summary): Use complete path of
18149 files. Generate files in build dir.
18150 (dir-add.texi): Build in build dir.
18151 (libm-err.texi,stamp-libm-err): Likewise.
18152 (version.texi, stamp-version): Likewise.
18153 (.%c.texi): Likewise.
18154 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18155 (mostlyclean): Remove target.
18156 (realclean): Remove target.
18157 (generated): Add new variable with contents from mostlyclean and
18158 realclean, remove entries duplicated in common-mostlyclean, add
18159 stamp-libm-err and stamp-version.
18160 (generated-dirs): Add libc directory.
18161 ($(inst_infodir)/libc.info): Install files from build dir.
18162
18163 * manual/install.texi (Configuring and compiling): Adjust since
18164 the info files are not part of the tar ball anymore.
18165
7ac77294
AJ
181662012-05-14 Andreas Jaeger <aj@suse.de>
18167
18168 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18169 variable.
18170
ffb7875d
JM
181712012-05-14 Joseph Myers <joseph@codesourcery.com>
18172
18173 [BZ #13717]
18174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18175 to 2.2.0 where earlier.
18176 * sysdeps/unix/sysv/linux/configure: Regenerated.
18177 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18178 Remove conditional code.
18179 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18180 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18181 Remove conditional code.
18182 [!__NR_lchown]: Likewise.
18183 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18184 [__NR_lchown]: Likewise.
18185 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18186 comment referencing __ASSUME_LCHOWN_SYSCALL.
18187 * sysdeps/unix/sysv/linux/i386/sigaction.c
18188 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18189 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18190 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18191 Remove conditional code.
18192 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18193 (__protocol_available): Remove #if 0 code.
18194 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18195 conditional code.
18196 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18197 * sysdeps/unix/sysv/linux/kernel-features.h
18198 (__ASSUME_GETCWD_SYSCALL): Don't define.
18199 (__ASSUME_REALTIME_SIGNALS): Likewise.
18200 (__ASSUME_PREAD_SYSCALL): Likewise.
18201 (__ASSUME_PWRITE_SYSCALL): Likewise.
18202 (__ASSUME_POLL_SYSCALL): Likewise.
18203 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18204 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18205 non-SPARC.
18206 (__ASSUME_SIOCGIFNAME): Don't define.
18207 (__ASSUME_MSG_NOSIGNAL): Likewise.
18208 (__ASSUME_SENDFILE): Define unconditionally.
18209 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18210 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18211 conditional code.
18212 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18213 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18215 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18217 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18218 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18243 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18244 Remove conditional code.
18245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18246 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18247 Remove conditional code.
18248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18249 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18250 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18251 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18252 Remove conditional code.
18253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18254 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18255 Remove conditional code.
18256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18257 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18258 Remove conditional code.
18259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18260 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18261 Remove conditional code.
18262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18263 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18264 Remove conditional code.
18265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18266 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18269 * sysdeps/unix/sysv/linux/sigaction.c
18270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18272 * sysdeps/unix/sysv/linux/sigpending.c
18273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18275 * sysdeps/unix/sysv/linux/sigprocmask.c
18276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18278 * sysdeps/unix/sysv/linux/sigsuspend.c
18279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18282 (__libc_missing_rt_sigs): Remove.
18283 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18284 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18285 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18286 Remove conditional code.
18287 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18288 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18289 return 1.
18290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18291 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18293 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18294
1bfb7291
AJ
182952012-05-14 Andreas Jaeger <aj@suse.de>
18296
caae5a81
AJ
18297 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18298 it's not used in glibc.
18299 (__coshm1): Likewise.
18300 (__acosh1p): Likewise.
18301 (__sgn): Likewise.
18302
1bfb7291
AJ
18303 * manual/string.texi (Copying and Concatenation): Add missing
18304 variable in concat example.
18305 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18306
c044d724
L
183072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18308
144c5467 18309 [BZ #14103]
c044d724
L
18310 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18311 __builtin_clzl with __builtin_clzll.
18312
2523c62b
L
183132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18314
18315 [BZ #14104]
18316 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18317 libc_freeres_ptr.
18318
d7bb4c42
LD
183192012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18320
18321 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18322 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18323 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18325
9dc4e1fb
MF
183262012-05-14 Mike Frysinger <vapier@gentoo.org>
18327
18328 * NEWS: Update ia64 info.
18329
c7df0112
AS
183302012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18331
18332 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18333 used as bcopy.
18334
dc70356c
TS
183352012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18336
18337 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18338 * sysdeps/unix/syscalls.list (dup3): Likewise.
18339 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18340 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18341
9fb1a21f
L
183422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18343
18344 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18345 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18346
4822a2a5
L
183472012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18348
18349 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18350 thread pointer.
18351 (TLS_IE): Use mov/add instead of movq/addq to load thread
18352 pointer.
18353 (TLS_GD_PREFIX): New.
18354 (TLS_GD): Use it.
18355
842b81d6
DM
183562012-05-11 David S. Miller <davem@davemloft.net>
18357
18358 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18359 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18360 (_FPU_SETCW): Likewise.
18361
1cf463cd
L
183622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18363
18364 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18365 is 32-byte aligned.
18366
60cc4a18
AS
183672012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18368
18369 [BZ #11837]
18370 * iconvdata/gb18030.c: Update tables.
18371 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18372 characters specially.
18373 (BODY for TO_LOOP): Add encoding of missing ranges.
18374
febb44a4
TS
183752012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18376
18377 [BZ #13673]
18378 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18379 * sysdeps/mach/hurd/dup3.c: Likewise.
18380 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18381 * sysdeps/powerpc/memmove.c:: Likewise.
18382
0a10fb9e
L
183832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18384
18385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18386 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18387
df8a552f
L
183882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18389
18390 * elf/elf.h (R_X86_64_RELATIVE64): New.
18391 (R_X86_64_NUM): Updated.
18392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18393 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18394 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18395 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18396 tst-quad1pie tst-quad2pie
18397 (modules-names): Add tst-quadmod1 tst-quadmod2.
18398 ($(objpfx)tst-quad1): New dependency.
18399 ($(objpfx)tst-quad2): Likewise.
18400 ($(objpfx)tst-quad1pie): Likewise.
18401 ($(objpfx)tst-quad2pie): Likewise.
18402 * sysdeps/x86_64/tst-quad1.c: New file.
18403 * sysdeps/x86_64/tst-quad1pie.c: New file.
18404 * sysdeps/x86_64/tst-quad2.c: Likewise.
18405 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18406 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18407 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18408 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18409 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18410
f34d6f84
ST
184112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18412
f42d41d1
ST
18413 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18414 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18415 * streams/stropts.h (t_scalar_t): Define type.
18416
3c3571fc
ST
18417 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18418 (_PATH_PRESERVE): Set to "/var/lib".
18419 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18420
61f06bd3
ST
18421 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18422 instead of int.
18423
918d4d71
ST
18424 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18425 if __dir_mkfile succeeded.
18426
f34d6f84
ST
18427 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18428 checking for _hurd_dtablesize. Unlock it right after having
18429 finished _hurd_dtable allocation.
18430
10589b4a
TS
184312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18432
674cdbc7
TS
18433 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18434 * sysdeps/mach/hurd/configure: Regenerated.
18435 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18436 special-casing to...
18437 * sysdeps/gnu/configure.in: ... this new file.
18438 * sysdeps/unix/sysv/linux/configure: Regenerated.
18439 * sysdeps/gnu/configure: New generated file.
18440
8e41b99f
TS
18441 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18442 for Linux: use nsec instead of usec, as well as:
18443 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18444 members of type struct timespec.
18445 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18446 New macros.
18447 (struct stat64): Likewise.
18448 (_STATBUF_ST_NSEC): New macro.
18449 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18450
10589b4a
TS
18451 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18452 __strtoul_internal rather than strtoul.
18453
63643c85
PT
184542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18455
18456 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18457 and reject them.
18458
3faebe6a
ST
184592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18460
18461 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18462 which preserves existing values.
18463 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18464
c6474b07
PT
184652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18466
18467 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18468 TIMEOUT values. Return EINVAL for NFDS values either negative or
18469 greater than FD_SETSIZE.
18470
1043890b
ST
184712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18472
18473 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18474 allocated, call __vm_protect to finish enabling the existing space, and
18475 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18476 allocate the remainder.
18477
37ed8b9b
PT
184782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18479
18480 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18481 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18482
db653660
ST
184832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18484
37ed8b9b
PT
18485 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18486 sysdeps/mach/hurd/readlink.c.
b29d4053 18487
db653660
ST
18488 * posix/tst-sysconf.c (posix_options): Only use
18489 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18490 _POSIX_SYNCHRONIZED_IO when they are defined
18491 * sysdeps/mach/hurd/bits/posix_opt.h:
18492 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18493 (_XOPEN_REALTIME): Undefine macro.
18494 (_XOPEN_REALTIME_THREADS): Undefine macro.
18495 (_XOPEN_SHM): Undefine macro.
18496 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18497 macro to -1.
18498 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18499 macro to -1.
18500 (_POSIX_ASYNC_IO): Undefine macro.
18501 (_POSIX_PRIORITIZED_IO): Undefine macro.
18502 (_POSIX_SPIN_LOCKS): Define macro to -1.
18503
ee16e894
ST
18504 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18505 SA_NODEFER, SA_RESETHAND.
18506 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18507 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18508 F_DUPFD_CLOEXEC.
18509
6103ae3b
TS
185102012-05-10 Thomas Schwinge <thomas@schwinge.name>
18511
18512 * elf/Makefile (pldd-modules): Define unconditionally.
18513
80b4e5f3
TS
185142012-05-10 Thomas Schwinge <thomas@schwinge.name>
18515
18516 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18517
edadcbd6
ST
185182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18519
18520 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18521 Return ENOENT when name is empty.
18522 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18523
80694780
TS
185242012-05-10 Thomas Schwinge <thomas@schwinge.name>
18525
1792c087
TS
18526 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18527
80694780
TS
18528 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18529
6b645f0d
ST
185302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18531
80694780
TS
18532 Fix mlock in all cases except non-readable pages.
18533 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18534 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18535
6b645f0d
ST
18536 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18537 (__mkdir): When path is `/', just fail with EEXIST.
18538 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18539
e468f8a3
TS
185402012-05-10 Thomas Schwinge <thomas@schwinge.name>
18541
18542 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18543 <sys/uio.h> (for writev).
18544 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18545 and <sys/param.h> (for MIN).
18546
a4186cff
PT
185472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18548
18549 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18550 REQUESTED_TIME. Properly set the remaining time and return EINTR
18551 if interrupted.
18552
510bbf14
TS
185532012-05-10 Thomas Schwinge <thomas@schwinge.name>
18554
18555 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18556 Depend on against $(link-rpcuserlibs).
18557
5d5722e8
ST
185582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18559
a4186cff
PT
18560 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18561 (__libc_stack_end): Do not use attribute_relro.
18562 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18563 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18564 to libthread-provided value.
a4186cff
PT
18565 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18566 attribute_relro.
5d5722e8 18567
37233df9
TS
185682012-05-10 Thomas Schwinge <thomas@schwinge.name>
18569
be971a2b
TS
18570 [BZ #3748]
18571 * bits/libc-lock.h (__libc_once_get): New macro.
18572 * sysdeps/mach/bits/libc-lock.h: Likewise.
18573 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18575 instead of using implementation details.
18576
37233df9
TS
18577 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18578 * libio/freopen.c: Likewise.
18579 * libio/freopen64.c: Likewise.
18580 * misc/syslog.c: Likewise.
18581 * nscd/connections.c: Likewise.
18582 * nscd/netgroupcache.c: Likewise.
18583 * sysdeps/posix/getcwd.c: Likewise.
18584
38de94a5
RM
185852012-05-10 Roland McGrath <roland@hack.frob.com>
18586
18587 * math/w_ilogbf.c: Add #include <limits.h>.
18588
67530489
ST
185892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18590
a4186cff 18591 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18592 path instead of returning without unlocking.
18593
67530489
ST
18594 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18595 immediate-write ioctls.
18596 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18597
5aa3a74a
TS
185982012-05-10 Thomas Schwinge <thomas@schwinge.name>
18599
18bad2ae
TS
18600 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18601 __builtin_frame_address instead of making assumptions about the
18602 location of the return address relative to DATA. Force early load of
18603 the return address.
18604 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18605 __builtin_frame_address.
18606
5aa3a74a
TS
18607 dup3 for GNU Hurd.
18608 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18609 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18610 implement dup3 and do some further code clean-ups.
18611 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18612 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18613
ecd0de9a
ST
186142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18615
cd9fa985
ST
18616 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18617
a4186cff
PT
18618 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18619 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18620 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18621 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18622 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18623 d->port.lock.
802ca5a5 18624
a4186cff
PT
18625 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18626 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18627 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18628
bcf55240
TS
186292012-05-10 Thomas Schwinge <thomas@schwinge.name>
18630
6960eb42
TS
18631 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18632 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18633 definitions.
18634
eb43375f
TS
18635 accept4 for GNU Hurd.
18636 * include/sys/socket.h (__libc_accept4): New prototype.
18637 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18638 to implement __libc_accept4.
18639 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18640 __libc_accept4.
18641 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18642
bcf55240
TS
18643 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18644 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18645 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18646 signal-defines.sym.
18647
6178c55b
ST
186482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18649
a4186cff 18650 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18651
6f080c2f
TS
186522012-05-10 Thomas Schwinge <thomas@schwinge.name>
18653
18654 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18655 assertion on O_CLOEXEC flag.
18656 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18657 * hurd/intern-fd.c: Likewise.
18658 * hurd/port2fd.c: Likewise.
18659
bcfe3a54
ST
186602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18661
18662 [BZ #3906]
18663 * bits/in.h (IPV6_PKTINFO): Define new macro.
18664 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18665
89c9aa49
AZ
186662012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18667
18668 [BZ #13954]
18669 [BZ #13955]
18670 [BZ #13956]
18671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18672 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18673 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18674 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18676 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18677 * math/libm-test.inc (logb_test) : Additional logb tests.
18678
021db4be
AJ
186792012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18680 Andreas Jaeger <aj@suse.de>
18681
18682 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18683 * configure: Regenerated.
18684 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18685 * config.make.in (link-obsolete-rpc): New substituted variable.
18686 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18687 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18688 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18689 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18690 so that libc.a contains the symbols.
18691 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18692 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18693 * sunrpc/auth_none.c: Likewise.
18694 * sunrpc/auth_unix.c: Likewise.
18695 * sunrpc/authdes_prot.c: Likewise.
18696 * sunrpc/authuxprot.c: Likewise.
18697 * sunrpc/clnt_gen.c: Likewise.
18698 * sunrpc/clnt_perr.c: Likewise.
18699 * sunrpc/clnt_raw.c: Likewise.
18700 * sunrpc/clnt_simp.c: Likewise.
18701 * sunrpc/clnt_tcp.c: Likewise.
18702 * sunrpc/clnt_udp.c: Likewise.
18703 * sunrpc/clnt_unix.c: Likewise.
18704 * sunrpc/des_crypt.c: Likewise.
18705 * sunrpc/des_soft.c: Likewise.
18706 * sunrpc/get_myaddr.c: Likewise.
18707 * sunrpc/key_call.c: Likewise.
18708 * sunrpc/key_prot.c: Likewise.
18709 * sunrpc/netname.c: Likewise.
18710 * sunrpc/pm_getmaps.c: Likewise.
18711 * sunrpc/pm_getport.c: Likewise.
18712 * sunrpc/pmap_clnt.c: Likewise.
18713 * sunrpc/pmap_prot.c: Likewise.
18714 * sunrpc/pmap_prot2.c: Likewise.
18715 * sunrpc/pmap_rmt.c: Likewise.
18716 * sunrpc/publickey.c: Likewise.
18717 * sunrpc/rpc_cmsg.c: Likewise.
18718 * sunrpc/rpc_common.c: Likewise.
18719 * sunrpc/rpc_dtable.c: Likewise.
18720 * sunrpc/rpc_prot.c: Likewise.
18721 * sunrpc/rpc_thread.c: Likewise.
18722 * sunrpc/rtime.c: Likewise.
18723 * sunrpc/svc.c: Likewise.
18724 * sunrpc/svc_auth.c: Likewise.
18725 * sunrpc/svc_raw.c: Likewise.
18726 * sunrpc/svc_run.c: Likewise.
18727 * sunrpc/svc_tcp.c: Likewise.
18728 * sunrpc/svc_udp.c: Likewise.
18729 * sunrpc/svc_unix.c: Likewise.
18730 * sunrpc/svcauth_des.c: Likewise.
18731 * sunrpc/xcrypt.c: Likewise.
18732 * sunrpc/xdr.c: Likewise.
18733 * sunrpc/xdr_array.c: Likewise.
18734 * sunrpc/xdr_float.c: Likewise.
18735 * sunrpc/xdr_intXX_t.c: Likewise.
18736 * sunrpc/xdr_mem.c: Likewise.
18737 * sunrpc/xdr_rec.c: Likewise.
18738 * sunrpc/xdr_ref.c: Likewise.
18739 * sunrpc/xdr_sizeof.c: Likewise.
18740 * sunrpc/xdr_stdio.c: Likewise.
18741
b5c086a2
RM
187422012-05-10 Roland McGrath <roland@hack.frob.com>
18743
18744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18745 change. Update copyright years.
18746
6d74dd09
JM
187472012-05-10 Joseph Myers <joseph@codesourcery.com>
18748
18749 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18750
28e72501
MK
187512012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18752 Joseph Myers <joseph@codesourcery.com>
18753 Paul Pluzhnikov <ppluzhnikov@google.com>
18754
18755 [BZ #14012]
18756 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18757 requiring rpcgen.
18758 [cross-compiling] (extra-libs): Likewise.
18759 [cross-compiling] (extra-libs-others): Likewise.
18760 [cross-compiling] (librpcsvc-routines): Likewise.
18761 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18762 [cross-compiling] (omit-deps): Likewise.
18763 (sunrpc-CPPFLAGS): New variable.
18764 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18765 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18766 (cross-rpcgen-objs): New variable.
18767 (extra-objs): Append $(cross-rpcgen-objs).
18768 ($(cross-rpcgen-objs)): New rule.
18769 ($(objpfx)cross-rpcgen): Likewise.
18770 (rpcgen-cmd): Define to use $(built-program-file). Expand
18771 comment.
18772 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18773 ($(objpfx)x%.stmp): Likewise.
18774 * sunrpc/proto.h [IS_IN_build] (_): Define.
18775 [IS_IN_build] (_libc_intl_domainname): Likewise.
18776
c8c59454
L
187772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18778
18779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18780 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18781 and R_X86_64_TPOFF64.
18782
6f27cd16
JM
187832012-05-10 Joseph Myers <joseph@codesourcery.com>
18784
18785 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18786 sysdeps/unix/sysv/syscalls.list.
18787 (stime): Likewise.
18788 (utime): Likewise.
18789 * sysdeps/unix/sysv/syscalls.list: Remove file.
18790
02467e1c
PE
187912012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18792
18793 [BZ #3440]
18794 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18795 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18796 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18797 (__LC_IDENTIFICATION): Make these macros useful in #if
18798 expressions, as required by C99.
18799
da392631
AS
188002012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18801
18802 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18803 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18804 after this.
18805
8115f29b
L
188062012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18807
18808 * stdlib/longlong.h: Updated from GCC.
18809
bdd74070
AJ
188102012-05-09 Andreas Jaeger <aj@suse.de>
18811
edfe0dbe
AJ
18812 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18813 default is first entry.
18814 (run_mode): Set type.
18815 (main): Remove informal message about syslog.
18816 (options): Fix typo.
18817
bcfe3a54
ST
18818 [BZ #14053]
18819 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18820 to asm.
bcfe3a54
ST
18821 (lrint): Likewise.
18822 (llrintf): Likewise.
18823 (llrint): Likewise.
18824 (rint): Likewise.
18825 (rintf): Likewise.
18826 (nearbyint): Likewise.
18827 (nearbyintf): Likewise.
bdd74070 18828
91d8d69e
AJ
188292012-05-09 Andreas Jaeger <aj@suse.de>
18830 Pedro Alves <palves@redhat.com>
18831
18832 * nscd/nscd.c (run_mode): Use enum.
18833 (main): Cleanup coding style issue.
18834
bb90b80b
AJ
188352012-05-09 Alexandre Oliva <aoliva@redhat.com>
18836 Andreas Jaeger <aj@suse.de>
18837
bcfe3a54
ST
18838 * nscd/nscd.c (go_background): Replaced with...
18839 (run_mode): ... this.
bb90b80b 18840 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18841 (options): Add -F --foreground.
18842 (main): Implement it.
18843 (parse_opt): Parse it.
bb90b80b 18844
1a4b75a1
AJ
188452012-05-09 Andreas Jaeger <aj@suse.de>
18846
18847 [BZ #14083]
18848 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18849 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18850 -Wconversion warning.
18851 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18852 Likewise.
18853
b1cc2472
JM
188542012-05-09 Joseph Myers <joseph@codesourcery.com>
18855
18856 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18857 == 0.
18858 (LC_ALL): Use macro-int-constant.
18859 (LC_COLLATE): Likewise.
18860 (LC_CTYPE): Likewise.
18861 (LC_MESSAGES): Likewise.
18862 (LC_MONETARY): Likewise.
18863 (LC_NUMERIC): Likewise.
18864 (LC_TIME): Likewise.
18865 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18866 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18868 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18869 Specify type.
18870 [C99-based standards] (float_t): Expect type.
18871 [C99-based standards] (double_t): Expect type.
18872 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18873 type.
18874 [C99-based standards] (HUGE_VALL): Likewise.
18875 [C99-based standards] (INFINITY): Likewise.
18876 [C99-based standards] (NAN): Likewise.
18877 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18878 [C99-based standards] (FP_NAN): Likewise.
18879 [C99-based standards] (FP_NORMAL): Likewise.
18880 [C99-based standards] (FP_SUBNORMAL): Likewise.
18881 [C99-based standards] (FP_ZERO): Likewise.
18882 [C99-based standards] (FP_FAST_FMA): Use
18883 optional-macro-int-constant. Specify type. Require == 1.
18884 [C99-based standards] (FP_FAST_FMAF): Likewise.
18885 [C99-based standards] (FP_FAST_FMAL): Likewise.
18886 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18887 [C99-based standards] (FP_ILOGBNAN): Likewise.
18888 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18889 Specify type.
18890 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18891 [C99-based standards] (math_errhandling): Specify type.
18892 [ISO99 || ISO11] (signgam): Do not allow.
18893 [non-C99-based standards] (copysignf): Do not allow.
18894 [non-C99-based standards] (exp2f): Likewise.
18895 [non-C99-based standards] (log2f): Likewise.
18896 [non-C99-based standards] (modff): Allow.
18897 [non-C99-based standards] (erff): Do not allow.
18898 [non-C99-based standards] (erfcf): Likewise.
18899 [non-C99-based standards] (gammaf): Likewise.
18900 [non-C99-based standards] (hypotf): Likewise.
18901 [non-C99-based standards] (j0f): Likewise.
18902 [non-C99-based standards] (j1f): Likewise.
18903 [non-C99-based standards] (jnf): Likewise.
18904 [non-C99-based standards] (lgammaf): Likewise.
18905 [non-C99-based standards] (tgammaf): Likewise.
18906 [non-C99-based standards] (y0f): Likewise.
18907 [non-C99-based standards] (y1f): Likewise.
18908 [non-C99-based standards] (ynf): Likewise.
18909 [non-C99-based standards] (isnanf): Likewise.
18910 [non-C99-based standards] (acoshf): Likewise.
18911 [non-C99-based standards] (asinhf): Likewise.
18912 [non-C99-based standards] (atanhf): Likewise.
18913 [non-C99-based standards] (cbrtf): Likewise.
18914 [non-C99-based standards] (expm1f): Likewise.
18915 [non-C99-based standards] (ilogbf): Likewise.
18916 [non-C99-based standards] (log1pf): Likewise.
18917 [non-C99-based standards] (logbf): Likewise.
18918 [non-C99-based standards] (nextafterf): Likewise.
18919 [non-C99-based standards] (remainderf): Likewise.
18920 [non-C99-based standards] (rintf): Likewise.
18921 [non-C99-based standards] (scalbf): Likewise.
18922 [non-C99-based standards] (copysignl): Likewise.
18923 [non-C99-based standards] (exp2l): Likewise.
18924 [non-C99-based standards] (log2l): Likewise.
18925 [non-C99-based standards] (modfl): Allow.
18926 [non-C99-based standards] (erfl): Do not allow.
18927 [non-C99-based standards] (erfcl): Likewise.
18928 [non-C99-based standards] (gammal): Likewise.
18929 [non-C99-based standards] (hypotl): Likewise.
18930 [non-C99-based standards] (j0l): Likewise.
18931 [non-C99-based standards] (j1l): Likewise.
18932 [non-C99-based standards] (jnl): Likewise.
18933 [non-C99-based standards] (lgammal): Likewise.
18934 [non-C99-based standards] (tgammal): Likewise.
18935 [non-C99-based standards] (y0l): Likewise.
18936 [non-C99-based standards] (y1l): Likewise.
18937 [non-C99-based standards] (ynl): Likewise.
18938 [non-C99-based standards] (isnanl): Likewise.
18939 [non-C99-based standards] (acoshl): Likewise.
18940 [non-C99-based standards] (asinhl): Likewise.
18941 [non-C99-based standards] (atanhl): Likewise.
18942 [non-C99-based standards] (cbrtl): Likewise.
18943 [non-C99-based standards] (expm1l): Likewise.
18944 [non-C99-based standards] (ilogbl): Likewise.
18945 [non-C99-based standards] (log1pl): Likewise.
18946 [non-C99-based standards] (logbl): Likewise.
18947 [non-C99-based standards] (nextafterl): Likewise.
18948 [non-C99-based standards] (remainderl): Likewise.
18949 [non-C99-based standards] (rintl): Likewise.
18950 [non-C99-based standards] (scalbl): Likewise.
18951 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18952 [non-C99-based standards] (FP_*): Do not allow.
18953 [C99-based standards] (FP_*): Change to
18954 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18955 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18956 allow.
18957 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18958 (SIG_ERR): Likewise.
18959 [X/Open-based standards] (SIG_HOLD): Likewise.
18960 (SIG_IGN): Likewise.
18961 (SIGABRT): Use macro-int-constant. Specify type. Require
18962 positive value.
18963 (SIGFPE): Likewise.
18964 (SIGILL): Likewise.
18965 (SIGINT): Likewise.
18966 (SIGSEGV): Likewise.
18967 (SIGTER): Likewise.
18968 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18969 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18970 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18971 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18972 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18973 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18974 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18975 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18976 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18977 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18978 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18979 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18980 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18981 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18982 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18983 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18984 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18985 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18986 [X/Open-based standards] (SIGTRAP): Likewise.
18987 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18988 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18989 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18990 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18991 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18992 allow.
18993
b9f1922d
IW
189942012-05-08 Ian Wienand <ianw@vmware.com>
18995
18996 [BZ #14080]
18997 * time/tzset.c (__tzset_parse_tz): Update default rules for
18998 daylight time changes in the Energy Policy Act of 2005.
18999
1db86e88
AJ
190002012-05-09 Andreas Jaeger <aj@suse.de>
19001
19002 [BZ #13983]
19003 * elf/ldconfig.c (parse_conf): Change string to make clear that
19004 ldconfig only issued a warning if ld.so.conf does not exist.
19005
dee4a4e3
DM
190062012-05-08 David S. Miller <davem@davemloft.net>
19007
ee0db190
DM
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19009 movxtod instead of popping the value on the stack.
19010
dee4a4e3
DM
19011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19012
6a43ec98
CD
190132012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19014
19015 * config.h.in: Add HAVE_ARM_PCS_VFP.
19016
05c2c961
RMG
190172012-05-08 Roland Mc Grath <roland@hack.frob.com>
19018
bcfe3a54
ST
19019 [BZ #13979]
19020 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19021 checking but the checks are disabled for any reason.
05c2c961 19022
4b30f61a
L
190232012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19024
19025 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19026 and ELF64_R_TYPE with ELFW(R_TYPE).
19027
eee2bc67
JM
190282012-05-08 Joseph Myers <joseph@codesourcery.com>
19029
7ea5391a
JM
19030 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19031 (ulimit): Likewise.
19032
eee2bc67
JM
19033 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19034 (settimeofday): Likewise.
19035
abb66a67
MF
190362012-05-08 Mike Frysinger <vapier@gentoo.org>
19037
19038 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19039 a struct th_u2 inside the union, and move tu_block/tu_code into
19040 a new th_u3 union of tu_block/tu_code inside of that. Move
19041 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19042 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19043 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19044 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19045 (th_stuff): Change to th_u1.tu_stuff.
19046 (th_data): Define.
19047 (th_msg): Change to th_u1.th_u2.tu_data.
19048
7f18b530
DM
190492012-05-07 David S. Miller <davem@davemloft.net>
19050
05760585
DM
19051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19052
7f18b530
DM
19053 [BZ #14074]
19054 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19055 (SETUP_PIC_REG): Use it.
19056 (SETUP_PIC_REG_LEAF): Use it.
19057
495fd99f
JM
190582012-05-07 Joseph Myers <joseph@codesourcery.com>
19059
19060 [BZ #13885]
19061 [BZ #13923]
19062 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19063 USE_AS_EXPM1L.
19064 (EXPL_FINITE): Likewise.
19065 (FLDLOG): Likewise.
19066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19067 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19068 e_expl.S.
19069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19070 USE_AS_EXPM1L.
19071 (EXPL_FINITE): Likewise.
19072 (FLDLOG): Likewise.
19073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19074 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19075 e_expl.S.
19076 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19077 test of -max_value argument for long double.
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19080
6693d694
DM
190812012-05-06 David S. Miller <davem@davemloft.net>
19082
19083 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19084 quad soft-float symbols whose references which are compiler
19085 generated.
19086 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19087
6c23e11c
JM
190882012-05-06 Joseph Myers <joseph@codesourcery.com>
19089
d8b82cad
JM
19090 [BZ #13884]
19091 [BZ #13914]
19092 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19093 USE_AS_EXP10L.
19094 (EXPL_FINITE): Likewise.
19095 (FLDLOG): Likewise.
19096 (c0): Likewise.
19097 (c1): Likewise.
19098 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19099 Adjust comments for base varying.
19100 (__expl_finite): Change alias to EXPL_FINITE.
19101 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19102 e_expl.S.
19103 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19104 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19106 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19108 USE_AS_EXP10L.
19109 (EXPL_FINITE): Likewise.
19110 (FLDLOG): Likewise.
19111 (c0): Likewise.
19112 (c1): Likewise.
19113 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19114 Adjust comments for base varying.
19115 (__expl_finite): Change alias to EXPL_FINITE.
19116 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19117 tests for bugs.
19118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19119
6c23e11c
JM
19120 [BZ #14064]
19121 * math/libm-test.inc (check_float_internal): Correct ulp
19122 calculation for subnormal expected results.
19123
29ba805c
AJ
191242012-05-06 Andreas Jaeger <aj@suse.de>
19125
19126 * Makeconfig (+math-flags): New, set to -frounding-math.
19127 (+cflags): Add +math-flags so that all of glibc gets compiled with
19128 it.
19129
19130 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19131
7b17aeda
JM
191322012-05-05 Joseph Myers <joseph@codesourcery.com>
19133
5779f134
JM
19134 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19135 Disable one test.
19136
41498f4d
JM
19137 [BZ #13787]
19138 [BZ #13922]
19139 [BZ #14036]
19140 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19141 (__ieee754_expl): Allow for and saturate large arguments.
19142 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19143 (u_threshold): Likewise.
19144 (__exp): Call __ieee754_exp before checking for overflow and
19145 underflow.
19146 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19147 (u_threshold): Likewise.
19148 (__expf): Call __ieee754_expf before checking for overflow and
19149 underflow.
19150 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19151 (u_threshold): Likewise.
19152 (__expl): Call __ieee754_expl before checking for overflow and
19153 underflow.
19154 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19155 (__ieee754_expl): Allow for and saturate large arguments.
19156 * math/libm-test.inc (exp_test): Add another test. Do not allow
19157 missing overflow exception on overflow.
19158 (expm1_test): Do not allow missing overflow exception on overflow.
19159
6698b8bf
JM
19160 * sysdeps/i386/fpu/e_expl.c: Move to ...
19161 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19162 rather than using inline asm.
19163 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19164 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19165 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19166
7b17aeda
JM
19167 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19168 (nice): Likewise.
19169 (poll): Likewise.
19170 (signal): Likewise.
19171 (time): Likewise.
19172 (times): Likewise.
19173
f7c85819
JM
191742012-05-04 Joseph Myers <joseph@codesourcery.com>
19175
19176 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19177 sysdeps/unix/common/syscalls.list.
19178 (fchmod): Likewise.
19179 (fchown): Likewise.
19180 (ftruncate): Likewise.
19181 (getrusage): Likewise.
19182 (gettimeofday): Likewise.
19183 (setpgid): Likewise.
19184 (setregid): Likewise.
19185 (setreuid): Likewise.
19186 (sigaction): Likewise.
19187 (truncate): Likewise.
19188 (vhangup): Likewise.
19189 * sysdeps/unix/common/syscalls.list: Remove file.
19190 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19191 * sysdeps/unix/sysv/linux/Implies: Likewise.
19192
336270d0
L
191932012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19194
19195 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19197 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19198 Moved to ...
19199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19200 Here.
19201 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19202 to ...
19203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19204 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19205 to ...
19206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19207 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19208 to ...
19209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19210 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19211 to ...
19212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19213 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19214 to ...
19215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19217 to ...
19218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19219 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19220 to ...
19221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19222 Here.
19223 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19224 to ...
19225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19226 Here.
19227 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19228 to ...
19229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19230 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19231 Moved to ...
19232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19233 Here.
19234 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19235 to ...
19236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19237
d128e450
JM
192382012-05-04 Joseph Myers <joseph@codesourcery.com>
19239
fa8ee516
JM
19240 * sysdeps/unix/common/bits/dirent.h: Remove file.
19241 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19242
d128e450
JM
19243 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19244 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19245 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19246 * sysdeps/unix/bsd/isatty.c: Likewise.
19247 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19248 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19249 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19250
ff8faaf0 192512012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19252
62881be4 19253 [BZ #13563]
31dc8730
AZ
19254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19255 long double comparison inaccuracies.
19256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19258
6fef930c
AS
192592012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19260
19261 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19262 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19263
8f203e6c
JM
192642012-05-04 Joseph Myers <joseph@codesourcery.com>
19265
19266 [BZ #14049]
19267 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19268 nonzero digits before rounding a hex value.
19269 * stdlib/tst-strtod.c (tests): Add another test.
19270
5197d9c2
AK
192712012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19272
19273 * sysdeps/s390/fpu/libm-test-ulps: Update.
19274
f0c1dedf
AJ
192752012-05-03 Andreas Jaeger <aj@suse.de>
19276
19277 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19278 does not get optimized out.
19279 (malloc_opt_barrier): New.
19280
a65ef2ae 192812012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19282 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19283
2b942cb7 19284 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19285 intermediate file deletion.
2b942cb7 19286 (generated): Add .symlist files.
a65ef2ae 19287
54b71e02
JM
192882012-05-03 Joseph Myers <joseph@codesourcery.com>
19289
19290 [BZ #13775]
19291 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19292 Redirect under this condition.
19293 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19294 [__USE_GNU] (__dprintf_chk): Not under this condition.
19295 [__USE_GNU] (__vdprintf_chk): Likewise.
19296 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19297 under this condition.
19298 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19299 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19300 [__USE_XOPEN2K8] (vdprintf): Likewise.
19301 [__USE_GNU] (__dprintf_chk): Not under this condition.
19302 [__USE_GNU] (__vdprintf_chk): Likewise.
19303 [__USE_GNU] (dprintf): Likewise.
19304 [__USE_GNU] (vdprintf): Likewise.
19305
d3dfcc41
RM
193062012-05-03 Roland McGrath <roland@hack.frob.com>
19307
19308 * elf/Makefile (common-generated): Set this instead of generated for
19309 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19310 $(all-built-dso)-derived lists.
19311
7ac30cc5
AJ
193122012-05-03 Andreas Jaeger <aj@suse.de>
19313
0c51e550
AJ
19314 * sysdeps/i386/fpu/libm-test-ulps: Update.
19315
7ac30cc5
AJ
19316 * FAQ: Removed.
19317 * FAQ.in: Likewise.
19318 * scripts/gen-FAQ.pl: Likewise.
19319 * manual/install.texi (Installation): Point to online location of
19320 FAQ.
19321 * Makefile (files-for-dist): Remove FAQ.
19322 (FAQ): Remove.
19323
d4c2917f
AM
193242012-05-02 Allan McRae <allan@archlinux.org>
19325
19326 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19327 (LDFLAGS-reldepmod5.so): Likewise.
19328 (LDFLAGS-reldep6mod1.so): Likewise.
19329 (LDFLAGS-reldep6mod4.so): Likewise.
19330 (LDFLAGS-reldep8mod3.so): Likewise.
19331 (LDFLAGS-unload4mod1.so): Likewise.
19332 (LDFLAGS-unload4mod2.so): Likewise.
19333 (LDFLAGS-tst-initorder): Likewise.
19334 (LDFLAGS-tst-initordera2.so): Likewise.
19335 (LDFLAGS-tst-initordera3.so): Likewise.
19336 (LDFLAGS-tst-initordera4.so): Likewise.
19337 (LDFLAGS-tst-initorderb2.so): Likewise.
19338 (LDFLAGS-noload): Likewise.
19339 (LDFLAGS-next): Likewise.
19340 (LDFLAGS-order2mod1.so): Likewise.
19341 (LDFLAGS-order2mod2.so): Likewise.
19342 (LDFLAGS-tst-initorder2): Likewise.
19343 (LDFLAGS-tst-initorder2a.so): Likewise.
19344 (LDFLAGS-tst-initorder2b.so): Likewise.
19345 (LDFLAGS-tst-initorder2c.so): Likewise.
19346 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19347
d77f993f
DM
193482012-05-02 David S. Miller <davem@davemloft.net>
19349
19350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19351
171a70b4
PP
193522012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19353
19354 [BZ #14055]
19355 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19356
0be196ad
AJ
193572012-05-02 Andreas Jaeger <aj@suse.de>
19358
19359 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19360 since we manipulate rounding mode.
19361 (CPPFLAGS-test-idouble.c): Likewise.
19362 (CPPFLAGS-test-ifloat.c): Likewise.
19363 (CFLAGS-test-ldouble.c): Likewise.
19364 (CFLAGS-test-double.c): Likewise.
19365 (CFLAGS-test-float.c): Likewise.
19366 (CFLAGS-test-misc.c): Likewise.
19367 (CFLAGS-test-test-fenv.c): Likewise.
19368
4f9d04aa
AZ
193692012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19370
2b942cb7
RM
19371 [BZ #2550]
19372 [BZ #2570]
19373 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19374 comparisons to determine direction to adjust input.
4f9d04aa 19375
82a79e7d
RM
193762012-05-01 Roland McGrath <roland@hack.frob.com>
19377
f5a01ca9
RM
19378 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19379 output to the target.
19380
90fe4186
RM
19381 * scripts/localplt.awk: New file.
19382 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19383 (check-localplt-CFLAGS): Variable removed.
19384 ($(all-built-dso:=.jmprel)): New static pattern rule.
19385 (generated): Add those targets.
19386 (localplt-built-dso): New variable.
19387 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19388
19389 * elf/check-localplt.c: File removed.
19390
82397ed6
RM
19391 * scripts/check-execstack.awk: New file.
19392 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19393 (check-execstack-CFLAGS): Variable removed.
19394 ($(objpfx)check-execstack.h): Target removed.
19395 ($(objpfx)execstack-default): New target.
19396 (generated): Add that instead of check-execstack.h.
19397 ($(all-built-dso:=.phdr)): New static pattern rule.
19398 (generated): Add those targets.
19399 * elf/check-execstack.c: File removed.
19400
82a79e7d
RM
19401 * scripts/check-textrel.awk: New file.
19402 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19403 (check-textrel-CFLAGS): Variable removed.
19404 (all-built-dso): Use := to define.o
19405 ($(all-built-dso:=.dyn)): New static pattern rule.
19406 (generated): Add those targets.
19407 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19408 * config.make.in (READELF): New substituted variable.
19409 * elf/check-textrel.c: File removed.
19410
62fde54f 194112012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19412
615605c9
JM
19413 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19414 allow.
19415 * conform/data/ctype.h-data [C99-based standards] (isblank):
19416 Expect function.
19417 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19418 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19420 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19421 Specify type. Require positive value.
19422 (EILSEQ): Likewise.
19423 (ERANGE): Likewise.
19424 [ISO || POSIX] (EILSEQ): Do not expect.
19425 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19426 Specify type. Require positive value.
19427 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19428 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19429 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19430 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19431 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19432 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19433 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19434 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19435 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19436 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19437 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19438 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19439 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19440 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19441 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19442 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19443 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19445 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19446 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19447 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19448 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19449 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19450 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19451 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19452 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19453 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19454 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19455 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19456 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19457 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19458 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19459 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19460 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19461 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19462 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19463 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19464 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19465 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19466 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19467 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19468 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19469 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19470 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19471 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19472 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19473 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19474 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19475 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19476 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19477 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19478 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19480 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19481 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19482 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19483 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19484 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19485 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19486 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19487 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19489 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19491 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19492 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19493 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19494 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19495 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19496 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19497 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19498 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19499 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19500 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19501 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19502 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19503 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19504 Require >= 2.
19505 (FLT_ROUNDS): Expect as macro, not constant.
19506 (FLT_MANT_DIG): Use macro-int-constant.
19507 (DBL_MANT_DIG): Likewise.
19508 (LDBL_MANT_DIG): Likewise.
19509 (FLT_DIG): Likewise.
19510 (DBL_DIG): Likewise.
19511 (LDBL_DIG): Likewise.
19512 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19513 (DBL_MIN_EXP): Likewise.
19514 (LDBL_MIN_EXP): Likewise.
19515 (FLT_MAX_EXP): Use macro-int-constant.
19516 (DBL_MAX_EXP): Likewise.
19517 (LDBL_MAX_EXP): Likewise.
19518 (FLT_MAX_10_EXP): Likewise.
19519 (DBL_MAX_10_EXP): Likewise.
19520 (LDBL_MAX_10_EXP): Likewise.
19521 (FLT_MAX): Use macro-constant.
19522 (DBL_MAX): Likewise.
19523 (LDBL_MAX): Likewise.
19524 (FLT_EPSILON): Use macro-constant. Give upper bound.
19525 (DBL_EPSILON): Likewise.
19526 (LDBL_EPSILON): Likewise.
19527 (FLT_MIN): Likewise.
19528 (DBL_MIN): Likewise.
19529 (LDBL_MIN): Likewise.
19530 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19531 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19532 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19533 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19534 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19535 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19536 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19537 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19538 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19539 [ISO11] (FLT_TRUE_MIN): Likewise.
19540 [ISO11] (LDBL_TRUE_MIN): Likewise.
19541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19542 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19543 (SCHAR_MIN): Use macro-int-constant. Specify type.
19544 (SCHAR_MAX): Likewise.
19545 (UCHAR_MAX): Likewise.
19546 (CHAR_MIN): Likewise.
19547 (CHAR_MAX): Likewise.
19548 (MB_LEN_MAX): Use macro-int-constant.
19549 (SHRT_MIN): Use macro-int-constant. Specify type.
19550 (SHRT_MAX): Likewise.
19551 (USHRT_MAX): Likewise.
19552 (INT_MAX): Likewise.
19553 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19554 bound negative.
19555 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19556 bound with "U".
19557 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19558 bound with "L".
19559 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19560 bound negative. Suffix upper bound with "L".
19561 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19562 bound with "UL".
19563 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19564 Specify type.
19565 [C99-based standards] (LLONG_MAX): Likewise.
19566 [C99-based standards] (ULLONG_MAX): Likewise.
19567 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19568 == 0.
19569 [ISO11] (max_align_t): Require type.
19570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19571
c9140a62
JM
19572 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19573 from $CFLAGS, without defining away __attribute__ calls.
19574 (checknamespace): Use $CFLAGS_namespace.
19575
9af0bf29
JM
19576 * conform/conformtest.pl (@keywords): Only include C99 keywords
19577 for standards based on C99 or C11.
19578
343222a2
JM
19579 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19580 Disable tests.
19581 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19582 UNIX98]: Likewise.
19583
661f8cf0
JM
19584 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19585 usability of symbols in #if.
19586
ee74b9cb
JM
19587 * conform/conformtest.pl: If macro or constant types start
19588 "promoted:", expect the symbol to be of the following type
19589 promoted by the integer promotions.
62fde54f 19590
aafc49b3
JM
19591 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19592 in one place. Also handle "macro-constant".
19593
fefdf574
JM
19594 * conform/conformtest.pl: Only accept expected macro values with
19595 "==". Parse all "macro" lines in one place.
19596 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19597
f2d922fe
JM
19598 * conform/conformtest.pl: Handle braced types on "constant" lines
19599 instead of handling "typed-constant".
19600 * conform/data/signal.h-data: Use "constant" instead of
19601 "typed-constant".
19602
d22956c9
JM
19603 * conform/conformtest.pl: Handle "optional-" at start of lines in
19604 one place rather than duplicating several cases. Handle each
19605 format of "macro" line with initial "optional-".
19606
028e2e38
JM
19607 * conform/conformtest.pl: Only accept expected constant or
19608 optional-constant values with "==". Parse all "constant" lines in
19609 one place. Parse all "optional-constant" lines in one place.
19610 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19611 * conform/data/fmtmsg.h-data: Likewise.
19612 * conform/data/netinet/in.h-data: Likewise.
19613 * conform/data/tar.h-data: Likewise.
19614 * conform/data/limits.h-data: Use "==" form on "constant" and
19615 "optional-constant" lines.
19616
1b8f2850
JM
19617 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19618 Use -std=c99 for XOPEN2K.
19619 (@knownproblems): Remove.
19620 (newtoken): Don't check %isknown.
19621
a05a144b
JM
19622 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19623 Do not expect macro.
19624 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19636 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19637 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19654 [XPG3] (acosh): Likewise.
19655 [XPG3] (asinh): Likewise.
19656 [XPG3] (atanh): Likewise.
19657 [XPG3] (cbrt): Likewise.
19658 [XPG3] (expm1): Likewise.
19659 [XPG3] (ilogb): Likewise.
19660 [XPG3] (log1p): Likewise.
19661 [XPG3] (logb): Likewise.
19662 [XPG3] (nextafter): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19665 [XPG3] (remainder): Likewise.
19666 [XPG3] (rint): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19674 [UNIX98 || XOPEN2K] (scalb): Expect.
19675 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19676 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19769 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19770 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19771 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19772 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19773 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19774 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19775 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19776 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19777 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19778 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19779 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19780 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19781 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19782 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19783 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19784 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19785 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19786 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19787 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19788 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19789 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19790 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19791 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19792 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19793 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19794 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19795 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19796 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19797 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19798 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19799 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19800 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19801 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19802 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19803 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19804 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19805 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19806 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19807 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19808 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19809 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19810 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19811 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19812
73c5ebe3
JM
19813 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19814 _XOPEN_SOURCE_EXTENDED for XPG4.
19815
39c33b6c
JM
19816 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19817
62fde54f
JM
19818 * Makeconfig (localtime): Remove variable.
19819 (inst_localtime-file): Likewise.
19820
0741d64c
AS
198212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19822
19823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19824 Update.
19825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19826 Update.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19828 Update.
19829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19830 Update.
19831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19832 Update.
19833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19834 Update.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19836 Update.
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19838 Update.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19840 Update.
19841
7cb029ee
JM
198422012-05-01 Joseph Myers <joseph@codesourcery.com>
19843
19844 [BZ #2550]
19845 [BZ #2570]
19846 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19847 comparisons to determine direction to adjust input.
19848 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19849 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19851 Likewise.
19852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19853 Likewise.
19854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19855 Likewise.
19856 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19857 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19858 Likewise.
19859 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19860 Likewise.
19861 * math/libm-test.inc (nexttoward_test): Add more tests.
19862
412bd966
AS
198632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19864
19865 [BZ #14040]
19866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19867 in version GLIBC_2.1, not GLIBC_2.0.
19868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19869 Likewise.
19870
9568c0c2
JM
198712012-04-30 Joseph Myers <joseph@codesourcery.com>
19872
adfbc8ac
JM
19873 [BZ #13942]
19874 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19875 (1 - x) * (1 + x).
19876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19877 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19878 * math/libm-test.inc (acos_test): Add more tests.
19879 (asin_test): Likewise.
19880 * sysdeps/i386/fpu/libm-test-ulps: Update.
19881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19882
5ba3cc69
JM
19883 [BZ #14034]
19884 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19885 of square root.
19886 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19887 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19888 * math/libm-test.inc (acos_test_tonearest): New function.
19889 (acos_test_towardzero): Likewise.
19890 (acos_test_downward): Likewise.
19891 (acos_test_upward): Likewise.
19892 (asin_test_tonearest): Likewise.
19893 (asin_test_towardzero): Likewise.
19894 (asin_test_downward): Likewise.
19895 (asin_test_upward): Likewise.
19896 (main): Call the new functions.
19897 * sysdeps/i386/fpu/libm-test-ulps: Update.
19898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19899
9568c0c2
JM
19900 [BZ #13884]
19901 [BZ #13924]
19902 * math/e_exp10.c: Include <float.h>.
19903 (__ieee754_exp10): Handle underflow here rather than multiplying
19904 large negative argument by M_LN10.
19905 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19906 of __ieee754_expf.
19907 * math/e_exp10l.c: Include <float.h>.
19908 (__ieee754_exp10l): Handle underflow here rather than multiplying
19909 large negative argument by M_LN10l.
19910 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19911 spurious overflow exception on underflow.
19912
5ac3ea17
MP
199132012-04-29 Marek Polacek <polacek@redhat.com>
19914
19915 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19916 (__fortify_function): New macro.
19917 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19918 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19919 __extern_always_inline.
19920 * libio/bits/stdio2.h: Likewise.
19921 * libio/bits/stdio.h: Likewise.
19922 * string/string.h: Likewise.
19923 * string/bits/string3.h: Likewise.
19924 * include/stdio.h: Likewise.
19925 * stdlib/bits/stdlib.h: Likewise.
19926 * stdlib/stdlib.h: Likewise.
19927 * rt/bits/mqueue2.h: Likewise.
19928 * rt/mqueue.h: Likewise.
19929 * posix/bits/unistd.h: Likewise.
19930 * posix/unistd.h: Likewise.
19931 * io/bits/poll2.h: Likewise.
19932 * io/bits/fcntl2.h: Likewise.
19933 * io/fcntl.h: Likewise.
19934 * io/sys/poll.h: Likewise.
19935 * misc/bits/syslog.h: Likewise.
19936 * misc/bits/syslog-ldbl.h: Likewise.
19937 * misc/sys/syslog.h: Likewise.
19938 * socket/bits/socket2.h: Likewise.
19939 * socket/sys/socket.h: Likewise.
19940 * debug/tst-chk1.c: Likewise.
19941 * wcsmbs/bits/wchar2.h: Likewise.
19942 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19943 * wcsmbs/wchar.h: Likewise.
19944
ecf0ebfb
AJ
199452012-04-29 Andreas Jaeger <aj@suse.de>
19946
19947 * Makerules (tests): Remove enable-check-abi protection.
19948 (check-abi-warn): Remove.
19949 (check-abi-%): Remove check-abi-warn usage.
19950
19951 * configure.in: Remove check-abi configure option.
19952 * configure: Regenerated.
19953 * config.make.in (enable-check-abi): Remove.
19954
6d5c57fa
AS
199552012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19956
24c5d07e 19957 [BZ #14033]
ded5180a
AS
19958 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19959 double functions to double *_finite functions.
19960
7e0d315d
AS
19961 [BZ #13941]
19962 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19963 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19964 LDBL_MIN_EXP.
19965 * stdio-common/Makefile (tests): Add tst-sprintf3.
19966 * stdio-common/tst-sprintf3.c: New file.
19967
6d5c57fa
AS
19968 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19969 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19970
0749ff8b
JM
199712012-04-28 Joseph Myers <joseph@codesourcery.com>
19972
19973 * conform/conformtest.pl: Remove duplicate typed-constant
19974 handling.
19975
8dbd5d7b
DM
199762012-04-28 David S. Miller <davem@davemloft.net>
19977
19978 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19979 (check-abi-%): Remove AWK script prerequisite and explicit
19980 abilist directory.
19981 (check-abi): Rewrite to just diff the symlist with the abilist.
19982 (config-tls, config-abi-config): Delete, no longer used.
19983 (update-abi-%): Remove AWK script and explicit abilist directory.
19984 (update-abi): Rewrite to simply compare and conditionally copy the
19985 symlist and the sysdep abilist file. Remove update-abi-config
19986 checks.
19987 * abilist/ld.abilist: Remove.
19988 * abilist/libBrokenLocale.abilist: Remove.
19989 * abilist/libanl.abilist: Remove.
19990 * abilist/libcrypt.abilist: Remove.
19991 * abilist/libdl.abilist: Remove.
19992 * abilist/librt.abilist: Remove.
19993 * abilist/libthread_db.abilist: Remove.
19994 * abilist/libutil.abilist: Remove.
19995 * scripts/extract-abilist.awk: Remove.
19996 * scripts/merge-abilist.awk: Remove.
19997 * sysdeps/generic/libcidn.abilist: New file.
19998 * sysdeps/generic/libnss_compat.abilist: New file.
19999 * sysdeps/generic/libnss_db.abilist: New file.
20000 * sysdeps/generic/libnss_dns.abilist: New file.
20001 * sysdeps/generic/libnss_files.abilist: New file.
20002 * sysdeps/generic/libnss_hesiod.abilist: New file.
20003 * sysdeps/generic/libnss_nis.abilist: New file.
20004 * sysdeps/generic/libnss_nisplus.abilist: New file.
20005 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20006 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20007 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20008 file.
20009 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20010 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20011 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20012 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20013 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20014 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20015 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20016 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20017 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20018 file.
20019 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20020 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20021 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20022 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20023 file.
20024 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20025 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20026 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20027 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20028 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20029 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20030 file.
20031 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20032 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20033 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20034 file.
20035 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20037 New file.
20038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20039 New file.
20040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20041 New file.
20042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20043 New file.
20044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20045 New file.
20046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20047 New file.
20048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20049 New file.
20050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20051 New file.
20052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20053 New file.
20054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20055 New file.
20056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20057 New file.
20058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20059 New file.
20060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20061 New file.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20063 file.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20065 New file.
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20067 New file.
20068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20069 file.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20071 New file.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20073 New file.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20075 file.
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20077 New file.
20078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20079 New file.
20080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20081 New file.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20083 New file.
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20085 New file.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20087 New file.
20088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20090 file.
20091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20092 New file.
20093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20094 file.
20095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20096 file.
20097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20098 file.
20099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20100 file.
20101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20102 file.
20103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20104 New file.
20105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20106 file.
20107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20108 file.
20109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20110 New file.
20111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20112 file.
20113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20115 file.
20116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20117 New file.
20118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20119 file.
20120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20121 file.
20122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20123 file.
20124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20125 file.
20126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20127 file.
20128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20129 New file.
20130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20131 file.
20132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20133 file.
20134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20135 New file.
20136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20137 file.
20138 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20139 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20140 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20141 file.
20142 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20143 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20144 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20145 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20146 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20147 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20148 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20149 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20150 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20151 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20154 file.
20155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20156 New file.
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20158 file.
20159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20160 file.
20161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20162 file.
20163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20164 file.
20165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20166 file.
20167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20168 New file.
20169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20170 New file.
20171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20172 file.
20173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20174 New file.
20175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20176 file.
20177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20179 file.
20180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20181 New file.
20182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20183 file.
20184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20185 file.
20186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20187 file.
20188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20189 file.
20190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20191 file.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20193 New file.
20194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20195 New file.
20196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20197 file.
20198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20199 New file.
20200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20201 file.
20202
41d73a1b
JM
202032012-04-28 Joseph Myers <joseph@codesourcery.com>
20204
20205 * conform/conformtest.pl: Fix typo in handling typed-constant from
20206 allow-header.
20207
28aeeda4
JM
202082012-04-27 Joseph Myers <joseph@codesourcery.com>
20209
adae8f5e
JM
20210 * README: Cut down references to pre-2.6 Linux kernels and
20211 Linuxthreads. Update lists of configurations in libc and ports
20212 and sort alphabetically. Say "or newer" with Linux kernel version
20213 requirements.
20214
28aeeda4
JM
20215 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20216
a462cb63
RA
202172012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20218
20219 [BZ #887]
20220 * math/libm-test.inc (logb_test_downward): New test to expose
20221 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20222 rounding mode.
20223
6ad3493e
JM
202242012-04-27 Joseph Myers <joseph@codesourcery.com>
20225
20226 [BZ #14027]
20227 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20228 to be done.
20229 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20230 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20231
2ce4f015
JM
202322012-04-26 Joseph Myers <joseph@codesourcery.com>
20233
5aeb141a
JM
20234 * sysdeps/unix/i386/brk.S: Remove file.
20235 * sysdeps/unix/i386/dl-brk.S: Likewise.
20236 * sysdeps/unix/i386/pipe.S: Likewise.
20237 * sysdeps/unix/i386/sigreturn.S: Likewise.
20238 * sysdeps/unix/i386/syscall.S: Likewise.
20239 * sysdeps/unix/i386/vfork.S: Likewise.
20240 * sysdeps/unix/i386/wait.S: Likewise.
20241
7143acae
JM
20242 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20243 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20244
2ce4f015
JM
20245 * configure.in (arm*-none*): Do not allow without
20246 --enable-hacker-mode.
20247 (netbsd*): Remove case setting base_os.
20248 (386bsd*): Likewise.
20249 (freebsd*): Likewise.
20250 (bsdi*): Likewise.
20251 (osf*): Likewise.
20252 (sunos*): Likewise.
20253 (ultrix*): Likewise.
20254 (newsos*): Likewise.
20255 (dynix*): Likewise.
20256 (*bsd*): Likewise.
20257 (sysv*): Likewise.
20258 (isc*): Likewise.
20259 (esix*): Likewise.
20260 (sco*): Likewise.
20261 (minix*): Likewise.
20262 (irix4*): Likewise.
20263 (irix6*): Likewise.
20264 (solaris[2-9]*): Likewise.
20265 (none): Likewise.
20266 * configure: Regenerated.
20267
0ac229c8
AZ
202682012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20269
20270 [BZ #11521]
20271 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20272 overflow or cancellation in calculating denominator.
20273 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20275 down expression to avoid unexpected rounding in newer GCCs.
20276 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20277
33f244f4
DM
202782012-04-26 David S. Miller <davem@davemloft.net>
20279
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20281 long-double compat symbols.
20282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20295
cfa1f3e8
DM
202962012-04-25 David S. Miller <davem@davemloft.net>
20297
20298 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20299 HWCAP_* values only after the memory barriers have been defined.
20300 (atomic_full_barrier): Define.
20301 (atomic_read_barrier): Define.
20302 (atomic_write_barrier): Define.
20303
6e236b92
SP
203042012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20305
20306 * shlib-versions: Add libgcc_s version information.
20307 * sysdeps/generic/libgcc_s.h: Remove.
20308 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20309 libgcc_s.h.
20310 * sysdeps/gnu/unwind-resume.c: Likewise.
20311 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20312
aab39a09
DM
203132012-04-25 David S. Miller <davem@davemloft.net>
20314
20315 * sysdeps/unix/sparc/brk.S: Delete.
20316 * sysdeps/unix/sparc/dl-brk.S: Delete.
20317 * sysdeps/unix/sparc/pipe.S: Delete.
20318 * sysdeps/unix/sparc/sysdep.S: Delete.
20319 * sysdeps/unix/sparc/sysdep.h: Delete.
20320 * sysdeps/unix/sparc/vfork.S: Delete.
20321 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20322 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20323 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20324 ret_ERRVAL, r0, r1, MOVE): Define.
20325 (JUMPTARGET): Remove.
20326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20327 sysdeps/unix/sparc/sysdep.h
20328 (ENTRY, END): Remove.
20329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20330
a3cc4f48
JM
203312012-04-25 Joseph Myers <joseph@codesourcery.com>
20332
2ed8cda2
JM
20333 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20334 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20335 -DIS_IN_build.
20336
35d76d59
JM
20337 * timezone/README: Update upstream location and email address for
20338 tzcode and tzdata.
20339 * timezone/zdump.c: Update from tzcode 2012b.
20340 * timezone/zic.c: Likewise.
20341
a3cc4f48
JM
20342 * configure.in (libc_cv_as_needed): Remove test.
20343 * configure: Regenerated.
20344 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20345 conditional definition.
20346 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20347 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20348 * config.make.in (have-as-needed): Remove variable.
20349
ceab42c3
SP
203502012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20351 Paul Pluzhnikov <ppluzhnikov@google.com>
20352
20353 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20354 strings correctly.
20355
3ce2865f
CLT
203562012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20357
20358 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20359 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20360 * sysdeps/sh/strlen.S: Likewise.
20361
f37e0d68
JM
203622012-04-24 Joseph Myers <joseph@codesourcery.com>
20363
ae186e9a
JM
20364 * sysdeps/unix/fork.S: Remove file.
20365 * sysdeps/unix/i386/fork.S: Likewise.
20366 * sysdeps/unix/sparc/fork.S: Likewise.
20367
b96914af
JM
20368 * sysdeps/unix/system.c: Remove file.
20369 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20370
f37e0d68
JM
20371 * sysdeps/unix/getegid.S: Remove file.
20372 * sysdeps/unix/geteuid.S: Likewise.
20373
87ef29ca
RM
203742012-04-24 Roland McGrath <roland@hack.frob.com>
20375
83bcd236
RM
20376 * scripts/check-localplt.awk: New file.
20377 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20378 of diff.
20379 * scripts/data/localplt-generic.data: Add a comment.
20380
87ef29ca
RM
20381 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20382 NODE when __dir_mkfile failed.
20383 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20384 Reported by Ludovic Courtès <ludo@gnu.org>.
20385
e5a6e567
AJ
203862012-04-24 Andreas Jaeger <aj@suse.de>
20387
20388 * Makerules (common-clean): Also remove gen-as-const-headers
20389 files.
20390
c1820385
JM
203912012-04-24 Joseph Myers <joseph@codesourcery.com>
20392
20393 * Makerules (native-compile): Do not change working directory for
20394 build. Use $(OUTPUT_OPTION) in command.
20395 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20396
94e02fc4
AZ
203972012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20398
20399 [BZ #13886]
20400 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20401 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20402 * math/libm-test.inc (floor_test): Add more tests.
20403 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20404
3a533ca3
JM
204052012-04-24 Joseph Myers <joseph@codesourcery.com>
20406
940ab4b3
JM
20407 * sysdeps/unix/getdents.c: Remove file.
20408 * sysdeps/unix/sysv/getdents.c: Likewise.
20409 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20410
90e037bd
JM
20411 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20412 sysdeps/unix/mman/syscalls.list.
20413 (mmap): Likewise.
20414 (mprotect): Likewise.
20415 (msync): Likewise.
20416 (munmap): Likewise.
20417 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20418 * sysdeps/unix/mman/syscalls.list: Remove.
20419 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20420
3a533ca3
JM
20421 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20422 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20423 * configure: Regenerated.
20424 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20425 $(libgcc_s_suffix).
20426 * config.make.in (libgcc_s_suffix): Remove variable.
20427
1ad743de
JM
204282012-04-23 Joseph Myers <joseph@codesourcery.com>
20429
4ad451e2
JM
20430 * sysdeps/unix/sysv/gethostname.c: Move to ...
20431 * sysdeps/posix/gethostname.c: ... here.
20432
5e37ce39
JM
20433 * sysdeps/unix/execve.S: Remove file.
20434
1ad743de
JM
20435 * sysdeps/unix/_exit.S: Remove file.
20436
4e681b5b
AJ
204372012-04-23 Andreas Jaeger <aj@suse.de>
20438
20439 [BZ #13739]
20440 * manual/Makefile: Remove make dist support, there's no
20441 need for a stand-alone documentation tar ball.
20442 (TEXI2DVI): Define always, it's not in Makeconfig.
20443 (dist): Removed.
20444 (tar-it): Removed.
20445 (edition): Removed.
20446 (glibc-doc-$(edition).tar): Removed
20447 (%.Z): Removed.
20448 (%.gz): Removed.
20449 (%.uu): Removed.
20450 (ETAGS): Remove, it's in Makeconfig.
20451 (move-if-change): Remove, it's in Makeconfig.
20452
38686a03 204532012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20454
20455 [BZ #13970]
20456 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20457 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20458 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20459 (strtod_l, strtof_l, strtold_l): Remove __wur.
20460 It is not necessarily an error to ignore strtol's return value.
20461 One can reliably look at the stored endptr to decide whether
20462 the number had valid syntax.
20463
7c0616fa
AJ
204642012-04-21 Andreas Jaeger <aj@suse.de>
20465
803cb6b7 20466 [BZ #13739]
7c0616fa
AJ
20467 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20468
b0fe253f
JM
204692012-04-21 Joseph Myers <joseph@codesourcery.com>
20470
20471 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20472 * sysdeps/unix/sysv/Versions: Remove file.
20473
8280f22d
MT
204742012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20475
20476 [BZ #13927]
20477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20478
75ce411f 204792012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20480
20481 [BZ #7064]
20482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20483 version from __vm86.
20484
097d59fa
JM
204852012-04-20 Joseph Myers <joseph@codesourcery.com>
20486
a90f3bcb
JM
20487 * sysdeps/unix/common/lxstat.c: Remove file.
20488 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20489
edc7ea78
JM
20490 * sysdeps/unix/sysv/Makefile: Remove file.
20491
cb78c221
JM
20492 * sysdeps/unix/sysv/direct.h: Remove file.
20493
efa6a45f
JM
20494 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20495 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20496 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20497 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20498 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20499 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20500 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20501
9c9f2d0c
JM
20502 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20503
4541c83b
JM
20504 * sysdeps/unix/xmknod.c: Remove file.
20505 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20506
f5d153a0
JM
20507 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20508
aa746595
JM
20509 * sysdeps/unix/sysv/i386/time.S: Remove file.
20510
cce5905e
JM
20511 * sysdeps/unix/fxstat.c: Remove file.
20512 * sysdeps/unix/xstat.c: Likewise.
20513 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20514
37fa3841
JM
20515 * sysdeps/unix/sysv/sigaction.c: Remove file.
20516
ff1962a3
JM
20517 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20518 (sysdep_headers): Remove variable.
20519 [termio.h not in sysdep_headers] (generated): Likewise.
20520 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20521 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20522 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20523 * sysdeps/unix/sysv/tcflow.c: Likewise.
20524 * sysdeps/unix/sysv/tcflush.c: Likewise.
20525 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20526 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20527 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20528 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20529 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20530
e7740d31
JM
20531 * sysdeps/unix/siglist.c: Remove file.
20532
ee06f18b
JM
20533 * sysdeps/unix/getppid.S: Remove file.
20534
097d59fa
JM
20535 * sysdeps/unix/mkdir.c: Remove file.
20536 * sysdeps/unix/rmdir.c: Likewise.
20537
ff3d51ec
AS
205382012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20539
20540 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20541 ERR_MAX value.
20542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20543 errlist-compat value.
20544
50f81fd7
DM
205452012-04-18 David S. Miller <davem@davemloft.net>
20546
20547 * sysdeps/generic/memcopy.h (reg_char): Delete.
20548 * debug/strcat_chk.c: Use char, not reg_char.
20549 * debug/strcpy_chk.c: Likewise.
20550 * debug/strncat_chk.c: Likewise.
20551 * debug/strncpy_chk.c: Likewise.
20552 * string/memchr.c: Likewise.
20553 * string/memrchr.c: Likewise.
20554 * string/rawmemchr.c: Likewise.
20555 * string/strcat.c: Likewise.
20556 * string/strchr.c: Likewise.
20557 * string/strchrnul.c: Likewise.
20558 * string/strcmp.c: Likewise.
20559 * string/strcpy.c: Likewise.
20560 * string/strncat.c: Likewise.
20561 * string/strncmp.c: Likewise.
20562 * string/strncpy.c: Likewise.
20563
8ff41c46
WS
205642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20565
20566 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20567 __builtin_memcopy is called when src and dest ranges are known to not
20568 overlap.
20569
6b652f46
WS
205702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20571
20572 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20573 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20574 fwd_align_merge macro call.
20575 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20576 bwd_align_merge macro call.
20577 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20578
b282631e
WS
205792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20580
20581 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20582 bwd_align_merge macros.
20583 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20584 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20586
95aa737c
DM
205872012-04-18 David S. Miller <davem@davemloft.net>
20588
20589 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20590
7a99a614
AJ
205912012-04-18 Andreas Jaeger <aj@suse.de>
20592
20593 [BZ# 6794]
20594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20595 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20597
20598 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20599 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20601
20602 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20603 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20604 Adjust for changed ldbl-128 files.
20605
20606 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20607 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20608 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20609
e5270c23
DM
206102012-04-17 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20613
fb5e92c9
AS
206142012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20615
20616 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20617 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20618 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20619 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20620 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20621 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20622
76da7265
AZ
206232012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20624
20625 [BZ #6794]
20626 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20627 * math/libm-test.inc: Add ilogb errno and exception tests.
20628 * math/w_ilogb.c: New file: ilogb wrapper.
20629 * math/w_ilogbf.c: New file: ilogbf wrapper.
20630 * math/w_ilogbl.c: New file: ilogbl wrapper.
20631 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20632 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20633 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20634 exception being thrown with 0.0 as argument.
20635 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20636 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20637 exception being thrown with 0.0 as argument.
20638 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20639 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20640 exception being thrown with 0.0 as argument.
20641 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20642 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20643 exception being thrown with 0.0 as argument.
20644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20645 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20646 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20647 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20648 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20649 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20650 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20651 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20652 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20653
0396e69d
PB
206542012-04-17 Petr Baudis <pasky@ucw.cz>
20655
20656 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20657 with altivec.
20658
750b5926
MP
206592012-04-16 Marek Polacek <polacek@redhat.com>
20660
20661 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20662
751728a1
MP
206632012-04-16 Marek Polacek <polacek@redhat.com>
20664
20665 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20666 operands of fdivp instruction.
20667
34a27407
L
206682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20669
20670 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20671 * elf/tst-auditmod3b.c: Likewise.
20672 * elf/tst-auditmod4b.c: Likewise.
20673 * elf/tst-auditmod5b.c: Likewise.
20674 * elf/tst-auditmod6b.c: Likewise.
20675 * elf/tst-auditmod6c.c: Likewise.
20676 * elf/tst-auditmod7b.c: Likewise.
20677 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20678 * sysdeps/x86_64/preconfigure.in: Likewise.
20679 * sysdeps/x86_64/preconfigure: Regenerated.
20680
7e73e17d
L
206812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20682
20683 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20684 __ILP32__.
20685
c7a6ab72
AB
206862012-04-13 Antoine Balestrat <merkil33@gmail.com>
20687
20688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20689 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20690
a9e8e0e0
CL
206912012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20692
20693 [BZ #13973]
20694 * locale/iso-639.def: Fix gl language name. Spotted by
20695 Yaron Shahrabani.
20696
ec98af7d
RM
206972012-04-12 Roland McGrath <roland@hack.frob.com>
20698
20699 [BZ #2074]
20700 * libio/libio.h (__io_write_fn): Update comment.
20701
247c3ede
PB
207022012-04-12 Petr Baudis <pasky@ucw.cz>
20703
20704 [BZ #2074]
20705 * stdio.texi (Hook Functions): The user provided writer function
20706 is not allowed to return -1.
20707
55939d6d
DM
207082012-04-11 David S. Miller <davem@davemloft.net>
20709
20710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20711
90020f5a
MF
207122012-04-11 Mike Frysinger <vapier@gentoo.org>
20713
20714 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20715 Add a leading slash to rtkaio.
20716
288f9098
JM
207172012-04-11 Jim Meyering <meyering@redhat.com>
20718
90020f5a
MF
20719 [BZ #11959]
20720 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20721 It is not necessarily an error to ignore fwrite's return
20722 value. One can reliably use ferror to test for errors after
20723 the fact.
288f9098 20724
4be2b570
L
207252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20726
20727 * bits/types.h (__snseconds_t): New type.
20728 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20729
20730 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20732 (__SNSECONDS_T_TYPE): Likewise.
20733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20734 (__SNSECONDS_T_TYPE): Likewise.
20735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20736 (__SNSECONDS_T_TYPE): Likewise.
20737
288f9098 207382012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20739
20740 [BZ #2636]
20741 * manual/time.texi (Processor Time): Return type of times is
20742 elapsed real time since an arbitrary point in the past.
20743 (CPU Time): Move CLK_TCK from here...
20744 (Processor Time): ...to here. Correct description.
20745 * manual/conf.texi (Constants for Sysconf): Correct description of
20746 _SC_CLK_TCK.
20747
d7dd4413
DM
207482012-04-10 David S. Miller <davem@davemloft.net>
20749
20750 [BZ #13967]
20751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20752 where the is a gap between DT_REL(A) and DT_JMPREL.
20753
b46068fc
L
207542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20757 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20758 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20759
73d65cc3
SP
207602012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20761
20762 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20763 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20764 (dl_main): Handle --inhibit-cache.
20765 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20766 _dl_inhibit_cache.
20767 * elf/dl-load.c (_dl_map_object): Use it.
20768 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20769
bcc8d661
JM
207702012-04-09 Joseph Myers <joseph@codesourcery.com>
20771
8f9a2fae
JM
20772 [BZ #13872]
20773 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20774 (__ieee754_powl): Saturate large exponents rather than testing for
20775 overflow of y*log2(x).
20776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20777 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20778 exceptions.
20779
bcc8d661
JM
20780 [BZ #11521]
20781 * math/s_ctan.c: Include <float.h>.
20782 (__ctan): Avoid internal overflow or cancellation in calculating
20783 denominator.
20784 * math/s_ctanf.c: Likewise.
20785 * math/s_ctanl.c: Likewise.
20786 * math/s_ctanh.c: Likewise.
20787 * math/s_ctanhf.c: Likewise.
20788 * math/s_ctanhl.c: Likewise.
20789 * math/libm-test.inc (ctan_test): Add more tests.
20790 (ctanh_test): Likewise.
20791 * sysdeps/i386/fpu/libm-test-ulps: Update.
20792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20793
823fbbb4
AJ
207942012-04-09 Andreas Jaeger <aj@suse.de>
20795
03879793
AJ
20796 [BZ #6894]
20797 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20798 is an optional BSD extension.
20799
823fbbb4
AJ
20800 [BZ #10254]
20801 * manual/stdio.texi (Opening Streams): Document additional fopen
20802 parameters.
20803
8de131cb
RM
208042012-04-09 Roland McGrath <roland@hack.frob.com>
20805
20806 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20807 %eax without telling the compiler.
20808
c0ed9d7d
CD
208092012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20810
20811 [BZ # 13963]
20812 * manual/install.texi: Use sourceware.org.
20813
c483f6b4
JM
208142012-04-09 Joseph Myers <joseph@codesourcery.com>
20815
d7dd9453
JM
20816 [BZ #13873]
20817 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20818 (__ieee754_pow): Generate overflow and underflow using huge*huge
20819 and tiny*tiny rather than just returning constant infinity or zero
20820 for large exponents.
20821 * math/libm-test.inc (pow_test): Require overflow exceptions for
20822 applicable cases of large exponents.
20823
c483f6b4
JM
20824 [BZ #706]
20825 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20826 (__ieee754_pow): Use iterative multiplication algorithm only for
20827 integer exponents with absolute value below 1024. Check for odd
20828 integer exponents when using algorithm for real exponents.
20829 * math/libm-test.inc (pow_test): Add more tests.
20830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20831
d2de7579
JM
208322012-04-08 Joseph Myers <joseph@codesourcery.com>
20833
20834 [BZ #13705]
20835 * math/libm-test.inc (exp_test): Do not allow overflow exception
20836 on underflow test.
20837
f77f1232
AJ
208382012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20839
20840 [BZ #13705]
20841 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20842 instead of __kernel_standard_f.
20843
3884932b
MF
208442012-04-08 Mike Frysinger <vapier@gentoo.org>
20845
20846 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20847 * sysdeps/x86_64/memset_chk.S: Likewise.
20848
54472e9c
AJ
208492012-04-08 Andreas Jaeger <aj@suse.de>
20850
6ab0fbfc
AJ
20851 [BZ #10153]
20852 * manual/startup.texi (Environment Access): Describe return value
20853 for putenv and setenv.
20854
61efba8c
AJ
20855 [BZ #6895]
20856 * manual/filesys.texi (Directory Entries): Add description for
20857 DT_LNK.
20858
95c3f29a
AJ
20859 [BZ #6890]
20860 * manual/filesys.texi (Directory Entries): Clarify that it's file
20861 system not operating system in the description of DT_UNKNOWN.
20862
54472e9c
AJ
20863 [BZ #6578]
20864 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20865
624254b1
SC
208662012-04-08 Stephen Compall <s11@member.fsf.org>
20867
20868 [BZ #6649]
20869 * manual/llio.texi (Opening and Closing Files): Add cross
20870 reference to explain mode argument.
20871
1e4920e0
MF
208722012-04-07 Mike Frysinger <vapier@gentoo.org>
20873
20874 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20875 * sysdeps/x86_64/memset_chk.S: Likewise.
20876
5ed848f3
DM
208772012-04-07 David S. Miller <davem@davemloft.net>
20878
20879 * elf/elf.h (R_SPARC_WDISP10): Define.
20880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20881 R_SPARC_SIZE32.
20882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20883 R_SPARC_SIZE64 and R_SPARC_H34.
20884
96154cd8
CD
208852012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20886
20887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20888 conditions and remove no longer applicable assertion.
20889
9904dc47
L
208902012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 * bits/byteswap.h: Include <features.h>.
20893 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20894 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20895
f8887d0a
L
208962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 * bits/byteswap.h (__bswap_16): Removed.
20899 Include <bits/byteswap-16.h> to get __bswap_16.
20900 * sysdeps/i386/bits/byteswap.h: Likewise.
20901 * sysdeps/s390/bits/byteswap.h: Likewise.
20902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20903 * bits/byteswap-16.h: New file.
20904 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20905 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20906 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20907 * string/Makefile (headers): Add bits/byteswap-16.h.
20908
62470f60
PP
209092012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20910
20911 [BZ #13895]
20912 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20913 extra indirection.
20914 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20915 * nss/tst-nss-static.c: New.
20916
4dad7bab
RM
209172012-04-06 Robert Millan <rmh@gnu.org>
20918
20919 [BZ #6486]
20920 * manual/llio.texi (File Position Primitive): lseek
20921 refers to WHENCE when it really means OFFSET.
20922
e9142a17
AJ
209232012-04-06 Andreas Jaeger <aj@suse.de>
20924
2c040eff
AJ
20925 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20926 strncmp declarations.
20927
e9142a17
AJ
20928 * abilist/libc.abilist: Add __poll and __ppoll.
20929
ff9f1c5f
DM
209302012-04-05 David S. Miller <davem@davemloft.net>
20931
dcd2ae90
DM
20932 * scripts/check-local-headers.sh: Accept a host triplet in the
20933 path matched by the exclude regexp.
20934
993eb054
DM
20935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20936 definition.
20937 * sysdeps/powerpc/powerpc32/dl-machine.h
20938 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20939 * sysdeps/s390/s390-32/dl-machine.h
20940 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20941 * sysdeps/sparc/sparc32/dl-machine.h
20942 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20943 * sysdeps/sparc/sparc64/dl-machine.h
20944 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20945
ff9f1c5f
DM
20946 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20947 lazy binding.
48e2e132 20948 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20949 undefined symbol errors.
20950
48e2e132 20951 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20952 DT_NEEDED entries.
20953
e80d6f94
MM
209542012-04-05 Michael Matz <matz@suse.de>
20955
20956 [BZ #13592]
20957 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20958
349fa79f
AJ
209592012-04-05 Andreas Jaeger <aj@suse.de>
20960
20961 [BZ #13908]
20962 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20963 comment.
20964
f402708f
KK
209652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20966
20967 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20968 which ROUND is no valid rounding mode.
20969
2ecccfc9
KK
209702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20971
20972 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20973 read again.
20974 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20975
8a53f50f
KK
209762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20977
20978 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20979 an exception using FPU order intentionally.
20980
209812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20982
20983 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20984 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20985 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20986 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20987
d653abb7
SJ
209882012-04-05 Simon Josefsson <simon@josefsson.org>
20989
20990 [BZ #12340]
20991 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20992 EINVAL when BUFLEN is too smal.
20993
c3b1bf7d
TS
209942012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20995
20996 [BZ #13553]
20997 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20998 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20999
b1aa60f3
AJ
210002012-04-03 Andreas Jaeger <aj@suse.de>
21001
c3b1bf7d 21002 [BZ #13938]
67f60a26
AJ
21003 * manual/setjmp.texi (System V contexts): Fix sentence.
21004
b1aa60f3
AJ
21005 [BZ #13926]
21006 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21007 New macro for this case.
21008 [!__GNUC__] (__bswap_64): New inline function for this case.
21009 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21010 * bits/byteswap.h: Likewise.
21011 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21012 ull, guard with __GLIBC_HAVE_LONG_LONG.
21013
21014 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21015 __GLIBC_HAVE_LONG_LONG.
21016
21017 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21018 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21019
39c59c35
TMQMF
210202012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21021
21022 [BZ #13691]
21023 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21024 inptr and inend, rather than using last_ch.
21025
135ffda8
DM
210262012-04-02 David S. Miller <davem@davemloft.net>
21027
21028 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21029 * stdio-common/printf-parse.h (read_int): Change return type to
21030 'int', return -1 on INT_MAX overflow.
21031 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21032 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21033 overflows INT_MAX. Check for overflow of in-format-string precision
21034 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21035 SIZE_MAX not INT_MAX for integer overflow test.
21036 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21037 skip the construct in the format string but do not record anything.
21038 * stdio-common/bug22.c: Adjust to test both width/prevision
21039 INT_MAX overflow as well as total length INT_MAX overflow. Check
21040 explicitly for proper errno values.
21041
228c019e
TS
210422012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21043
302cadd3
TS
21044 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21045 CHAR_MAX.
21046 * string/test-strcmp.c [! WIDE]: Likewise.
21047 * time/tst-mktime2.c: Likewise for INT_MAX.
21048 * string/test-string.h: #include <sys/param.h> for MIN.
21049
228c019e
TS
21050 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21051 * sysdeps/i386/init-first.c (init): Likewise.
21052 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21053 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21054 * sysdeps/sh/init-first.c (init): Likewise.
21055
cfa633f5
UD
210562012-04-01 Ulrich Drepper <drepper@gmail.com>
21057
21058 * po/ru.po: Update from translation team.
d1635ef8 21059 * po/vi.po: Likewise.
cfa633f5 21060
6cd0a5ea
SP
210612012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21062
21063 * resolv/nss_dns/dns-host.c: Merge copyright years.
21064
4b43400f
LD
210652012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21066
21067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21068 Optimize memcpy with prefetch if
21069 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21070 src, dst pointers have unequal 16 byte alignments.
21071
48c41d04
SP
210722012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21073
21074 [BZ #13928]
21075 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21076 from a CNAME entry and return the minimum ttl for the query.
21077 (gaih_getanswer_slice): Likewise.
21078
b8dc394d
JL
210792012-03-30 Jeff Law <law@redhat.com>
21080
21081 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21082 due to long keys.
21083 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21084 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21085
2f5a5ed0
JL
21086 * resolv/nss_dns/dns-host.c: Update copyright year.
21087
1d39e359
UD
210882012-03-30 Ulrich Drepper <drepper@gmail.com>
21089
c030f70c 21090 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21091 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21092
1d39e359
UD
21093 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21094 comments for sendmmsg.
21095
210962012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21097
21098 [BZ #13691]
21099 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21100 with only 1 character between 0x0041 and 0x01b0.
21101 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21102 * wcsmbs/tst-mbsnrtowcs.c: New file.
21103
20fde227
DM
211042012-03-29 David S. Miller <davem@davemloft.net>
21105
21106 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21107 small copies by hand.
21108
984a4237
JL
211092012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21110
21111 [BZ #13761]
21112 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21113 _nss_compat_initgroups_dyn): Fall back to malloc/free
21114 for large group memberships.
21115
18c9d62b
DM
211162012-03-28 David S. Miller <davem@davemloft.net>
21117
88d85d4f
DM
21118 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21119 that branches into memcpy.
21120 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21121 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21123 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21125 bits.
21126 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21127 implementation too.
21128 * sysdeps/sparc/mempcpy.S: New file.
21129
e5aa83e1
DM
21130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21131 the IFUNC routine in the libc case.
21132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21133
88570753
DM
21134 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21135 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21136 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21137 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21138 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21139 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21140 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21141 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21142
249d7567
DM
21143 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21144 loop to 256 bytes instead of 64 bytes and fix test signedness.
21145
18c9d62b
DM
21146 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21147 * sysdeps/sparc/sparc32/Makefile: rather than here...
21148 * sysdeps/sparc/sparc64/Makefile: and here.
21149
05f3d1f6
UD
211502012-03-28 Ulrich Drepper <drepper@gmail.com>
21151
21152 * malloc/mallocbug.c: Avoid warnings about unused variables.
21153
86ae07a8
JL
211542012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21155
21156 [BZ #13760]
21157 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21158 in the right place. Discard and retry query if response is
21159 larger than input buffer size.
21160
41bf21a1
JM
211612012-03-28 Joseph Myers <joseph@codesourcery.com>
21162
d6270972
JM
21163 [BZ #369]
21164 [BZ #2678]
21165 [BZ #3866]
21166 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21167 x for large integer exponent.
21168 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21169 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21170 sign of result as needed afterwards.
21171 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21172 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21173 result for underflowing pow the same as for overflow.
21174 (__kernel_standard_l): Handle powl overflow and underflow here
21175 rather than calling __kernel_standard.
21176 * math/libm-test.inc (pow_test): Add more tests.
21177
414fca03 21178 [BZ #3868]
41bf21a1
JM
21179 [BZ #13879]
21180 [BZ #13910]
21181 [BZ #13911]
21182 [BZ #13912]
21183 [BZ #13913]
21184 [BZ #13915]
21185 [BZ #13916]
21186 [BZ #13917]
21187 [BZ #13918]
21188 [BZ #13919]
21189 [BZ #13920]
21190 [BZ #13921]
21191 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21192 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21193 (__kernel_standard_l): New function.
21194 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21195 __kernel_standard.
21196 * math/w_acosl.c (__acosl): Likewise.
21197 * math/w_asinl.c (__asinl): Likewise.
21198 * math/w_atan2l.c (__atan2l): Likewise.
21199 * math/w_atanhl.c (__atanhl): Likewise.
21200 * math/w_coshl.c (__coshl): Likewise.
21201 * math/w_exp10l.c (__exp10l): Likewise.
21202 * math/w_exp2l.c (__exp2l): Likewise.
21203 * math/w_fmodl.c (__fmodl): Likewise.
21204 * math/w_hypotl.c (__hypotl): Likewise.
21205 * math/w_j0l.c (__j0l, __y0l): Likewise.
21206 * math/w_j1l.c (__j1l, __y1l): Likewise.
21207 * math/w_jnl.c (__jnl, __ynl): Likewise.
21208 * math/w_lgammal.c (__lgammal): Likewise.
21209 * math/w_log10l.c (__log10l): Likewise.
21210 * math/w_log2l.c (__log2l): Likewise.
21211 * math/w_logl.c (__logl): Likewise.
21212 * math/w_powl.c (__powl): Likewise.
21213 * math/w_remainderl.c (__remainderl): Likewise.
21214 * math/w_scalbl.c (sysv_scalbl): Likewise.
21215 * math/w_sinhl.c (__sinhl): Likewise.
21216 * math/w_sqrtl.c (__sqrtl): Likewise.
21217 * math/w_tgammal.c (__tgammal): Likewise.
21218 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21219 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21220 * math/libm-test.inc (acos_test): Add more tests.
21221 (acosh_test): Likewise.
21222 (asin_test): Likewise.
21223 (atanh_test): Likewise.
21224 (exp_test): Likewise.
21225 (exp10_test): Likewise.
21226 (exp2_test): Likewise.
21227 (expm1_test): Likewise.
21228 (lgamma_test): Likewise.
21229 (log_test): Likewise.
21230 (log10_test): Likewise.
21231 (log1p_test): Likewise.
21232 (log2_test): Likewise.
21233 (pow_test): Do not allow some spurious overflow exceptions.
21234 (sqrt_test): Add more tests.
21235 (tgamma_test): Likewise.
21236 (y0_test): Likewise.
21237 (y1_test): Likewise.
21238 (yn_test): Likewise.
21239
dd62fda6
AB
212402012-03-27 Anton Blanchard <anton@samba.org>
21241
21242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21243 MAP_HUGETLB.
21244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21247
1e3cdfda
AJ
212482012-03-27 David S. Miller <davem@davemloft.net>
21249
b855ab85
DM
21250 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21251
1e3cdfda
AJ
21252 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21253 have-as-vis3 check.
21254
212552012-03-27 Andreas Jaeger <aj@suse.de>
21256
21257 * sysdeps/x86_64/elf/configure.in: Moved to ...
21258 * sysdeps/x86_64/configure.in: ... here.
21259 * sysdeps/x86_64/elf/start.S: Moved to ...
21260 * sysdeps/x86_64/start.S: ... here.
21261 * sysdeps/x86_64/elf/configure: Delete.
21262
21263 * sysdeps/x86_64/configure.in: Merge contents from
21264 sysdeps/i386/configure.in (without i686 check).
21265
21266 * sysdeps/i386/elf/Versions: Merge into ...
21267 * sysdeps/i386/Versions: ... this.
21268 * sysdeps/i386/elf/Versions: Delete file.
21269 * sysdeps/i386/elf/start.S: Moved to ...
21270 * sysdeps/i386/start.S: ...here.
21271 * sysdeps/i386/elf/configure.in: Merge into...
21272 * sysdeps/i386/configure.in: ...here.
21273 * sysdeps/i386/elf/configure.in: Delete file.
21274 * sysdeps/i386/elf/configure: Delete file.
21275
21276 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21277 * debug/backtracesyms.c: ... here.
21278 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21279 * debug/backtracesymsfd.c: ... here.
21280 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21281 * sysdeps/generic/ifunc-sel.h: ... here.
21282
21283 * sysdeps/unix/i386/start.c: Delete file.
21284 * sysdeps/unix/sparc/start.c: Delete file.
21285 * sysdeps/unix/start.c: Delete file.
21286
21287 * sysdeps/sh/elf/configure.in: Moved to ...
21288 * sysdeps/sh/configure.in: ... here.
21289 * sysdeps/sh/elf/start.S: Moved to ...
21290 * sysdeps/sh/start.S: ... here.
21291 * sysdeps/sh/elf/configure: Delete file.
21292
21293 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21294 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21295 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21296 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21297 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21298 * sysdeps/powerpc/powerpc64/start.S: here.
21299 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21300 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21301 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21302 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21303 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21304
21305 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21306 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21307 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21308 * sysdeps/powerpc/powerpc32/start.S: ... here.
21309 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21310 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21311 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21312
21313 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21314 * sysdeps/powerpc/ifunc-sel.h: ... here.
21315 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21316 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21317
21318 * sysdeps/sparc/elf/configure.in: Moved to ...
21319 * sysdeps/sparc/configure.in: ... here.
21320 * sysdeps/sparc/elf/configure: Delete file.
21321 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21322 * sysdeps/sparc/sparc32/start.S: ... here.
21323 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21324 * sysdeps/sparc/sparc64/start.S: ... here.
21325 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21326 * sysdeps/sparc/sparc32/Makefile: ... this.
21327 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21328 * sysdeps/sparc/sparc64/Makefile: ... this.
21329
21330 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21331 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21332 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21333 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21334 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21335 * sysdeps/s390/s390-32/setjmp.S: ... here.
21336 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21337 * sysdeps/s390/s390-32/configure.in: ... here.
21338 * sysdeps/s390/s390-32/elf/configure: Delete file.
21339 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21340 * sysdeps/s390/s390-32/start.S: ... here.
21341
21342 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21343 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21344 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21345 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21346 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21347 * sysdeps/s390/s390-64/setjmp.S: ... here.
21348 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21349 * sysdeps/s390/s390-64/configure.in: ... here
21350 * sysdeps/s390/s390-64/elf/configure: Delete file.
21351 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21352 * sysdeps/s390/s390-64/start.S: ... here.
21353 * sysdeps/s390/s390-64/elf/configure: Delete.
21354
21355 * configure.in: Remove support for elf directories in sysdeps.
21356
21357 * configure: Regenerated.
21358 * sysdeps/i386/configure: Regenerated.
21359 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21360 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21361 * sysdeps/s390/s390-32/configure: Regenerated.
21362 * sysdeps/s390/s390-64/configure: Regenerated.
21363 * sysdeps/sh/configure: Regenerated.
21364 * sysdeps/sparc/configure: Regenerated.
21365 * sysdeps/x86_64/configure: Regenerated.
21366
a3f61311
AS
213672012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21368
c876e002
AS
21369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21370
a3f61311
AS
21371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21372 denormal result into account.
21373
ac4c54f0
RM
213742012-03-25 Roland McGrath <roland@hack.frob.com>
21375
21376 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21377 Reported by Allan McRae <allan@archlinux.org>.
21378
6a9b9c02
JL
213792012-03-23 Jeff Law <law@redhat.com>
21380
21381 * nss/getnssent.c (__nss_getent): Fix typo.
21382
4c42a0c1
DM
213832012-03-23 David S. Miller <davem@davemloft.net>
21384
21385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21386
1532c7ac
L
213872012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21388
21389 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21390 to pad to uint64_t for each field.
21391 (dl_tls_index): Replace unsigned long with uint64_t.
21392
3ff42526
PP
213932012-03-23 Daniel Jacobowitz <dmj@google.com>
21394 Paul Pluzhnikov <ppluzhnikov@google.com>
21395
21396 [BZ #6528]
21397 * grp/Makefile (otherlibs): Don't set it.
21398 * inet/Makefile (otherlibs): Likewise.
21399 * login/Makefile (otherlibs): Likewise.
21400 * nscd/Makefile (otherlibs): Likewise.
21401 * posix/Makefile (otherlibs): Likewise.
21402 * pwd/Makefile (otherlibs): Likewise.
21403 * rt/Makefile (otherlibs): Likewise.
21404 * sunrpc/Makefile (otherlibs): Likewise.
21405 * nss/Makefile (otherlibs): Likewise.
21406 Add libnss_files to routines and static-only-routines.
21407 ($(objpfx)getent): Remove rule.
21408 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21409 static-only-routines.
21410
7c69cd14
JM
214112012-03-22 Joseph Myers <joseph@codesourcery.com>
21412
21413 [BZ #13892]
21414 * math/s_cexp.c: Include <float.h>.
21415 (__cexp): Handle exp result overflowing not necessarily
21416 overflowing both real and imaginary parts of result.
21417 * math/s_cexpf.c: Likewise.
21418 * math/s_cexpl.c: Likewise.
21419 * math/libm-test.inc (cexp_test): Add more tests.
21420 * sysdeps/i386/fpu/libm-test-ulps: Update.
21421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21422
81b035fe
L
214232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21424
21425 * include/link.h (ELFW): New macro.
21426 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21427 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21428
1da7940c
L
214292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21430
21431 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21432 with uint64_t.
21433
b749dbb9
L
214342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21435
21436 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21437 declaration.
21438 (struct La_x32_retval): Likewise.
21439
2ff87f3f
L
214402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21441
21442 * sysdeps/x86_64/preconfigure.in: New file.
21443 * sysdeps/x86_64/preconfigure: New generated file.
21444
c0df8e69
JM
214452012-03-22 Joseph Myers <joseph@codesourcery.com>
21446
48e44791
JM
21447 [BZ #13824]
21448 * math/e_exp2l.c: Include <float.h>.
21449 (__ieee754_exp2l): Handle overflow and underflow cases
21450 separately. Only pass fractional part of argument to
21451 __ieee754_expl.
21452 * math/libm-test.inc (exp2_test): Add more tests.
21453
c0df8e69
JM
21454 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21455 negating x to take absolute value.
21456 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21457 Likewise.
21458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21460 Likewise.
21461 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21462 computing low part if x was negated.
21463 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21464
c8e43ba7
L
214652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21466
21467 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21468 la_x32_gnu_pltexit.
21469 (pltexit): Cast int_retval to ptrdiff_t.
21470 * elf/tst-auditmod3b.c: Likewise.
21471 * elf/tst-auditmod4b.c: Likewise.
21472 * elf/tst-auditmod5b.c: Likewise.
21473 * elf/tst-auditmod6b.c: Likewise.
21474 * elf/tst-auditmod6c.c: Likewise.
21475 * elf/tst-auditmod7b.c: Likewise.
21476
21477 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21478 and x32_gnu_pltexit.
21479
21480 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21481 __ELF_NATIVE_CLASS.
21482 (La_x32_regs): New macro.
21483 (La_x32_retval): Likewise.
21484 (la_x32_gnu_pltenter): New function prototype.
21485 (la_x32_gnu_pltexit): Likewise.
21486
7998fa78
AS
214872012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21488
dcb33988
AS
21489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21490 exponent.
21491
233fc563
AS
21492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21493
7998fa78
AS
21494 * configure.in (libc_cv_cc_nofma): Check for option to disable
21495 generation of FMA instructions.
21496 * configure: Regenerate.
21497 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21498 * sysdeps/ieee754/dbl-64/Makefile: New file.
21499 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21500 Remove brandred-fma4.
21501 (CFLAGS-brandred-fma4.c): Remove.
21502 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21504 define.
21505 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21506 define.
21507
8e95c99a
L
215082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21511 LLONG_MAX != LONG_MAX.
21512 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21513 (_fitoa_word): Likewise.
21514 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21515 LLONG_MAX != LONG_MAX.
21516 * stdio-common/_itowa.h: Include <_itoa.h>.
21517 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21518 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21519 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21520 only if not defined.
21521 (_ITOA_WORD_TYPE): Likewise.
21522 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21523 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21524
6f4db457
DM
215252012-03-21 David S. Miller <davem@davemloft.net>
21526
21527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21528
7785fe5a
L
215292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21532 of x86_64 when setting libc_cv_slibdir, libdir and
21533 libc_cv_localedir.
21534 * sysdeps/unix/sysv/linux/configure: Regenerated.
21535
4535cd55
JM
215362012-03-21 Joseph Myers <joseph@codesourcery.com>
21537
21538 * manual/lang.texi (Old Varargs): Remove section.
21539 (How Variadic): Update menu.
21540 (va_start): Do not mention varargs.h.
21541
17228132
TS
215422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21543 Joseph Myers <joseph@codesourcery.com>
21544
21545 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21546 link test.
21547 * configure: Regenerated.
21548
8149f976
TS
215492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21550
05f3d1f6
UD
21551 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21552 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21553 conformtest.pl
8149f976 21554
1a4ac776
JM
215552012-03-21 Joseph Myers <joseph@codesourcery.com>
21556
be22ce65
JM
21557 * NOTES: Remove.
21558 * Makefile (files-for-dist): Remove NOTES.
21559 (NOTES): Remove rule.
21560 * README: Don't refer to NOTES.
21561 * manual/creature.texi: Don't include macros.texi.
21562 * manual/intro.texi (creature.texi): Remove comment referring to
21563 NOTES.
21564
40b601fb
JM
21565 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21566 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21567 * configure: Regenerated.
21568 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21569 LIBC_TRY_CC_OPTION.
21570 (libc_cv_as_i686): Likewise.
21571 (libc_cv_cc_avx): Likewise.
21572 (libc_cv_cc_sse2avx): Likewise.
21573 (libc_cv_cc_fma4): Likewise.
21574 (libc_cv_cc_novzeroupper): Likewise.
21575 * sysdeps/i386/configure: Regenerated.
21576
1a4ac776
JM
21577 [BZ #13883]
21578 * sysdeps/i386/fpu/s_cexp.S: Remove.
21579 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21580 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21581 * math/libm-test.inc (cexp_test): Add more tests.
21582 * sysdeps/i386/fpu/libm-test-ulps: Update.
21583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21584
a458e7fe
AM
215852012-03-21 Allan McRae <allan@archlinux.org>
21586
21587 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21588
0cb7efc5
JM
215892012-03-21 Joseph Myers <joseph@codesourcery.com>
21590
21591 [BZ #13871]
21592 * math/w_exp2.c: Do not include <float.h>.
21593 (o_threshold, u_threshold): Remove.
21594 (__exp2): Calculate result before checking finiteness and calling
21595 __kernel_standard.
21596 * math/w_exp2f.c: Likewise.
21597 * math/w_exp2l.c: Likewise.
21598 * math/libm-test.inc (exp2_test): Require overflow exception for
21599 1e6 input.
2460d3aa
JM
21600
21601 [BZ #3866]
21602 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21603 range of signed 64-bit integers before using fistpll. Remove
21604 checks for whether integers fit in mantissa bits.
21605 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21606 the range of signed 32-bit integers before using fistpl. Remove
21607 checks for whether integers fit in mantissa bits.
21608 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21609 (__ieee754_powl): Test for y outside the range of signed 64-bit
21610 integers before using fistpll. Reduce 64-bit values to 63-bit
21611 ones as needed.
21612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21613 divide-by-zero is raised for zero to large negative powers.
21614 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21615 (__ieee754_powl): Test for y outside the range of signed 64-bit
21616 integers before using fistpll. Reduce 64-bit values to 63-bit
21617 ones as needed.
21618 * math/libm-test.inc (pow_test): Add more tests.
21619
eb96ffb0
L
216202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21621
21622 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21623 <stdio-common/_itoa.h>.
21624 * debug/segfault.c: Likewise.
21625 * elf/dl-cache.c: Likewise.
21626 * elf/dl-minimal.c: Likewise.
21627 * elf/dl-misc.c: Likewise.
21628 * elf/dl-sysdep.c: Likewise.
21629 * elf/dl-version.c: Likewise.
21630 * elf/rtld.c: Likewise.
21631 * hurd/hurdsock.c: Likewise.
21632 * hurd/lookup-retry.c: Likewise.
21633 * malloc/malloc.c: Likewise.
21634 * malloc/mtrace.c: Likewise.
21635 * nscd/nscd_getgr_r.c: Likewise.
21636 * nscd/nscd_getpw_r.c: Likewise.
21637 * nscd/nscd_getserv_r.c: Likewise.
21638 * posix/getopt_init.c: Likewise.
21639 * posix/wordexp.c: Likewise.
21640 * stdio-common/_itoa.c: Likewise.
21641 * stdio-common/printf_fphex.c: Likewise.
21642 * stdio-common/vfprintf.c: Likewise.
21643 * string/_strerror.c: Likewise.
21644 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21645 * sysdeps/i386/i686/hp-timing.h: Likewise.
21646 * sysdeps/mach/_strerror.c: Likewise.
21647 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21648 * sysdeps/mach/hurd/sethostid.c: Likewise.
21649 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21650 * sysdeps/mach/xpg-strerror.c: Likewise.
21651 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21652 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21653 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21654 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21655 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21656 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21657 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21658 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21659 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21660 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21661 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21662 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21663 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21664 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21665 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21666 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21667 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21668 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21669 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21670 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21671 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21672
21673 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21674
21675 * stdio-common/_itoa.h: Moved to ...
21676 * sysdeps/generic/_itoa.h: Here.
21677
21678 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21679
21680 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21681 instead of "_itoa.h" and "_itowa.h".
21682 * stdio-common/vfprintf.: Likewise.
21683
d1af992d
L
216842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21687 <bits/wordsize.h>.
21688 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21689 (__signbit): Likwise.
21690 (llrintf): Likwise.
21691 (llrint): Likwise.
21692
114883e0
L
216932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21694
21695 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21696 __WORDSIZE != 64.
21697
c135cc1b
JM
216982012-03-20 Joseph Myers <joseph@codesourcery.com>
21699
21700 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21701 OVERFLOW_EXCEPTION_OK.
21702 * math/libm-test.inc ("Philosophy"): Update comment about
21703 exception testing.
21704 (OVERFLOW_EXCEPTION): Define.
21705 (OVERFLOW_EXCEPTION_OK): Likewise.
21706 (INVALID_EXCEPTION_OK): Renumber.
21707 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21708 (IGNORE_ZERO_INF_SIGN): Likewise.
21709 (test_exceptions): Handle FE_OVERFLOW.
21710 (exp10_test): Expect overflow exceptions.
21711 (exp2_test): Likewise.
21712 (expm1_test): Likewise.
21713 (nextafter_test): Likewise.
21714 (pow_test): Likewise.
21715 (scalbn_test): Likewise.
21716 (scalbln_test): Likewise.
21717
95443d88
L
217182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21719
21720 * sysdeps/x86_64/bits/atomic.h
21721 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21722 64bit integer.
21723 (atomic_exchange_acq): Likewise.
21724 (__arch_exchange_and_add_body): Likewise.
21725 (__arch_add_body): Likewise.
21726 (atomic_add_negative): Likewise.
21727 (atomic_add_zero): Likewise.
21728
490df6c4
L
217292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21730
c2722551 21731 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21732 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21733
5e52b189
L
217342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21735
21736 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21737 Check __x86_64__ instead of __WORDSIZE.
21738
a9879d4c
L
217392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21740
21741 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21742
5df98260
DM
217432012-03-19 David S. Miller <davem@davemloft.net>
21744
e1497744
DM
21745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21746
5df98260
DM
21747 * sysdeps/sparc/fpu/fenv_private.h: New file.
21748 * sysdeps/sparc/fpu/math_private.h: Use it.
21749 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21750 Remove.
21751 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21752 (libc_feholdexcept_setroundl): Remove.
21753 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21754 Remove.
21755 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21756 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21757
b4c35121
L
217582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21759
21760 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21761 int64_t instead of long int.
21762 (INSERT_WORDS64): Likwise.
21763
56965fd7
L
217642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21767 _Unwind_GetCFA return to _Unwind_Ptr first.
21768
83d1aec8
JM
217692012-03-19 Joseph Myers <joseph@codesourcery.com>
21770
1897ad44
JM
21771 [BZ #13629]
21772 * math/s_clog.c: Include <float.h>.
21773 (__clog): Scale large or subnormal inputs.
21774 * math/s_clogf.c: Likewise.
21775 * math/s_clogl.c: Likewise.
21776 * math/s_clog10.c: Include <float.h>.
21777 (M_LOG10_2): Define.
21778 (__clog10): Scale large or subnormal inputs.
21779 * math/s_clog10f.c: Likewise.
21780 * math/s_clog10l.c: Likewise.
21781 * math/libm-test.inc (clog_test): Add more tests.
21782 (clog10_test): Likewise.
21783 * sysdeps/i386/fpu/libm-test-ulps: Update.
21784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21785
7726d6a9
JM
21786 [BZ #11451]
21787 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21788 x and y.
21789 * math/libm-test.inc (atan2_test): Add another test.
21790
83d1aec8
JM
21791 * Makerules (common-objdir-compile): Remove.
21792 * sysdeps/unix/Makefile (config-generated): Do not add
21793 $(unix-generated) to variable.
21794 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21795 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21796 Remove rule.
21797 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21798 Likewise.
21799 [generic bits/local_lim.h] (before-compile): Do not append to
21800 variable.
21801 [generic bits/local_lim.h] (common-generated): Likewise.
21802 [generic sys/param.h] (before-compile): Do not append to variable.
21803 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21804 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21805 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21806 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21807 include.
21808 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21809 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21810 [generic sys/param.h] ($(addprefix
21811 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21812 [generic sys/param.h] (common-generated): Do not append to
21813 variable.
21814 [generic sys/param.h] (sysdep_headers): Likewise.
21815 [generic bits/errno.h] (before-compile): Do not append to
21816 variable.
21817 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21818 rule.
21819 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21820 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21821 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21822 [generic bits/errno.h] (common-generated): Do not append to
21823 variable.
21824 [generic bits/ioctls.h] (before-compile): Do not append to
21825 variable.
21826 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21827 rule.
21828 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21829 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21830 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21831 rule.
21832 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21833 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21834 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21835 [generic bits/ioctls.h] (common-generated): Do not append to
21836 variable.
21837 [generic sys/syscall.h] (syscall.h): Remove variable.
21838 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21839 rule.
21840 [generic sys/syscall.h] (before-compile): Do not append to
21841 variable.
21842 [generic sys/syscall.h] (common-generated): Likewise.
21843 * sysdeps/unix/errnos-tmpl.c: Remove file.
21844 * sysdeps/unix/errnos.awk: Likewise.
21845 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21846 * sysdeps/unix/ioctls.awk: Likewise.
21847 * sysdeps/unix/mk-local_lim.c: Likewise.
21848 * sysdeps/unix/snarf-ioctls: Likewise.
21849
4851a949
RH
218502012-03-19 Richard Henderson <rth@twiddle.net>
21851
bd37f2ee
RH
21852 * sysdeps/i386/fpu/fenv_private.h: New file.
21853 * sysdeps/i386/fpu/math_private.h: Use it.
21854 (math_opt_barrier, math_force_eval): Remove.
21855 (libc_feholdexcept_setround_53bit): Remove.
21856 (libc_feupdateenv_53bit): Remove.
21857 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21858 (math_opt_barrier, math_force_eval): Remove.
21859 (libc_feholdexcept): Remove.
21860 (libc_feholdexcept_setround): Remove.
21861 (libc_fetestexcept, libc_fesetenv): Remove.
21862 (libc_feupdateenv_test): Remove.
21863 (libc_feupdateenv, libc_feholdsetround): Remove.
21864 (libc_feresetround): Remove.
21865
d0adc922
RH
21866 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21867 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21868
0fe0f1f8
RH
21869 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21870 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21871 (libc_feupdateenv_testl): New.
21872 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21873 (libc_feupdateenv_testf): New.
21874 (libc_feupdateenv): Use libc_feupdateenv_test.
21875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21877
eb92c487
RH
21878 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21879 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21880 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21881 (libc_feresetround_noex): New.
21882 (libc_feresetround_noexf): New.
21883 (libc_feresetround_noexl): New.
21884 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21885 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21886 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21887 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21888 SET_RESTORE_ROUND.
21889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21890 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21891 (__cos): Likewise.
21892 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21893 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21894 SET_RESTORE_ROUND_NOEX.
21895 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21896 SET_RESTORE_ROUND_NOEXF.
21897 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21898 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21899 (libc_feholdsetroundf): New.
21900 (libc_feresetround, libc_feresetroundf): New.
21901
7d2e8012
RH
21902 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21903 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21904 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21905
b4dabbb4
RH
21906 * sysdeps/generic/math_private.h: Include <fenv.h>.
21907 (default_libc_feholdexcept): New.
21908 (default_libc_feholdexcept_setround): New.
21909 (default_libc_fesetenv, default_libc_feupdateenv): New.
21910 (libc_feholdexcept): Only define if undefined.
21911 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21912 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21913 (libc_feholdexcept_setroundl): Likewise.
21914 (libc_feholdexcept_setround_53bit): Likewise.
21915 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21916 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21917 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21918 (libc_feupdateenv_53bit): Likewise.
21919 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21920 (libc_feholdexcept): Convert from macro to inline function.
21921 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21922 (libc_fesetenv, libc_feupdateenv): Likewise.
21923
4851a949
RH
21924 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21925 not previously defined.
21926 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21927 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21928 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21929 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21930 * sysdeps/ieee754/flt-32/math_private.h: New file.
21931 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21932 math_private.h below SET_FLOAT_WORD.
21933 (__isnan, __isinf_ns, __finite): Remove.
21934 (__isnanf, __isinf_nsf, __finitef): Remove.
21935
e79d442e
AS
219362012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21937
21938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21939
90b80344
DM
219402012-03-17 David S. Miller <davem@davemloft.net>
21941
21942 [BZ #6471]
21943 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21944 for 2.16.
21945
edc21804
DM
219462012-03-16 David S. Miller <davem@davemloft.net>
21947
77e927af
DM
21948 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21949 warnings.
21950
374976dd
DM
21951 [BZ #6471]
21952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21953 properly.
21954 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21955 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21956 sysdep_routines when subdir is sysvipc.
21957 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21958 __getshmlba helper.
21959
edc21804
DM
21960 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21961
473c3ef3
L
219622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21965 [__LP64__].
21966
eb0f39b6
L
219672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21968
21969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21970 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21971 (__lround): Renamed to ...
21972 (__llround): This. Replace long int with long long int.
21973 Define lround functions as aliases of llround functions.
21974 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21975
6b6cd74b
L
219762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21979 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21980 adresses to uintptr_t. Replace "long int" and "unsigned long
21981 int" with "greg_t" on va_arg.
21982
f1a77b01
L
219832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21984
21985 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21986 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21987
21988 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21989 Move e_machine check before EI_CLASS check. Handle x32
21990 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21991 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21992 SKIP_EM_IA_64 and include
21993 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21994
21995 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21996 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21997 (add_system_dir): New macro.
21998
21999 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22000 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22001
11b90b9f
JM
220022012-03-16 Joseph Myers <joseph@codesourcery.com>
22003
c36e1d23
JM
22004 [BZ #2551]
22005 [BZ #2552]
22006 [BZ #2553]
22007 [BZ #2554]
22008 [BZ #2562]
22009 [BZ #2563]
22010 [BZ #2565]
22011 [BZ #2566]
22012 [BZ #2576]
22013 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22014 (y0): Likewise.
22015 * math/w_j0f.c (j0f): Likewise.
22016 (y0f): Likewise.
22017 * math/w_j0l.c (__j0l): Likewise.
22018 (__y0l): Likewise.
22019 * math/w_j1.c (j1): Likewise.
22020 (y1): Likewise.
22021 * math/w_j1f.c (j1f): Likewise.
22022 (y1f): Likewise.
22023 * math/w_j1l.c (__j1l): Likewise.
22024 (__y1l): Likewise.
22025 * math/w_jn.c (jn): Likewise.
22026 (yn): Likewise.
22027 * math/w_jnf.c (jnf): Likewise.
22028 (ynf): Likewise.
22029 * math/w_jnl.c (__jnl): Likewise.
22030 (__ynl): Likewise.
22031 * math/libm-test.inc (j0_test): Add more tests.
22032 (j1_test): Likewise.
22033 (jn_test): Likewise. Add trailing semicolon to existing test.
22034 (y0_test): Likewise.
22035 (y1_test): Likewise.
22036 * sysdeps/i386/fpu/libm-test-ulps: Update.
22037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22038
11b90b9f
JM
22039 [BZ #13851]
22040 [BZ #13854]
22041 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22042 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22043 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22044 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22045 (__tanl): Set errno for infinite argument.
22046 * sysdeps/i386/fpu/mptan.c: Remove.
22047 * sysdeps/i386/fpu/s_tan.S: Likewise.
22048 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22049 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22050 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22051 * math/libm-test.inc (tan_test): Add more tests and enable more
22052 tests for double and long double.
22053 * sysdeps/i386/fpu/libm-test-ulps: Update.
22054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22055
6a1bd2a1
JK
220562012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22057
22058 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22059 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22060
10a803e0
RM
220612012-03-16 Roland McGrath <roland@hack.frob.com>
22062
22063 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22064 * configure.in: Use it for both main tree and add-ons.
22065 * configure: Regenerated.
22066
f196c7f7
L
220672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22070
8848d99d
JM
220712012-03-16 Joseph Myers <joseph@codesourcery.com>
22072
96cbe7f4
JM
22073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22074 in comment.
22075
8848d99d
JM
22076 [BZ #13851]
22077 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22078 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22079 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22080 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22081 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22082 infinite argument.
22083 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22085 != 0 for prec == 2.
22086 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22087 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22088 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22089 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22090 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22091 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22092 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22093 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22094 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22095 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22096 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22097 * math/libm-test.inc (cos_test): Add more tests and enable more
22098 tests for long double.
22099 (sin_test): Likewise.
22100 (sincos_test): Likewise.
22101 * sysdeps/i386/fpu/libm-test-ulps: Update.
22102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22103
dd7f4703
DM
221042012-03-16 David S. Miller <davem@davemloft.net>
22105
22106 * sysdeps/sparc/fpu/math_private.h: New file.
22107
006f1daa
DM
221082012-03-15 David S. Miller <davem@davemloft.net>
22109
c0c83bc8
DM
22110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22111 file.
e6a62e18 22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22114 file.
e6a62e18
DM
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22121 sysdep routines.
22122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22123
88cb87d9
DM
22124 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22125 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22126
006f1daa 22127 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22129 sparc-ifunc.h
006f1daa 22130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22132 Likewise.
22133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22134 Likewise.
006f1daa
DM
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22139 Likewise.
006f1daa
DM
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22145 Likewise.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22147 Likewise.
006f1daa
DM
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22172
11e0098e
AS
221732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22174
22175 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22176 scaling.
22177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22178
e85b09d0
AJ
221792012-03-15 Andreas Jaeger <aj@suse.de>
22180
22181 [BZ #13852]
22182 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22183 ieee754/flt-32 implementation for sin, cos and sincos.
22184 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22185 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22186 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22187 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22188 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22189 ieee754/flt-32 implementation for tan.
22190
22191 * math/libm-test.inc (cos_test): Enable some large input tests for
22192 float as well
22193 (sin_test): Likewise.
22194 (sincos_test): Likewise.
22195 (tan_test): Add tests for large input.
22196
22197 * sysdeps/i386/fpu/libm-test-ulps: Update.
22198
81c64153
AJ
221992012-03-15 Andreas Jaeger <aj@suse.de>
22200
22201 [BZ #13658]
22202 * math/libm-test.inc (cos_test): Add more test cases.
22203 (sin_test): Likewise.
22204 (sincos_test): Likewise.
22205
7bbfa5c6
AJ
222062012-03-15 Andreas Jaeger <aj@suse.de>
22207
22208 [BZ #13837]
22209 * math/libm-test.inc (cos_test): Add a test case for large input
22210 value.
22211 (sin_test): Likewise.
22212 (sincos_test): Likewise.
22213
222142012-03-15 Andreas Jaeger <aj@suse.de>,
22215 Joseph Myers <joseph@codesourcery.com>
22216
22217 [BZ #13658]
0671f479 22218 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22219 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22220 * sysdeps/i386/fpu/branred.c: Likewise.
22221 * sysdeps/i386/fpu/dosincos.c: Likewise.
22222 * sysdeps/i386/fpu/mpa.c: Likewise.
22223 * sysdeps/i386/fpu/s_cos.S: Likewise.
22224 * sysdeps/i386/fpu/s_sin.S: Likewise.
22225 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22226 * sysdeps/i386/fpu/sincos32.c: Likewise.
22227
22228 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22229 Define.
22230 (libc_feupdateenv_53bit): Define.
22231 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22232 Define.
22233 (libc_feupdateenv_53bit): Define.
22234
22235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22236 53 bit (without extend i386 double precision).
22237
22238 * math/libm-test.inc (sincos_test): Add tests for large input.
22239 (sin): Likewise.
22240 (cos): Likewise.
22241
22242 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22243
9cad04ea
AS
222442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22245
22246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22247
f7062b9a
DM
222482012-03-15 David S. Miller <davem@davemloft.net>
22249
22250 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22251 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22252 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22253 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22266 file.
f7062b9a 22267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22269 file.
f7062b9a 22270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22272 file.
f7062b9a 22273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22275 file.
f7062b9a
DM
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22278 fmin/fmax sysdep routines.
22279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22280
7bd951ff
DM
222812012-03-14 David S. Miller <davem@davemloft.net>
22282
559398ab
DM
22283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22304 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22305 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22312 routines.
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22314 file.
559398ab 22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22317 file.
559398ab 22318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22320 file.
559398ab 22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22323 file.
559398ab 22324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22326 file.
559398ab 22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22329 file.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22331 file.
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22333 file.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22335 file.
22336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22337 New file.
22338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22339 file.
22340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22341 file.
559398ab 22342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22344 file.
559398ab 22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22347 file.
559398ab 22348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22350 file.
559398ab 22351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22353 VIS3 routines.
559398ab
DM
22354
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22356 New file.
22357
5a1c1e32
DM
22358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22359
eae47a36
DM
22360 * sysdeps/sparc/configure.in: New file.
22361 * sysdeps/sparc/configure: Generate.
22362 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22363 * configure: Regenerate.
22364 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22365 * config.make.in (have-as-vis3): New.
22366 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22367 available use -Av9d instead of -Av9a.
22368 * sysdeps/sparc/sparc64/Makefile: Likewise.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22371 New file.
22372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22373 file.
22374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22375 New file.
22376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22377 file.
eae47a36
DM
22378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22383
c0c83bc8
DM
22384 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22385 fzeros/fnegs to load 0x80000000 into a float register instead of
22386 using the stack.
7bd951ff
DM
22387 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22388
bd951ccb
JM
223892012-03-14 Joseph Myers <joseph@codesourcery.com>
22390
22391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22392 bits/syscall.h.
22393 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22394 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22395 ($(inst_includedir)/bits/syscall.h): Remove rule.
22396 ($(objpfx)bits/syscall.d): Include instead of
22397 $(objpfx)syscall-list.d.
22398 (generated): Change syscall-list.h and syscall-list.d to
22399 bits/syscall.h and bits/syscall.d.
22400
bb4e6db2
RM
224012012-03-14 Roland McGrath <roland@hack.frob.com>
22402
22403 [BZ #13846]
22404 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22405
aa4a2ae1
JM
224062012-03-14 Joseph Myers <joseph@codesourcery.com>
22407
e456826d
JM
22408 [BZ #13841]
22409 * math/s_csqrt.c: Include <float.h>.
22410 (__csqrt): Scale large or subnormal inputs.
22411 * math/s_csqrtf.c: Likewise.
22412 * math/s_csqrtl.c: Likewise.
22413 * math/libm-test.inc (csqrt_test): Add more tests.
22414 * sysdeps/i386/fpu/libm-test-ulps: Update.
22415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22416
aa4a2ae1
JM
22417 [BZ #13840]
22418 * math/libm-test.inc (hypot_test): Add more tests.
22419
7c10fd35
DM
224202012-03-13 David S. Miller <davem@davemloft.net>
22421
22422 [BZ #13840]
22423 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22424 double-precision for the calculation instead of scaling.
22425
f453b98b
JM
224262012-03-13 Joseph Myers <joseph@codesourcery.com>
22427
22428 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22429 manipulate bits before adding and subtracting TWO52[sx].
22430 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22432 Likewise.
22433 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22434
09a3453f
DM
224352012-03-13 David S. Miller <davem@davemloft.net>
22436
8e59da90
DM
22437 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22438 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22439 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22440 rtld-global-offsets.h
22441 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22442
2a8ab7f2
DM
22443 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22444 large parameters.
22445
10f62770
DM
22446 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22447
5f0bdb18
DM
22448 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22449 'err' in the ifdef scope in which it is actually used.
22450
09a3453f
DM
22451 * nss/nss_db/db-init.c: Include string.h
22452
b4b2eb5e
DM
224532012-03-12 David S. Miller <davem@davemloft.net>
22454
98bb2f1c
DM
22455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22456 masking out of the most significant byte of random value used.
22457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22458 Fix coding style in previous change.
22459
b4b2eb5e
DM
22460 * sysdeps/unix/sysv/linux/kernel-features.h
22461 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22462 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22463 expression.
22464 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22465 later.
22466
6e226b09
DM
224672012-03-11 David S. Miller <davem@davemloft.net>
22468
a1bcbd40
DM
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22470 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22471 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22472 for 'resultvar' otherwise things get truncated on 64-bit.
22473
cb9d6174
DM
22474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22475 Fix masking out of the most significant byte of random value used.
22476
6e226b09
DM
22477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22478
058c132d
AS
224792012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22480
22481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22482
2d2cd515
DM
224832012-03-09 David S. Miller <davem@davemloft.net>
22484
22485 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22486 variables with appropriate CPP guards.
22487 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22488 frame pointer, not the stack pointer. Correct layout comments. Fix test
22489 on resulting framesize and the management of the outregs buffer for pltexit.
22490 Preserve floating point return values across _dl_call_pltexit call.
22491 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22492 framesize and the management of the outregs buffer for pltexit.
22493 Preserve floating point return values across _dl_call_pltexit
22494 call.
22495 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22496 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22497 (print_exit): Fix format string for return register value.
22498
9a07f9d0
JM
224992012-03-10 Joseph Myers <joseph@codesourcery.com>
22500
22501 * sunrpc/Makefile (others): Add rpcgen.
22502 ($(objpfx)rpcgen): Remove special build rule and dependency on
22503 libc.
22504 * sunrpc/rpcgen.c: New file.
22505
547b5e30
PE
225062012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22507
c524201a
PE
22508 [BZ #13673]
22509 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22510 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22511 * sysdeps/i386/crti.S: Likewise.
22512 * sysdeps/i386/crtn.S: Likewise.
22513 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22514 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22515 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22516 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22517 * sysdeps/sh/crti.S: Likewise.
22518 * sysdeps/sh/crtn.S: Likewise.
22519 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22520
7b6235f2
PE
22521 [BZ #13673]
22522 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22523 with URL.
22524 * locale/programs/locfile-kw.gperf: Likewise.
22525 * locale/programs/charmap-kw.h: Regenerated.
22526 * locale/programs/locfile-kw.h: Likewise.
22527
547b5e30
PE
22528 [BZ #13673]
22529 * intl/plural.y: Replace FSF snail mail address with URL.
22530 * intl/plural.c: Regenerated.
22531
5f0a5dae
RH
225322012-03-09 Richard Henderson <rth@twiddle.net>
22533
22534 * include/math_private.h: Remove file.
22535 * math/math_private.h: Move file ...
22536 * sysdeps/generic/math_private.h: ... here.
22537
b8c03620
RH
22538 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22539 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22540 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22541
4e234f5d 22542 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22543 and <math_private.h>.
22544 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22545 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22546 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22547 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22548 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22602 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22632 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22635 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22637 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22638 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22639 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22640 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22641 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22642 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22643 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22644 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22645 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22646 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22648 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22649 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22650 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22651 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22652 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22653 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22654 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22655 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22656 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22658 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22659 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22660 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22661 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22662 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22663 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22664 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22665 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22666 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22667 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22671 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22672 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22673 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22674 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22675 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22677 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22678 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22679 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22680 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22681 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22682 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22683 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22684 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22685 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22686 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22687 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22688 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22689 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22690 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22692 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22693 * sysdeps/ieee754/k_standard.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22811 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22812 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22813 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22814 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22815 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22816 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22817 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22818 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22819 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22821 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22822 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22827 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22828 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22829 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22830 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22831 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22832 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22833 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22834 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22835 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22836 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22837 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22838 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22839 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22840 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22841 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22842 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22843 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22844 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22845 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22846 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22847 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22848 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22849 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22850 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22851 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22853 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22854 * sysdeps/ieee754/s_lib_version.c: Likewise.
22855 * sysdeps/ieee754/s_matherr.c: Likewise.
22856 * sysdeps/ieee754/s_signgam.c: Likewise.
22857 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22859 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22860 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22861 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22862 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22863 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22864 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22865 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22866 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22867 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22868 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22871 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22872 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22874 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22875 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22878
1991fa03
JM
228792012-03-09 Joseph Myers <joseph@codesourcery.com>
22880
22881 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22882 * sunrpc/rpc_main.c: Likewise.
22883 * sunrpc/rpc_svcout.c: Likewise.
22884
60d6f5a6
DM
228852012-03-09 David S. Miller <davem@davemloft.net>
22886
22887 * include/math_private.h: New file.
22888
4962050e
JM
228892012-03-09 Joseph Myers <joseph@codesourcery.com>
22890
02a6f887
JM
22891 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22892 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22893 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22894 from <bits/socket_type.h>.
22895 (enum __socket_type): Don't define here.
22896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22898 bits/socket_type.h.
22899
c6e013c1
JM
22900 [BZ #13566]
22901 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22902 checking __USE_GNU.
22903
4962050e
JM
22904 * Makerules ($(inst_includedir)/%.h): New rule.
22905 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22906 (install-others): Remove variable setting.
22907 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22908
38842f45
RH
229092012-03-08 Richard Henderson <rth@twiddle.net>
22910
67bb6da6
RH
22911 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22912 from macro to inline function; merge with the
22913 !__LIBC_INTERNAL_MATH_INLINES version.
22914 (__ieee754_sqrtf): Likewise.
22915
15194b4b
RH
22916 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22917 to inline function.
22918 (__rintf, __floor, __floorf): Likewise.
22919
64e21ede
RH
22920 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22921 macro to inline function.
22922 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22923
38842f45
RH
22924 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22925 not <math/math_private.h>.
22926
c64bf5fe
DM
229272012-03-08 David S. Miller <davem@davemloft.net>
22928
22929 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22930 copyright year.
22931 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22932
82d86f28
TS
229332012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22934
22935 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22936 normalization.
22937 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22938 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22939
aea5d727
UD
229402012-03-08 Ulrich Drepper <drepper@gmail.com>
22941
22942 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22943 be defined individually, they must be defined as a block. Define
22944 S for printing a string instead of hidint the different by using a
22945 macro for adding the 'l'.
22946 * stdio-common/tst-fphex-wide.c: Adjust.
22947
70bca0a3
MP
229482012-03-07 Marek Polacek <polacek@redhat.com>
22949
22950 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22951
65b81130
MP
229522012-03-08 Marek Polacek <polacek@redhat.com>
22953
22954 [BZ #13806]
22955 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22956 * stdio-common/tst-fphex.c: Define a few macros to make the
22957 test reusable. Use them.
22958 * stdio-common/tst-fphex-wide.c: New file.
22959
07037eeb
JM
229602012-03-08 Joseph Myers <joseph@codesourcery.com>
22961
a7a93d50
JM
22962 [BZ #6911]
22963 * manual/macros.texi (gnusystems): New macro.
22964 (nongnusystems): Likewise.
22965 (gnulinuxhurdsystems): Likewise.
22966 (gnuhurdsystems): Likewise..
22967 (gnulinuxsystems): Likewise.
22968 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22969 variants of the GNU system, not "GNU system".
22970 * manual/conf.texi: Likewise.
22971 * manual/errno.texi: Likewise. Update example of errno macro
22972 expansion.
22973 * manual/filesys.texi: Likewise.
22974 (getumask): Document as specific to GNU/Hurd.
22975 * manual/install.texi: Likewise. Reword some references to
22976 GNU/Linux.
22977 * manual/intro.texi: Likewise.
22978 * manual/io.texi: Likewise.
22979 (File Name Portability): Detail which constraints are inapplicable
22980 to all GNU systems and which are only inapplicable to GNU/Hurd.
22981 * manual/job.texi: Likewise.
22982 * manual/llio.texi: Likewise.
22983 (O_NOCTTY): Document as present on GNU/Linux.
22984 * manual/maint.texi: Likewise.
22985 * manual/memory.texi: Likewise.
22986 * manual/pattern.texi: Likewise.
22987 * manual/pipe.texi: Likewise.
22988 * manual/process.texi: Likewise.
22989 * manual/resource.texi: Likewise.
22990 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22991 child on GNU/Hurd.
22992 * manual/setjmp.texi: Likewise.
22993 * manual/signal.texi: Likewise.
22994 * manual/startup.texi: Likewise.
22995 * manual/stdio.texi: Likewise.
22996 * manual/terminal.texi: Likewise.
22997 (ONLCR): Document as POSIX.
22998 (OXTABS): Document availability on GNU/Linux as XTABS.
22999 (ONOEOT): Document availability separately from other bits.
23000 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23001 * manual/time.texi: Likewise.
23002 * manual/users.texi: Likewise.
23003 * INSTALL: Regenerated.
23004 * sysdeps/gnu/errlist.c: Regenerated.
23005
07037eeb
JM
23006 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23007 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23008 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23009 puts.
23010 * configure: Regenerated.
23011
d1d3431a
JM
230122012-03-07 Joseph Myers <joseph@codesourcery.com>
23013
af6a1e37
JM
23014 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23015 default includes instead of AC_HEADER_CHECK.
23016 * sysdeps/i386/configure: Regenerated.
23017
d1d3431a
JM
23018 [BZ #10716]
23019 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23020 * math/s_cacoshf.c (__cacoshf): Likewise.
23021 * math/s_cacoshl.c (__cacoshl): Likewise.
23022 * math/s_casinh.c (__casinh): Set signs of result from argument.
23023 * math/s_casinhf.c (__casinhf): Likewise.
23024 * math/s_casinhl.c (__casinhl): Likewise.
23025 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23026 (casinh_test): Add more tests.
23027 * sysdeps/i386/fpu/libm-test-ulps: Update.
23028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23029
482ff4da
UD
230302012-03-07 Ulrich Drepper <drepper@gmail.com>
23031
872fda05
UD
23032 * po/zh_TW.po: Update from translation team.
23033
a4300c7a
UD
23034 * login/Makefile (distribute): Remove variable.
23035 * catgets/Makefile: Likewise.
23036 * mach/Makefile: Likewise.
23037 * malloc/Makefile: Likewise.
23038 * misc/Makefile: Likewise.
23039 * iconv/Makefile: Likewise.
23040 * nscd/Makefile: Likewise.
23041 * hurd/Makefile: Likewise.
23042 * manual/Makefile: Likewise.
23043 * locale/Makefile: Likewise.
23044 * intl/Makefile: Likewise.
23045 * conform/Makefile: Likewise.
23046 * nss/Makefile: Likewise.
23047 * time/Makefile: Likewise.
23048 * soft-fp/Makefile: Likewise.
23049 * dirent/Makefile: Likewise.
23050 * gmon/Makefile: Likewise.
23051 * po/Makefile: Likewise.
23052 * rt/Makefile: Likewise.
23053 * socket/Makefile: Likewise.
23054 * math/Makefile: Likewise.
23055 * signal/Makefile: Likewise.
23056 * debug/Makefile: Likewise.
23057 * elf/Makefile: Likewise.
23058 * timezone/Makefile: Likewise.
23059 * stdlib/Makefile: Likewise.
23060 * iconvdata/Makefile: Likewise.
23061 * sunrpc/Makefile: Likewise.
23062 * io/Makefile: Likewise.
23063 * argp/Makefile: Likewise.
23064 * inet/Makefile: Likewise.
23065 * hesiod/Makefile: Likewise.
23066 * grp/Makefile: Likewise.
23067 * csu/Makefile: Likewise.
23068 * wctype/Makefile: Likewise.
23069 * crypt/Makefile: Likewise.
23070 * libio/Makefile: Likewise.
23071 * string/Makefile: Likewise.
23072 * nis/Makefile: Likewise.
23073 * resolv/Makefile: Likewise.
23074 * stdio-common/Makefile: Likewise.
23075 * wcsmbs/Makefile: Likewise.
23076 * dlfcn/Makefile: Likewise.
23077 * posix/Makefile: Likewise.
23078
3b7c4e74 23079 [BZ #6959]
482ff4da
UD
23080 * timezone/Makefile: Don't install timezone files, just the programs
23081 and scripts.
23082
f72ed77d
UD
230832012-03-06 Ulrich Drepper <drepper@gmail.com>
23084
a000466f
UD
23085 * nss/databases.def: Add missing gshadow entry.
23086
f72ed77d
UD
23087 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23088
a53b7a4e
MP
230892012-03-06 Marek Polacek <polacek@redhat.com>
23090
23091 [BZ #13726]
23092 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23093 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23094 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23095 * stdio-common/tst-long-dbl-fphex.c: New file.
23096
e9258400
DM
230972012-03-06 David S. Miller <davem@davemloft.net>
23098
23099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23100 (set_obp_int): New function.
23101 (get_obp_int): New function.
23102 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23103 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23104 Avoid unused variable warnings on 'val' and use builtin_expect.
23105 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23106 __builtin_expect.
e9258400
DM
23107 (INLINE_CLONE_SYSCALL): Likewise.
23108
3bd2c723
DM
231092012-03-05 David S. Miller <davem@davemloft.net>
23110
23111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23112
bbb78d03
AS
231132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23114
884c5db4
AS
23115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23116
bbb78d03
AS
23117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23118 only for |x| >= 40.
23119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23120
1c9f702a 231212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23122
23123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23124 Replace gettimeofday with __vdso_gettimeofday.
23125
7be16f82
RM
23126 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23127 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23128 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23129
23130 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23131 time with __vdso_time.
23132
ed58a00f
JM
231332012-03-05 Joseph Myers <joseph@codesourcery.com>
23134
23135 * manual/lang.texi (size_t): Note types to which size_t may be
23136 equivalent with the GNU C Library, but do not describe when
23137 differences between them are significant.
23138
30ee4ced
AJ
231392012-03-05 Andreas Jaeger <aj@suse.de>
23140
23141 * sysdeps/i386/fpu/libm-test-ulps: Update.
23142
b7cd39e8
JM
231432012-03-05 Joseph Myers <joseph@codesourcery.com>
23144
23145 [BZ #3976]
23146 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23147 (__ieee754_pow): Save and restore rounding mode and use
23148 round-to-nearest for main computations.
23149 * math/libm-test.inc (pow_test_tonearest): New function.
23150 (pow_test_towardzero): Likewise.
23151 (pow_test_downward): Likewise.
23152 (pow_test_upward): Likewise.
23153 (main): Call the new functions.
23154 * sysdeps/i386/fpu/libm-test-ulps: Update.
23155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23156
23157 [BZ #3976]
23158 * math/libm-test.inc (cosh_test_tonearest): New function.
23159 (cosh_test_towardzero): Likewise.
23160 (cosh_test_downward): Likewise.
23161 (cosh_test_upward): Likewise.
23162 (sinh_test_tonearest): Likewise.
23163 (sinh_test_towardzero): Likewise.
23164 (sinh_test_downward): Likewise.
23165 (sinh_test_upward): Likewise.
23166 (main): Call the new functions.
23167 * sysdeps/i386/fpu/libm-test-ulps: Update.
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169
6c6a98c9
TV
231702012-03-05 Tom de Vries <tom@codesourcery.com>
23171
23172 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23173 default stack guard is set in last bytes.
23174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23175
21bb2d2e 231762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23177
21bb2d2e 23178 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23179
21bb2d2e
AJ
23180 [BZ #13656]
23181 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23182 possibly allocate from heap instead of stack.
23183 * stdio-common/bug-vfprintf-nargs.c: New file.
23184 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23185
c6922934
AS
231862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23187
23188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23189
bc957d53
MP
231902012-03-03 Marek Polacek <polacek@redhat.com>
23191
23192 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23193 * math/math_private.h: Likewise.
23194 * stdlib/tst-strtod.c: Likewise.
23195 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23196 * sysdeps/x86_64/bits/atomic.h: Likewise.
23197
6358490d
DM
231982012-03-02 David S. Miller <davem@davemloft.net>
23199
23200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23204 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23205 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23206 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23207 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23208
01ae168d
RM
232092012-03-02 Roland McGrath <roland@hack.frob.com>
23210
d9a17c07
RM
23211 [BZ #13792]
23212 * manual/examples/README: New file, says the example source files
23213 can be used under GPL>=2.
23214 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23215 line containing just "*/".
23216 * manual/examples/add.c: Add copyright header (GPL>=2).
23217 * manual/examples/argp-ex1.c: Likewise.
23218 * manual/examples/argp-ex2.c: Likewise.
23219 * manual/examples/argp-ex3.c: Likewise.
23220 * manual/examples/argp-ex4.c: Likewise.
23221 * manual/examples/atexit.c: Likewise.
23222 * manual/examples/db.c: Likewise.
23223 * manual/examples/dir.c: Likewise.
23224 * manual/examples/dir2.c: Likewise.
23225 * manual/examples/execinfo.c: Likewise.
23226 * manual/examples/filecli.c: Likewise.
23227 * manual/examples/filesrv.c: Likewise.
23228 * manual/examples/fmtmsgexpl.c: Likewise.
23229 * manual/examples/genpass.c: Likewise.
23230 * manual/examples/inetcli.c: Likewise.
23231 * manual/examples/inetsrv.c: Likewise.
23232 * manual/examples/isockad.c: Likewise.
23233 * manual/examples/longopt.c: Likewise.
23234 * manual/examples/memopen.c: Likewise.
23235 * manual/examples/memstrm.c: Likewise.
23236 * manual/examples/mkfsock.c: Likewise.
23237 * manual/examples/mkisock.c: Likewise.
23238 * manual/examples/mygetpass.c: Likewise.
23239 * manual/examples/pipe.c: Likewise.
23240 * manual/examples/popen.c: Likewise.
23241 * manual/examples/rprintf.c: Likewise.
23242 * manual/examples/search.c: Likewise.
23243 * manual/examples/select.c: Likewise.
23244 * manual/examples/setjmp.c: Likewise.
23245 * manual/examples/sigh1.c: Likewise.
23246 * manual/examples/sigusr.c: Likewise.
23247 * manual/examples/stpcpy.c: Likewise.
23248 * manual/examples/strdupa.c: Likewise.
23249 * manual/examples/strftim.c: Likewise.
23250 * manual/examples/strncat.c: Likewise.
23251 * manual/examples/subopt.c: Likewise.
23252 * manual/examples/swapcontext.c: Likewise.
23253 * manual/examples/termios.c: Likewise.
23254 * manual/examples/testopt.c: Likewise.
23255 * manual/examples/testpass.c: Likewise.
23256 * manual/examples/timeval_subtract.c: Likewise.
23257
01ae168d
RM
23258 [BZ #13792]
23259 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23260 function to ...
23261 * manual/timeval_subtract.c.texi: ... here, new file.
23262
49efa33d
DM
232632012-03-02 David S. Miller <davem@davemloft.net>
23264
23265 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23266
28afd92d
JM
232672012-03-02 Joseph Myers <joseph@codesourcery.com>
23268
804360ed
JM
23269 [BZ #3976]
23270 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23271 (__sin): Save and restore rounding mode and use round-to-nearest
23272 for all computations.
23273 (__cos): Save and restore rounding mode and use round-to-nearest
23274 for all computations.
23275 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23276 <fenv.h>.
23277 (tan): Save and restore rounding mode and use round-to-nearest for
23278 all computations.
23279 * math/libm-test.inc (cos_test_tonearest): New function.
23280 (cos_test_towardzero): Likewise.
23281 (cos_test_downward): Likewise.
23282 (cos_test_upward): Likewise.
23283 (sin_test_tonearest): Likewise.
23284 (sin_test_towardzero): Likewise.
23285 (sin_test_downward): Likewise.
23286 (sin_test_upward): Likewise.
23287 (tan_test_tonearest): Likewise.
23288 (tan_test_towardzero): Likewise.
23289 (tan_test_downward): Likewise.
23290 (tan_test_upward): Likewise.
23291 (main): Call the new functions.
23292 * sysdeps/i386/fpu/libm-test-ulps: Update.
23293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23294
a6d06d7b
JM
23295 [BZ #10135]
23296 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23297 small n, then large n, before computing and testing k+n.
23298 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23300 Likewise.
23301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23302 Likewise.
23303 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23304 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23305 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23306 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23311 * math/libm-test.inc (scalbn_test): Add more tests.
23312 (scalbln_test): Likewise.
23313
07e12bb3
JM
23314 * manual/filesys.texi (mode_t): Describe constraints on size and
23315 signedness, not exact equivalence to a particular type.
23316 (ino_t): Likewise.
23317 (ino64_t): Likewise.
23318 (dev_t): Likewise.
23319 (nlink_t): Likewise.
23320 (blkcnt_t): Likewise.
23321 (blkcnt64_t): Likewise.
23322 * manual/llio.texi (off_t): Likewise.
23323
28afd92d
JM
23324 [BZ #3976]
23325 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23326 (__ieee754_exp): Save and restore rounding mode and use
23327 round-to-nearest for all computations.
23328 * math/libm-test.inc (exp_test_tonearest): New function.
23329 (exp_test_towardzero): Likewise.
23330 (exp_test_downward): Likewise.
23331 (exp_test_upward): Likewise.
23332 (main): Call the new functions.
23333 * sysdeps/i386/fpu/libm-test-ulps: Update.
23334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23335
b1eeb65d
CD
233362012-03-01 Chris Demetriou <cgd@google.com>
23337
23338 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23339 have predictable order.
23340
53362a4b
DM
233412012-03-01 David S. Miller <davem@davemloft.net>
23342
3c969083
DM
23343 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23344
759707de
DM
23345 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23346 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23347 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23348 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23349
dfdb8ff2
DM
23350 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23351 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23352 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23354 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23355 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23356 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23357 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23358 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23359
ead89f96
DM
23360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23361
7f66bd07
DM
23362 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23363 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23365
53362a4b
DM
23366 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23367 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23368 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23373 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23375 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23376 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23382 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23383 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23384 * sysdeps/sparc/elf/configure: Regenerated.
23385
7b1902cb
JM
233862012-03-01 Joseph Myers <joseph@codesourcery.com>
23387
bec039bc
JM
23388 * configure.in (AS, LD): Require binutils 2.20 or later.
23389 * configure: Regenerated.
23390 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23391 as required minimum version.
23392 * INSTALL: Regenerated.
23393
7b1902cb
JM
23394 [BZ #2541]
23395 [BZ #4108]
23396 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23397 before squaring exponent.
23398 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23399 bottom long double and 27 bits of top long double before squaring
23400 exponent.
23401 * math/libm-test.inc (erfc_test): Add more tests.
23402 * sysdeps/i386/fpu/libm-test-ulps: Update.
23403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23405
f775c276
KT
234062012-03-01 Kai Tietz <ktietz@redhat.com>
23407
23408 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23409 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23410 containing bit-fields.
23411 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23412 * soft-fp/single.h (_FP_UNION_S): Likewise.
23413 * soft-fp/double.h (_FP_UNION_D): Likewise.
23414
5b8a4d4a
JM
234152012-02-29 Joseph Myers <joseph@codesourcery.com>
23416
0bab47b6
JM
23417 [BZ #13786]
23418 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23419 not include ../strcmp.S.
23420 [USE_AS_STRNCASECMP_L]: Likewise.
23421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23422 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23423 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23424 (__strncasecmp_l_ia32): Define as alias to
23425 __strncasecmp_l_nonascii.
23426
0fcad3e2
JM
23427 [BZ #5794]
23428 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23429 * sysdeps/i386/fpu/libm-test-ulps: Update.
23430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431
5b8a4d4a
JM
23432 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23434
8fdceb2e
JL
234352012-02-29 Jeff Law <law@redhat.com>
23436
23437 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23438 out of bounds read.
23439
1f393a11
MP
234402012-02-29 Marek Polacek <polacek@redhat.com>
23441
23442 [BZ #13706]
23443 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23444 * elf/Makefile: Add rules to run tst-unused-dep.out.
23445
8847f037
DM
234462012-02-28 David S. Miller <davem@davemloft.net>
23447
23448 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23449 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23452 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23453 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23454
169d7f11
JM
234552012-02-29 Joseph Myers <joseph@codesourcery.com>
23456
23457 * math/libm-test.inc (llround_test): Move one test from
23458 lround_test. Use TEST_f_L in moved test.
23459 (lround_test): Move misplaced test to llround_test. Add testcase
23460 from bug 2561.
23461
39adf059
UD
234622012-02-28 Ulrich Drepper <drepper@gmail.com>
23463
23464 * sysdeps/x86_64/fpu/e_expf.S: New file.
23465 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23466
71b5d1c5
SB
234672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23468
23469 [BZ #13637]
23470 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23471 of remain_len that may cause incomplete multi-byte character and
23472 false match.
23473 * posix/bug-regex33.c: New file.
23474 * posix/Makefile (tests): Add bug-regex33.
23475
1f77f049
JM
234762012-02-28 Joseph Myers <joseph@codesourcery.com>
23477
23478 * manual/macros.texi: New file.
23479 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23480 * manual/libc.texinfo: Include macros.texi.
23481 * manual/creatute.texi: Likewise.
23482 * manual/install.texi: Likewise.
23483 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23484 @glibcadj{} in references to the GNU C Library.
23485 * manual/charset.texi: Likewise.
23486 * manual/conf.texi: Likewise.
23487 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23488 when not using those macros.
23489 * manual/creature.texi: Likewise.
23490 * manual/crypt.texi: Likewise.
23491 * manual/errno.texi: Likewise.
23492 * manual/filesys.texi: Likewise.
23493 * manual/header.texi: Likewise.
23494 * manual/install.texi: Likewise.
23495 * manual/intro.texi: Likewise.
23496 * manual/io.texi: Likewise.
23497 * manual/job.texi: Likewise.
23498 * manual/lang.texi: Likewise.
23499 * manual/libc.texiinfo: Likewise.
23500 * manual/llio.texi: Likewise.
23501 * manual/locale.texi: Likewise.
23502 * manual/maint.texi: Likewise.
23503 * manual/math.texi: Likewise.
23504 * manual/memory.texi: Likewise.
23505 * manual/message.texi: Likewise.
23506 * manual/nss.texi: Likewise.
23507 * manual/pattern.texi: Likewise.
23508 * manual/process.texi: Likewise.
23509 * manual/resource.texi: Likewise.
23510 * manual/search.texi: Likewise.
23511 * manual/setjmp.texi: Likewise.
23512 * manual/signal.texi: Likewise.
23513 * manual/socket.texi: Likewise.
23514 * manual/startup.texi: Likewise.
23515 * manual/stdio.texi: Likewise.
23516 * manual/string.texi: Likewise.
23517 * manual/sysinfo.texi: Likewise.
23518 * manual/syslog.texi: Likewise.
23519 * manual/terminal.texi: Likewise.
23520 * manual/time.texi: Likewise.
23521 * manual/users.texi: Likewise.
23522 * INSTALL: Regenerated.
23523 * NOTES: Regenerated.
d40c5d54 23524 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23525
450bf206
AS
235262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23527
23528 * include/dirent.h: Include <dirstream.h> before
23529 <dirent/dirent.h>.
23530
741a235b
DM
235312012-02-28 David S. Miller <davem@davemloft.net>
23532
23533 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23534 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23535 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23536 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23537
d6b5aa58
DM
235382012-02-27 David S. Miller <davem@davemloft.net>
23539
1aff59a3
DM
23540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23542 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23543 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23544
d6b5aa58
DM
23545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23546 frame pointer instead of stack pointer relative arg slot.
23547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23548 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23549 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23550
433f48bf
CD
235512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23552
23553 [BZ #3992]
23554 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23555
d674b76d
DM
235562012-02-27 David S. Miller <davem@davemloft.net>
23557
23558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23562 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23563 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23564 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23565 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23566
0e7727f7
JM
235672012-02-27 Joseph Myers <joseph@codesourcery.com>
23568
23569 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23570 later. Allow versions 5-9.
43be4ca2 23571 * configure: Regenerated.
0e7727f7
JM
23572 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23573 required minimum version and 4.6 as recommended version. Do not
23574 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23575 * INSTALL: Regenerated.
0e7727f7 23576
a78bc654
DM
235772012-02-27 David S. Miller <davem@davemloft.net>
23578
428d5830
DM
23579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23585 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23587
a78bc654
DM
23588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23589 manipulate bits before adding and subtracting TWO112[sx].
23590 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23591
4579f81c
RM
235922012-02-27 Roland McGrath <roland@hack.frob.com>
23593
36c8acb4
RM
23594 [BZ #13775]
23595 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23596 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23597 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23598 being in POSIX, because they are in 1003.1-2008.
23599
84ad622b
RM
23600 * rt/tst-aio.c: Include <fcntl.h>.
23601 * rt/tst-aio7.c: Likewise.
23602 * rt/tst-aio64.c: Likewise.
23603
4579f81c
RM
23604 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23605
abd923db
JM
236062012-02-27 Joseph Myers <joseph@codesourcery.com>
23607
23608 * manual/install.texi (--with-headers): Describe headers as
23609 interface headers, not private headers.
23610 (Specific advice for GNU/Linux systems): Describe use of headers
23611 from "make headers_install", not private headers from older
23612 kernels.
43be4ca2 23613 * INSTALL: Regenerated.
abd923db
JM
23614 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23615 Change to 2.6.19.
23616 * sysdeps/unix/sysv/linux/configure: Regenerated.
23617
6664049b
JM
23618 * manual/llio.texi (fclean): Remove documentation.
23619
bb8b6697
JM
23620 * manual/Makefile (libc-texi-generated): New variable. Include
23621 version.texi.
23622 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23623 $(libc-texi-generated), not duplicated list of files.
23624 (version.texi, stamp-version): New rules.
23625 (realclean): Remove $(libc-texi-generated), not individual files
23626 from that list. Do not remove dir-add.texinfo.
23627 * manual/libc.texinfo: Comment out uses of edition numbers and
23628 references to printed manual. Remove last-updated dates.
23629 (EDITION): Comment out.
23630 (ISBN): Likewise.
23631 (VERSION, UPDATED): Remove.
23632 (version.texi): Include.
23633
12e5c3b9
AS
236342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23635
23636 * sysdeps/posix/spawni.c: Include <signal.h>.
23637 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23638 * sysdeps/pthread/aio_fsync.c: Likewise.
23639
4efeffc1 236402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23641
ba63ba08
UD
23642 * conform/Makefile (tests): Run only when not cross-compiling and
23643 when fast-check is not defined.
23644
d94a4670
UD
23645 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23646 * conform/data/limits.h-data: Fixes for POSIX2008.
23647 * conform/run-conformtest.sh: Run all tests.
23648 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23649 headers.
23650 * include/bits/dlfcn.h: Likewise.
23651 * include/langinfo.h: Likewise.
23652 * include/monetary.h: Likewise.
23653 * include/sys/poll.h: Likewise.
23654
23655 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23656 for __USE_GNU.
23657 * posix/spawn.h: Define __need_sigset_t.
23658 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23659 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23660 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23661 to get sigevent_t only.
23662 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23663 only for __USE_GNU.
23664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23665 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23666 process_vm_writev only for __USE_GNU.
23667 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23668
23669 * conform/Makefile: For now ignore errors from run-conformtest.
23670 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23671 POSIX to avoid namespace pollution. Don't prepend headers.
23672 * conform/data/aio.h-data: Fixes for POSIX testing.
23673 * conform/data/fcntl.h-data: Likewise.
23674 * conform/data/glob.h-data: Likewise.
23675 * conform/data/grp.h-data: Likewise.
23676 * conform/data/pthread.h-data: Likewise.
23677 * conform/data/pwd.h-data: Likewise.
23678 * conform/data/signal.h-data: Likewise.
23679 * conform/data/spawn.h-data: Likewise.
23680 * conform/data/stdio.h-data: Likewise.
23681 * conform/data/stdlib.h-data: Likewise.
23682 * conform/data/stropts.h-data: Likewise.
23683 * conform/data/sys/mman.h-data: Likewise.
23684 * conform/data/sys/stat.h-data: Likewise.
23685 * conform/data/sys/types.h-data: Likewise.
23686 * conform/data/sys/wait.h-data: Likewise.
23687 * conform/data/time.h-data: Likewise.
23688 * conform/data/unistd.h-data: Likewise.
23689 * conform/data/utime.h-data: Likewise.
23690
23691 * io/sys/stat.h: fchmod was always in POSIX.
23692 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23693 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23694 * rt/aio.h: Define __need_timespec before including <time.h>.
23695 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23696 struct. Add forward declaration of pthread_attr_t and use it in
23697 sigevent.
23698 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23700 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23701 always remove CLK_TCK definition.
23702
c20105c3
AS
237032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23704
23705 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23706
7a270350
UD
237072012-02-25 Ulrich Drepper <drepper@gmail.com>
23708
31341567
UD
23709 * conform/run-conformtest.sh: New file.
23710 * conform/Makefile: Run run-conformtest for tests.
23711 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23712 support.
23713
23714 * conform/data/uchar.h-data: New file.
23715 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23716 * conform/data/arpa/inet.h-data: Likewise.
23717 * conform/data/assert.h-data: Likewise.
23718 * conform/data/complex.h-data: Likewise.
23719 * conform/data/cpio.h-data: Likewise.
23720 * conform/data/ctype.h-data: Likewise.
23721 * conform/data/dirent.h-data: Likewise.
23722 * conform/data/dlfcn.h-data: Likewise.
23723 * conform/data/errno.h-data: Likewise.
23724 * conform/data/fcntl.h-data: Likewise.
23725 * conform/data/float.h-data: Likewise.
23726 * conform/data/fmtmsg.h-data: Likewise.
23727 * conform/data/fnmatch.h-data: Likewise.
23728 * conform/data/ftw.h-data: Likewise.
23729 * conform/data/glob.h-data: Likewise.
23730 * conform/data/grp.h-data: Likewise.
23731 * conform/data/iconv.h-data: Likewise.
23732 * conform/data/inttypes.h-data: Likewise.
23733 * conform/data/langinfo.h-data: Likewise.
23734 * conform/data/libgen.h-data: Likewise.
23735 * conform/data/limits.h-data: Likewise.
23736 * conform/data/locale.h-data: Likewise.
23737 * conform/data/math.h-data: Likewise.
23738 * conform/data/monetary.h-data: Likewise.
23739 * conform/data/mqueue.h-data: Likewise.
23740 * conform/data/ndbm.h-data: Likewise.
23741 * conform/data/net/if.h-data: Likewise.
23742 * conform/data/netdb.h-data: Likewise.
23743 * conform/data/netinet/in.h-data: Likewise.
23744 * conform/data/nl_types.h-data: Likewise.
23745 * conform/data/poll.h-data: Likewise.
23746 * conform/data/pthread.h-data: Likewise.
23747 * conform/data/pwd.h-data: Likewise.
23748 * conform/data/regex.h-data: Likewise.
23749 * conform/data/sched.h-data: Likewise.
23750 * conform/data/search.h-data: Likewise.
23751 * conform/data/semaphore.h-data: Likewise.
23752 * conform/data/setjmp.h-data: Likewise.
23753 * conform/data/signal.h-data: Likewise.
23754 * conform/data/spawn.h-data: Likewise.
23755 * conform/data/stdarg.h-data: Likewise.
23756 * conform/data/stdio.h-data: Likewise.
23757 * conform/data/stdlib.h-data: Likewise.
23758 * conform/data/string.h-data: Likewise.
23759 * conform/data/strings.h-data: Likewise.
23760 * conform/data/stropts.h-data: Likewise.
23761 * conform/data/sys/ipc.h-data: Likewise.
23762 * conform/data/sys/mman.h-data: Likewise.
23763 * conform/data/sys/msg.h-data: Likewise.
23764 * conform/data/sys/resource.h-data: Likewise.
23765 * conform/data/sys/select.h-data: Likewise.
23766 * conform/data/sys/sem.h-data: Likewise.
23767 * conform/data/sys/shm.h-data: Likewise.
23768 * conform/data/sys/socket.h-data: Likewise.
23769 * conform/data/sys/stat.h-data: Likewise.
23770 * conform/data/sys/statvfs.h-data: Likewise.
23771 * conform/data/sys/time.h-data: Likewise.
23772 * conform/data/sys/timeb.h-data: Likewise.
23773 * conform/data/sys/times.h-data: Likewise.
23774 * conform/data/sys/types.h-data: Likewise.
23775 * conform/data/sys/uio.h-data: Likewise.
23776 * conform/data/sys/un.h-data: Likewise.
23777 * conform/data/sys/utsname.h-data: Likewise.
23778 * conform/data/sys/wait.h-data: Likewise.
23779 * conform/data/syslog.h-data: Likewise.
23780 * conform/data/tar.h-data: Likewise.
23781 * conform/data/termios.h-data: Likewise.
23782 * conform/data/utime.h-data: Likewise.
23783 * conform/data/utmpx.h-data: Likewise.
23784 * conform/data/varargs.h-data: Likewise.
23785 * conform/data/wchar.h-data: Likewise.
23786 * conform/data/wctype.h-data: Likewise.
23787 * conform/data/wordexp.h-data: Likewise.
23788
23789 * include/stropts.h: New file.
23790 * include/uchar.h: New file.
23791 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23792 * include/assert.h: Likewise.
23793 * include/ctype.h: Likewise.
23794 * include/dirent.h: Likewise.
23795 * include/dlfcn.h: Likewise.
23796 * include/fcntl.h: Likewise.
23797 * include/fnmatch.h: Likewise.
23798 * include/glob.h: Likewise.
23799 * include/grp.h: Likewise.
23800 * include/libio.h: Likewise.
23801 * include/locale.h: Likewise.
23802 * include/math.h: Likewise.
23803 * include/net/if.h: Likewise.
23804 * include/netdb.h: Likewise.
23805 * include/netinet/in.h: Likewise.
23806 * include/pthread.h: Likewise.
23807 * include/pwd.h: Likewise.
23808 * include/regex.h: Likewise.
23809 * include/sched.h: Likewise.
23810 * include/search.h: Likewise.
23811 * include/setjmp.h: Likewise.
23812 * include/signal.h: Likewise.
23813 * include/stdio.h: Likewise.
23814 * include/stdlib.h: Likewise.
23815 * include/string.h: Likewise.
23816 * include/sys/cdefs.h: Likewise.
23817 * include/sys/mman.h: Likewise.
23818 * include/sys/msg.h: Likewise.
23819 * include/sys/resource.h: Likewise.
23820 * include/sys/select.h: Likewise.
23821 * include/sys/socket.h: Likewise.
23822 * include/sys/stat.h: Likewise.
23823 * include/sys/statvfs.h: Likewise.
23824 * include/sys/time.h: Likewise.
23825 * include/sys/times.h: Likewise.
23826 * include/sys/uio.h: Likewise.
23827 * include/sys/utsname.h: Likewise.
23828 * include/sys/wait.h: Likewise.
23829 * include/termios.h: Likewise.
23830 * include/time.h: Likewise.
23831 * include/ulimit.h: Likewise.
23832 * include/unistd.h: Likewise.
23833 * include/utime.h: Likewise.
23834 * include/wchar.h: Likewise.
23835 * include/wctype.h: Likewise.
23836 * include/wordexp.h: Likewise.
23837
23838 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23839
7a270350
UD
23840 * time/time.h: TIME_UTC must be a macro.
23841 Make timespec_get available for ISO C11 only as well.
23842
7724defc
UD
238432012-02-24 Ulrich Drepper <drepper@gmail.com>
23844
23845 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23846 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23847
6b1d1d46
JM
238482012-02-24 Joseph Myers <joseph@codesourcery.com>
23849
23850 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23851
0f8bbd69
JM
238522012-02-24 Joseph Myers <joseph@codesourcery.com>
23853
23854 * manual/texinfo.tex: Update to version 2012-01-19.16.
23855
66ab80bc
JM
238562012-02-24 Joseph Myers <joseph@codesourcery.com>
23857
23858 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23859
74981cc5
RM
238602012-02-24 Roland McGrath <roland@hack.frob.com>
23861
ee968201
RM
23862 [BZ #13738]
23863 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23864 * manual/fdl-1.3.texi: New file.
23865 * manual/fdl-1.1.texi: File removed.
23866
74981cc5
RM
23867 [BZ #13738]
23868 * manual/libc.texinfo (FDL_VERSION): New @set.
23869 Use it for mention of FDL in cover text.
23870 (Documentation License): Use it in @include file name.
23871
7bb764bc
JM
238722012-02-22 Joseph Myers <joseph@codesourcery.com>
23873 Roland McGrath <roland@hack.frob.com>
23874
23875 [BZ #5461]
23876 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23877 not LONG_LONG_MAX and LONG_LONG_MIN.
23878 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23879 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23880 name.
23881 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23882
6cbeae47
JM
238832012-02-22 Joseph Myers <joseph@codesourcery.com>
23884
23885 [BZ #2547]
23886 [BZ #11365]
23887 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23888 manipulate bits before adding and subtracting TWO23[sx].
23889 * math/libm-test.inc (nearbyint_test): Add more tests.
23890
fe45ce09
JM
238912012-02-22 Joseph Myers <joseph@codesourcery.com>
23892
23893 [BZ #2548]
23894 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23895 bits before adding and subtracting TWO23[sx].
23896 * math/libm-test.inc (rint_test): Add more tests.
23897 (rint_test_tonearest): Likewise.
23898 (rint_test_towardzero): Likewise.
23899 (rint_test_downward): Likewise.
23900 (rint_test_upward: Likewise.
23901
ff3b3d82
JM
239022012-02-22 Joseph Myers <joseph@codesourcery.com>
23903
23904 [BZ #10110]
23905 * include/stdc-predef.h: New file. Extracted from features.h.
23906 * include/features.h: Include stdc-predef.h.
23907 * Makefile (headers): Add stdc-predef.h.
23908 * CONFORMANCE (Compiler limitations): Update.
23909
ef0aab35
JM
239102012-02-22 Joseph Myers <joseph@codesourcery.com>
23911
23912 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23913
58639409
DM
239142012-02-21 David S. Miller <davem@davemloft.net>
23915
23916 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23917 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23918
c0e70b25
DM
239192012-02-20 David S. Miller <davem@davemloft.net>
23920
23921 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23922 using a normal save/restore sequence, rather than allocating a
23923 dummy stack frame just to store a frame pointer and restore.
23924 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23925
fb06851d
JM
239262012-02-21 Joseph Myers <joseph@codesourcery.com>
23927
23928 * manual/install.texi: Fix stray word in line-wrapped comment.
23929
7a8b71c3
DM
239302012-02-20 David S. Miller <davem@davemloft.net>
23931
d510c123
DM
23932 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23933 both binutils and gcc support GOTDATA.
23934
0722d7c2
DM
23935 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23936 "rd %pc" in the PIC register setup sequences.
23937
3d2b3019
DM
23938 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23939 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23940 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23941 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23942 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23944 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23947 (SYSCALL_ERROR_HANDLER): Likewise.
23948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23951 (SYSCALL_ERROR_HANDLER): Likewise.
23952
c80098a9
DM
23953 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23954 (HAVE_GCC_GOTDATA): New.
23955 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23956 relocation support in both binutils and gcc.
23957 * sysdeps/sparc/elf/configure: Regenerate.
23958
3a2545a0
DM
23959 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23960 * sysdeps/sparc/sparc32/elf/configure: Delete.
23961 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23962 * sysdeps/sparc/sparc64/elf/configure: Delete.
23963 * sysdeps/sparc/elf/configure.in: New file.
23964 * sysdeps/sparc/elf/configure: Generate.
23965
7a8b71c3
DM
23966 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23967 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23968 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23969 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23970 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23971
f1e86fca
JM
239722012-02-21 Joseph Myers <joseph@codesourcery.com>
23973
23974 * manual/install.texi: Do not mention specific glibc version
23975 numbers.
23976 * manual/libc.texinfo (VERSION, UPDATED): Update.
23977 (@copying): Use @copyright{} and range of years.
23978
0e7dfaef
JM
239792012-02-21 Joseph Myers <joseph@codesourcery.com>
23980
23981 [BZ #13695]
23982 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23983 [crti.S not in sysdirs] (generated): Do not append.
23984 [crti.S not in sysdirs] (omit-deps): Likewise.
23985 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23986 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23987 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23988 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23989 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23990 Likewise.
23991 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23992 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23993 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23994 * csu/defs.awk: Remove file.
23995 * sysdeps/generic/initfini.c: Likewise.
23996 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23997 variable.
23998 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23999 Likewise.
24000
599af3ca
JM
240012012-02-20 Joseph Myers <joseph@codesourcery.com>
24002
24003 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24004 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24007 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24008 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24009 <bits/epoll.h>.
24010 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24011 (__EPOLL_PACKED): Define to empty if not defined by
24012 <bits/epoll.h>.
24013 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24015 bits/epoll.h.
24016
0e499750
JM
240172012-02-20 Joseph Myers <joseph@codesourcery.com>
24018
24019 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24020 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24021 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24022 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24023 <bits/timerfd.h>.
24024 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24025 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24026 bits/timerfd.h.
24027
5ad91f6e
JM
240282012-02-20 Joseph Myers <joseph@codesourcery.com>
24029
24030 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24031 in C locale.
24032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24033 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24036
06b99b02
AJ
240372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24038
24039 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24041
7638c0fd
AS
240422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24043
24044 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24045 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24046 defined.
24047 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24048 Likewise.
24049 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24050 entry for 2.16.
24051
92221550
AJ
240522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24053
24054 * math/w_acos.c: Use non-signaling floating-point comparisons.
24055 * math/w_acosf.c: Likewise.
24056 * math/w_acosh.c: Likewise.
24057 * math/w_acoshf.c: Likewise.
24058 * math/w_acoshl.c: Likewise.
24059 * math/w_acosl.c: Likewise.
24060 * math/w_asin.c: Likewise.
24061 * math/w_asinf.c: Likewise.
24062 * math/w_asinl.c: Likewise.
24063 * math/w_atanh.c: Likewise.
24064 * math/w_atanhf.c: Likewise.
24065 * math/w_atanhl.c: Likewise.
24066 * math/w_exp2.c: Likewise.
24067 * math/w_exp2f.c: Likewise.
24068 * math/w_exp2l.c: Likewise.
24069 * math/w_j0.c: Likewise.
24070 * math/w_j0f.c: Likewise.
24071 * math/w_j0l.c: Likewise.
24072 * math/w_j1.c: Likewise.
24073 * math/w_j1f.c: Likewise.
24074 * math/w_j1l.c: Likewise.
24075 * math/w_jn.c: Likewise.
24076 * math/w_jnf.c: Likewise.
24077 * math/w_log.c: Likewise.
24078 * math/w_log10.c: Likewise.
24079 * math/w_log10f.c: Likewise.
24080 * math/w_log10l.c: Likewise.
24081 * math/w_log2.c: Likewise.
24082 * math/w_log2f.c: Likewise.
24083 * math/w_log2l.c: Likewise.
24084 * math/w_logf.c: Likewise.
24085 * math/w_logl.c: Likewise.
24086 * math/w_sqrt.c: Likewise.
24087 * math/w_sqrtf.c: Likewise.
24088 * math/w_sqrtl.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24092 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24093 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24094
ebaf36eb
JM
240952012-02-19 Joseph Myers <joseph@codesourcery.com>
24096
24097 [BZ #9739]
24098 * manual/string.texi (strnlen): Use correct parameter name in
24099 equivalent expression.
24100
71c254a6
JM
241012012-02-19 Joseph Myers <joseph@codesourcery.com>
24102
24103 [BZ #11174]
24104 * manual/users.texi (seteuid): Consistently use neweuid for
24105 argument name.
24106
16d2c631
JM
241072012-02-19 Joseph Myers <joseph@codesourcery.com>
24108
24109 [BZ #13704]
24110 * manual/nss.texi (Services in the NSS configuration): Correct
24111 list of services in example configuration file.
24112
cd837b09
NB
241132012-02-19 Nick Bowler <nbowler@draconx.ca>
24114
24115 [BZ #11322]
24116 * manual/arith.texi: Remove statements about negative zero
24117 behaving identically to zero.
24118
02c4bbad
JM
241192012-02-18 Joseph Myers <joseph@codesourcery.com>
24120
24121 [BZ #5993]
24122 * manual/install.texi: Do not document upgrading from libc5.
24123
366842e7
JM
241242012-02-18 Joseph Myers <joseph@codesourcery.com>
24125
24126 [BZ #4596]
24127 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24128
dd54084d
DM
241292012-02-18 David S. Miller <davem@davemloft.net>
24130
24131 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24132 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24133 %o7 across the call.
24134 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24135 instead.
24136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24137 SETUP_PIC_REG_LEAF.
24138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24139 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24140 * sysdeps/sparc/crtn.S: Likewise.
24141
2bcc53a3
UD
241422012-02-17 Ulrich Drepper <drepper@gmail.com>
24143
24144 * aout/Makefile: Remove.
24145
09c093b5
RK
241462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24147
24148 [BZ #13058]
24149 * manual/examples/argp-ex1.c (main): Format definition in GNU
24150 style.
24151 * manual/examples/argp-ex2.c (main): Likewise.
24152 * manual/examples/argp-ex3.c (main): Likewise.
24153 * manual/examples/argp-ex4.c (main): Likewise.
24154 * manual/examples/longopt.c (main): Use new-style prototype
24155 definition.
24156 * manual/examples/strncat.c (main): Specify return type and use
24157 (void) for arguments.
24158 * manual/examples/subopt.c (main): Use char **argv argument.
24159
2ee633a2
JM
241602012-02-17 Joseph Myers <joseph@codesourcery.com>
24161
24162 [BZ #5077]
24163 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24164 rounding modes.
24165
0520adde
FB
241662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24167
24168 [BZ #6907]
24169 * manual/string.texi (strchr): Change when strchrnul is
24170 recommended.
24171
3f4081cd
DGM
241722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24173
24174 [BZ #174]
24175 * manual/locale.texi (setlocale): Document LOCPATH.
24176
d1b10e78
JM
241772012-02-17 Joseph Myers <joseph@codesourcery.com>
24178
24179 [BZ #10210]
24180 * manual/process.texi (execle): Move @dots{} before last argument.
24181
79c6869c
PB
241822012-02-17 Paul Bolle <pebolle@tiscali.nl>
24183
24184 [BZ #12047]
24185 * manual/charset.texi (Generic Charset Conversion): Fix typo
24186 (LC_TYPE -> LC_CTYPE).
24187
cc6e48bc
NB
241882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24189
24190 [BZ #5805]
24191 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24192 (scalbnf): Likewise.
24193 (scalbnl): Likewise.
24194 (scalbln): Likewise.
24195 (scalblnf): Likewise.
24196 (scalblnl): Likewise.
24197 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24198 (vwarnx): Likewise.
24199 (verr): Likewise.
24200 (verrx): Likewise.
24201 * manual/filesys.texi (telldir): Use braces around return type.
24202 * manual/llio.texi (mmap): Add space after comma.
24203 (mmap64): Likewise.
24204 * manual/math.texi (jn): Use @var{} on parameter names.
24205 (jnf): Likewise.
24206 (jnl): Likewise.
24207 (yn): Likewise.
24208 (ynf): Likewise.
24209 (ynl): Likewise.
24210 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24211 line.
24212 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24213 "...".
24214 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24215 (sched_get_priority_max): Likewise.
24216 * manual/signal.texi (sigvec): Add space after comma.
24217 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24218 names.
24219 (if_indextoname): Likewise.
24220 (if_freenameindex): Likewise.
24221 (sendto): Use ',' instead of '.' in prototype.
24222 * manual/startup.texi (syscall): Use @dots{} instead of literal
24223 "...".
24224 * manual/stdio.texi (__fpending): Separate initial words of
24225 paragraph from @deftypefun line.
24226 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24227 "...".
24228 (vsyslog): Use @var{} on parameter names.
24229 * manual/terminal.texi (stty): Use @var{} on parameter names.
24230 * manual/users.texi (getutmp): Use @var{} on parameter names.
24231 (getutmpx): Likewise.
24232
5b23062f
JM
242332012-02-17 Joseph Myers <joseph@codesourcery.com>
24234
24235 [BZ #6884]
24236 * manual/stdio.texi (fopen): Fix typos in description of
24237 ",ccs=STRING".
24238
8dee4833
AJ
242392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24240
24241 [BZ #4026]
24242 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24243 get clock_id definition.
24244
9078ce93
TS
242452012-02-17 Thomas Schwinge <thomas@schwinge.name>
24246
24247 [BZ #4822]
24248 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24249 (madvise): Cast every argument to void on its own.
24250
3835c55f
JM
242512012-02-17 Joseph Myers <joseph@codesourcery.com>
24252
24253 [BZ #9902]
24254 * manual/startup.texi (Exit Status): Fix typo.
24255
35c47e37
JM
242562012-02-17 Joseph Myers <joseph@codesourcery.com>
24257
24258 [BZ #10140]
24259 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24260 * manual/examples/argp-ex2.c: Likewise.
24261 * manual/examples/argp-ex3.c: Likewise.
24262
e3b69ca7
RH
242632012-02-16 Richard Henderson <rth@redhat.com>
24264
24265 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24266 * sysdeps/s390/s390-32/initfini.c: Remove.
24267 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24268 * sysdeps/s390/s390-64/initfini.c: Remove.
24269
df83af67
KK
242702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24271
24272 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24273 compiler output for sysdeps/generic/initfini.c.
24274 * sysdeps/sh/elf/initfini.c: Remove file.
24275
f63f3380
DM
242762012-02-16 David S. Miller <davem@davemloft.net>
24277
fb59b3a4
DM
24278 [BZ #11494]
24279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24280
f63f3380
DM
24281 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24282 * sysdeps/sparc/crti.S: New file.
24283 * sysdeps/sparc/crtn.S: New file.
24284 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24285 * sysdeps/sparc/sparc64/Makefile: Likewise.
24286
df6a4a4a
MF
242872012-02-15 Mike Frysinger <vapier@gentoo.org>
24288
6dd8f3dc 24289 [BZ #3335]
df6a4a4a
MF
24290 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24291
1cac7236
RM
242922012-02-15 Roland McGrath <roland@hack.frob.com>
24293
d2c736f8
RM
24294 [BZ #4822]
24295 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24296
1cac7236
RM
24297 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24298 (write, read, close): Likewise.
24299 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24300
8e475601
JM
243012012-02-15 Joseph Myers <joseph@codesourcery.com>
24302
24303 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24304 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24305 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24306 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24307 <bits/signalfd.h>.
24308 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24310 bits/signalfd.h.
24311
ed656b40
MP
243122012-02-14 Marek Polacek <polacek@redhat.com>
24313
24314 * sysdeps/x86_64/crti.S: New file.
24315 * sysdeps/x86_64/crtn.S: New file.
24316 * sysdeps/x86_64/elf/initfini.c: Remove file.
24317
2a979d3a
JM
243182012-02-13 Joseph Myers <joseph@codesourcery.com>
24319
24320 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24321 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24322 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24323 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24324 <bits/inotify.h>.
24325 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24327 bits/inotify.h.
24328
2a418ac3
JM
243292012-02-13 Joseph Myers <joseph@codesourcery.com>
24330
24331 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24332 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24333 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24334 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24335 <bits/eventfd.h>.
24336 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24338 bits/eventfd.h.
24339
fb779be7
TS
243402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24341
e19e83c5
RM
24342 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24343 __feraiseexcept instead of feraiseexcept.
7c35ffed 24344
fb779be7
TS
24345 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24346 nanosleep invocations.
24347 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24348 strings, and add error checking for a nanosleep invocations.
24349
59ba27a6
PE
243502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24351
24352 Replace FSF snail mail address with URLs, as per GNU coding standards.
24353 Most of the snail mail addresses were wrong anyway, and omitting
24354 them makes the source code easier to maintain. Almost all of the
24355 changes are to license notices and to locale LC_IDENTIFICATION
24356 addresses, except for this one:
24357 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24358 not its snail mail address.
24359
57b957eb
RH
243602012-02-09 Richard Henderson <rth@twiddle.net>
24361
af850b1c
RH
24362 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24363 of kernel-features.h.
24364
57b957eb
RH
24365 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24366
6b73181a
MP
243672012-02-08 Marek Polacek <polacek@redhat.com>
24368
24369 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24370 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24371 * sysdeps/gnu/_G_config.h: Likewise.
24372 * sysdeps/generic/_G_config.h: Likewise.
24373
26ecc33a
AS
243742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24375
6c6dbc63
AS
24376 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24377 tests.
24378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24379
e216c012
AS
24380 * sysdeps/powerpc/powerpc32/crti.S: New file.
24381 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24382 * sysdeps/powerpc/powerpc64/crti.S: New file.
24383 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24384
26ecc33a
AS
24385 * Makeconfig (have-initfini): Don't set.
24386 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24387 * configure.in (nopic_initfini): Don't substitute.
24388 * config.h.in (HAVE_INITFINI): Don't #undef.
24389 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24390 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24391
3add8e13
JM
243922012-02-08 Joseph Myers <joseph@codesourcery.com>
24393
24394 Support crti.S and crtn.S provided directly by architectures.
24395 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24396 [crti.S in sysdirs] (omit-deps): Likewise.
24397 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24398 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24399 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24400 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24401 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24402 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24403 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24404 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24405 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24406 compiler output for sysdeps/generic/initfini.c.
24407 * sysdeps/i386/elf/Makefile: Remove file.
24408 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24409
a22f12b4
MP
244102012-02-07 Marek Polacek <polacek@redhat.com>
24411
24412 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24413 * sysdeps/gnu/_G_config.h: Likewise.
24414 * sysdeps/mach/hurd/_G_config.h: Likewise.
24415
148cf100
MP
244162012-02-07 Marek Polacek <polacek@redhat.com>
24417
24418 * math/Makefile (tests): Add tst-CMPLX2.
24419 * math/tst-CMPLX2.c: New file.
24420
cfdc0dd7
AS
244212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24422
84ba42c4
AS
24423 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24424
cfdc0dd7
AS
24425 * math/libm-test.inc (jn_test): Add missing L suffix.
24426
622c86f4
MP
244272012-02-06 Marek Polacek <polacek@redhat.com>
24428
24429 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24430 * sysdeps/i386/fpu/e_powf.S: Likewise.
24431 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24432 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24433 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24434 * sysdeps/i386/fpu/e_pow.S: Likewise.
24435 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24436 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24437 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24438 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24439 * sysdeps/i386/fpu/e_log2.S: Likewise.
24440 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24441 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24442 * sysdeps/i386/fpu/e_powl.S: Likewise.
24443 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24444 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24445 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24446 * sysdeps/i386/fpu/e_logl.S: Likewise.
24447 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24448 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24449 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24450 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24451 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24453 * sysdeps/i386/fpu/e_log.S: Likewise.
24454 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24455 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24456 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24457 * sysdeps/i386/fpu/e_logf.S: Likewise.
24458 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24459 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24460 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24461 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24462 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24463 * sysdeps/i386/fpu/e_log10.S: Likewise.
24464 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24465 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24466 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24467 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24468 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24469 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24470 * sysdeps/i386/asm-syntax.h: Likewise.
24471 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24472 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24473 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24474 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24475 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24476 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24477 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24478 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24479 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24480 * sysdeps/powerpc/sysdep.h: Likewise.
24481 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24482 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24483
d4a54ac6
JM
244842012-02-06 Joseph Myers <joseph@codesourcery.com>
24485
24486 [BZ #411]
24487 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24488
314054ea
JM
244892012-02-06 Joseph Myers <joseph@codesourcery.com>
24490
24491 * sysdeps/i386/sysdep.h: Include <features.h>.
24492 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24493 version.
24494
d8e0ca50
JM
244952012-02-05 Joseph Myers <joseph@codesourcery.com>
24496
24497 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24498 Define.
24499 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24500 LOAD_PIC_REG_STR.
24501
b1da7dd9
JM
245022012-02-03 Joseph Myers <joseph@codesourcery.com>
24503
24504 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24505 (SETUP_PIC_REG): Use GET_PC_THUNK.
24506 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24507 macro.
24508
9a1d9254
JM
245092012-02-03 Joseph Myers <joseph@codesourcery.com>
24510
24511 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24512 for non-PIC compilation.
24513 (SETUP_PIC_REG): Add .p2align directive.
24514 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24515 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24516 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24517 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24518 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24519 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24520 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24521 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24522 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24523 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24524 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24525 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24526 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24527 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24528 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24529 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24530 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24531 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24532 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24533 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24534 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24536 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24537 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24541 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24542 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24543 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24544 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24546 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24547 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24548 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24549 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24550 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24551 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24552 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24553 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24554 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24555
65dc3b75
JM
245562012-02-03 Joseph Myers <joseph@codesourcery.com>
24557
24558 * math/tst-CMPLX.c: Include <stdio.h>.
24559
d55bf177
JM
245602012-01-31 Joseph Myers <joseph@codesourcery.com>
24561
24562 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24563 float.
24564 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24565 * sysdeps/sparc/bits/mathdef.h: Likewise.
24566
69db4f8f
MP
245672012-01-31 Marek Polacek <polacek@redhat.com>
24568
24569 * libio/libio.h: Don't define _PARAMS.
24570 * locale/programs/config.h: Don't define PARAMS.
24571 * stdlib/strtol_l.c: Likewise.
24572 (__strtol_l): Remove PARAMS from the prototype.
24573
41b81892
UD
245742012-01-31 Ulrich Drepper <drepper@gmail.com>
24575
3b49edc0
UD
24576 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24577 names. Just use the correct names. Remove unnecessary wrapper
24578 functions.
24579 * malloc/arena.c: Likewise.
24580 * malloc/hooks.c: Likewise.
24581
41b81892
UD
24582 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24583 ARENA_TEST says not to. Simplify test for creation of a new arena.
24584 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24585
27a25b6e
UD
245862012-01-30 Ulrich Drepper <drepper@gmail.com>
24587
24588 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24589 into tail calls.
24590 (update_get_addr): New function.
24591 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24592 GET_ADDR_MODULE parameter.
24593
c8a89e7d
JM
245942012-01-30 Joseph Myers <joseph@codesourcery.com>
24595
24596 * crypt/cert.c: Remove __STDC__ conditionals.
24597 * crypt/crypt-entry.c: Likewise.
24598 * crypt/crypt_util.c: Likewise.
24599 * libio/filedoalloc.c: Likewise.
24600 * libio/fileops.c: Likewise.
24601 * libio/genops.c: Likewise.
24602 * libio/iofclose.c: Likewise.
24603 * libio/iofdopen.c: Likewise.
24604 * libio/iofopen.c: Likewise.
24605 * libio/iofopen64.c: Likewise.
24606 * libio/iogetdelim.c: Likewise.
24607 * libio/iopopen.c: Likewise.
24608 * libio/obprintf.c: Likewise.
24609 * libio/oldfileops.c: Likewise.
24610 * libio/oldiofclose.c: Likewise.
24611 * libio/oldiofdopen.c: Likewise.
24612 * libio/oldiofopen.c: Likewise.
24613 * libio/oldiopopen.c: Likewise.
24614 * libio/wfiledoalloc.c: Likewise.
24615 * libio/wgenops.c: Likewise.
24616 * locale/programs/xmalloc.c: Likewise.
24617 * misc/syslog.c: Likewise.
24618 * stdio-common/xbug.c: Likewise.
24619 * string/memchr.c: Likewise.
24620 * string/memcmp.c: Likewise.
24621 * string/memrchr.c: Likewise.
24622 * string/rawmemchr.c: Likewise.
24623 * sysdeps/posix/getcwd.c: Likewise.
24624 * time/strftime_l.c: Likewise.
24625
3b100462
JM
246262012-01-30 Joseph Myers <joseph@codesourcery.com>
24627
24628 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24629 * config.make.in (config-cflags-sse2avx): Define.
24630 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24631 Fix typo.
24632
607998af
CM
246332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24634
24635 * scripts/config.guess: Update from upstream config git repository.
24636 * scripts/config.sub: Likewise.
24637
3601428f
CM
246382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24639
3ac8b282
CM
24640 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24641 (EM_NUM): Update.
24642 (R_TILEPRO_*, R_TILEGX_*): New macros.
24643
e034841e
CM
24644 * scripts/firstversions.awk: Fix bug in version range handling.
24645
540d7568
CM
24646 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24647
3601428f
CM
24648 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24649
463de862
CM
24650 * include/sys/epoll.h: New file.
24651 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24652 libc_hidden_def.
24653
73139a76
UD
246542012-01-28 Ulrich Drepper <drepper@gmail.com>
24655
96bc5b45
UD
24656 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24657 Avoid unnecessary __WORDSIZE == 64 test.
24658 (fmaxf): Use VEX format if possible.
24659 (fmax): Likewise.
24660 (fminf): Likewise.
24661 (fmin): Likewise.
24662
56f6f6a2
UD
24663 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24664 * math/math_private.h: Remove libc_fegetround* and
24665 libc_fesetround*.
24666 * sysdeps/i386/configure.in: Check for -msse2avx.
24667 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24668 also if SSE2AVX is defined.
24669 Remove libc_fegetround* and libc_fesetround*.
24670 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24671 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24672 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24673 of HAS_YMM_USABLE.
24674 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24675 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24679
73139a76
UD
24680 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24681
d73f93a4
AZ
246822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24683
24684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24685 size is not set.
24686 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24687
6ee65ed6
UD
246882012-01-27 Ulrich Drepper <drepper@gmail.com>
24689
24690 [BZ #13618]
24691 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24692 relocation.
24693 * Makeconfig (libm): Define.
24694 * elf/Makefile: Add rules to build and run tst-relsort1.
24695 * elf/tst-relsort1.c: New file.
24696 * elf/tst-relsort1mod1.c: New file.
24697 * elf/tst-relsort1mod2.c: New file.
24698
8db21882
JM
246992012-01-27 Joseph Myers <joseph@codesourcery.com>
24700
24701 * math/s_ldexp.c: Remove __STDC__ conditionals.
24702 * math/s_ldexpf.c: Likewise.
24703 * math/s_ldexpl.c: Likewise.
24704 * math/s_nextafter.c: Likewise.
24705 * math/s_nexttowardf.c: Likewise.
24706 * math/s_significand.c: Likewise.
24707 * math/s_significandf.c: Likewise.
24708 * math/s_significandl.c: Likewise.
24709 * math/w_jnl.c: Likewise.
24710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24716 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24717 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24718 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24719 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24720 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24722 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24724 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24725 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24727 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24731 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24736 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24737 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24738 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24739 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24740 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24741 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24742 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24743 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24744 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24746 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24747 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24748 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24749 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24750 * sysdeps/ieee754/k_standard.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24789 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24791 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24794 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24795 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24796 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24797 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24800 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24801 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24804 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24808 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24810 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24811 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24812 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24813 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24816 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24817 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24818 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24819 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24826 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24827 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24830 * sysdeps/ieee754/s_matherr.c: Likewise.
24831 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24832 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24835
965a54a4
JM
248362012-01-26 Joseph Myers <joseph@codesourcery.com>
24837
24838 * crypt/md5.h: Remove __STDC__ conditionals.
24839 * libio/libioP.h: Likewise.
24840 * locale/programs/config.h: Likewise.
24841 * sysdeps/generic/sysdep.h: Likewise.
24842 * sysdeps/i386/asm-syntax.h: Likewise.
24843 * sysdeps/s390/asm-syntax.h: Likewise.
24844 * sysdeps/unix/sysdep.h: Likewise.
24845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24847
7071ad79
JM
248482012-01-26 Joseph Myers <joseph@codesourcery.com>
24849
24850 * libio/libio.h: Remove __STDC__ conditionals.
24851 * malloc/obstack.h: Likewise.
24852 * math/complex.h: Likewise.
24853 * math/math.h: Likewise.
24854 * sysdeps/generic/_G_config.h: Likewise.
24855 * sysdeps/gnu/_G_config.h: Likewise.
24856 * sysdeps/mach/hurd/_G_config.h: Likewise.
24857 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24858 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24859 * sysdeps/sparc/bits/mathdef.h: Likewise.
24860
afc5ed09
UD
248612012-01-26 Ulrich Drepper <drepper@gmail.com>
24862
24863 [BZ #13583]
24864 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24865 Clean up HAS_* macros.
afc5ed09 24866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24867 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24868 possible.
24869 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24870 HAS_AVX.
24871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24876
bdb6de1d
JM
248772012-01-25 Joseph Myers <joseph@codesourcery.com>
24878
24879 * elf/tst-unique3.cc (gets): Remove declaration.
24880 * elf/tst-unique3lib.cc (gets): Likewise.
24881 * elf/tst-unique3lib2.cc (gets): Likewise.
24882 * elf/tst-unique4.cc (gets): Likewise.
24883
b15549e6
UD
248842012-01-24 Ulrich Drepper <drepper@gmail.com>
24885
24886 * include/stdio.h: Add C++ protection. Add gets declarations and
24887 definitions.
24888 * debug/tst-chk1.c: Don't declare gets here.
24889 * stdio-common/tst-gets.c: Likewise.
24890
a037381f
JM
248912012-01-24 Joseph Myers <joseph@codesourcery.com>
24892
24893 * posix/glob: Remove directory.
24894
f1d4aa75
JM
248952012-01-24 Joseph Myers <joseph@codesourcery.com>
24896
24897 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24898
81c0c964
PT
248992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24900
24901 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24902 of the non-standard EPFNOSUPPORT.
24903
0ea698ae
ST
249042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24905
24906 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24907 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24908 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24909
d220b117
UD
249102012-01-21 Ulrich Drepper <drepper@gmail.com>
24911
24912 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24913
3e1aa84e
UD
249142012-01-20 Ulrich Drepper <drepper@gmail.com>
24915
24916 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24917 transient errors.
24918 * nscd/grpcache.c (cache_addgr): Likewise.
24919 * nscd/hstcache.c (cache_addhst): Likewise.
24920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24921 * nscd/pwdcache.c (cache_addpw): Likewise.
24922 * nscd/servicescache.c (cache_addserv): Likewise.
24923
400aa020
UD
249242012-01-16 Ulrich Drepper <drepper@gmail.com>
24925
d77e7869
UD
24926 * malloc/malloc.c: Various cleanups.
24927 * malloc/hooks.c: Likewise.
24928
400aa020
UD
24929 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24930 * stdlib/bug-fmtmsg1.c: New file.
24931
24932 * stdlib/fmtmsg.c (init): Add missing unlock.
24933 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24934
e0a309cf
MP
249352012-01-12 Marek Polacek <polacek@redhat.com>
24936
24937 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24938 and _GNU_SOURCE.
24939
929d11c7
WS
249402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24941
24942 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24943 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24944 macro to ensure uniqueness of label name.
24945 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24946 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24947
41d0e869
UD
249482012-01-11 Ulrich Drepper <drepper@gmail.com>
24949
0cc5ed3b
UD
24950 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24951
41d0e869
UD
24952 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24953 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24954 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24955 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24956
a47a831a
UD
249572012-01-10 Ulrich Drepper <drepper@gmail.com>
24958
daa891c0
UD
24959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24960
24961 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24964
e58ef0f2
UD
24965 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24966
a47a831a 24967 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24968 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24969 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24971
24972 * math/bits/math-finite.h: Add ldexp support.
24973
a0bfc9c7
MP
249742012-01-10 Marek Polacek <polacek@redhat.com>
24975
24976 * locale/programs/localedef.h (show_archive_content): Add noreturn
24977 attribute.
24978
d6e97a1d
UD
249792012-01-09 Ulrich Drepper <drepper@gmail.com>
24980
24981 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24982
d5835c26
UD
249832012-01-08 Ulrich Drepper <drepper@gmail.com>
24984
e5f484c6
UD
24985 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24986
d5835c26
UD
24987 * io/Makefile (headers): Add bits/poll2.h.
24988
d1f741e9
WS
249892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24990
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24992 typo #include statement.
24993
ec09c1c4
UD
249942012-01-08 Ulrich Drepper <drepper@gmail.com>
24995
24996 * include/sys/cdefs.h: Define __attribute_alloc_size.
24997 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24998 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24999 * elf/pldd.c: Likewise.
25000 * iconv/iconv_charmap.c: Likewise.
25001 * iconv/iconvconfig.c: Likewise.
25002 * iconv/strtab.c: Likewise.
25003 * locale/programs/locale.c: Likewise.
25004 * locale/programs/localedef.h: Likewise.
25005 * locale/programs/simple-hash.c: Likewise.
25006 * nscd/nscd.h: Likewise.
25007 * nss/makedb.c: Likewise.
25008 * sysdeps/generic/ldconfig.h: Likewise.
25009 * locale/programs/localedef.c: Remove xmalloc prototype.
25010 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25011
20b38e03
PP
250122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25013
25014 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25015 appropriate.
25016
a0da5fe1
UD
250172012-01-08 Ulrich Drepper <drepper@gmail.com>
25018
1d5a644a 25019 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25020 * math/tst-CMPLX.c: New file.
1d5a644a 25021
8784a6db
UD
25022 * math/complex.h (CMPLXL): Fix typo.
25023
d9a216c0
UD
25024 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25025 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25026 GLIBC_2.16.
25027 * debug/tst-chk1.c: Add poll and ppoll tests.
25028 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25029 * include/sys/poll.h: Add hidden proto for ppoll.
25030 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25031 * sysdeps/mach/hurd/ppoll.c: Likewise.
25032 * io/ppoll.c: Likewise.
25033 * debug/poll_chk.c: New file.
25034 * debug/ppoll_chk.c: New file.
25035 * include/bits/poll2.h: New file.
25036 * io/bits/poll2.h: New file.
25037
ac097f5c
UD
25038 [BZ #1350]
25039 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25040
2119dcfa
UD
25041 * configure.in: static is always set to yes. Remove.
25042 * config.make.in: Don't set build-static.
25043 * Makeconfig: Remove use of build-static.
25044 * dlfcn/Makefile: Likewise.
25045 * elf/Makefile: Likewise.
25046 * math/Makefile: Likewise.
25047 * misc/Makefile: Likewise.
25048 * nptl/Makefile: Likewise.
25049 * sysdeps/mach/hurd/Makefile: Likewise.
25050
121766a9
UD
25051 * configure.in: PWD_P is not used anymore.
25052 * config.make.in: Remove PWD_P entry.
25053
51a1d39c 25054 * configure.in: Remove last remnants of RANLIB.
8720d066 25055 No need to check for signed size_t anymore.
215f4bdc
UD
25056 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25057 and IA-64.
3857022a 25058 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25059 * aclocal.m4: Likewise.
25060
d3ed7225
UD
25061 * wcsmbs/mbrtoc16.c: Implement using towc function.
25062 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25063 * wcsmbs/wcsmbsload.c: Likewise.
25064 * iconv/gconv_simple.c: Likewise.
25065 * iconv/gconv_int.h: Likewise.
25066 * iconv/gconv_builtin.h: Likewise.
25067 * iconv/iconv_prog.c: Remove CHAR16 handling.
25068
25069 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25070
25071 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25072
a0da5fe1
UD
25073 * configure.in: Remove --with-elf and --enable-bounded options.
25074 Dont set base_machine for ia64. More non-ELF conditions removed.
25075 Remove testing and setting of leading underscore information.
25076 * config.make.in (build-bounded): Set to no.
25077 * config.h.in: Remove NO_UNDERSCORES entry.
25078 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25079 them.
25080 * csu/start.c: Remove !NO_UNDERSCORE code.
25081 * locale/localeinfo.h: Likewise.
25082 * sysdeps/generic/machine-gmon.h: Likewise.
25083 * sysdeps/generic/sysdep.h: Likewise.
25084 * sysdeps/i386/sysdep.h: Likewise.
25085 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25086 * sysdeps/mach/sysdep.h: Likewise.
25087 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25089 * sysdeps/sh/sysdep.h: Likewise.
25090 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25091 * sysdeps/unix/i386/sysdep.S: Likewise.
25092 * sysdeps/unix/sparc/start.c: Likewise.
25093 * sysdeps/unix/sparc/sysdep.S: Likewise.
25094 * sysdeps/unix/sparc/sysdep.h: Likewise.
25095 * sysdeps/unix/start.c: Likewise.
25096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25097 * sysdeps/x86_64/sysdep.h: Likewise.
25098
df78418a
UD
250992012-01-07 Ulrich Drepper <drepper@gmail.com>
25100
a784e502
UD
25101 [BZ #13553]
25102 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25103 for non-gcc.
25104 * argp/argp-fmtstream.h: Use const instead __const.
25105 * argp/argp.h: Likewise.
25106 * assert/assert.h: Likewise.
25107 * bits/fenv.h: Likewise.
25108 * bits/sched.h: Likewise.
25109 * bits/sigset.h: Likewise.
25110 * bits/sigthread.h: Likewise.
25111 * catgets/nl_types.h: Likewise.
25112 * conform/data/pthread.h-data: Likewise.
25113 * crypt/crypt-private.h: Likewise.
25114 * crypt/crypt.h: Likewise.
25115 * crypt/crypt_util.c: Likewise.
25116 * ctype/ctype.h: Likewise.
25117 * debug/execinfo.h: Likewise.
25118 * debug/mbsnrtowcs_chk.c: Likewise.
25119 * debug/mbsrtowcs_chk.c: Likewise.
25120 * debug/wcsnrtombs_chk.c: Likewise.
25121 * debug/wcsrtombs_chk.c: Likewise.
25122 * debug/wcstombs_chk.c: Likewise.
25123 * dirent/dirent.h: Likewise.
25124 * dlfcn/dlfcn.h: Likewise.
25125 * elf/neededtest4.c: Likewise.
25126 * grp/grp.h: Likewise.
25127 * gshadow/gshadow.h: Likewise.
25128 * iconv/gconv.h: Likewise.
25129 * iconv/gconv_int.h: Likewise.
25130 * iconv/gconv_simple.c: Likewise.
25131 * iconv/iconv.h: Likewise.
25132 * iconv/loop.c: Likewise.
25133 * iconv/skeleton.c: Likewise.
25134 * include/aio.h: Likewise.
25135 * include/aliases.h: Likewise.
25136 * include/argz.h: Likewise.
25137 * include/arpa/inet.h: Likewise.
25138 * include/assert.h: Likewise.
25139 * include/dirent.h: Likewise.
25140 * include/dlfcn.h: Likewise.
25141 * include/execinfo.h: Likewise.
25142 * include/fcntl.h: Likewise.
25143 * include/fenv.h: Likewise.
25144 * include/glob.h: Likewise.
25145 * include/grp.h: Likewise.
25146 * include/libintl.h: Likewise.
25147 * include/mntent.h: Likewise.
25148 * include/netdb.h: Likewise.
25149 * include/pwd.h: Likewise.
25150 * include/rpc/netdb.h: Likewise.
25151 * include/sched.h: Likewise.
25152 * include/search.h: Likewise.
25153 * include/shadow.h: Likewise.
25154 * include/signal.h: Likewise.
25155 * include/stdio.h: Likewise.
25156 * include/stdlib.h: Likewise.
25157 * include/string.h: Likewise.
25158 * include/sys/socket.h: Likewise.
25159 * include/sys/stat.h: Likewise.
25160 * include/sys/statfs.h: Likewise.
25161 * include/sys/statvfs.h: Likewise.
25162 * include/sys/syslog.h: Likewise.
25163 * include/sys/time.h: Likewise.
25164 * include/sys/uio.h: Likewise.
25165 * include/time.h: Likewise.
25166 * include/unistd.h: Likewise.
25167 * include/utmp.h: Likewise.
25168 * include/wchar.h: Likewise.
25169 * include/wctype.h: Likewise.
25170 * inet/aliases.h: Likewise.
25171 * inet/arpa/inet.h: Likewise.
25172 * inet/netinet/ether.h: Likewise.
25173 * inet/netinet/in.h: Likewise.
25174 * intl/libintl.h: Likewise.
25175 * io/bits/fcntl2.h: Likewise.
25176 * io/fcntl.h: Likewise.
25177 * io/ftw.h: Likewise.
25178 * io/sys/poll.h: Likewise.
25179 * io/sys/stat.h: Likewise.
25180 * io/sys/statfs.h: Likewise.
25181 * io/sys/statvfs.h: Likewise.
25182 * io/utime.h: Likewise.
25183 * libio/bits/stdio.h: Likewise.
25184 * libio/bits/stdio2.h: Likewise.
25185 * libio/libio.h: Likewise.
25186 * libio/libioP.h: Likewise.
25187 * libio/stdio.h: Likewise.
25188 * locale/lc-ctype.c: Likewise.
25189 * locale/locale.h: Likewise.
25190 * login/utmp.h: Likewise.
25191 * malloc/arena.c: Likewise.
25192 * malloc/malloc.c: Likewise.
25193 * malloc/malloc.h: Likewise.
25194 * malloc/mcheck.c: Likewise.
25195 * malloc/mtrace.c: Likewise.
25196 * math/bits/mathcalls.h: Likewise.
25197 * math/fenv.h: Likewise.
25198 * math/math_private.h: Likewise.
25199 * misc/bits/error.h: Likewise.
25200 * misc/bits/syslog.h: Likewise.
25201 * misc/err.h: Likewise.
25202 * misc/error.h: Likewise.
25203 * misc/fstab.h: Likewise.
25204 * misc/mntent.h: Likewise.
25205 * misc/regexp.h: Likewise.
25206 * misc/search.h: Likewise.
25207 * misc/sgtty.h: Likewise.
25208 * misc/sys/mman.h: Likewise.
25209 * misc/sys/syslog.h: Likewise.
25210 * misc/sys/uio.h: Likewise.
25211 * misc/sys/xattr.h: Likewise.
25212 * misc/ttyent.h: Likewise.
25213 * nis/rpcsvc/ypclnt.h: Likewise.
25214 * nss/nss.h: Likewise.
25215 * posix/bits/unistd.h: Likewise.
25216 * posix/fnmatch.h: Likewise.
25217 * posix/glob.h: Likewise.
25218 * posix/sched.h: Likewise.
25219 * posix/spawn.h: Likewise.
25220 * posix/sys/wait.h: Likewise.
25221 * posix/unistd.h: Likewise.
25222 * posix/wordexp.h: Likewise.
25223 * pwd/pwd.h: Likewise.
25224 * resolv/netdb.h: Likewise.
25225 * resource/sys/resource.h: Likewise.
25226 * rt/aio.h: Likewise.
25227 * rt/bits/mqueue2.h: Likewise.
25228 * rt/mqueue.h: Likewise.
25229 * shadow/shadow.h: Likewise.
25230 * signal/signal.h: Likewise.
25231 * socket/send.c: Likewise.
25232 * socket/sendto.c: Likewise.
25233 * socket/sys/socket.h: Likewise.
25234 * stdio-common/printf.h: Likewise.
25235 * stdlib/bits/stdlib.h: Likewise.
25236 * stdlib/fmtmsg.h: Likewise.
25237 * stdlib/monetary.h: Likewise.
25238 * stdlib/stdlib.h: Likewise.
25239 * stdlib/ucontext.h: Likewise.
25240 * streams/stropts.h: Likewise.
25241 * string/argz.h: Likewise.
25242 * string/bits/string2.h: Likewise.
25243 * string/string.h: Likewise.
25244 * string/strings.h: Likewise.
25245 * sunrpc/rpc/auth.h: Likewise.
25246 * sunrpc/rpc/auth_des.h: Likewise.
25247 * sunrpc/rpc/clnt.h: Likewise.
25248 * sunrpc/rpc/netdb.h: Likewise.
25249 * sunrpc/rpc/pmap_clnt.h: Likewise.
25250 * sunrpc/rpc/xdr.h: Likewise.
25251 * sysdeps/generic/inttypes.h: Likewise.
25252 * sysdeps/generic/net/if.h: Likewise.
25253 * sysdeps/generic/sys/swap.h: Likewise.
25254 * sysdeps/gnu/net/if.h: Likewise.
25255 * sysdeps/gnu/utmpx.h: Likewise.
25256 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25257 * sysdeps/i386/i486/bits/string.h: Likewise.
25258 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25259 * sysdeps/s390/bits/string.h: Likewise.
25260 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25261 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25262 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25263 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25264 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25265 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25266 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25267 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25268 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25269 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25270 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25271 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25272 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25273 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25274 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25275 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25276 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25279 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25281 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25282 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25283 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25284 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25285 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25286 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25287 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25288 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25289 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25290 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25291 * sysvipc/sys/ipc.h: Likewise.
25292 * sysvipc/sys/msg.h: Likewise.
25293 * sysvipc/sys/sem.h: Likewise.
25294 * sysvipc/sys/shm.h: Likewise.
25295 * termios/termios.h: Likewise.
25296 * time/sys/time.h: Likewise.
25297 * time/time.h: Likewise.
25298 * wcsmbs/bits/wchar2.h: Likewise.
25299 * wcsmbs/uchar.h: Likewise.
25300 * wcsmbs/wchar.h: Likewise.
25301 * wctype/wctype.h: Likewise.
25302
0269750c
UD
25303 [BZ #13551]
25304 * Makeconfig: Remove all but ELF support including AIX support.
25305 * Makerules: Likewise.
25306 * config.h.in: Likewise.
25307 * config.make.in: Likewise.
25308 * configure: Likewise.
25309 * configure.in: Likewise.
25310 * csu/Makefile: Likewise.
25311 * csu/version.c: Likewise.
25312 * debug/Makefile: Likewise.
25313 * dlfcn/Makefile: Likewise.
25314 * elf/Makefile: Likewise.
25315 * extra-lib.mk: Likewise.
25316 * iconv/Makefile: Likewise.
25317 * include/libc-symbols.h: Likewise.
25318 * include/shlib-compat.h: Likewise.
25319 * resolv/Makefile: Likewise.
25320 * resolv/res_libc.c: Likewise.
25321 * rt/Makefile: Likewise.
25322 * sysdeps/i386/asm-syntax.h: Likewise.
25323 * sysdeps/i386/sysdep.h: Likewise.
25324 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25325 * sysdeps/mach/sysdep.h: Likewise.
25326 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25327 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25328 * sysdeps/s390/asm-syntax.h: Likewise.
25329 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25331 * sysdeps/sh/sysdep.h: Likewise.
25332 * sysdeps/unix/sparc/sysdep.h: Likewise.
25333 * sysdeps/wordsize-32/divdi3.c: Likewise.
25334 * sysdeps/x86_64/sysdep.h: Likewise.
25335
00bbd29b
UD
25336 * argp/Versions: Remove _argp_unlock_xxx.
25337
25338 [BZ #13559]
25339 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25340 * abilist/libBrokenLocale.abilist: Likewise.
25341 * abilist/libanl.abilist: Likewise.
25342 * abilist/libc.abilist: Likewise.
25343 * abilist/libcrypt.abilist: Likewise.
25344 * abilist/libdl.abilist: Likewise.
25345 * abilist/libm.abilist: Likewise.
25346 * abilist/libnsl.abilist: Likewise.
25347 * abilist/libpthread.abilist: Likewise.
25348 * abilist/libresolv.abilist: Likewise.
25349 * abilist/librt.abilist: Likewise.
25350 * abilist/libthread_db.abilist: Likewise.
25351 * abilist/libutil.abilist: Likewise.
25352 * abilist/libnss_db.abilist: New file.
25353
25354 * scripts/abilist.awk: Add support for indirect functions.
25355
a2693a0e
UD
25356 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25357
3f05895f
UD
25358 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25359
ecb6fb48
UD
25360 * shlib-versions: Remove entries for ports architectures.
25361
664f8cb9
UD
25362 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25363 files in ports.
25364 * elf/stackguard-macros.h: Remove support for IA-64.
25365 * elf/tst-auditmod1.c: Likewise.
25366 * sysdeps/generic/ldsodefs.h: Likewise.
25367
7ae81d88
UD
25368 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25369 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25370 configure files.
25371
bdeba135
UD
25372 [BZ #13552]
25373 * configure.in: Remove --enable-omitfp support.
25374 * FAQ.in: Adjust.
25375 * config.make.in: Likewise.
25376 * Makeconfig: Likewise.
25377 * manual/install.texi: Likewise.
25378
d75a0a62
UD
25379 In case anyone cares, the IA-64 architecture could move to ports.
25380 * sysdeps/ia64/*: Removed.
25381 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25382 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25383
dcc9756b
UD
25384 [BZ #13555]
25385 * configure.in: Remove entries for unsupported architectures.
25386
d3761ebc 25387 [BZ #13533]
9954432e
UD
25388 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25389 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25390 routines.
25391 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25392 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25393 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25394 fall back to using wcrtomb.
25395 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25396 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25397 renaming.
25398 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25399 * wcsmbs/tst-c16c32-1.c: New file.
25400
25401 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25402 local variable.
25403
c3a87236
UD
25404 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25405
28926a1b
UD
25406 * elf/tst-unique3.cc: Add explicit declaration of gets.
25407 * elf/tst-unique3lib.cc: Likewise.
25408 * elf/tst-unique3lib2.cc: Likewise.
25409 * elf/tst-unique4.cc: Likewise.
25410
df78418a
UD
25411 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25412
8ecd6b2a
JM
254132012-01-06 Joseph Myers <joseph@codesourcery.com>
25414
25415 [BZ #13566]
25416 * assert/assert.h (static_assert): Don't define for C++.
25417 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25418 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25419
9f115170
UD
254202012-01-03 Ulrich Drepper <drepper@gmail.com>
25421
5e0d0300
UD
25422 * iconv/loop.c (single loop): Fix assertion in storing of
25423 remaining bytes.
25424
9f115170
UD
25425 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25426
81fb02b0
UD
254272012-01-01 Ulrich Drepper <drepper@gmail.com>
25428
25429 * posix/getconf.c: Update copyright year.
25430 * nss/getent.c: Likewise.
a316c1f6 25431 * nss/makedb.c: Likewise.
81fb02b0
UD
25432 * iconv/iconvconfig.c: Likewise.
25433 * iconv/iconv_prog.c: Likewise.
25434 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25435 * elf/pldd.c: Likewise.
25436 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25437 * catgets/gencat.c: Likewise.
25438 * csu/version.c: Likewise.
25439 * elf/ldd.bash.in: Likewise.
25440 * elf/sprof.c (print_version): Likewise.
25441 * locale/programs/locale.c: Likewise.
25442 * locale/programs/localedef.c: Likewise.
a316c1f6 25443 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25444 * nscd/nscd.c (print_version): Likewise.
25445 * debug/xtrace.sh: Likewise.
25446 * malloc/memusage.sh: Likewise.
25447 * malloc/mtrace.pl: Likewise.
25448 * debug/catchsegv.sh: Likewise.
25449
2ba92745
JJ
254502011-12-30 Jakub Jelinek <jakub@redhat.com>
25451
25452 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25453 pure attribute.
25454
dadebdae
UD
254552011-12-24 Ulrich Drepper <drepper@gmail.com>
25456
d3761ebc 25457 [BZ #13533]
db6af3eb
UD
25458 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25459 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25460 transformations.
25461 * iconv/gconv_int.h: Likewise.
25462 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25463 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25464 from libc for GLIBC_2.16.
25465 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25466 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25467 * wcsmbs/uchar.h: Really define mbstate_t.
25468 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25469 * wcsmbs/c16rtomb.c: New file.
25470 * wcsmbs/mbrtoc16.c: New file.
25471 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25472 for C/POSIX locale.
25473 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25474 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25475
dadebdae
UD
25476 * wcsmbs/wchar.h: Add missing __restrict.
25477
67371b56
UD
254782011-12-23 Ulrich Drepper <drepper@gmail.com>
25479
74033a25
UD
25480 [BZ #13532]
25481 * time/Makefile (routines): Add timespec_get.
25482 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25483 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25484 timespec for ISO C11.
25485 * time/timespec_get.c: New file.
25486 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25487 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25488
380d7e87
UD
25489 [BZ #13531]
25490 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25491 * stdlib/stdlib.h: Declare aligned_alloc.
25492 * Versions.def: Add GLIBC_2.16 for libc.
25493 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25494
4e9e7a35
UD
25495 [BZ 13527]
25496 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25497 ISO C11.
25498
380d7e87 25499 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25500 code.
25501
03a71829
UD
25502 [BZ #13528]
25503 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25504
839e283e
UD
25505 [BZ #13529]
25506 * assert/assert.h (static_assert): Define.
25507
ce5294e2 25508 * version.h: Update for 2.16 development version.
90fa7312 25509
8d44e150 25510 [BZ #13526]
d7809905
UD
25511 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25512 _ISOC11_SOURCE.
25513
c0da14cd
UD
25514 * version.h (RELEASE): Bump for 2.15 release.
25515 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25516
530a3249
MP
25517 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25518 Patch by Marek Polacek <mpolacek@redhat.com>.
25519
67371b56
UD
25520 * bits/byteswap.h: Protect long long constants with __extension__.
25521 * sysdeps/i386/bits/byteswap.h: Likewise.
25522 * sysdeps/ia64/bits/byteswap.h: Likewise.
25523 * sysdeps/s390/bits/byteswap.h: Likewise.
25524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25525
15db4de1
LD
255262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25527
25528 [BZ #13540]
bbe315ea
LD
25529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25530 destination buffer.
15db4de1
LD
25531 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25532
2b2596b1
MP
255332011-12-23 Marek Polacek <polacek@redhat.com>
25534
25535 * elf/dl-addr.c (determine_info): Add inline keyword.
25536 * elf/tst-auditmod4b.c (check_avx): Likewise.
25537 * elf/tst-auditmod6b.c (check_avx): Likewise.
25538 * elf/tst-auditmod6c.c (check_avx): Likewise.
25539 * elf/tst-auditmod7b.c (check_avx): Likewise.
25540
70c6c246
UD
255412011-12-23 Ulrich Drepper <drepper@gmail.com>
25542
25543 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25544 !__SSE_MATH__.
25545
c044cf14
LD
255462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25547
15db4de1 25548 [BZ #13540]
c044cf14
LD
25549 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25550 processing for last bytes.
25551
6b13d9d9
BH
255522011-08-06 Bruno Haible <bruno@clisp.org>
25553
d455f537
BH
25554 [BZ #13061]
25555 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25556 U+0385, not to U+1FEE.
25557
6b13d9d9
BH
25558 [BZ #13062]
25559 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25560 entry for U+00A5 U+0301.
25561
db910efd
UD
255622011-12-22 Ulrich Drepper <drepper@gmail.com>
25563
27deeafc
UD
25564 [BZ #13166]
25565 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25566 buffer for the output is too small.
25567
aed9d171
UD
25568 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25569 optimization.
25570
db910efd
UD
25571 [BZ #13185]
25572 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25573 SSE flags if possible.
25574
2bd779ae
LD
255752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25576
e7f9dac3 25577 [BZ #13540]
2bd779ae
LD
25578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25579 processing for last bytes.
25580
154bfc16
JM
255812011-12-22 Joseph Myers <joseph@codesourcery.com>
25582
25583 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25584 (syscall-list-default-options, syscall-list-default-condition)
25585 (syscall-list-includes): Define.
25586 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25587 list of ABIs and options and #if conditions for each ABI. Do not
25588 handle common syscalls between ABIs specially.
25589 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25590 Remove.
25591 (syscall-list-variants, syscall-list-32bit-options)
25592 (syscall-list-32bit-condition, syscall-list-64bit-options)
25593 (syscall-list-64bit-condition): Define.
25594 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25595 (syscall-list-variants, syscall-list-32bit-options)
25596 (syscall-list-32bit-condition, syscall-list-64bit-options)
25597 (syscall-list-64bit-condition): Define.
25598 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25599 Remove.
25600 (syscall-list-variants, syscall-list-32bit-options)
25601 (syscall-list-32bit-condition, syscall-list-64bit-options)
25602 (syscall-list-64bit-condition): Define.
25603 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25604 Remove.
25605 (syscall-list-variants, syscall-list-32bit-options)
25606 (syscall-list-32bit-condition, syscall-list-64bit-options)
25607 (syscall-list-64bit-condition): Define.
25608
21eaf3a5
UD
256092011-12-22 Ulrich Drepper <drepper@gmail.com>
25610
16c6f992
UD
25611 * locale/iso-639.def: Add brx entry.
25612
41043168
UD
25613 [BZ #13328]
25614 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25615 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25616
21eaf3a5
UD
25617 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25618 __feraiseexcept_renamed.
25619
e3a851a2
UD
256202011-12-21 Ulrich Drepper <drepper@gmail.com>
25621
4920765e
UD
25622 [BZ #13538]
25623 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25624 EPOLLET with unsigned values.
25625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25627
e3a851a2
UD
25628 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25629 to large cancellation.
25630 * math/s_cacoshf.c: Likewise.
25631 * math/s_cacoshl.c: Likewise.
25632
b27e24b8
RK
256332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25634
25635 [BZ #13305]
aebefeee 25636 [BZ #12786]
b27e24b8
RK
25637 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25638 * math/s_cacoshf.c: Likewise.
25639 * math/s_cacoshl.c: Likewise.
25640
ee190f67
UD
256412011-12-21 Ulrich Drepper <drepper@gmail.com>
25642
25643 [BZ #13439]
25644 * iconv/gconv.h: Define __GCONV_SWAP.
25645 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25646 * iconvdata/utf-16.c: Likewise.
25647 * iconvdata/utf-32.c: Likewise.
25648
707f25df
AS
256492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25650
25651 [BZ #13524]
25652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25653 numerator after shifting it by one limb.
25654
d2daaa1e
RÁE
256552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25656
25657 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25658 under [__USE_EXTERN_INLINES].
25659
a4647e72
UD
256602011-12-17 Ulrich Drepper <drepper@gmail.com>
25661
25662 [BZ #13446]
25663 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25664
f0b264f1
AZ
256652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25666
25667 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25668 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25669 optimized code.
25670 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25671 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25672 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25673 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25674 for strncasecmp/strncasecmp_l compilation.
25675 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25676 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25677
8ef4f244
MP
256782011-12-08 Marek Polacek <mpolacek@redhat.com>
25679
25680 [BZ #13484]
25681 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25682 of __asm__.
25683
97ac2654
UD
256842011-12-17 Ulrich Drepper <drepper@gmail.com>
25685
25686 [BZ #13506]
25687 * time/tzfile.c (__tzfile_read): Check values from file header.
25688
91d2a845
WS
256892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25690
25691 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25692 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25693 * powerpc/powerpc32/dl-start.S: Likewise.
25694 * powerpc/powerpc32/elf/start.S: Likewise.
25695 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25696 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25697 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25698 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25699 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25700 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25701 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25702 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25703 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25704 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25705 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25706 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25707 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25708 * powerpc/powerpc32/memset.S: Likewise.
25709 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25710 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25711 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25712 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25713 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25714 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25715 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25716 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25717 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25718 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25719 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25720 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25721 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25722
a1267ba1
AZ
257232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25724
25725 * math/libm-test.inc: Added more nearbyint tests.
25726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25727 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25729 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25730
ad8ac1bd
RL
257312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25732
25733 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25734 FD_CLOEXEC.
25735
1d3e4b61
UD
257362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25737
25738 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25739 Add wcscpy-ssse3 wcscpy-c.
25740 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25741 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25742 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25743 * sysdeps/x86_64/wcschr.S: New file.
25744 * sysdeps/x86_64/wcsrchr.S: New file.
25745 * string/test-strcmp.c: Remove checking of wcscmp function for
25746 wrong alignments.
25747 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25748 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25749 wcsrchr-sse2 wcsrchr-c.
25750 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25751 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25752 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25753 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25754 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25755 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25756 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25757 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25758 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25759 * wcsmbc/wcschr.c (WCSCHR): New macro.
25760
5b330a2d
UD
257612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25762
25763 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25764 * wcsmbs/test-wcsrchr.c: New file.
25765 * string/test-strrchr.c: Add wcsrchr support.
25766 (WIDE): New macro.
25767 * wcsmbs/test-wcscpy.c: New file.
25768 * string/test-strcpy.c: Add wcscpy support.
25769 (WIDE): New macro.
26428b7c 25770
f039c043
UD
257712011-12-10 Ulrich Drepper <drepper@gmail.com>
25772
25773 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25774 the inner loop.
25775
850fb039
AS
257762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25777
25778 [BZ #13472]
25779 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25780
4efbd5cb
UD
257812011-12-04 Ulrich Drepper <drepper@gmail.com>
25782
52ff5dd0 25783 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25784 Minor optimizations.
52ff5dd0 25785
4efbd5cb
UD
25786 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25787 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25788 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25789
8a426e12
UD
257902011-12-03 Ulrich Drepper <drepper@gmail.com>
25791
aff2453d
UD
25792 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25793 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25794 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25795 for gcc to avoid warnings.
25796 * inet/Makefile (tests): Add tst-checks.
25797 * inet/tst-checks.c: New file.
25798
25799 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25800 warning.
25801
25802 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25803 __wmemcmp_sse2.
25804
25805 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25806 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25807
8a426e12
UD
25808 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25809
9bea3473
UD
258102011-12-02 Ulrich Drepper <drepper@gmail.com>
25811
3a965496
UD
25812 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25813 problem.
25814
9bea3473
UD
25815 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25816
f101631b
UD
258172011-11-29 Joseph Myers <joseph@codesourcery.com>
25818
25819 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25820 conditional on GCC version.
25821 (__arch_compare_and_exchange_val_8_acq)
25822 (__arch_compare_and_exchange_val_16_acq)
25823 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25824 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25825 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25826
a98275aa
UD
258272011-12-02 Joseph Myers <joseph@codesourcery.com>
25828
25829 * sysdeps/sh/backtrace.c: New file.
25830
d4cc29a2
AS
258312011-12-02 Andreas Schwab <schwab@redhat.com>
25832
25833 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25834 parenthesis.
25835
6257af2d
AS
258362011-12-01 Andreas Schwab <schwab@redhat.com>
25837
25838 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25839 falling back to utime.
25840
b5f44c1a
AS
258412011-11-30 Andreas Schwab <schwab@redhat.com>
25842
25843 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25844 expectations for float.
25845
f3a6cc0a
AS
258462011-11-29 Andreas Schwab <schwab@redhat.com>
25847
25848 * locale/weight.h (findidx): Add parameter len.
25849 * locale/weightwc.h (findidx): Likewise.
25850 * posix/fnmatch_loop.c (FCT): Adjust caller.
25851 * posix/regcomp.c (build_equiv_class): Likewise.
25852 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25853 * posix/regexec.c (check_node_accept_bytes): Likewise.
25854 * string/strcoll_l.c (STRCOLL): Likewise.
25855 * string/strxfrm_l.c (STRXFRM): Likewise.
25856
9d65ea3a
UD
258572011-11-17 Ulrich Drepper <drepper@gmail.com>
25858
25859 * Makefile.in: Remove CVSOPT handling.
25860 * configure.in: Remove use of AC_REVISION.
25861 * iconvdata/Makefile (distribute): No need to filter out CVS.
25862 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25863 handling.
25864
5583a086
AS
258652011-11-16 Andreas Schwab <schwab@redhat.com>
25866
25867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25868 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25869 [USE_AS_STRNCASECMP_L]: Likewise.
25870 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25871 NO_TLS_DIRECT_SEG_REFS.
25872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25873 Fix argument offsets for non-PIC.
25874 [USE_AS_STRNCASECMP_L]: Likewise.
25875 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25876 NO_TLS_DIRECT_SEG_REFS.
25877
d62a8200
UD
258782011-11-15 Ulrich Drepper <drepper@gmail.com>
25879
9d65ea3a 25880 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25881 O_CLOEXEC.
25882 * locale/loadlocale.c (_nl_load_locale): Likewise.
25883
09f93bd3
AS
258842011-11-15 Andreas Schwab <schwab@redhat.com>
25885
446514f9
AS
25886 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25887 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25889 (SYSCALL_GETTIME): Set errno on error.
25890
09f93bd3
AS
25891 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25892 count references to noai6ai_cached.
25893
312be3f9
UD
258942011-11-15 Ulrich Drepper <drepper@gmail.com>
25895
25896 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25897
25898 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25899 FD_CLOEXEC for /proc/self/maps.
25900
25901 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25902 FD_CLOEXEC for /proc/meminfo.
25903
25904 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25905 gai.conf.
25906
25907 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25908 FD_CLOEXEC for given file.
25909
25910 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25911
25912 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25913 FD_CLOEXEC for /etc/hosts.
25914 (_gethtent): Likewise.
25915
25916 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25917
25918 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25919 cancellation and set FD_CLOEXEC for /etc/netgroup.
25920
25921 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25922 reading /etc/publickey.
25923
25924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25925 allow cancellation when reading /etc/group.
25926
25927 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25928 cancellation.
25929 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25930
25931 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25932 when using data file.
25933
25934 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25935
25936 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25937 (write_nis_obj): Use "c" and "e" in fopen.
25938
25939 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25940
25941 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25942
25943 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25944
25945 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25946
25947 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25948 locale.alias.
25949
25950 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25951
25952 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25953
25954 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25955
25956 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25957 file parsing and set FD_CLOEXEC.
25958
82af0fa8
UD
259592011-11-14 Ulrich Drepper <drepper@gmail.com>
25960
25961 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25962
a5fb313c
AS
259632011-11-14 Andreas Schwab <schwab@redhat.com>
25964
25965 * malloc/arena.c (arena_get2): Don't call reused_arena when
25966 _int_new_arena failed.
25967
6abf3465
UD
259682011-11-14 Ulrich Drepper <drepper@gmail.com>
25969
25970 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25971 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25972 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25973 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25974 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25976 to compile strcasecmp and strncasecmp.
25977 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25978 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25979
25980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25981
76e3966e
UD
259822011-11-13 Ulrich Drepper <drepper@gmail.com>
25983
25984 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25985 locale-defines.sym to gen-as-const-headers.
25986 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25987 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25989 to compile strcasecmp and strncasecmp.
25990 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25991 strcasecmp_l and strncasecmp_l.
25992 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25993 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25994 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25995 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25996 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25997 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25998 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25999 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26000 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26001 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26002 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26003
ab26144e
UD
260042011-11-12 Ulrich Drepper <drepper@gmail.com>
26005
7edb22ef
UD
26006 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26007 result of SYSDEP_GETTIME_CPU to retval.
26008 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26009 parameter list to macro. Remove trailing semicolon. Adjust users.
26010
9694fc44
UD
26011 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26012 variable.
26013
8ad89ef8
UD
26014 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26015 mantissa words.
26016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26017
0c822ef9
UD
26018 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26019 from unused variable.
26020
874e0564
UD
26021 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26022 DWARF definitions.
26023 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26024 for assembling.
26025
3a2edc79
UD
26026 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26027 over namespaces.
26028
f3c2577f
UD
26029 * sunrpc/rpc_prot.c (rejected): Fix case value.
26030
294ce126
UD
26031 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26032 unsigned long long int to avoid warnings in shift.
26033
5e2b63c6
UD
26034 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26035 of use of trans.
26036 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26037 variable tmp.
26038
e7f4b08e
UD
26039 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26040 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26042
ab26144e
UD
26043 * nis/nis_table.c (nis_list): Use variable of correct type for
26044 result of __follow_path call.
26045
8a6d5255
AZ
260462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26047
26048 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26049 of math functions ceil, trunc, floor, round, and sqrt, when
26050 avaliable on the platform.
26051 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26052 name clash.
26053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26054 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26055 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26056
aaddc98c
MP
260572011-10-30 Marek Polacek <mpolacek@redhat.com>
26058
26059 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26061
95b7042b
RM
260622011-11-11 Roland McGrath <roland@hack.frob.com>
26063
26064 * include/unistd.h: Fix __readlink return type.
26065 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26066
57769839
UD
260672011-11-11 Ulrich Drepper <drepper@gmail.com>
26068
26069 * stdlib/ucontext.h: Undo last change for makecontext.
26070
edc5984d
AS
260712011-11-11 Andreas Schwab <schwab@redhat.com>
26072
98591e58
AS
26073 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26074
edc5984d
AS
26075 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26076 * setjmp/setjmp.h: Mark functions as non-leaf.
26077 * setjmp/bits/setjmp2.h: Likewise.
26078 * stdlib/ucontext.h: Likewise.
26079
77cdc054
AS
260802011-11-10 Andreas Schwab <schwab@redhat.com>
26081
26082 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26083 (reused_arena): Don't check arena limit.
26084 (arena_get2): Atomically check arena limit.
26085
fe72eebd
UD
260862011-11-08 Ulrich Drepper <drepper@gmail.com>
26087
5f078c32
UD
26088 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26089 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26090
fe72eebd
UD
26091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26092 instructions.
26093
ae1bc2fa
AS
260942011-11-07 Andreas Schwab <schwab@redhat.com>
26095
7583a88d
AS
26096 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26097 handler when locking.
26098
ae1bc2fa
AS
26099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26100 Fix size of allocated buffer.
26101
10fb0bfa
AS
261022011-11-04 Andreas Schwab <schwab@redhat.com>
26103
998832a4
AS
26104 [BZ #10103]
26105 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26106 declarations for long double functions.
26107 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26108
10fb0bfa
AS
26109 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26110
3d7ba52b
AS
261112011-11-03 Andreas Schwab <schwab@redhat.com>
26112
a9ae54a1
AS
26113 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26114 installed.
26115
3d7ba52b
AS
26116 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26117 is disabled.
26118
bc8db248
ST
261192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26120
26121 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26122
45b96dd6
AS
261232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26124
647776f6
AS
26125 * include/alloca.h (stackinfo_alloca_round): Define.
26126 (extend_alloca): Use it.
26127 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26128 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26129 here.
26130
d91a8b93
AS
26131 * scripts/check-local-headers.sh: Ignore libaudit.h.
26132
45b96dd6
AS
26133 * nscd/Makefile (extra-objs): Make recursively expanded.
26134
432d41ce
UD
261352011-11-01 Ulrich Drepper <drepper@gmail.com>
26136
34372fc6
UD
26137 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26138 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26139
fadb59f8
UD
26140 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26141 * posix/tst-rfc3484-2.c: Likewise.
26142 * posix/tst-rfc3484-3.c: Likewise.
26143
78239589
UD
26144 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26145 process_vm_writev.
26146 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26147 process_vm_writev.
26148 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26149 process_vm_writev from libc using GLIBC_2.15 version.
26150
432d41ce
UD
26151 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26152
02f9c6cf
PP
261532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26154
26155 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26156 stack usage.
26157
3a2c0242
UD
261582011-10-31 Ulrich Drepper <drepper@gmail.com>
26159
f4ec4833
UD
26160 [BZ #13367]
26161 * nss/getent.c (initgroups_keys): Show error message in case no group
26162 names are given.
26163
3a2c0242
UD
26164 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26165 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26166 __bump_nl_timestamp.
26167 * nscd/connections (nscd_init): When host database is served open
26168 netlink socket and request notification about configuration changes.
26169 (main_loop_poll): Track netlink file descriptor and bump timestamp
26170 in case data becomes available.
26171 (main_loop_epoll): Likewise.
26172 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26173 (database_pers_head): Add extra_data fileds.
26174 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26175 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26176 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26177 Adjust caller.
26178 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26179 in6ai data, call __free_in6ai.
26180 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26181 Add -DHAVE_NETLINK.
26182 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26183 interface information. Reuse previous data if netlink timestamp
26184 is not changed.
26185 (__bump_nl_timestamp): New function.
26186 (__free_in6ai): New function.
26187
636064eb
UD
261882011-10-30 Ulrich Drepper <drepper@gmail.com>
26189
26190 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26191 close_not_cancel_no_status here.
26192 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26193
9beb2334
UD
261942011-10-29 Ulrich Drepper <drepper@gmail.com>
26195
6ef76f3b
UD
26196 [BZ #13276]
26197 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26198 return value.
26199
0ffc4f3e 26200 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26201 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26202 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26203
cb95113e
UD
262042011-07-03 Andreas Jaeger <aj@suse.de>
26205
26206 [BZ #10709]
26207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26208 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26209 * math/libm-test.inc (sin_test): Add test case.
26210
a1b560ff
UD
262112011-10-29 Ulrich Drepper <drepper@gmail.com>
26212
c9aaface
UD
26213 [BZ #13337]
26214 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26215 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26216
d272e7f1
UD
26217 * elf/chroot_canon.c (chroot_canon): Cleanups.
26218
1bc33071
UD
26219 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26220
1760874d
TJ
26221 [BZ #13335]
26222 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26223 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26224
51d91b18
UD
26225 * string/test-strchr.c: Make usable for strchrnul testing.
26226 * string/test-strchrnul.c: New file.
26227 * string/Makefile (strop-tests): Add strchrnul.
26228
a1b560ff 26229 * po/it.po: Update from translation team.
b611fb81 26230 * po/es.po: Likewise.
a1b560ff 26231
a5b81e1f
UD
262322011-10-28 Ulrich Drepper <drepper@gmail.com>
26233
fd52bc6d
UD
26234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26235 the three constants needed as parameters. Drop the others.
26236 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26237 __m128i_strloadu_tolower.
52e4b9eb
UD
26238 Create and initialize variable zero and use it in all the places
26239 where _mm_setzero_si128 was used.
fd52bc6d 26240
a5b81e1f
UD
26241 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26242 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26243 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26245 anymore.
26246 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26248 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26249 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26250 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26251 __mpranred, __mptan.
26252 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26253 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26254 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26255 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26256 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26257 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26258 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26259 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26260 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26261
b4343346
AS
262622011-10-28 Andreas Schwab <schwab@redhat.com>
26263
0c92d8a8
AS
26264 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26265 redefine if SHARED.
26266 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26267
b4343346
AS
26268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26269 wide char related routines to wcsmbs subdir.
26270
3871f58f
AS
262712011-10-27 Andreas Schwab <schwab@redhat.com>
26272
26273 [BZ #13344]
26274 * misc/sys/cdefs.h (__THROWNL): Define.
26275 * posix/unistd.h: Use __THREADNL instead of __THREAD
26276 for memory synchronization functions.
26277
94d44d9f
RM
262782011-10-26 Roland McGrath <roland@hack.frob.com>
26279
21b64b15 26280 [BZ #13349]
94d44d9f
RM
26281 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26282 doesn't exist.
26283 * manual/stdio.texi (Obstack Streams): Node removed.
26284
f6ce9294
AS
262852011-10-26 Andreas Schwab <schwab@redhat.com>
26286
80479147
AS
26287 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26288 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26289 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26290
f6ce9294
AS
26291 * math/math_private.h (math_force_eval): Allow non-addressable
26292 arguments.
26293 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26294
618280a1
UD
262952011-10-25 Ulrich Drepper <drepper@gmail.com>
26296
e0016b11
UD
26297 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26298 file is not needed.
26299
26300 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26307 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26308 Add AVX variants.
26309 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26310 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26311 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26312 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26313 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26314 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26315 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26316 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26317 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26318 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26319 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26320 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26322 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26323 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26324 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26325 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26326 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26327 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26328
26329 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26330 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26331
618280a1
UD
26332 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26333 place. Use VEX encoding when compiling for AVX.
26334
37822576
AS
263352011-10-25 Andreas Schwab <schwab@redhat.com>
26336
1f1e1947
AS
26337 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26338 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26339
37822576
AS
26340 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26341
31ea014d
UD
263422011-10-25 Ulrich Drepper <drepper@gmail.com>
26343
d7826aa1 26344 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26345 useless if() expression.
d7826aa1
UD
26346 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26355 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26357 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26358 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26359 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26360 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26361 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26362 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26364 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26365
31ea014d
UD
26366 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26367
16437fec
AS
263682011-10-25 Andreas Schwab <schwab@redhat.com>
26369
26370 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26371 condition.
26372 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26373
31d3cc00
UD
263742011-10-25 Ulrich Drepper <drepper@gmail.com>
26375
26376 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26377 .text section. Avoid duplicate constants.
26378 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26380 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26386 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26387 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26388 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26390 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26391 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26394 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26395 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26401 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26402 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26403 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26404 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26405 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26407 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26408 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26409 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26411 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26412 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26413 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26414 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26415 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26416 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26418 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26419 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26420 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26421 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26422 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26423
58985aa9
UD
264242011-10-24 Ulrich Drepper <drepper@gmail.com>
26425
202c9deb
UD
26426 * sysdeps/x86_64/dla.h: Move to ...
26427 * sysdeps/x86_64/fpu/dla.h: ...here.
26428 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26429 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26430
af968f62
UD
26431 * config.make.in: Add have-mfma4 entry.
26432 * configure.in: Substitute libc_cv_cc_fma4.
26433 * math/Makefile (dbl-only-routines): Add sincostab.
26434 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26435 Use __sincostab not sincos.
26436 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26437 name is a macro.
26438 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26442 using __copysign.
26443 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26444 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26445 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26446 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26447 and __inv.
26448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26449 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26450 __copysign.
26451 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26452 define aliases when function name is a macro.
26453 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26454 sysdeps/ieee754/dbl-64/sincos.tbl.
26455 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26456 fma4-enabled routines.
26457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26458 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26459 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26460 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26461 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26462 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26464 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26465 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26466 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26467 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26468 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26469 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26470 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26471 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26472 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26473 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26474 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26475 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26476 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26477 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26478 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26479 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26480 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26482 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26484 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26485 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26486 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26487
58985aa9
UD
26488 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26489 rename.
26490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26498
a201fbcf
AS
264992011-10-24 Andreas Schwab <schwab@redhat.com>
26500
26501 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26502
fc2ee42a
LD
265032011-10-23 Ulrich Drepper <drepper@gmail.com>
26504
bb3129bd
UD
26505 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26506
0275fff8
UD
26507 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26508 prediction.
26509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26510
2fa2ae85
UD
26511 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26512 Remove unused variable magic_bits.
26513 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26514
fc2ee42a
LD
26515 * string/strnlen.c: Define and use STRNLEN macro.
26516 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26517 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26519 * wcsmbs/wcslen.c: Define and use WCSLEN.
26520 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26521 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26522 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26523 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26524 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26525 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26526 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26527
ce7dd29f
LD
265282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26529
26530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26531 strnlen-sse2-no-bsf.
26532 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26534 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26535 Add strnlen support.
26536 (USE_AS_STRNLEN): New macro.
26537 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26538 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26539 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26540 * sysdeps/x86_64/wcslen.S: New file.
26541
979c70a3
MZ
265422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26543
26544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26545 XMM-moves are used for copying on small sizes.
26546
2d09f82f
LD
265472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26548
26549 * wcsmbs/Makefile (strop-tests): Add wcschr.
26550 * wcsmbs/test-wcschr.c: New file.
26551 * string/test-strchr.c: Update.
26552 Add wcschr support.
26553 (WIDE): New macro.
26554
619fccca
LD
265552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26556
2d09f82f 26557 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26558 * wcsmbs/test-wcslen.c: New file.
26559 * string/test-strlen.c: Update.
26560 Add wcslen support.
26561 (WIDE): New macro.
26562
09f699ea
UD
265632011-10-23 Ulrich Drepper <drepper@gmail.com>
26564
26565 * po/it.po: Update from translation team.
26566
95584d3b
LD
265672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26568
26569 * sysdeps/x86_64/wcscmp.S: Update.
26570 Fix wrong comparison semantics.
26571 wcscmp shall use signed comparison not unsigned.
26572 Don't use substraction to avoid overflow bug.
26573 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26574 * wcsmbc/wcscmp.c: Likewise.
26575 * string/test-strcmp.c: Likewise.
26576 Add new tests to check cases with negative values.
26577
c8b3296b
UD
265782011-10-23 Ulrich Drepper <drepper@gmail.com>
26579
26580 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26581 * sysdeps/x86_64/dla.h: ...here. New file.
26582 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26591
246ad57a
AS
265922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26593
26594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26595 __ynl_finite aliases.
26596
a1a87169
UD
265972011-10-22 Ulrich Drepper <drepper@gmail.com>
26598
0d355eb7
UD
26599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26600
a1a87169
UD
26601 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26602 define DLA_FMA.
26603 [DLA_FMA] (EMULV): Use DLA_FMA.
26604 [DLA_FMA] (MUL12): Use EMULV.
26605 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26606 that are not needed.
26607 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26614
ee2aafe0
AS
266152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26616
26617 * math/s_nan.c: Undef __nan.
26618 * math/s_nanf.c: Undef __nanf.
26619 * math/s_nanl.c: Undef __nanl.
26620 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26621 "math_private.h".
26622
bc62c2fb
UD
266232011-10-22 Ulrich Drepper <drepper@gmail.com>
26624
77425c63
UD
26625 * math/s_catan.c: Add branch predictions.
26626 * math/s_catanf.c: Likewise.
26627 * math/s_catanh.c: Likewise.
26628 * math/s_catanhf.c: Likewise.
26629 * math/s_catanhl.c: Likewise.
26630 * math/s_catanl.c: Likewise.
26631 * math/s_cexp.c: Likewise.
26632 * math/s_cexpf.c: Likewise.
26633 * math/s_cexpl.c: Likewise.
26634 * math/s_clog.c: Likewise.
26635 * math/s_clog10.c: Likewise.
26636 * math/s_clog10f.c: Likewise.
26637 * math/s_clog10l.c: Likewise.
26638 * math/s_clogf.c: Likewise.
26639 * math/s_clogl.c: Likewise.
26640 * math/s_csqrt.c: Likewise.
26641 * math/s_csqrtf.c: Likewise.
26642 * math/s_csqrtl.c: Likewise.
26643 * math/s_ctanf.c: Likewise.
26644 * math/s_ctanh.c: Likewise.
26645 * math/s_ctanhf.c: Likewise.
26646 * math/s_ctanhl.c: Likewise.
26647 * math/s_ctanl.c: Likewise.
26648
bc62c2fb
UD
26649 * math/math_private.h: Define __nan, __nanf, __nanl.
26650 * math/s_cacosh.c: Include <math_private.h>.
26651 * math/s_cacoshl.c: Likewise.
26652 * math/s_casinh.c: Likewise.
26653 * math/s_casinhf.c: Likewise.
26654 * math/s_casinhl.c: Likewise.
26655 * math/s_ccos.c: Rely entire on ccosh.
26656 * math/s_ccosf.c: Rely entire on ccoshf.
26657 * math/s_ccosl.c: Rely entirely on ccoshl.
26658 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26659 Remove tests for FE_INVALID.
26660 * math/s_ccoshf.c: Likewise.
26661 * math/s_ccoshl.c: Likewise.
26662 * math/s_csin.c: Likewise.
26663 * math/s_csinf.c: Likewise.
26664 * math/s_csinh.c Likewise.
26665 * math/s_csinhf.c: Likewise.
26666 * math/s_csinhl.c: Likewise.
26667 * math/s_csinl.c: Likewise.
26668 * math/s_ctan.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26670 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26671 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26672
8ec250a4
UD
266732011-10-21 Ulrich Drepper <drepper@gmail.com>
26674
c196fed8
UD
26675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26676 compilation problems.
26677
8ec250a4
UD
26678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26679 __builtin_expect.
26680
8d4f46c6
UD
266812011-10-20 Ulrich Drepper <drepper@gmail.com>
26682
ed72b654
UD
26683 * sysdeps/i386/configure.in: Test for -mfma4 option.
26684 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26685 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26686 COMMON_CPUID_INDEX_80000001.
26687 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26688 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26689 use it if FMA3 is not supported.
26690 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26691
8d4f46c6
UD
26692 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26693 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26694
d45c60c2
AS
266952011-10-20 Andreas Schwab <schwab@redhat.com>
26696
26697 [BZ #12892]
26698 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26699 it would create a cycle with a link time dependency.
26700
d9a4d2ab
UD
267012011-10-19 Ulrich Drepper <drepper@gmail.com>
26702
855d1560
UD
26703 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26704 instruction.
26705 * string/Makefile (strop-tests): Add rawmemchr.
26706 * string/test-rawmemchr.c: New file.
26707
d9a4d2ab
UD
26708 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26710 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26711 when compiling str{,n}casecmp and when AVX is available. Hook up
26712 new optimized code in initializers.
26713
8f3b1ffe
AS
267142011-10-19 Andreas Schwab <schwab@redhat.com>
26715
26716 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26717 __feraiseexcept instead of feraiseexcept.
26718
d38f1dba
UD
267192011-10-18 Ulrich Drepper <drepper@gmail.com>
26720
d9a8d0ab
UD
26721 * math/math_private.h: Define defaults for libc_fetestexcept and
26722 libc_feupdateenv.
26723 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26724 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26725 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26726 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26727 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26728 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26729 libc_fetestexcept and libc_feupdateenv.
26730
4855e3dd
UD
26731 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26732 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26733 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26734 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26735 libc_feholdexcept_setround.
26736
581d30e3
UD
26737 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26738 Add s_nearbyint-c and s_nearbyintf-c.
26739 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26740 nearbyintf inlines.
26741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26742 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26744 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26745
d38f1dba
UD
26746 * math/math_private.h: Define defaults for libc_fegetround,
26747 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26748 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26749 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26751 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26752 standard functions.
26753 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26754 Remove comments and hacks for old compiler versions.
26755 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26756 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26757 libc_feholdexceptl.
26758
caa6c9d8
AS
267592011-10-18 Andreas Schwab <schwab@redhat.com>
26760
26761 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26762 (__feraiseexcept_renamed): Add __NTH.
26763 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26764 namespace violations.
26765
97c066e6
UD
267662011-10-17 Ulrich Drepper <drepper@gmail.com>
26767
99ce7b04
UD
26768 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26769
1004d182
UD
26770 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26771
228a984d
UD
26772 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26773 recently added interfaces.
26774 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26775
c8553a6a
UD
26776 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26777 about macro parameter expansion.
26778
ed22dcf6
UD
26779 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26780 __NO_MATH_INLINES is defined. Cleanups.
26781
26782 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26783 and __floorf is target has SSE4.1.
26784 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26785 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26786 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26787 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26788
b171c137
UD
26789 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26790 name.
26791 (floorf): Likewise.
26792
97c066e6
UD
26793 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26794
629f62ef
AS
267952011-10-17 Andreas Schwab <schwab@redhat.com>
26796
49a43d80
AS
26797 * misc/sys/cdefs.h: Fix last change.
26798
629f62ef
AS
26799 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26800 database lookup.
26801
e453f6cd
UD
268022011-10-16 Ulrich Drepper <drepper@gmail.com>
26803
aa78043a
UD
26804 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26805
ad0f5cad
UD
26806 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26814 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26815 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26816 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26817 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26818 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26819 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26820 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26821 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26822 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26823 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26825 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26826 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26827 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26828
26829 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26830 ceil, ceilf, floor, floorf.
26831
26832 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26833 Perform IRELATIVE relocations last.
26834
e453f6cd
UD
26835 * elf/do-rel.h: Add another parameter nrelative, replacing the
26836 local variable with the same name. Change name of the function
26837 to end in Rel or Rela (uppercase).
26838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26839 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26840 elf_dynamic_do_##reloc function.
26841
fd5bdc09
UD
268422011-10-15 Ulrich Drepper <drepper@gmail.com>
26843
79b195b5
UD
26844 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26845 is sufficient, at least on modern CPUs.
26846
d4a28569
UD
26847 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26848
b61099b5
UD
26849 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26850 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26851
bcf01e6d
UD
26852 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26853 __expl_finite.
26854 * math/bits/math-finite.h: Add entries for exp.
26855 * math/e_expl.c: Add __*_finite alias.
26856 * sysdeps/i386/fpu/e_exp.S: Likewise.
26857 * sysdeps/i386/fpu/e_expf.S: Likewise.
26858 * sysdeps/i386/fpu/e_expl.c: Likewise.
26859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26860 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26861 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26863 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26864 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26865 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26866
ba1a0d59
UD
26867 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26868 is sufficient, at least on modern CPUs.
26869
fd5bdc09
UD
26870 * ctype/ctype-info.c (__ctype_init): Define.
26871 * include/ctype.h (__ctype_init): Declare.
26872 (__ctype_b_loc): The variable is always initialized.
26873 (__ctype_toupper_loc): Likewise.
26874 (__ctype_tolower_loc): Likewise.
26875 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26876 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26877
7872cfb0
AS
268782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26879
b468825a
AS
26880 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26881
7872cfb0
AS
26882 * configure.in: Also look in $cxxmachine/include for C++ system
26883 headers.
26884
be13f7bf
LD
268852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26886
26887 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26888 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26889 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26890 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26891 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26892 (USE_AS_WMEMCMP): New macro.
26893 Fixing indents.
26894 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26895 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26896 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26897 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26899 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26900 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26901 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26902 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26903 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26904 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26905 (USE_AS_WMEMCMP): New macro.
26906 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26907 * sysdeps/string/test-memcmp.c: Update.
26908 Fix simple_wmemcmp.
26909 Add new tests.
26910 * wcsmbs/wmemcmp.c: Update.
26911 (WMEMCMP): New macro.
26912 Fix overflow bug.
26913
556a2007
AJ
269142011-10-12 Andreas Jaeger <aj@suse.de>
26915
26916 [BZ #13268]
26917 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26918
538faaa7
UD
269192011-10-15 Ulrich Drepper <drepper@gmail.com>
26920
ab6737ff
UD
26921 * libio/iofwide.c (do_length): Avoid warning.
26922
538faaa7
UD
26923 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26924
396a21b1
UD
269252011-10-14 Ulrich Drepper <drepper@gmail.com>
26926
cdf2901f
UD
26927 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26928
38ad40ce
UD
26929 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26930 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26931 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26932 * sysdeps/i386/i686/fpu/e_log.S: New file.
26933 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26934 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26935
396a21b1
UD
26936 * ctype/ctype.h: Add support for inlined isXXX functions when
26937 compiling C++ code.
26938
6b1f68c9
AS
269392011-10-14 Andreas Schwab <schwab@redhat.com>
26940
349290c0
AS
26941 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26942
6b1f68c9
AS
26943 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26944
f2282d42
RM
269452011-10-13 Roland McGrath <roland@hack.frob.com>
26946
26947 [BZ #13291]
26948 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26949
5298ffa8
AS
269502011-10-13 Andreas Schwab <schwab@redhat.com>
26951
714fad23
AS
26952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26953 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26954 feraiseexcept.
26955
81dcc7fb
AS
26956 * sysdeps/x86_64/memrchr.S: Check for zero size.
26957
5298ffa8
AS
26958 * string/stratcliff.c: Add memrchr tests.
26959
951fbcec
LD
269602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26961
26962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26963 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26964 rawmemchr-sse2 rawmemchr-sse2-bsf.
26965 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26966 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26967 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26968 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26969 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26970 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26971 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26972 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26974 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26975 * string/memrchr.c (MEMRCHR): New macro.
26976
0ac5ae23
UD
269772011-10-12 Ulrich Drepper <drepper@gmail.com>
26978
26979 Add integration with gcc's -ffinite-math-only and optimize wrapper
26980 functions in libm.
26981 * Versions.def: Define GLIBC_2.15 version for libm.
26982 * math/Makefile (headers): Add bits/math-finite.h.
26983 * math/bits/math-finite.h: New file.
26984 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26985 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26986 * math/e_acoshl.c: Add __*_finite alias.
26987 * math/e_acosl.c: Likewise.
26988 * math/e_asinl.c: Likewise.
26989 * math/e_atan2l.c: Likewise.
26990 * math/e_atanhl.c: Likewise.
26991 * math/e_coshl.c: Likewise.
26992 * math/e_exp10.c: Likewise.
26993 * math/e_exp10f.c: Likewise.
26994 * math/e_exp10l.c: Likewise.
26995 * math/e_exp2l.c: Likewise.
26996 * math/e_fmodl.c: Likewise.
26997 * math/e_gammal_r.c: Likewise.
26998 * math/e_hypotl.c: Likewise.
26999 * math/e_j0l.c: Likewise.
27000 * math/e_j1l.c: Likewise.
27001 * math/e_jnl.c: Likewise.
27002 * math/e_lgammal_r.c: Likewise.
27003 * math/e_log10l.c: Likewise.
27004 * math/e_log2l.c: Likewise.
27005 * math/e_logl.c: Likewise.
27006 * math/e_powl.c: Likewise.
27007 * math/e_sinhl.c: Likewise.
27008 * math/e_sqrtl.c: Likewise.
27009 * math/e_scalb.c: Completely rewritten and optimized.
27010 * math/e_scalbf.c: Likewise.
27011 * math/e_scalbl.c: Likewise.
27012 * math/w_acos.c: Likewise.
27013 * math/w_acosf.c: Likewise.
27014 * math/w_acosl.c: Likewise.
27015 * math/w_acosh.c: Likewise.
27016 * math/w_acoshf.c: Likewise.
27017 * math/w_acoshl.c: Likewise.
27018 * math/w_asin.c: Likewise.
27019 * math/w_asinf.c: Likewise.
27020 * math/w_asinl.c: Likewise.
27021 * math/w_atan2.c: Likewise.
27022 * math/w_atan2f.c: Likewise.
27023 * math/w_atan2l.c: Likewise.
27024 * math/w_atanh.c: Likewise.
27025 * math/w_atanhf.c: Likewise.
27026 * math/w_atanhl.c: Likewise.
27027 * math/w_exp10.c: Likewise.
27028 * math/w_exp10f.c: Likewise.
27029 * math/w_exp10l.c: Likewise.
27030 * math/w_fmod.c: Likewise.
27031 * math/w_fmodf.c: Likewise.
27032 * math/w_fmodl.c: Likewise.
27033 * math/w_j0.c: Likewise.
27034 * math/w_j0f.c: Likewise.
27035 * math/w_j0l.c: Likewise.
27036 * math/w_j1.c: Likewise.
27037 * math/w_j1f.c: Likewise.
27038 * math/w_j1l.c: Likewise.
27039 * math/w_jn.c: Likewise.
27040 * math/w_jnf.c: Likewise.
27041 * math/w_log.c: Likewise.
27042 * math/w_logf.c: Likewise.
27043 * math/w_logl.c: Likewise.
27044 * math/w_log10.c: Likewise.
27045 * math/w_log10f.c: Likewise.
27046 * math/w_log10l.c: Likewise.
27047 * math/w_log2.c: Likewise.
27048 * math/w_log2f.c: Likewise.
27049 * math/w_log2l.c: Likewise.
27050 * math/w_pow.c: Likewise.
27051 * math/w_powf.c: Likewise.
27052 * math/w_powl.c: Likewise.
27053 * math/w_remainder.c: Likewise.
27054 * math/w_remainderf.c: Likewise.
27055 * math/w_remainderl.c: Likewise.
27056 * math/w_scalb.c: Likewise.
27057 * math/w_scalbf.c: Likewise.
27058 * math/w_scalbl.c: Likewise.
27059 * math/w_sqrt.c: Likewise.
27060 * math/w_sqrtf.c: Likewise.
27061 * math/w_sqrtl.c: Likewise.
27062 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27063 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27064 used.
27065 * math/math_private.h: Declare __kernel_standard_f.
27066 * math/w_cosh.c: Remove cruft and optimize a bit.
27067 * math/w_coshf.c: Likewise.
27068 * math/w_coshl.c: Likewise.
27069 * math/w_exp2.c: Likewise.
27070 * math/w_exp2f.c: Likewise.
27071 * math/w_exp2l.c: Likewise.
27072 * math/w_hypot.c: Likewise.
27073 * math/w_hypotf.c: Likewise.
27074 * math/w_hypotl.c: Likewise.
27075 * math/w_lgamma.c: Likewise.
27076 * math/w_lgamma_r.c: Likewise.
27077 * math/w_lgammaf.c: Likewise.
27078 * math/w_lgammaf_r.c: Likewise.
27079 * math/w_lgammal.c: Likewise.
27080 * math/w_lgammal_r.c: Likewise.
27081 * math/w_sinh.c: Likewise.
27082 * math/w_sinhf.c: Likewise.
27083 * math/w_sinhl.c: Likewise.
27084 * math/w_tgamma.c: Likewise.
27085 * math/w_tgammaf.c: Likewise.
27086 * math/w_tgammal.c: Likewise.
27087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27089 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27090 Minor optimizations. Pretty printing. Remove cruft.
27091 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27092 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27093 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27094 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27095 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27096 * sysdeps/i386/fpu/e_asin.S: Likewise.
27097 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27098 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27099 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27100 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27101 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27103 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27104 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27105 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27106 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27107 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27108 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27109 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27110 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27111 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27112 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27113 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27114 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27115 * sysdeps/i386/fpu/e_log.S: Likewise.
27116 * sysdeps/i386/fpu/e_log10.S: Likewise.
27117 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27118 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27119 * sysdeps/i386/fpu/e_log2.S: Likewise.
27120 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27121 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27122 * sysdeps/i386/fpu/e_logf.S: Likewise.
27123 * sysdeps/i386/fpu/e_logl.S: Likewise.
27124 * sysdeps/i386/fpu/e_pow.S: Likewise.
27125 * sysdeps/i386/fpu/e_powf.S: Likewise.
27126 * sysdeps/i386/fpu/e_powl.S: Likewise.
27127 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27128 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27129 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27130 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27132 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27133 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27134 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27135 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27136 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27139 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27140 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27141 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27142 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27143 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27147 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27157 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27158 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27159 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27160 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27161 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27162 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27163 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27164 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27165 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27167 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27168 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27170 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27171 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27172 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27173 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27174 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27175 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27176 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27177 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27178 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27179 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27181 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27182 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27184 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27185 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27186 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27187 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27188 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27191 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27192 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27193 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27194 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27196 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27200 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27201 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27207 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27208 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27215 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27216 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27218 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27219 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27221 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27226 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27227 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27228 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27229 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27230 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27231 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27232 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27233 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27234 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27235 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27236 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27237 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27238 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27239 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27241 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27242 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27244 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27245 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27246 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27247 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27248 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27249 (__isnanf): Likewise.
27250 (__isinf_ns): Likewise.
27251 (__isinf_nsf): Likewise.
27252 (__finite): Likewise.
27253 (__finitef): Likewise.
27254 (__ieee754_sqrt): Define as macro.
27255 (__ieee754_sqrtf): Define as macro.
27256 (__ieee754_sqrtl): Define as macro.
27257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27258 inlined copy.
27259 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27260 __FINITE_MATH_ONLY__ consistent.
27261 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27262
12cc2fcd
AS
272632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27264
a843a204
AS
27265 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27266 of rawmemchr.
27267
12cc2fcd
AS
27268 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27269
c853acd5
UD
272702011-10-09 Ulrich Drepper <drepper@gmail.com>
27271
27272 * po/ja.po: Update from translation team.
27273
c658d255
RM
272742011-10-08 Roland McGrath <roland@hack.frob.com>
27275
110946e4
RM
27276 * locale/programs/locarchive.c (prepare_address_space): New function.
27277 (create_archive, enlarge_archive, open_archive): Use it.
27278
50604220
RM
27279 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27280 inside [SHARED], where it is used.
27281
c658d255
RM
27282 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27283
27284 * nss/getent.c (netgroup_keys): Remove unused variable.
27285 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27286
6a621eb7
UD
272872011-10-08 Ulrich Drepper <drepper@gmail.com>
27288
7edb55ce
UD
27289 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27290 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27292 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27293 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27294 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27295 * math/Makefile (libm-calls): Add s_isinf_ns.
27296 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27297 * math/multc3.c: Likewise.
27298 * math/s_casin.c: Likewise.
27299 * math/s_casinf.c: Likewise.
27300 * math/s_casinl.c: Likewise.
27301 * math/s_ccos.c: Likewise.
27302 * math/s_ccosf.c: Likewise.
27303 * math/s_ccosl.c: Likewise.
27304 * math/s_ctan.c: Likewise.
27305 * math/s_ctanf.c: Likewise.
27306 * math/s_ctanh.c: Likewise.
27307 * math/s_ctanhf.c: Likewise.
27308 * math/s_ctanhl.c: Likewise.
27309 * math/s_ctanl.c: Likewise.
27310 * math/w_fmod.c: Likewise.
27311 * math/w_fmodf.c: Likewise.
27312 * math/w_fmodl.c: Likewise.
27313 * math/w_remainder.c: Likewise.
27314 * math/w_remainderf.c: Likewise.
27315 * math/w_remainderl.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27317 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27320 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27321 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27322 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27323 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27324
187da0ae
UD
27325 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27326 of the number.
27327 * stdio-common/printf_fphex.c: Likewise.
27328 * stdio-common/printf_size.c: Likewise.
27329
9277c064
UD
27330 * math/e_exp10.c: Include math_private.h using <...> not "...".
27331 * math/e_exp10f.c: Likewise.
27332 * math/e_exp10l.c: Likewise.
27333 * math/e_exp2l.c: Likewise.
27334 * math/e_j0l.c: Likewise.
27335 * math/e_j1l.c: Likewise.
27336 * math/e_jnl.c: Likewise.
27337 * math/e_lgammal_r.c: Likewise.
27338 * math/e_rem_pio2l.c: Likewise.
27339 * math/e_scalb.c: Likewise.
27340 * math/e_scalbf.c: Likewise.
27341 * math/e_scalbl.c: Likewise.
27342 * math/k_cosl.c: Likewise.
27343 * math/k_sinl.c: Likewise.
27344 * math/k_tanl.c: Likewise.
27345 * math/s_cacoshf.c: Likewise.
27346 * math/s_catan.c: Likewise.
27347 * math/s_catanf.c: Likewise.
27348 * math/s_catanh.c: Likewise.
27349 * math/s_catanhf.c: Likewise.
27350 * math/s_catanhl.c: Likewise.
27351 * math/s_catanl.c: Likewise.
27352 * math/s_ccosh.c: Likewise.
27353 * math/s_ccoshf.c: Likewise.
27354 * math/s_ccoshl.c: Likewise.
27355 * math/s_cexp.c: Likewise.
27356 * math/s_cexpf.c: Likewise.
27357 * math/s_cexpl.c: Likewise.
27358 * math/s_clog.c: Likewise.
27359 * math/s_clog10.c: Likewise.
27360 * math/s_clog10f.c: Likewise.
27361 * math/s_clog10l.c: Likewise.
27362 * math/s_clogf.c: Likewise.
27363 * math/s_clogl.c: Likewise.
27364 * math/s_csin.c: Likewise.
27365 * math/s_csinf.c: Likewise.
27366 * math/s_csinh.c: Likewise.
27367 * math/s_csinhf.c: Likewise.
27368 * math/s_csinhl.c: Likewise.
27369 * math/s_csinl.c: Likewise.
27370 * math/s_csqrt.c: Likewise.
27371 * math/s_csqrtf.c: Likewise.
27372 * math/s_csqrtl.c: Likewise.
27373 * math/s_ctan.c: Likewise.
27374 * math/s_ctanf.c: Likewise.
27375 * math/s_ctanh.c: Likewise.
27376 * math/s_ctanhf.c: Likewise.
27377 * math/s_ctanhl.c: Likewise.
27378 * math/s_ctanl.c: Likewise.
27379 * math/s_ldexp.c: Likewise.
27380 * math/s_ldexpf.c: Likewise.
27381 * math/s_ldexpl.c: Likewise.
27382 * math/s_significand.c: Likewise.
27383 * math/s_significandf.c: Likewise.
27384 * math/s_significandl.c: Likewise.
27385 * math/w_acos.c: Likewise.
27386 * math/w_acosf.c: Likewise.
27387 * math/w_acosh.c: Likewise.
27388 * math/w_acoshf.c: Likewise.
27389 * math/w_acoshl.c: Likewise.
27390 * math/w_acosl.c: Likewise.
27391 * math/w_asin.c: Likewise.
27392 * math/w_asinf.c: Likewise.
27393 * math/w_asinl.c: Likewise.
27394 * math/w_atan2.c: Likewise.
27395 * math/w_atan2f.c: Likewise.
27396 * math/w_atan2l.c: Likewise.
27397 * math/w_atanh.c: Likewise.
27398 * math/w_atanhf.c: Likewise.
27399 * math/w_atanhl.c: Likewise.
27400 * math/w_cosh.c: Likewise.
27401 * math/w_coshf.c: Likewise.
27402 * math/w_coshl.c: Likewise.
27403 * math/w_dremf.c: Likewise.
27404 * math/w_exp10.c: Likewise.
27405 * math/w_exp10f.c: Likewise.
27406 * math/w_exp10l.c: Likewise.
27407 * math/w_exp2.c: Likewise.
27408 * math/w_exp2f.c: Likewise.
27409 * math/w_fmod.c: Likewise.
27410 * math/w_fmodf.c: Likewise.
27411 * math/w_fmodl.c: Likewise.
27412 * math/w_hypot.c: Likewise.
27413 * math/w_hypotf.c: Likewise.
27414 * math/w_hypotl.c: Likewise.
27415 * math/w_j0.c: Likewise.
27416 * math/w_j0f.c: Likewise.
27417 * math/w_j0l.c: Likewise.
27418 * math/w_j1.c: Likewise.
27419 * math/w_j1f.c: Likewise.
27420 * math/w_j1l.c: Likewise.
27421 * math/w_jn.c: Likewise.
27422 * math/w_jnf.c: Likewise.
27423 * math/w_jnl.c: Likewise.
27424 * math/w_lgamma.c: Likewise.
27425 * math/w_lgamma_r.c: Likewise.
27426 * math/w_lgammaf.c: Likewise.
27427 * math/w_lgammaf_r.c: Likewise.
27428 * math/w_lgammal.c: Likewise.
27429 * math/w_lgammal_r.c: Likewise.
27430 * math/w_log.c: Likewise.
27431 * math/w_log10.c: Likewise.
27432 * math/w_log10f.c: Likewise.
27433 * math/w_log10l.c: Likewise.
27434 * math/w_log2.c: Likewise.
27435 * math/w_log2f.c: Likewise.
27436 * math/w_log2l.c: Likewise.
27437 * math/w_logf.c: Likewise.
27438 * math/w_logl.c: Likewise.
27439 * math/w_pow.c: Likewise.
27440 * math/w_powf.c: Likewise.
27441 * math/w_powl.c: Likewise.
27442 * math/w_remainder.c: Likewise.
27443 * math/w_remainderf.c: Likewise.
27444 * math/w_remainderl.c: Likewise.
27445 * math/w_scalb.c: Likewise.
27446 * math/w_scalbf.c: Likewise.
27447 * math/w_scalbl.c: Likewise.
27448 * math/w_sinh.c: Likewise.
27449 * math/w_sinhf.c: Likewise.
27450 * math/w_sinhl.c: Likewise.
27451 * math/w_sqrt.c: Likewise.
27452 * math/w_sqrtf.c: Likewise.
27453 * math/w_sqrtl.c: Likewise.
27454 * math/w_tgamma.c: Likewise.
27455 * math/w_tgammaf.c: Likewise.
27456 * math/w_tgammal.c: Likewise.
27457
6a621eb7
UD
27458 * po/ja.po: Update from translation team.
27459
bf582445
AJ
274602011-09-29 Andreas Jaeger <aj@suse.de>
27461
f9efbf3a
AJ
27462 [BZ #13179]
27463 * sunrpc/netname.c (netname2host): Fix logic.
27464
bf582445
AJ
27465 [BZ #6779]
27466 [BZ #6783]
27467 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27468 correctly.
27469 * math/w_remainder.c (__remainder): Likewise.
27470 * math/w_remainderf.c (__remainderf): Likewise.
27471 * math/libm-test.inc (remainder_test): Add test cases.
27472
48693bea
AK
274732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27474
27475 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27476 sdiv_qrnnd.
27477
42622229
LD
274782011-10-07 Ulrich Drepper <drepper@gmail.com>
27479
27480 * string/test-memcmp.c: Avoid unncessary #defines.
27481 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27482
093ecf92
LD
274832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27484
27485 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27486 Use new sse2 version for core i3 - i7 as it's faster
27487 than sse42 version.
27488 (bit_Prefer_PMINUB_for_stringop): New.
27489 * sysdeps/x86_64/rawmemchr.S: Update.
27490 Replace with faster SSE2 version.
27491 * sysdeps/x86_64/memrchr.S: New file.
27492 * sysdeps/x86_64/memchr.S: Update.
27493 Replace with faster SSE2 version.
27494
fde56e5c
MP
274952011-09-12 Marek Polacek <mpolacek@redhat.com>
27496
27497 * elf/dl-load.c (lose): Add cast to avoid warning.
27498
21fd49a9
UD
274992011-10-07 Ulrich Drepper <drepper@gmail.com>
27500
5a06e643
UD
27501 * po/ca.po: Update from translation team.
27502
684ae515
UD
27503 * inet/getnetgrent_r.c: Hook up nscd.
27504 * nscd/Makefile (routines): Add nscd_netgroup.
27505 (nscd-modules): Add netgroupcache.
27506 (CFLAGS-netgroupcache.c): Define.
27507 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27508 (cache_search): Add const to second parameter.
27509 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27510 INNETGR.
27511 (dbs): Add netgrdb entry.
27512 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27513 (verify_persistent_db): Handle netgrdb.
27514 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27515 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27516 GETFDNETGR.
27517 (netgroup_response_header): Define.
27518 (innetgroup_response_header): Define.
27519 (datahead): Add netgroup_response_header and innetgroup_response_header
27520 elements.
27521 * nscd/nscd.conf: Add entries for netgroup cache.
27522 * nscd/nscd.h (dbtype): Add netgrdb.
27523 (_PATH_NSCD_NETGROUP_DB): Define.
27524 (netgroup_iov_disabled): Declare.
27525 (xmalloc, xcalloc, xrealloc): Move declarations here.
27526 (cache_search): Adjust prototype.
27527 Add netgroup-related prototypes.
27528 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27529 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27530 (__nscd_innetgr): Declare.
27531 * nscd/selinux.c (perms): Use access_vector_t as element type and
27532 add netgroup-related initializers.
27533 * nscd/netgroupcache.c: New file.
27534 * nscd/nscd_netgroup.c: New file.
27535 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27536 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27537 For four parameters use innetgr.
27538 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27539 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27540 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27541 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27542
21fd49a9
UD
27543 * nscd/connections.c (register_traced_file): Don't register file
27544 for disabled databases.
27545
054c0457
UD
275462011-10-06 Ulrich Drepper <drepper@gmail.com>
27547
32b63198
UD
27548 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27549
054c0457
UD
27550 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27551 from tree and freeing node.
27552
64031225
JO
275532011-09-25 Jiri Olsa <jolsa@redhat.com>
27554
27555 * nss/nsswitch.c (__nss_database_lookup): Handle
27556 nss_parse_service_list out of memory case.
27557
0490345c
JO
275582011-09-15 Jiri Olsa <jolsa@redhat.com>
27559
27560 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27561 out of memory case.
27562
3a62d00d
AS
275632011-10-04 Andreas Schwab <schwab@redhat.com>
27564
27565 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27566 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27567 pass it down.
27568 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27569 elf_machine_rela, elf_machine_lazy_rel.
27570 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27571 (ELF_DYNAMIC_DO_REL): Likewise.
27572 (ELF_DYNAMIC_DO_RELA): Likewise.
27573 (ELF_DYNAMIC_RELOCATE): Likewise.
27574 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27575 to ELF_DYNAMIC_DO_REL.
27576 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27577 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27578 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27579 elf_machine_rela.
27580 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27581 skip_ifunc, don't call ifunc function if non-zero.
27582 (elf_machine_rela): Likewise.
27583 (elf_machine_lazy_rel): Likewise.
27584 (elf_machine_lazy_rela): Likewise.
27585 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27586 (elf_machine_lazy_rel): Likewise.
27587 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27588 Likewise.
27589 (elf_machine_lazy_rel): Likewise.
27590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27591 Likewise.
27592 (elf_machine_lazy_rel): Likewise.
27593 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27594 (elf_machine_lazy_rel): Likewise.
27595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27596 (elf_machine_lazy_rel): Likewise.
27597 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27598 (elf_machine_lazy_rel): Likewise.
27599 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27600 (elf_machine_lazy_rel): Likewise.
27601 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27602 (elf_machine_lazy_rel): Likewise.
27603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27604 (elf_machine_lazy_rel): Likewise.
27605
68577918
UD
276062011-09-28 Ulrich Drepper <drepper@gmail.com>
27607
27608 * nss/nss_files/files-init.c (_nss_files_init): Use static
27609 initialization for all the *_traced_file variables.
27610
68822d74
AS
276112011-09-28 Andreas Schwab <schwab@redhat.com>
27612
27613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27614
2056100b
RM
276152011-09-27 Roland McGrath <roland@hack.frob.com>
27616
27617 [BZ #13226]
27618 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27619
32c76b63
AS
276202011-09-27 Andreas Schwab <schwab@redhat.com>
27621
27622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27623 Reread the line before reparsing it.
27624
bf972c9d
AS
276252011-09-26 Andreas Schwab <schwab@redhat.com>
27626
27627 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27628
e057a1b5
JM
276292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27630 Maxim Kuvyrkov <maxim@codesourcery.com>
27631 Joseph Myers <joseph@codesourcery.com>
27632
27633 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27634 if needed for __stack_chk_guard.
27635
bc7e1c36
RM
276362011-09-19 Roland McGrath <roland@hack.frob.com>
27637
ecb1482f
RM
27638 * sysdeps/posix/spawni.c (script_execute): Always define it.
27639 It will be optimized away if unused.
27640 (maybe_script_execute): New function.
27641 (__spawni): Call it.
27642
bc7e1c36
RM
27643 * Makerules: Don't include tls.make.
27644 (config-tls): Always set to thread.
27645 * tls.make.c: File removed.
27646
1c3b002b
MF
276472011-09-19 Mike Frysinger <vapier@gentoo.org>
27648
27649 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27650 * config.make.in (CPPFLAGS-config): New substituted variable.
27651
2840865d
UD
276522011-09-15 Ulrich Drepper <drepper@gmail.com>
27653
88738eb6
UD
27654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27655
cbf645a6 27656 [BZ #13192]
2840865d
UD
27657 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27658 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27659
b402e91a
RM
276602011-09-15 Roland McGrath <roland@hack.frob.com>
27661
27662 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27663 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27665 (CALL_FAIL): Likewise.
27666 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27667 (CALL_FAIL): Macro removed.
27668 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27669
4c1a1f71
UD
276702011-09-15 Ulrich Drepper <drepper@gmail.com>
27671
27672 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27673 for __FINITE_MATH_ONLY__ == 1.
27674
edc121be
AS
276752011-09-15 Andreas Schwab <schwab@redhat.com>
27676
27677 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27678 __ieee754_sqrt instead of sqrt.
27679 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27680 __ieee754_sqrtf instead of sqrtf.
27681 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27682 __floorf instead of floorf.
27683 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27684 __floorf, __truncf instead of floorf, truncf.
27685
cd205654
UD
276862011-09-14 Ulrich Drepper <drepper@gmail.com>
27687
ee4d0315
UD
27688 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27689
cd205654
UD
27690 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27691 __extern_always_inline.
27692 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27693 32-bit.
27694
48b67d71
AS
276952011-09-14 Andreas Schwab <schwab@redhat.com>
27696
27697 * elf/rtld.c (dl_main): Also relocate in dependency order when
27698 doing symbol dependency testing.
27699
1ae12c75
AS
277002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27701
27702 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27703 Always define `refsym'.
27704
995a80df
AS
277052011-09-13 Andreas Schwab <schwab@redhat.com>
27706
e529793b
AS
27707 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27708 (__FD_ELT): Renamed from __FDELT.
27709 * misc/bits/select2.h (__FD_ELT): Likewise.
27710 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27711 __FD_MASK instead of __FDELT, __FDMASK.
27712 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27713 Likewise.
27714 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27715 Likewise.
27716
52d4fef8
AS
27717 * elf/Makefile (gen-ldd): Fix pattern.
27718
995a80df
AS
27719 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27720 (init_tls): Likewise.
27721
8682f8b0
UD
277222011-09-12 Ulrich Drepper <drepper@gmail.com>
27723
27724 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27725
de82006d
AS
277262011-09-12 Andreas Schwab <schwab@redhat.com>
27727
a7c8e6a1
AS
27728 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27729 `struct cmsghdr *' instead of `void *'.
27730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27731 Likewise.
27732
0f31fe77
AS
277332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27734
27735 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27736 if non-absolute.
27737 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27738 ldd_rewrite_script.
0f31fe77 27739
32b4c839
UD
277402011-09-11 Ulrich Drepper <drepper@gmail.com>
27741
83cd1420
UD
27742 * configure.in: Remove --with-tls option.
27743 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27744 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27745 out in case it is missing.
27746 * sysdeps/ia64/elf/configure.in: Likewise.
27747 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27748 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27749 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27750 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27751 * sysdeps/sh/elf/configure.in: Likewise.
27752 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27753 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27754 * sysdeps/x86_64/elf/configure.in: Likewise.
27755 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27756 * sysdeps/mach/hurd/tls.h: Likewise.
27757
633f745d
UD
27758 [BZ #13067]
27759 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27760
f318beb8
UD
27761 [BZ #13090]
27762 * configure.in: Fix use of AC_INIT.
27763
32b4c839
UD
27764 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27765
3ce1f295
UD
277662011-09-10 Ulrich Drepper <drepper@gmail.com>
27767
bb016596
UD
27768 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27769 __set_errno.
8e58439c
UD
27770 * malloc/hooks.c: Likewise.
27771
aebae053 27772 [BZ #11929]
02d46fc4
UD
27773 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27774 variables statically.
27775 (narenas): Initialize.
27776 (list_lock): Initialize.
bb016596
UD
27777 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27778 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27779 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27780 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27781 Add initializers to main_arena and mp_.
27782 (malloc_state): Remove pagesize member. Change all users to use
27783 GLRO(dl_pagesize).
27784
27785 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27786 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27787 is always initialized.
27788
22a89187
UD
27789 * malloc/malloc.c: Removed unused configurations and dead code.
27790 * malloc/arena.c: Likewise.
27791 * malloc/hooks.c: Likewise.
02d46fc4 27792 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27793
d063d164
UD
27794 * include/tls.h: Removed. USE___THREAD must always be defined.
27795 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27796 * elf/dl-libc.c: Likewise.
27797 * elf/dl-tsd.c: Likewise.
27798 * include/errno.h: Likewise.
27799 * include/netdb.h: Likewise.
27800 * include/resolv.h: Likewise.
27801 * inet/herrno-loc.c: Likewise.
27802 * inet/herrno.c: Likewise.
27803 * malloc/arena.c: Likewise.
27804 * malloc/hooks.c: Likewise.
27805 * malloc/malloc.c: Likewise.
27806 * resolv/res-state.c: Likewise.
27807 * resolv/res_libc.c: Likewise.
27808 * sysdeps/i386/dl-machine.h: Likewise.
27809 * sysdeps/ia64/dl-machine.h: Likewise.
27810 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27811 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27812 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27813 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27814 * sysdeps/sh/dl-machine.h: Likewise.
27815 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27816 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27817 * sysdeps/unix/i386/sysdep.S: Likewise.
27818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27819 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27824 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27825 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27826 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27829 * sysdeps/x86_64/dl-machine.h: Likewise.
27830 * tls.make.c: Likewise.
27831
3ce1f295
UD
27832 * configure.in: Remove --with-__thread option. Make tests for
27833 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27834 tls_model attribute fail if no support is available. Remove
27835 USE_IN_LIBIO.
27836 * Makeconfig: Adjust for dropped configure option. All features are
27837 now mandatory.
27838 * Makerules: Likewise.
27839 * Versions.def: Likewise.
27840 * argp/argp-fmtstream.c: Likewise.
27841 * argp/argp-fmtstream.h: Likewise.
27842 * argp/argp-help.c: Likewise.
27843 * assert/assert.c: Likewise.
27844 * config.h.in: Likewise.
27845 * config.make.in: Likewise.
27846 * configure: Likewise.
27847 * configure.in: Likewise.
27848 * csu/Versions: Likewise.
27849 * csu/init.c: Likewise.
27850 * elf/tst-audit2.c: Likewise.
27851 * elf/tst-tls10.c: Likewise.
27852 * elf/tst-tls10.h: Likewise.
27853 * elf/tst-tls11.c: Likewise.
27854 * elf/tst-tls12.c: Likewise.
27855 * elf/tst-tls14.c: Likewise.
27856 * elf/tst-tlsmod11.c: Likewise.
27857 * elf/tst-tlsmod12.c: Likewise.
27858 * elf/tst-tlsmod13.c: Likewise.
27859 * elf/tst-tlsmod13a.c: Likewise.
27860 * elf/tst-tlsmod14a.c: Likewise.
27861 * elf/tst-tlsmod15b.c: Likewise.
27862 * elf/tst-tlsmod16a.c: Likewise.
27863 * elf/tst-tlsmod16b.c: Likewise.
27864 * elf/tst-tlsmod7.c: Likewise.
27865 * elf/tst-tlsmod8.c: Likewise.
27866 * elf/tst-tlsmod9.c: Likewise.
27867 * gmon/gmon.c: Likewise.
27868 * grp/fgetgrent_r.c: Likewise.
27869 * grp/putgrent.c: Likewise.
27870 * hurd/fopenport.c: Likewise.
27871 * include/libc-symbols.h: Likewise.
27872 * include/tls.h: Likewise.
27873 * intl/gettextP.h: Likewise.
27874 * intl/loadinfo.h: Likewise.
27875 * locale/global-locale.c: Likewise.
27876 * locale/localeinfo.h: Likewise.
27877 * mach/devstream.c: Likewise.
27878 * malloc/arena.c: Likewise.
27879 * malloc/set-freeres.c: Likewise.
27880 * misc/err.c: Likewise.
27881 * misc/getttyent.c: Likewise.
27882 * misc/mntent_r.c: Likewise.
27883 * posix/getopt.c: Likewise.
27884 * posix/wordexp.c: Likewise.
27885 * pwd/fgetpwent_r.c: Likewise.
27886 * resolv/Versions: Likewise.
27887 * resolv/res_hconf.c: Likewise.
27888 * shadow/fgetspent_r.c: Likewise.
27889 * shadow/putspent.c: Likewise.
27890 * stdio-common/printf_fphex.c: Likewise.
27891 * stdio-common/tmpfile.c: Likewise.
27892 * stdlib/abort.c: Likewise.
27893 * stdlib/fmtmsg.c: Likewise.
27894 * sunrpc/auth_unix.c: Likewise.
27895 * sunrpc/clnt_perr.c: Likewise.
27896 * sunrpc/clnt_tcp.c: Likewise.
27897 * sunrpc/clnt_udp.c: Likewise.
27898 * sunrpc/clnt_unix.c: Likewise.
27899 * sunrpc/openchild.c: Likewise.
27900 * sunrpc/svc_simple.c: Likewise.
27901 * sunrpc/svc_tcp.c: Likewise.
27902 * sunrpc/svc_udp.c: Likewise.
27903 * sunrpc/svc_unix.c: Likewise.
27904 * sunrpc/xdr.c: Likewise.
27905 * sunrpc/xdr_array.c: Likewise.
27906 * sunrpc/xdr_rec.c: Likewise.
27907 * sunrpc/xdr_ref.c: Likewise.
27908 * sunrpc/xdr_stdio.c: Likewise.
27909
1248c1c4
PB
279102011-09-09 Ulrich Drepper <drepper@gmail.com>
27911
27912 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27913
279142011-07-03 Andreas Jaeger <aj@suse.de>
27915
27916 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27917 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27918 regenerate with gen-libm-tests.pl.
27919
279202010-05-12 Petr Baudis <pasky@suse.cz>
27921
27922 [BZ #11589]
27923 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27924 around j0() zero points by switching to j1().
27925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27929
f22e1074
UD
279302011-09-09 Ulrich Drepper <drepper@gmail.com>
27931
f19009c1
UD
27932 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27933 instead of 0.
27934 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27935 instead of 0.
f19009c1
UD
27936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27937 Patch in part by Pavel Roskin <proski@gnu.org>.
27938
3f8cc204
UD
27939 [BZ #13138]
27940 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27941 realloc.
27942 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27943 Free memory block if necessary.
27944
f22e1074
UD
27945 [BZ #12847]
27946 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27947 be NULL. Don't lock in this case.
27948
0a2349f9
RM
279492011-09-09 Roland McGrath <roland@hack.frob.com>
27950
27951 * elf/elf.h (ELFOSABI_GNU): New macro.
27952 (ELFOSABI_LINUX): Define to that.
27953
f3cdd467
DZ
279542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27955
27956 * string/strncat.c (strncat): Undef the symbol in case it has been
27957 defined in bits/string.h.
27958
74718d13
UD
279592011-09-09 Ulrich Drepper <drepper@gmail.com>
27960
633e9e0f
UD
27961 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27962
0a2349f9 27963 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27964 link map.
27965
f9924780
AJ
279662011-08-17 Andreas Jaeger <aj@suse.de>
27967
27968 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27969
7f5517aa
PP
279702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27971 Ian Lance Taylor <iant@google.com>
27972
27973 * math/libm-test.inc (lround_test): New testcase.
27974 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27975
762011fe
UD
279762011-09-08 Ulrich Drepper <drepper@gmail.com>
27977
92963737
UD
27978 * Makefile: Remove support for automatic cvs check-ins.
27979 * Makerules: Likewise.
27980 * config.make.in: Likewise.
27981 * configure.in: Likewise.
27982 * intl/Makefile: Likewise.
27983 * locale/Makefile: Likewise.
27984 * po/Makefile: Likewise.
27985 * posix/Makefile: Likewise.
27986 * sysdeps/gnu/Makefile: Likewise.
27987 * sysdeps/mach/hurd/Makefile: Likewise.
27988 * sysdeps/sparc/sparc32/Makefile: Likewise.
27989
b0727fd8
JS
27990 [BZ #13118]
27991 * posix/Makefile (bug-regex32-ENV): Define.
27992 Patch by John Stanley <jpsinthemix@verizon.net>.
27993
a0f33f99
UD
27994 * misc/Makefile (headers): Add bits/select2.h.
27995 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27996 * misc/bits/select2.h: New file.
27997 * include/bits/select2.h: New file.
27998 * debug/Makefile (routines): Add fdelt_chk.
27999 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28000 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28001 FD_ISSET.
28002 * debug/fdelt_chk.c: New file.
28003
762011fe
UD
28004 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28005 * wcsmbs/test-wmemcmp.c: Likewise.
28006 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28007 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28008
280092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28010
28011 * string/Makefile (strop-tests): Add memcmp.
28012 * string/test-wmemcmp.c: New file.
28013 * string/test-memcmp.c: Add wmemcmp support.
28014
7f513ec8
RM
280152011-09-08 Roland McGrath <roland@hack.frob.com>
28016
0442afb4
RM
28017 [BZ #13153]
28018 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28019 2011-07-19 change.
28020
7f513ec8
RM
28021 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28022 garbage value in a __mach_port_mod_refs call in the cases of the
28023 task-self and thread-self ports.
28024
a12b2239
ST
280252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28026
28027 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28028
610f9ab4
AS
280292011-09-08 Andreas Schwab <schwab@redhat.com>
28030
7f513ec8 28031 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28032
48882a1a
LD
280332011-09-07 Ulrich Drepper <drepper@gmail.com>
28034
b49865be
UD
28035 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28036
fdc86bc9
UD
28037 * elf/dl-libc.c (dlerror_run): Pass back error code from
28038 dl_catch_error.
28039
c966526a
UD
28040 [BZ #13123]
28041 * elf/dl-load.c (lose): Free l_origin if it is valid.
28042
48882a1a
LD
28043 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28044 names.
28045 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28050 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28051
77a2a8b4
AZ
280522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28053
28054 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28055 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28056 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28057 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28058 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28059 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28060 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28061 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28062 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28063 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28064
24f579d8
AM
280652011-08-15 Alan Modra <amodra@gmail.com>
28066
28067 [BZ #13092]
28068 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28069 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28070 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28071 ppc_mcount to static-only-routines.
28072 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28073 __mcount_internal.
28074 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28075 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28076
3d4837df
UD
280772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28078
28079 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28080 for finite and infinity parameters.
28081
22700377
WS
280822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28083
28084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28085 and add nop instructions for throughput optimization.
28086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28087
5025581e
WS
280882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28089
28090 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28091 aligned copy for power7 with vector-scalar instructions.
28092 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28093
08a300c9
L
280942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28095
28096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28097 AVX check.
28098
59178ef9
AS
280992011-09-07 Andreas Schwab <schwab@redhat.com>
28100
28101 [BZ #13144]
28102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28103 last change.
28104
e38ba7ab
UD
281052011-09-07 Ulrich Drepper <drepper@gmail.com>
28106
28107 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28108 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28109 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28110 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28111 clock_gettime.
28112
d53a73ac
UD
281132011-09-06 Ulrich Drepper <drepper@gmail.com>
28114
fc8bffcc
UD
28115 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28116 Forgot to demangle the pointer.
28117
ceaa0c5d
UD
28118 * sysdeps/i386/sysdep.h: Define atom_text_section.
28119 * sysdeps/x86_64/sysdep.h: Likewise.
28120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28121 section with atom_text_section.
28122 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28124 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28125 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28126 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28127
a77d3c17
UD
28128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28130 already be defined. Change to take two parameters and don't assign
28131 result to variable. Adjust all users.
28132 Define INTERNAL_GETTIME if not already defined.
28133 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28134 call.
28135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28136 HAVE_CLOCK_GETTIME_VSYSCALL.
28137 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28138
d53a73ac
UD
28139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28140 gettimeofday vsyscall, just use time.
28141
a8f84144
AS
281422011-09-06 Andreas Schwab <schwab@redhat.com>
28143
28144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28145 <errno.h>.
28146
ef606249
UD
281472011-09-06 Ulrich Drepper <drepper@gmail.com>
28148
28149 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28150 syscall on x86-64.
28151 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28152 syscall.
28153 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28155 syscall if possible.
28156
6585cb60
UD
281572011-09-05 Ulrich Drepper <drepper@gmail.com>
28158
28159 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28160 e_ident. Don't pass to find_mapsXX.
28161 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28162
a5f524e4
LD
281632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28164
28165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28166 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28167 * sysdeps/x86_64/multiarch/strchr.S: Update.
28168 Check bit_slow_BSF bit.
28169 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28170 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28171 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28172
554881ef
UD
281732011-09-05 Ulrich Drepper <drepper@gmail.com>
28174
d96de963
UD
28175 [BZ #13134]
28176 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28177 before glibc 2.15.
28178 (tryshell): Define.
28179 (__spawni): Change last parameter to be flag. Test
28180 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28181 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28182 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28183 * posix/spawni.c: Likewise.
28184 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28185 * posix/spawnp.c: Likewise. Change normal version to use
28186 SPAWN_XFLAGS_USE_PATH.
28187 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28188 SPAWN_XFLAGS_TRY_SHELL.
28189
d48e5868
UD
28190 [BZ #13150]
28191 * posix/glob.h: Remove gcc 1.x support.
28192
554881ef
UD
28193 [BZ #13068]
28194 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28195
693fb948
LD
281962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28197
28198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28199 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28200 strrchr-sse2-bsf
28201 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28202 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28203 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28204 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28205 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28207
1b48c537
UD
282082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28209
49d42c37
UD
28210 * sysdeps/x86_64/wcscmp.S: New file.
28211
1b48c537
UD
28212 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28213 wcscmp-c wcscmp-sse2
28214 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28215 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28216 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28217 * wcsmbs/wcscmp.c: Allow renaming.
28218
15c95c5d
DM
282192011-09-05 David S. Miller <davem@davemloft.net>
28220
28221 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28222 stack slot, rather than the struct return pointer slot.
28223 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28224 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28226 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28227
2f0ad8f3
UD
282282011-09-05 Ulrich Drepper <drepper@gmail.com>
28229
d88ae418
UD
28230 * po/ja.po: Update from translation team.
28231
2f0ad8f3
UD
28232 [BZ #13144]
28233 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28234 kernel in 64-bit binaries.
28235
5f4318d1
DM
282362011-09-01 David S. Miller <davem@davemloft.net>
28237
28238 * elf/elf.h (HWCAP_SPARC_*): Move to..
28239 * sysdeps/sparc/sysdep.h: this new file and add new values.
28240 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28241 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28242 _DL_HWCAP_COUNT to 24.
28243 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28244 entries.
28245 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28246 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28247 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28248 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28249 instead of magic constants.
28250 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28251
3ba57516
DM
282522011-08-31 David S. Miller <davem@davemloft.net>
28253
28254 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28256 Reimplement to do errno handling inline.
28257 (SYSCALL_ERROR_HANDLER): New macro.
28258 (__SYSCALL_STRING): Do not do errno handling in asm.
28259 (__CLONE_SYSCALL_STRING): Delete.
28260 (__INTERNAL_SYSCALL_STRING): Delete.
28261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28262 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28263 (PSEUDO): Reimplement to do errno handling inline.
28264 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28265 (SYSCALL_ERROR_HANDLER): New macro.
28266 (__SYSCALL_STRING): Do not do errno handling in asm.
28267 (__CLONE_SYSCALL_STRING): Delete.
28268 (__INTERNAL_SYSCALL_STRING): Delete.
28269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28270 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28271 i386.
28272 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28273 (inline_syscall*): Add 'err' argument.
28274 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28275 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28276 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28277 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28278
28279 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28280 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28281
2bc17433
AS
282822011-08-30 Andreas Schwab <schwab@redhat.com>
28283
28284 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28285
fbeb5f4d
JO
282862011-08-29 Jiri Olsa <jolsa@redhat.com>
28287
28288 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28289 directive.
28290
ad69cc26
DM
282912011-08-24 David S. Miller <davem@davemloft.net>
28292
28293 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28294
39dd69df
AS
282952011-08-24 Andreas Schwab <schwab@redhat.com>
28296
28297 * elf/Makefile: Add rules to build and run unload8 test.
28298 * elf/unload8.c: New file.
28299 * elf/unload8mod1.c: New file.
28300 * elf/unload8mod1x.c: New file.
28301 * elf/unload8mod2.c: New file.
28302 * elf/unload8mod3.c: New file.
28303
28304 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28305 it wasn't used.
28306
2c0b250a
DM
283072011-08-23 David S. Miller <davem@davemloft.net>
28308
28309 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28310 subtract stack bias.
28311 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28312 %sp not %fp in calculations.
28313 (_JMPBUF_UNWINDS_ADJ): Likewise.
28314
22044b48
DM
28315 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28316 (aio_suspend): Call it to force an exception region around the
28317 AIO_MISC_WAIT() invocation.
28318
2cae4995
AS
283192011-08-23 Andreas Schwab <schwab@redhat.com>
28320
28321 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28322 backslash.
28323
873a772e
AJ
283242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28325
28326 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28327 protection macro.
28328 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28329 and <dl-machine.h>.
28330 (Elf64_FuncDesc): Remove.
28331
25ad0df1
DM
283322011-08-22 David S. Miller <davem@davemloft.net>
28333
28334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28335 sigaltstack check, add missing cfi directives.
28336 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28337 missing cfi directives, and sigaltstack handling.
28338
e888bcbe
AS
283392011-08-16 Andreas Schwab <schwab@redhat.com>
28340
28341 [BZ #11724]
28342 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28343 object is seen twice.
28344 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28345
28346 * elf/Makefile (distribute): Add tst-initorder2.c.
28347 (tests): Add tst-initorder2.
28348 (modules-names): Add tst-initorder2a tst-initorder2b
28349 tst-initorder2c tst-initorder2d. Add rules to build them.
28350 ($(objpfx)tst-initorder2.out): New rule.
28351 * elf/tst-initorder2.c: New file.
28352 * elf/tst-initorder2.exp: New file.
28353
87162f46
AS
283542011-08-22 Andreas Schwab <schwab@redhat.com>
28355
70538b7f
AS
28356 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28357
f55ffe58
AS
28358 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28359 dependencies back to end of function.
28360
87162f46
AS
28361 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28362 $(elfobjdir)/ld.so.
28363
91b392a4
UD
283642011-08-21 Ulrich Drepper <drepper@gmail.com>
28365
28366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28367 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28369 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28370 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28371 of __vdso_gettimeofday.
28372 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28373 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28374 attribute_hidden.
28375 (_libc_vdso_platform_setup): Remove initialization of
28376 __vdso_gettimeofday and __vdso_time.
28377
5c43483f
UD
283782011-08-20 Ulrich Drepper <drepper@gmail.com>
28379
775a77e7
UD
28380 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28381 and fgetc_unlocked.
28382 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28383 getc_unlocked.
89f447ed 28384
49c74ba9
UD
28385 * elf/dl-open.c (add_to_global): Report additions to the global scope
28386 for LD_DEBUG=scopes.
28387 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28388 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28389
5c43483f
UD
28390 [BZ #13114]
28391 * stdio-common/Makefile (tests): Add bug24.
28392 * stdio-common/bug24.c: New file.
28393
a101b025
AJ
283942011-08-19 Andreas Jaeger <aj@suse.de>
28395
28396 [BZ #13114]
28397 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28398 non-existant file when using close-on-exec mode.
28399
c88f1766
UD
284002011-08-20 Ulrich Drepper <drepper@gmail.com>
28401
0276a718
UD
28402 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28403 the very first instruction.
28404
c88f1766
UD
28405 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28406 the CFI state in the end.
28407 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28408 inclusion of dl-trampoline.h.
28409 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28410
51ccffa0
AS
284112011-08-19 Andreas Schwab <schwab@redhat.com>
28412
94d7165f
AS
28413 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28414 expectations for long double.
28415
51ccffa0
AS
28416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28417 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28418
fd708658 284192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28420
28421 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28422 artificual limit depends upon the system page size.
28423
44f0a71e
UD
284242011-08-17 Ulrich Drepper <drepper@gmail.com>
28425
28426 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28427 * resolv/Makefile: Define CFLAGS-libresolv.
28428
8de79a24
AS
284292011-08-17 Andreas Schwab <schwab@redhat.com>
28430
28431 * nss/makedb.c (compute_tables): Make variables used in nested
28432 function static.
28433
27724598
UD
284342011-08-17 Ulrich Drepper <drepper@gmail.com>
28435
c5305d88
UD
28436 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28437 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28438 if buffer was too small.
28439
27724598
UD
28440 * elf/pldd.c (main): Attach to all threads in the process.
28441 Rewrite /proc handling to use *at functions.
28442
076fe015
UD
284432011-08-16 Ulrich Drepper <drepper@gmail.com>
28444
174baab3
UD
28445 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28446 specifies first scope to show.
28447 (dl_open_worker): Update callers. Move printing scope of new
28448 object to before the relocation.
44f0a71e 28449 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28450 * sysdeps/generic/ldsodefs.h: Update declaration.
28451
076fe015
UD
28452 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28453 string for the scope number.
28454
a60df2c3
UD
284552011-08-14 Ulrich Drepper <drepper@gmail.com>
28456
28457 * nscd/servicescache.c (cache_addserv): Make sure written is always
28458 initialized.
28459
5e4287d1
RM
284602011-08-14 Roland McGrath <roland@hack.frob.com>
28461
85ae0589
RM
28462 * sysdeps/i386/i486/bits/atomic.h
28463 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28464 statement expression, so as to suppress "set but not used" warning.
28465 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28466
69f63097
RM
28467 * string/strncat.c (STRNCAT): Use prototype definition.
28468
675456ef
RM
28469 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28470 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28471 -Iprograms here.
28472 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28473 (localedef-modules): Add localedef.
28474 (locale-modules): Add locale.
28475
5e4287d1
RM
28476 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28477 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28478 to avoid a warning.
28479
9c96ff23
DM
284802011-08-14 David S. Miller <davem@davemloft.net>
28481
28482 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28483 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28484
f9ddf089
UD
284852011-08-13 Ulrich Drepper <drepper@gmail.com>
28486
44f0a71e 28487 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28488 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28489 * elf/rtld.c (dl_main): Set l_name of vDSO.
28490 Call _dl_show_scope when DL_DEBUG_SCOPES.
28491 (process_dl_debug): Recognize scopes flag and also set it for all.
28492 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28493 Declare _dl_show_scope.
28494
1dc27704
UD
28495 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28496 (do_dlopen): Pass caller_dlopen to dl_open.
28497 (__libc_dlopen_mode): Initialize caller_dlopen.
28498
f9ddf089
UD
28499 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28500 of libc. Make tolower call locale-independent. Optimize a bit by
28501 using isdigit instead of isalnum.
28502 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28503
9ac533d3
UD
285042011-08-12 Ulrich Drepper <drepper@gmail.com>
28505
28506 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28507 was a dependency or dynamically loaded.
28508
89edf2e9
UD
285092011-08-11 Ulrich Drepper <drepper@gmail.com>
28510
8e999d29
UD
28511 * intl/l10nflist.c: Allow architecture-specific pop function.
28512 * sysdeps/x86_64/l10nflist.c: New file.
28513
89edf2e9
UD
28514 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28515 classification.
28516
14d96785
AS
285172011-08-10 Andreas Schwab <schwab@redhat.com>
28518
28519 * include/dirent.h: Add libc_hidden_proto for scandirat and
28520 scandirat64. Don't declare __scandirat64.
28521 * dirent/scandirat.c: Add libc_hidden_def.
28522 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28523 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28524
6761ac04
DM
285252011-08-10 David S. Miller <davem@davemloft.net>
28526
28527 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28528 enum.
28529 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28532
c55fbd1e
UD
285332011-08-09 Ulrich Drepper <drepper@gmail.com>
28534
28535 * Versions.def [libc]: Add GLIBC_2.15.
28536 * dirent/Makefile (routines): Add scandirat and scandirat64.
28537 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28538 GLIBC_2.15.
28539 * dirent/dirent.h: Declare scandirat and scandirat64.
28540 * dirent/scandirat.c: New file.
28541 * dirent/scandirat64.c: New file.
28542 * sysdeps/wordsize-64/scandirat.c: New file.
28543 * sysdeps/wordsize-64/scandirat64.c: New file.
28544 * dirent/opendir.c: Define opendirat.
28545 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28546 using scandirat.
28547 * dirent/scandir64.c: Adjust for scandir.c change.
28548 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28549 __scandirat64, and __scandir_cancel_handler.
28550 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28551 additional parameter and use openat instead of open (outside of ld.so).
28552 Add new __opendir as wrapper around __opendirat.
28553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28554 here without requiring old scandirat implementation.
28555
879165f2
UD
285562011-08-08 Ulrich Drepper <drepper@gmail.com>
28557
28558 * dirent/scandir.c (cancel_handler): Renamed to
28559 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28560 defined. Adjust users.
28561 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28563
cb7e923b
UD
285642011-08-04 Ulrich Drepper <drepper@gmail.com>
28565
16292edd
UD
28566 * string/test-string.h (IMPL): Use __STRING to expand name and then
28567 stringify it.
28568
cb7e923b
UD
28569 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28570 of cleanups.
28571
cff82933
LD
285722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28573
28574 * string/Makefile: Update.
28575 (strop-tests): Append strncat.
28576 * string/test-wcscmp.c: New file.
28577 New comprehensive test for wcscmp.
28578 * string/test-strcmp.c: Update.
28579 (WIDE): New define.
28580
9be9bfcc
AS
285812011-07-22 Andreas Schwab <schwab@redhat.com>
28582
28583 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28584 line.
28585
2e96f1c7
AS
285862011-07-26 Andreas Schwab <schwab@redhat.com>
28587
28588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28589 encoding to ACE if AI_IDN.
28590
85188888
JJ
285912011-08-01 Jakub Jelinek <jakub@redhat.com>
28592
28593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28594 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28595
5fa16e9b
LD
285962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28597
28598 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28599 Fix overflow bug in strncat.
28600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28601
28602 * string/test-strncat.c: Update.
28603 Add new tests for checking overflow bugs.
28604
286052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28606
28607 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28608 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28609 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28610 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28611 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28612 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28613 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28614 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28615 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28616
28617 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28618 (USE_AS_STRCAT): Define.
28619 Add strcat and strncat support.
28620 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28621
8c1a459f
AS
286222011-07-25 Andreas Schwab <schwab@redhat.com>
28623
28624 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28625 __n bigger than INT_MAX+1.
28626 (__strncmp_g): Likewise.
28627
bba33c28
UD
286282011-07-23 Ulrich Drepper <drepper@gmail.com>
28629
798be72d
UD
28630 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28631 * libio/stido.h: Likewise.
28632
8accd4dc
UD
28633 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28634 (AF_NFC): Define.
28635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28636 (AF_NFC): Define.
28637
cbff0d96
UD
28638 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28640 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28641 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28642 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28643
9191c04a
UD
28644 [BZ #13021]
28645 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28646 installed.
28647
bba33c28
UD
28648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28649 typo.
28650 (_dl_x86_64_save_sse): Likewise.
28651
90f139dd
UD
286522011-07-22 Ulrich Drepper <drepper@gmail.com>
28653
1aae088a
UD
28654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28655 OSXSAVE.
28656 (_dl_x86_64_save_sse): Likewise.
28657
8e2045f5
UD
28658 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28659
90f139dd
UD
28660 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28661
1d002f25
AS
286622011-07-21 Andreas Schwab <schwab@redhat.com>
28663
28664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28665 change.
28666 (_dl_x86_64_save_sse): Use correct AVX check.
28667
21137f89
UD
286682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28669
28670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28671 bug in strncpy/strncat.
28672 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28673
a65c0b7a
UD
286742011-07-21 Ulrich Drepper <drepper@gmail.com>
28675
28676 * string/tester.c (test_strcat): Add tests for different alignments
28677 of source and destination.
28678 (test_strncat): Likewise.
28679
6986b98a
UD
286802011-07-20 Ulrich Drepper <drepper@gmail.com>
28681
90bb2039
UD
28682 [BZ #12852]
28683 * posix/glob.c (glob): Check passed in values before using them in
28684 expressions to avoid some overflows.
28685 (glob_in_dir): Likewise.
28686
5644ef54
UD
28687 [BZ #13007]
28688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28689 check for AVX enablement so that we don't crash with old kernels and
28690 new hardware.
28691 * elf/tst-audit4.c: Add same checks here.
28692 * elf/tst-audit6.c: Likewise.
28693
28694 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28695
bfc9dc9b
AS
286962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28697
28698 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28699
702e64bb
UD
287002011-07-20 Ulrich Drepper <drepper@gmail.com>
28701
28702 * po/cs.po: Update from translation team.
28703 * po/bg.po: Likewise.
28704
295e904f
MP
287052011-07-12 Marek Polacek <mpolacek@redhat.com>
28706
28707 * misc/sys/cdefs.h: Add support for const attribute.
28708 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28709 to gnu_dev_{major,minor,makedev} functions.
28710
3ff94596
MP
287112011-07-20 Marek Polacek <mpolacek@redhat.com>
28712
28713 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28714
28b59fca
AS
287152011-07-20 Andreas Schwab <schwab@redhat.com>
28716
28717 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28718 strlen results.
28719
19df733e
AK
287202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28721
28722 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28723 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28724 register in order to avoid conflicts with the soft frame pointer
28725 being held in r11 when necessary.
28726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28727 (INTERNAL_VSYSCALL_NCS): Likewise.
28728
c8835729
MP
287292011-07-14 Marek Polacek <mpolacek@redhat.com>
28730
28731 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28732 * elf/dl-fini.c (_dl_fini): Adjust caller.
28733 * elf/dl-close.c (_dl_close_worker): Likewise.
28734 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28735
b902330c
MP
287362011-07-15 Marek Polacek <mpolacek@redhat.com>
28737
8991e135
MP
28738 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28739 "aux_cache->nlibs < 0".
28740
b902330c
MP
28741 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28742 in the reload-count case.
28743
99710781
LD
287442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28745
28746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28747 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28748 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28749 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28750 * sysdeps/x86_64/multiarch/strcat.S: New file.
28751 * sysdeps/x86_64/multiarch/strncat.S: New file.
28752 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28753 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28754 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28755 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28756 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28757 (USE_AS_STRCAT): Define.
28758 Add strcat and strncat support.
28759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28760 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28761 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28762 * string/strncat.c: Update.
28763 (USE_AS_STRNCAT): Define.
28764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28765 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28766 and i7.
28767 * sysdeps/x86_64/multiarch/init-arch.h
28768 (bit_Prefer_PMINUB_for_stringop): New.
28769 (index_Prefer_PMINUB_for_stringop): Likewise.
28770 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28771 bit_Prefer_PMINUB_for_stringop.
28772
7dc6bd90
UD
287732011-07-19 Ulrich Drepper <drepper@gmail.com>
28774
28775 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28776 buffer64.
28777 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28778 of casting of buffer.
28779 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28780 buffer32 and buffer64.
28781 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28782 writes instead of casting of buffer.
28783 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28784 buffer32.
28785 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28786 casting of buffer.
28787
e0e72284
AS
287882011-07-19 Andreas Schwab <schwab@redhat.com>
28789
28790 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28791
feb1eb0b
UD
287922011-07-19 Ulrich Drepper <drepper@gmail.com>
28793
28794 * nscd/nscd.c (termination_handler): Don't do anything for a database
28795 if it has not yet been initialized.
28796
298711ff
UD
287972011-07-18 Ulrich Drepper <drepper@gmail.com>
28798
28799 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28800
288012011-07-15 Marek Polacek <mpolacek@redhat.com>
28802
28803 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28804
f9d68389
UD
288052011-07-18 Ulrich Drepper <drepper@gmail.com>
28806
28807 * po/nl.po: Update from translation team.
28808 * po/sv.po: Likewise.
28809
db290cf5
RM
288102011-07-16 Roland McGrath <roland@hack.frob.com>
28811
28812 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28813 now disallowed by GCC.
5c550700 28814
fd5e21c7
RM
28815 * configure.in (use-default-link): Default to yes if a test -shared
28816 link meets our qualifications.
28817 * configure: Regenerated.
28818
5c550700
RM
28819 * config.make.in (output-format): New variable.
28820 * configure.in: Check for ld --print-output-format support.
28821 * configure: Regenerated.
28822 * Makerules ($(common-objpfx)format.lds)
28823 [$(output-format) != unknown]: Just use $(output-format),
28824 instead of the linker-script munging.
28825
9fa2c032
RM
288262011-07-14 Roland McGrath <roland@hack.frob.com>
28827
a6928d51
RM
28828 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28829 of $(common-objpfx)shlib.lds.
28830 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28831
661607b3
RM
28832 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28833 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28834
9fa2c032
RM
28835 * configure.in (-z relro check): Adjust test code to add a large
28836 writable data section after it.
28837 * configure: Regenerated.
28838
defe9061
RM
288392011-07-11 Roland McGrath <roland@hack.frob.com>
28840
28841 * configure.in (-z relro check): Fix test code to make the variable
28842 truly const.
28843 * configure: Regenerated.
28844
319b9ad4
UD
288452011-07-11 Ulrich Drepper <drepper@gmail.com>
28846
28847 * nscd/nscd.h (struct traced_file): Define.
28848 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28849 elements. Add traced_files.
28850 (inotify_fd): Declare.
28851 (register_traced_file): Declare.
28852 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28853 (inotify_fd): Export.
28854 (resolv_conf_descr): Remove.
28855 (nscd_init): Move inotify descriptor creation to main.
28856 Don't register files for notification here.
28857 (register_traced_file): New function.
28858 (invalidate_cache): Don't use reset_res to determine whether to call
28859 res_init, go through the list of registered files.
28860 (main_loop_poll): The inotify descriptors are now stored in the
28861 structures for the traced files.
28862 (main_loop_epoll): Likewise
28863 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28864 to __nss_disable_nscd.
28865 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28866 for a database anymore. Check the records for all the registered
28867 files instead.
28868 * nss/Makefile (libnss_files-routines): Add files-init.
28869 (libnss_db-routines): Add db-init.
28870 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28871 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28872 * nss/nss_db/db-init.c: New file.
28873 * nss/nss_files/files-init.c: New file.
28874 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28875 __nss_lookup_function.
28876 (__nss_lookup_function): Call nss_load_library.
28877 (nss_load_all_libraries): New function.
28878 (__nss_disable_nscd): Take parameter with callback function for files
28879 to register. Set is_nscd. Load all the DSOs for the NSS modules
28880 used for the cached services.
28881 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28882 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28883 options for features to all the files in nscd.
28884
28885 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28886
23bee3e8
RM
288872011-07-10 Roland McGrath <roland@hack.frob.com>
28888
28889 * csu/elf-init.c (__libc_csu_init): Comment typo.
28890
46a5b7f0
UD
288912011-07-09 Ulrich Drepper <drepper@gmail.com>
28892
28893 * po/pl.po: Update from translation team.
28894 * po/ja.po: Likewise.
28895 * po/ru.po: Likewise.
28896 * po/ko.po: Likewise.
28897 * po/fr.po: Likewise.
28898
d30cf5bb
RM
288992011-07-09 Roland McGrath <roland@hack.frob.com>
28900
113ddea4
RM
28901 * configure.in (.ctors/.dtors header and trailer check):
28902 Use an empirical test on a built program.
28903 * configure: Regenerated.
28904
574920b4
RM
28905 * configure.in (-z relro check): Use an empirical test on a built DSO.
28906 Detect, but do not require, on ia64.
28907 * configure: Regenerated.
28908
d30cf5bb
RM
28909 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28910 Update tests that use readelf to use $READELF instead.
28911 * configure: Regenerated.
28912
8538fdb3
UD
289132011-07-08 Ulrich Drepper <drepper@gmail.com>
28914
28915 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28916 if the result is not used.
28917
04d08991
AJ
289182011-07-05 Andreas Jaeger <aj@suse.de>
28919
28920 [BZ#9696]
28921 * stdlib/tst-strtod.c: Add testcase.
28922
de283087
AD
289232011-07-07 Ulrich Drepper <drepper@gmail.com>
28924
4e5f31c8 28925 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28926 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28927 The latter has a higher limit. Take additional parameter to pass to
28928 the new function.
28929 (__pathconf): Pass file to __statfs_link_max.
28930 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28931 __statfs_link_max.
28932 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28933 __statfs_link_max.
28934
de283087
AD
28935 [BZ #12868]
28936 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28938 Handle Lustre.
28939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28940 (__statfs_filesize_max): Likewise.
28941 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28942
c75fa153
AJ
289432011-07-05 Andreas Jaeger <aj@suse.de>
28944
28945 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28946
1a544854
UD
289472011-07-06 Marek Polacek <mpolacek@redhat.com>
28948
28949 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28950 `status' variable.
28951 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28952 Likewise.
28953
6f0eec67
UD
289542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 * Makefile (strop-tests): Add strncat.
28957 * string/test-strncat.c: New file.
28958
aae30307
UD
289592011-06-30 Marek Polacek <mpolacek@redhat.com>
28960
28961 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28962
c0cfb5eb
UD
289632011-06-21 Andreas Jaeger <aj@suse.de>
28964
28965 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28966 Copy rule from iconvdata/Makefile.
28967
01636b21
UD
289682011-07-06 Ulrich Drepper <drepper@gmail.com>
28969
28970 [BZ #12922]
28971 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28972 but no long options are defined, just return 'W'.
28973
9895c8bc
UD
289742011-06-22 Marek Polacek <mpolacek@redhat.com>
28975
28976 [BZ #9696]
28977 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28978
5d4cf042
UD
289792011-07-06 Ulrich Drepper <drepper@gmail.com>
28980
28981 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28982 netgroups to read.
960e5535 28983 (innetgr): Likewise.
5d4cf042 28984
751eb97e
RM
289852011-07-05 Roland McGrath <roland@hack.frob.com>
28986
28987 * config.make.in (install_root): Default to $(DESTDIR).
28988
f15f1e45
UD
289892011-07-05 Ulrich Drepper <drepper@gmail.com>
28990
28991 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28992
4e34ac6a
RM
289932011-07-02 Roland McGrath <roland@hack.frob.com>
28994
5e9b6af4
RM
28995 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28996
84f9ea0f
RM
28997 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28998 containing directory rather than embedding absolute directory names.
28999
ea5ee9f7
RM
29000 * scripts/check-local-headers.sh: Rewritten using awk.
29001 Match by word, not by line. Print error messages for matches.
29002 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29003
1b74661a
RM
29004 * Makerules [shlib-lds-flags empty]:
29005 ($(common-objpfx)libc_pic.opts): New target.
29006 ($(common-objpfx)libc_pic.os.clean): New target.
29007 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29008
29009 * config.make.in (OBJCOPY): New variable.
29010 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29011 * configure: Regenerated.
29012
f781ef40
RM
29013 * config.make.in (use-default-link): New variable.
29014 * configure.in (use_default_link): Grok --with-default-link to set it.
29015 * configure: Regenerated.
29016 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29017 (shlib-lds, shlib-lds-flags): Define to empty.
29018
2d4fa81e
RM
29019 * Makerules (shlib-lds): New variable.
29020 (shlib-lds-flags): New variable.
29021 (build-shlib, build-moduile, build-module-asneeded): Use it.
29022 ($(common-objpfx)libc.so): Use $(shlib-lds).
29023 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29024 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29025
31fffa6b
RM
29026 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29027 DT_FLAGS/DT_FLAGS_1 with zero flags.
29028
4e34ac6a
RM
29029 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29030 linker script munging.
29031
fcfc776b
UD
290322011-07-02 Ulrich Drepper <drepper@gmail.com>
29033
29034 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29035 as 128-bit value.
29036 * crypt/sha512.c (sha512_process_block): Perform total addition using
29037 128-bit if possible.
29038 (__sha512_finish_ctx): Likewise.
29039 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29040 as 64-bit value.
29041 * crypt/sha256.c (SWAP64): Define.
29042 (sha256_process_block): Perform total addition using 64-bit if
29043 possible.
29044 (__sha256_finish_ctx): Likewise.
29045
99231d9a
UD
290462011-07-01 Ulrich Drepper <drepper@gmail.com>
29047
29048 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29050 * nscd/hstcache.c (cache_addhst): Likewise.
29051 * nscd/grpcache.c (cache_addgr): Likewise.
29052 * nscd/aicache.c (addhstaiX): Likewise
29053 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29054
445b4a53
TK
290552011-07-01 Thorsten Kukuk <kukuk@suse.de>
29056
29057 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29059 * nscd/hstcache.c (cache_addhst): Likewise.
29060 * nscd/grpcache.c (cache_addgr): Likewise.
29061 * nscd/aicache.c (addhstaiX): Likewise
29062
6d4d8e8e
AS
290632011-07-01 Andreas Schwab <schwab@redhat.com>
29064
29065 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29066 domain only when needed.
29067
89f654c5
AS
290682011-06-30 Andreas Schwab <schwab@redhat.com>
29069
29070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29071 is always restored.
29072
cf3b23ff
UD
290732011-06-29 Ulrich Drepper <drepper@gmail.com>
29074
29075 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29076 are re-adding the entry.
29077 * nscd/servicescache.c (cache_addserv): Likewise.
29078
751626f9
AJ
290792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29080
29081 * sysdeps/generic/dl-irel.h: fix protection against multiple
29082 inclusions.
29083 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29084
9113ea1f
UD
290852011-06-28 Ulrich Drepper <drepper@gmail.com>
29086
5c0b8d90
UD
29087 [BZ #12935]
29088 * malloc/memusage.sh: Fix quoting in message.
29089 * debug/xtrace.sh: Likewise.
29090
9113ea1f
UD
29091 * configure.in: Remove support for --experimental-malloc option, make
29092 it the default.
29093 * config.make.in: Likewise.
29094 * malloc/Makefile: Likewise.
29095
a4172181
AS
290962011-06-27 Andreas Schwab <schwab@redhat.com>
29097
29098 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29099 two-byte characters.
29100
78a7eee7
RM
291012011-06-27 Roland McGrath <roland@hack.frob.com>
29102
62bede13
RM
29103 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29104 AC_CACHE_CHECK invocation.
29105 * configure: Regenerated.
29106
78a7eee7
RM
29107 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29108
5ce33a62
UD
291092011-06-27 Ulrich Drepper <drepper@gmail.com>
29110
034807a9
UD
29111 [BZ #12350]
29112 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29113 bit from old_res_options.
29114
4902da17
UD
29115 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29116
5ce33a62
UD
29117 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29118 value type for setfct.
29119
c2344f56
L
291202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29121
29122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29123 __gettimeofday instead of gettimeofday.
29124
68468076
UD
291252011-06-26 Ulrich Drepper <drepper@gmail.com>
29126
29127 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29128
acb0d739
L
291292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29130
29131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29132
29133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29134 info.
29135
8912479f
L
291362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29139 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29140 strcpy-sse2-unaligned strncpy-sse2-unaligned
29141 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29142 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29143 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29144 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29145 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29146 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29148 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29149 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29150 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29151 (STRCPY): Support SSE2 and SSSE3 versions.
29152
d5495a11
UD
291532011-06-24 Ulrich Drepper <drepper@gmail.com>
29154
29155 [BZ #12874]
29156 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29157 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29158 kernels which artificially limit size of requests.
29159
0b1cbaae
L
291602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29163 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29164 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29165 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29166 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29167 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29168 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29169 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29172 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29173 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29174 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29175 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29176 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29177 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29178 Enable unaligned load optimization for Intel Core i3, i5 and i7
29179 processors.
29180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29181 Define.
29182 (index_Fast_Unaligned_Load): Define.
29183 (HAS_FAST_UNALIGNED_LOAD): Define.
29184
07f494a0
MP
291852011-06-23 Marek Polacek <mpolacek@redhat.com>
29186
29187 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29188
fa3fc0fe
UD
291892011-06-22 Ulrich Drepper <drepper@gmail.com>
29190
29191 [BZ #12907]
29192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29193 until it is clear that the information is realy needed.
29194 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29195
e12df166
AS
291962011-06-22 Andreas Schwab <schwab@redhat.com>
29197
29198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29199
852eb34d
UD
292002011-06-22 Ulrich Drepper <drepper@gmail.com>
29201
84e2a551
UD
29202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29203 /sys/devices/system/cpu/online if it is usable.
29204
852eb34d
UD
29205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29206 reading the information from the /proc filesystem to once a second.
29207
6e502e19
UD
292082011-06-21 Andreas Jaeger <aj@suse.de>
29209
29210 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29211 NULL after inclusion of kernel headers.
29212
75d39ff2
UD
292132011-06-21 Ulrich Drepper <drepper@gmail.com>
29214
51f9aa6a
UD
29215 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29216 calls to internal_setent.
29217
c0244a9d
UD
29218 [BZ #12885]
29219 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29220 addresses using gethostbyname4_r ignore IPv4 addresses.
29221
c5e3c2ae
UD
29222 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29223 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29224
75d39ff2
UD
29225 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29226
42675c6f
DM
292272011-06-20 David S. Miller <davem@davemloft.net>
29228
29229 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29230 inclusions.
29231 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29232
29233 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29234 (elf_irel): Use it.
29235 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29236 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29237 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29238 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29239 * sysdeps/x86_64/dl-irel.h: Likewise.
29240
29241 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29242 * elf/dl-sym.c: Likewise.
29243
57912a71
UD
292442011-06-15 Ulrich Drepper <drepper@gmail.com>
29245
29246 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29247 need to dereference resplen2.
29248
ee22793d
AS
292492011-06-14 Andreas Schwab <schwab@redhat.com>
29250
29251 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29252
a9e836b0
UD
292532011-06-15 Ulrich Drepper <drepper@gmail.com>
29254
77fb9117
UD
29255 * Makeconfig: Define vardbdir and inst_vardbdir.
29256 * nss/Makefile: Add rules to install db-Makefile.
29257
40c1b22c
UD
29258 * nss/nss_db/db-XXX.c: Cleanup.
29259
9f2da732
UD
29260 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29261 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29262 GLIBC_PRIVATE.
29263 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29264 * nss/makedb.c: Implement -g option to specify that value strings
29265 are generated and should not be added to table iterated over for
29266 get*ent calls.
29267 * nss/nss_db/db-initgroups.c: New file.
29268
82e9a1f7
UD
29269 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29270 interface.
29271
c41af17e
UD
29272 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29273 (internal_getgrouplist): Adjust to name change.
29274 Update use_initgroups_entry if this is not the first call.
29275 * nss/databases.def: Add initgroups entry.
29276
a9e836b0
UD
29277 * nss/makedb.c (compute_tables): Check result of multiple hash table
29278 sizes to minimize maximum chain length.
29279
2666d441
UD
292802011-06-14 Ulrich Drepper <drepper@gmail.com>
29281
29282 * Versions.def: Add entry for libnss_db.
29283 * shlib-versions: Likewise.
29284 * nss/Makefile: Add rules to build libnss_db.
29285 * nss/Versions: Add libnss_db information. Organize libnss_files
29286 entries better.
29287 * nss/db-Makefile: Add gshadow support. Change rules for the new
29288 makedb progra. Some minor improvements to generate smaller files.
29289 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29290 here from...
29291 * nss/makedb.c: ...here.
29292 Improve database format to be smaller and require less memory at
29293 runtime.
29294 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29295 db anymore.
29296 * nss/nss_db/db-netgrp.c: Likewise.
29297 * nss/nss_db/db-open.c: Likewise.
29298 * nss/nss_files/flies-XXX.x: Adjust comments.
29299 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29300 * nss/nss_files/files-grp.c: Likewise.
29301 * nss/nss_files/files-hosts.c: Likewise.
29302 * nss/nss_files/files-network.c: Likewise.
29303 * nss/nss_files/files-proto.c: Likewise.
29304 * nss/nss_files/files-pwd.c: Likewise.
29305 * nss/nss_files/files-rpc.c: Likewise.
29306 * nss/nss_files/files-service.c: Likewise.
29307 * nss/nss_files/files-sgrp.c: Likewise.
29308 * nss/nss_files/files-spwd.c: Likewise.
29309 * nss/nss_db/db-alias.c: Removed.
29310 * nss/nss_db/dummy-db.h: Removed.
29311
9ee76b5a
UD
293122011-06-02 Ulrich Drepper <drepper@gmail.com>
29313
29314 * nss/makedb.c: Rewritten to not use database library.
29315 * nss/Makefile: Update to build new makedb program.
29316
c71ca1f8
AJ
293172011-06-14 Andreas Jaeger <aj@suse.de>
29318
29319 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29320 memset declaration.
29321
3154bfb8
UD
293222011-06-10 Andreas Schwab <schwab@redhat.com>
29323
29324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29325 tmpbuf.
29326
b350afab
RM
293272011-06-10 Roland McGrath <roland@hack.frob.com>
29328
decd4e50
RM
29329 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29330 * elf/Makefile ($(objpfx)ld.so): Likewise.
29331
5615eaf2
RM
29332 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29333 Don't list ld.so twice in dependencies.
29334
29335 * posix/bug-regex31.c: Include <stdlib.h>.
29336
29337 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29338
29339 * nis/nss_compat/compat-spwd.c
29340 (getspent_next_nss_netgr): Remove unused variable.
29341 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29342
29343 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29344 nonmembers" output to use the right array.
29345
29346 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29347
29348 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29349
29350 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29351 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29352 * catgets/gencat.c (read_input_file): Likewise.
29353 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29354
29355 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29356 variable definition inside #if's controlling its use.
29357
29358 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29359
29360 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29361
29362 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29363
29364 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29365 unreachable code.
29366
29367 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29368
b68e08db
RM
29369 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29370 * configure: Regenerated.
29371
b350afab
RM
29372 * Makerules: Revert last change.
29373 * elf/Makefile: Likewise.
29374
28368601
RM
293752011-06-09 Roland McGrath <roland@hack.frob.com>
29376
29377 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29378 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29379 (reloc-link): Likewise.
29380
11988f8f
UD
293812011-06-09 Ulrich Drepper <drepper@gmail.com>
29382
29383 * elf/Makefile: Add rules to build pldd.
29384 * elf/pldd.c: New file.
29385 * elf/pldd-xx.c: New file.
29386
e80fab37
UD
293872011-06-07 Ulrich Drepper <drepper@gmail.com>
29388
29389 * version.h: Update for 2.15 development version.
29390
9b849836
DM
293912011-06-07 David S. Miller <davem@davemloft.net>
29392
29393 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29394 ifuncs.
29395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29396 elf_machine_lazy_rel): Likewise.
29397 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29398 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29399 elf_machine_lazy_rel): Likewise.
29400 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29401 dl_hwcap via passed in argument.
29402 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29403 Likewise.
29404
5a31b283
AK
294052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29406
29407 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29408
069e52f8
RM
294092011-06-06 Roland McGrath <roland@hack.frob.com>
29410
29411 [BZ #12849]
29412 * manual/fdl-1.1.texi: New file, verbatim from:
29413 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29414 * manual/lgpl-2.1.texi: New file, verbatim from:
29415 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29416 * manual/Makefile (licenses): New variable, list those new file names.
29417 (texis): Use it.
29418 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29419
29420 * manual/fdl.texi: File removed.
29421 * manual/lesser.texi: File removed.
29422 * manual/libc.texinfo (Copying, Documentation License):
29423 Use new @include file names, put @appendix directive before @include.
29424
f16846a5
JJ
294252011-06-04 Jakub Jelinek <jakub@redhat.com>
29426
29427 [BZ #12841]
29428 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29429 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29430 (mq_open): Add __NTH.
29431
3d29045b
L
294322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29435 Assume Intel Core i3/i5/i7 processor if AVX is available.
29436
8c297311
UD
294372011-05-31 Ulrich Drepper <drepper@gmail.com>
29438
29439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29440 typo.
29441
c8fc0c91
UD
294422011-05-31 Andreas Schwab <schwab@redhat.com>
29443
29444 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29445 memory. Use alloca_account. Fix memory leak when retrying.
29446
5b27a807
UD
294472011-05-31 Ulrich Drepper <drepper@gmail.com>
29448
356f8bc6
UD
29449 * version.h (RELEASE): Bump for 2.14 release.
29450 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29451
5b27a807
UD
29452 * config.make.in (RANLIB): Remove entry.
29453
01f16ab0
UD
294542011-05-30 Ulrich Drepper <drepper@gmail.com>
29455
41fce8bd
UD
29456 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29457 (libc.pot): Work around missing support for .ksh extension in xgettext.
29458
4769ae77
UD
29459 [BZ #12684]
29460 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29461 if both request failed.
29462 (send_dg): In case of server errors clear resplen or *resplen2.
29463
6b1e7d19
UD
29464 [BZ #12454]
29465 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29466 when there are multiple maps.
29467 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29468 (_dl_fini): Remove test here.
29469
01f16ab0
UD
29470 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29471
b1ebd700
UD
294722011-05-29 Ulrich Drepper <drepper@gmail.com>
29473
7ae22829
UD
29474 [BZ #12350]
29475 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29476 bit from old_res_options.
29477 (gaih_inet): Likewise.
29478
553149f6 29479 [BZ #11099]
18a84741 29480 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29481 as signed.
29482
652ffab1
UD
29483 * resolv/res_init.c (res_setoptions): Make the code more compact.
29484
16985fd0
UD
29485 [BZ #11558]
29486 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29487 set RES_USEVC.
29488
0464f746
UD
29489 [BZ #11634]
29490 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29491
7d17596c
UD
29492 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29493
cf6bbbd7
UD
29494 [BZ #11781]
29495 * malloc/malloc.h: Declare malloc hook variables as volatile.
29496
13f1ab36
UD
29497 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29498 in last patch.
29499
b1ebd700
UD
29500 [BZ #11799]
29501 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29502 raise in the comment.
80e2212d
UD
29503 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29505 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29506
ce67228d
UD
295072011-05-28 Ulrich Drepper <drepper@gmail.com>
29508
8887a920
UD
29509 [BZ #12811]
29510 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29511 grow the buffers more if it already has to be sufficient.
29512 (build_wcs_upper_buffer): Likewise.
29513 * posix/regexec.c (check_matching): Likewise.
29514 (clean_state_log_if_needed): Likewise.
29515 (extend_buffers): Don't enlarge buffers beyond size of the input
29516 buffer.
29517 Patches mostly by Emil Wojak <emil@wojak.eu>.
29518 * posix/bug-regex32.c: New file.
29519 * posix/Makefile (tests): Add bug-regex32.
29520
4f031072
UD
29521 * locale/findlocale.c (_nl_find_locale): Return right away if
29522 _nl_explode_name failed.
29523 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29524
d0478f0c
UD
29525 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29526
de81b246
UD
29527 * debug/xtrace.sh: Unify messages.
29528 * malloc/memusage.sh: Likewise.
29529
c738465a
UD
29530 [BZ #12813]
29531 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29532 time symbol from vDSO. Substitute with vsyscall if not available.
29533 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29534 __vdso_time.
29535
f1f929d7
UD
29536 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29537 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29538 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29539 Add sendmmsg and internal_sendmmsg.
29540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29541 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29542 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29543
ce67228d
UD
29544 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29545 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29546 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29547
e57420c6
UD
295482011-05-27 Ulrich Drepper <drepper@gmail.com>
29549
a8509ca5
UD
29550 [BZ #12813]
29551 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29552 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29553 available.
29554 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29555 __vdso_getcpu.
29556
e57420c6
UD
29557 [BZ #12814]
29558 * iconvdata/Makefile (tests): Add bug-iconv9.
29559 * iconvdata/bug-iconv9.c: New file.
29560
4d07db15
AS
295612011-05-27 Andreas Schwab <schwab@redhat.com>
29562
29563 [BZ #12814]
29564 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29565
ea486f69
JJ
295662011-05-25 Jakub Jelinek <jakub@redhat.com>
29567
29568 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29569 (struct user_regs_struct): Change intcs field back to cs.
29570
6f038433
UD
295712011-05-25 Ulrich Drepper <drepper@gmail.com>
29572
29573 * po/ja.po: Update from translation team.
29574
67f86a25
UD
295752011-05-23 Ulrich Drepper <drepper@gmail.com>
29576
29577 [BZ #12795]
29578 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29579 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29580
def7fbd6
AS
295812011-05-20 Andreas Schwab <schwab@redhat.com>
29582
29583 * stdlib/longlong.h: Update from GCC.
29584
f50ef8f1
AS
295852011-05-23 Andreas Schwab <schwab@redhat.com>
29586
29587 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29588 parameter name.
29589 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29590 Add parameter name.
29591 (__sysconf): Pass it down.
29592
de7ce8f1
UD
295932011-05-22 Ulrich Drepper <drepper@gmail.com>
29594
f2962a71
UD
29595 [BZ #12671]
29596 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29597 some situations.
29598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29599 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29600 add in in __libc_use_alloca calls. Adjust callers.
29601 (glob): Use malloc in some situations.
29602
de7ce8f1
UD
29603 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29604 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29605 pltexit.
29606
aec84f53
UD
296072011-05-21 Ulrich Drepper <drepper@gmail.com>
29608
05bb4a68
UD
29609 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29610 and CLOCK_BOOTTIME_ALARM.
29611
7ea72f99
UD
29612 [BZ #12782]
29613 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29614 is returned.
29615
7e4afad5
UD
29616 * string/_strerror.c (__strerror_r): Print negative errors as signed
29617 numbers.
29618
8e211fec
UD
29619 [BZ #12777]
29620 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29621 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29622 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29623
f7d82dc9
UD
29624 * configure.in: Fix typo in redirection and correct removal of test
29625 files in two cases.
29626
cc9e536d
UD
29627 [BZ #12788]
29628 * locale/setlocale.c (new_composite_name): Fix test to check for
29629 identical name of all categories.
29630
aec84f53
UD
29631 [BZ #12792]
29632 * libio/filedoalloc.c (local_isatty): New function.
29633 (_IO_file_doallocate): Use local_isatty.
29634 * stdio-common/perror.c (perror): In case a new stream is used
29635 forward the stream error.
29636 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29637 error flag.
29638
78e64fdc
RT
296392011-05-20 Ulrich Drepper <drepper@gmail.com>
29640
34a9094f
UD
29641 [BZ #11869]
29642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29643 alloca.
29644 * include/alloca.h (extend_alloca_account): Define.
29645
78e64fdc
RT
29646 [BZ #11857]
29647 * posix/regex.h: Fix comments with documentation of user-accessible
29648 fields after compilation and describe correct free'ing of pattern
29649 after re_compile_pattern.
29650 Patch by Reuben Thomas <rrt@sc3d.org>.
29651
457bddfc
RA
296522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29653
29654 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29655 and -mno-altivec to prevent the compiler from using Altivec and/or
29656 VSX instructions when the corresponding registers are not available.
29657
a4527b51
AS
296582011-05-19 Andreas Schwab <schwab@redhat.com>
29659
29660 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29661
ed690b2f
UD
296622011-05-19 Ulrich Drepper <drepper@gmail.com>
29663
29664 * libio/freopen.c (freopen): Use __dup2, not dup2.
29665 * libio/freopen64.c (freopen64): Likewise.
29666
8db73634
L
296672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29668
29669 [BZ #12775]
29670 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29671 * math/Makefile (tests): Add test-powl.
29672 (CFLAGS-test-powl.c): Define.
29673 * math/test-powl.c: New file.
29674
0a197a9d
L
296752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29676
29677 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29678
ee30c380
UD
296792011-05-17 Ulrich Drepper <drepper@gmail.com>
29680
29681 [BZ #11837]
29682 * iconvdata/gb18030.c: Update to GB18020-2005.
29683
6ce75379
UD
296842011-05-16 Ulrich Drepper <drepper@gmail.com>
29685
a4b89fd8
AR
29686 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29687 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29688 Patch by Aharon Robbins <arnold@skeeve.com>.
29689
ea389b12
UD
29690 [BZ #11892]
29691 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29692 on the stack.
29693
68a3f91f
UD
29694 [BZ #11895]
29695 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29696 through underflows.
29697
15cc7dd1
UD
29698 [BZ #12766]
29699 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29700 point to strings before performing equality test for error_one_per_line
29701 mode.
29702
f3799213
UD
29703 [BZ #11697]
29704 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29705
d79a9c94
UD
29706 [BZ #11820]
29707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29708 (struct user_fpregs_struct): Avoid __uint*_t types.
29709
56e5eb46
UD
29710 [BZ #6420]
29711 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29712 symbol info. Use it instead of calling _dl_addr locally.
29713 (lock_and_info): New function.
29714 (tr_freehook): Call lock_and_info and pass symbol info as additional
29715 parameter to tr_where.
29716 (tr_mallochook): Likewise.
29717 (tr_reallochook): Likewise.
29718 (tr_memalignhook): Likewise.
29719
6ce75379
UD
29720 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29721 used and couldn't be at all thread-safe.
29722
f8a3b5bf
UD
297232011-05-15 Ulrich Drepper <drepper@gmail.com>
29724
94b7cc37
UD
29725 * libio/freopen.c (freopen): Don't close old file descriptor
29726 before the new one is opened. Instead dup the new file descriptor
29727 to the old one after the new stream is created.
29728 * libio/freopen64.c (freopen64): Likewise.
29729 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29730 * libio/fileops.c (_IO_new_file_close_it): Handle new
29731 _IO_FLAGS2_NOCLOSE flag.
29732 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29733 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29734 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29735 _IO_FLAGS2_NOCLOSE flag.
29736 * include/unistd.h: Add hidden_proto for dup3.
29737 Define __have_dup3.
29738 * io/dup3.c: Define hidden symbol.
29739 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29740
bd25564e
UD
29741 [BZ #7101]
29742 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29743 when an incomplete long option is used.
29744 * posix/tst-getopt_long1.c: New file.
29745 * posix/Makefile (tests): Add tst-getopt_long1.
29746
c84cfef4
UD
29747 [BZ #10138]
29748 * scripts/config.guess: Update from autoconf-2.68.
29749 * scripts/config.sub: Likewise.
29750
3b85df27
UD
29751 [BZ #10157]
29752 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29753 tests into ...
29754 (has_cpuclock): ...this. New function.
29755 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29756 macro here based on has_cpuclock code.
29757
15a856b1
UD
29758 [BZ #10149]
29759 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29760 First byte (not low byte) is now always NUL.
29761 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29762
05f399e6
UD
29763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29764 Use non-cancelable interfaces.
29765
10a52685 29766 [BZ #9809]
94ecc67d
UD
29767 * locale/iso-639.def: Add entry for Sorani.
29768
f8a3b5bf
UD
29769 [BZ #11901]
29770 * include/stdlib.h: Move include protection to the right place.
29771 Define abort_msg_s. Declare __abort_msg with it.
29772 * stdlib/abort.c (__abort_msg): Adjust type.
29773 * assert/assert.c (__assert_fail_base): New function. Majority
29774 of code from __assert_fail. Allocate memory for __abort_msg with
29775 mmap.
29776 (__assert_fail): Now call __assert_fail_base.
29777 * assert/assert-perr.c: Remove bulk of implementation. Use
29778 __assert_fail_base.
29779 * include/assert.hL Declare __assert_fail_base.
29780 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29781 mmap.
29782 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29783
1af4e298
UD
297842011-05-14 Ulrich Drepper <drepper@gmail.com>
29785
f8a3b5bf 29786 [BZ #11952]
d26dfc60
MG
29787 [BZ #12453]
29788 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29789 until all modules are registered in the DTV.
29790 * elf/Makefile: Add rules to build and run tst-tls19.
29791 * elf/tst-tls19.c: New file.
29792 * elf/tst-tls19mod1.c: New file.
29793 * elf/tst-tls19mod2.c: New file.
29794 * elf/tst-tls19mod3.c: New file.
29795 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29796
2fc54d6f
UD
29797 [BZ #12083]
29798 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29799 correctly.
29800
98d76b46
UD
29801 [BZ #12601]
29802 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29803 two-byte sequence errors.
29804 * iconvdata/Makefile (tests): Add bug-iconv8.
29805 * iconvdata/bug-iconv8.c: New file.
29806
da3c19ef
UD
29807 [BZ #12626]
29808 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29809 buf2 definition.
29810
ca408c15
UD
29811 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29812
d6f67f7d
UD
29813 [BZ #12432]
29814 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29815 (dummy_getcfa): New function.
29816 (init): Get _Unwind_GetCFA address, use dummy if not found.
29817 (backtrace_helper): In recursion check, also check whether CFA changes.
29818 (__backtrace): Completely initialize arg.
29819
1af4e298 29820 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29821 storing incomplete byte sequence in state object. Avoid testing for
29822 guaranteed too small input if we know there is enough data available.
1af4e298 29823
da62f81b
AS
298242011-05-11 Andreas Schwab <schwab@redhat.com>
29825
29826 * Makeconfig (+link-pie): Indent.
29827 * Rules (binaries-pie): Define if $(have-fpie) and
29828 $(build-shared).
29829 (binaries-shared): Also filter out $(binaries-pie).
29830 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29831 * nscd/Makefile (others-pie): Add nscd.
29832 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29833 ($(objpfx)nscd): Remove command override.
29834 * login/Makefile (others-pie): Add pt_chown.
29835 ($(objpfx)pt_chown): Remove command override.
29836 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29837 remove command overrides.
29838
fcabc0f8
UD
298392011-05-13 Ulrich Drepper <drepper@gmail.com>
29840
20030ae6
UD
29841 * libio/tst_putwc.c: Fix error messages.
29842
fcabc0f8
UD
29843 [BZ #12724]
29844 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29845 currently writing and seek to current position when not.
29846 * libio/Makefile (tests): Add bug-fclose1.
29847 * libio/bug-fclose1.c: New file.
29848
320a5dc0
PB
298492011-05-12 Ulrich Drepper <drepper@gmail.com>
29850
29851 [BZ #12511]
29852 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29853 don't set DF_1_NODELETE here.
29854 (do_lookup_x): When entering new entry test for copy relocation
29855 and if necessary set DF_1_NODELETE flag.
29856 * elf/tst-unique4.cc: New file.
29857 * elf/tst-unique4.h: New file.
29858 * elf/tst-unique4lib.cc: New file.
29859 * elf/Makefile: Add rules to build and run tst-unique4.
29860 Patch by Piotr Bury <pbury@goahead.com>.
29861
22836f52
UD
298622011-05-11 Ulrich Drepper <drepper@gmail.com>
29863
f574184a
UD
29864 [BZ #12052]
29865 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29866
e1fb097f
UD
29867 [BZ #12625]
29868 * misc/mntent_r.c (addmntent): Flush the stream after the output
29869
22836f52
UD
29870 [BZ #12393]
29871 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29872 (is_trusted_path_normalize): Skip initial colon. Append slash
29873 to empty buffer. Duplicate is_trusted_path code but allow
29874 constructed patch to be prefix.
29875 (is_dst): Allow $ORIGIN followed by /.
29876 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29877 Correct testing of result of is_trusted_path_normalize
29878 (decompose_rpath): Fix warning.
29879
7b3b0b2a
UD
298802011-05-10 Ulrich Drepper <drepper@gmail.com>
29881
29882 [BZ #11257]
29883 * grp/initgroups.c (internal_getgrouplist): When we found the service
29884 list through the initgroups entry in nsswitch.conf do not always
29885 continue on a successful lookup. Don't always use the
eac80ce2 29886 __nss_group_database value if it is set.
7b3b0b2a
UD
29887 * nss/nsswitch.conf (initgroups): Change action for successful db
29888 lookup to continue for compatibility.
29889
2a81eaa5
UD
298902011-05-09 Ulrich Drepper <drepper@gmail.com>
29891
be97a69e
UD
29892 [BZ #11532]
29893 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29894 and CP774 modules.
29895 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29896 and CP774 modules.
29897 * iconvdata/tst-tables.sh: Likewise.
29898 * iconvdata/cp770.c: New file.
29899 * iconvdata/cp771.c: New file.
29900 * iconvdata/cp772.c: New file.
29901 * iconvdata/cp773.c: New file.
29902 * iconvdata/cp774.c: New file.
29903 * iconvdata/testdata/CP770: New file.
29904 * iconvdata/testdata/CP770..UTF8: New file.
29905 * iconvdata/testdata/CP771: New file.
29906 * iconvdata/testdata/CP771..UTF8: New file.
29907 * iconvdata/testdata/CP772: New file.
29908 * iconvdata/testdata/CP772..UTF8: New file.
29909 * iconvdata/testdata/CP773: New file.
29910 * iconvdata/testdata/CP773..UTF8: New file.
29911 * iconvdata/testdata/CP774: New file.
29912 * iconvdata/testdata/CP774..UTF8: New file.
29913
29914 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29915 END CHARMAP line.
29916 * iconvdata/gen-8bit-gap.sh: Likewise.
29917 * iconvdata/gen-8bit.sh: Likewise.
29918
c1e9e399
UD
29919 * locale/iso-639.def: Add ary entry.
29920
24c55fb3 29921 [BZ #11258]
96b4b1b0
UD
29922 * locale/C-translit.h.in: Add U20A1 transliteration.
29923
bdc2f971
KB
29924 [BZ #12178]
29925 * locale/iso-639.def: Add wae entry.
29926 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29927
2952b117
UD
29928 [BZ #12545]
29929 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29930 for n.
29931
2a81eaa5
UD
29932 [BZ #12711]
29933 * locale/C-translit.h.in: Add entry for U20B9.
29934 Patch by pravin.d.s@gmail.com.
29935
28377d1b
UD
299362011-05-08 Ulrich Drepper <drepper@gmail.com>
29937
7fb90fb8
UD
29938 [BZ #12713]
29939 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29940 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29941 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29942 in rtld. Use *stat64.
7fb90fb8 29943 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29944 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29945 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29946 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29947 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29948 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29949 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29950 __fstatat64 macros.
7fb90fb8
UD
29951 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29952 * dirent/rewinddir.c: Add libc_hidden_def.
29953 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29954 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29955
28377d1b
UD
29956 * include/dirent.h (__alloc_dir): Add flags parameter.
29957 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29958 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29959 __alloc_dir.
29960 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29961 from fdopendir if O_CLOEXEC is already set.
29962
66bdbaa4
AM
299632011-03-15 Alan Modra <amodra@gmail.com>
29964
29965 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29966 l_tls_firstbyte_offset non-zero. Save padding offset in
29967 l_tls_firstbyte_offset for later use.
29968 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29969 freeing static tls block.
29970
95721191
JN
299712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29972
29973 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29974 where #ifdef was intended. The intent is to prevent ARG_MAX from
29975 being defined by the kernel headers.
29976
f87dfb1f
UD
299772011-05-07 Ulrich Drepper <drepper@gmail.com>
29978
29979 [BZ #12734]
29980 * resolv/resolv.h: Define RES_NOTLDQUERY.
29981 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29982 no-tld-query and set RES_NOTLDQUERY.
29983 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29984 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29985 modern BIND to search name as TLD unless forbidden.
29986
47c3cd7a
UD
299872011-05-07 Petr Baudis <pasky@suse.cz>
29988 Ulrich Drepper <drepper@gmail.com>
29989
29990 [BZ #12393]
29991 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29992 (is_trusted_path): ...to here.
c1e9ea35 29993 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29994 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29995 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29996
8a35c912
PP
299972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29998
29999 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30000 __BEGIN/__END_DECLS.
30001
acd41f47
UD
300022011-05-06 Ulrich Drepper <drepper@gmail.com>
30003
30004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30005 NSS_STATUS_NOTFOUND if no record was found.
30006
597df647
AS
300072011-05-05 Andreas Schwab <schwab@redhat.com>
30008
30009 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30010 (headers-not-in-tirpc): Remove rpc/netdb.h
30011 * resolv/netdb.h: Revert last change.
30012
b9af1301
PP
300132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30014
30015 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30016 circular dependency between libgcc.a and libc.a.
30017
4e34d5f5
AS
300182011-05-05 Andreas Schwab <schwab@redhat.com>
30019
30020 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30021 * nis/Makefile: Don't install rpcsvc/*.
30022 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30023 instead of <rpc/types.h>.
30024 (MAXHOSTNAMELEN): Define.
30025
00ee369c
AS
300262011-05-03 Andreas Schwab <schwab@redhat.com>
30027
30028 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30029
0b592a30
MB
300302011-04-28 Maciej Babinski <mbabinski@google.com>
30031
30032 [BZ #12714]
30033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30034 gethostbyname4_r when IPv6 results are possible.
30035
6e04cbbe
UD
300362011-05-02 Ulrich Drepper <drepper@gmail.com>
30037
30038 [BZ #12723]
30039 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30040 _PC_PIPE_BUF handling.
30041
e4ecafe0
BH
300422011-04-30 Bruno Haible <bruno@clisp.org>
30043
30044 [BZ #12717]
30045 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30046 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30047 to 'int'.
30048 * inet/getnameinfo.c (getnameinfo): Likewise.
30049
125ee683
UD
300502011-04-29 Ulrich Drepper <drepper@gmail.com>
30051
30052 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30053 to groups setting in database lookup.
30054 * nss/nsswitch.conf: Add initgroups entry.
30055
b722481a
EB
300562011-04-22 Ulrich Drepper <drepper@gmail.com>
30057
30058 [BZ #12685]
30059 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30060 mode string.
30061 Patch by Eric Blake <eblake@redhat.com>.
30062
4df46dbd
L
300632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30064
30065 * sunrpc/Makefile (need-export-routines): Add svc_run.
30066 (routines): Remove svc_run.
30067 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30068 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30069 * sunrpc/svc_run.c (svc_run): Likewise.
30070 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30071
e84142d2
UD
300722011-04-21 Ulrich Drepper <drepper@gmail.com>
30073
30074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30075 problem in reallocation in last patch.
30076
877175d8
UD
300772011-04-20 Ulrich Drepper <drepper@gmail.com>
30078
30079 * sunrpc/Makefile: Move inclusion of Rules.
30080
ab8eed78
UD
300812011-04-19 Ulrich Drepper <drepper@gmail.com>
30082
30083 * nss/nss_files/files-initgroups.c: New file.
30084 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30085 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30086 _nss_files_initgroups_dyn.
30087
e3d8f584
RS
300882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30089
30090 * elf/elf.h (R_ARM_IRELATIVE): Define.
30091
af190f45
UD
300922011-04-19 Ulrich Drepper <drepper@gmail.com>
30093
30094 * po/ru.po: Update from translation team.
30095
53cf59ef
UD
300962011-04-17 Ulrich Drepper <drepper@gmail.com>
30097
30098 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30099 dependencies.
30100
4c559bcd
MF
301012011-02-06 Mike Frysinger <vapier@gentoo.org>
30102
30103 [BZ #12653]
30104 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30105 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30106 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30107 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30109
4420675c
AS
301102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30111
30112 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30113 differing bytes.
30114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30117
75ea32ab
UD
301182011-04-17 Ulrich Drepper <drepper@gmail.com>
30119
30120 [BZ #12420]
30121 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30122 storing it.
30123 * stdlib/bug-getcontext.c: New file.
30124 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30125
27390476
AK
301262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30127
30128 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30129 instructions into .machine "z9-109".
30130 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30131 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30132
10442705
AK
301332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30134
30135 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30136 between environment variables and auxiliary vector.
30137
7b57bfe5
UD
301382011-04-16 Ulrich Drepper <drepper@gmail.com>
30139
30140 * Makefile: Add rules to build linkobj/libc.so.
30141 * include/libc-symbols.h: Define libc_hidden_nolink.
30142 * include/rpc/auth.h: Mark functions which are to be hidden.
30143 * include/rpc/auth_des.h: Likewise.
30144 * include/rpc/auth_unix.h: Likewise.
30145 * include/rpc/clnt.h: Likewise.
30146 * include/rpc/des_crypt.h: Likewise.
30147 * include/rpc/key_prot.h: Likewise.
30148 * include/rpc/pmap_clnt.h: Likewise.
30149 * include/rpc/pmap_prot.h: Likewise.
30150 * include/rpc/pmap_rmt.h: Likewise.
30151 * include/rpc/rpc_msg.h: Likewise.
30152 * include/rpc/svc.h: Likewise.
30153 * include/rpc/svc_auth.h: Likewise.
30154 * include/rpc/xdr.h: Likewise.
30155 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30156 * nss/Makefile: Likewise.
30157 * sunrpc/Makefile: Don't install headers. Build library with normal
30158 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30159 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30160 for the compat linking library. Remove use of INTDEF/INTUSE.
30161 * sunrpc/auth_none.c: Likewise.
30162 * sunrpc/auth_unix.c: Likewise.
30163 * sunrpc/authdes_prot.c: Likewise.
30164 * sunrpc/authuxprot.c: Likewise.
30165 * sunrpc/clnt_gen.c: Likewise.
30166 * sunrpc/clnt_perr.c: Likewise.
30167 * sunrpc/clnt_raw.c: Likewise.
30168 * sunrpc/clnt_simp.c: Likewise.
30169 * sunrpc/clnt_tcp.c: Likewise.
30170 * sunrpc/clnt_udp.c: Likewise.
30171 * sunrpc/clnt_unix.c: Likewise.
30172 * sunrpc/des_crypt.c: Likewise.
30173 * sunrpc/des_soft.c: Likewise.
30174 * sunrpc/get_myaddr.c: Likewise.
30175 * sunrpc/key_call.c: Likewise.
30176 * sunrpc/key_prot.c: Likewise.
30177 * sunrpc/netname.c: Likewise.
30178 * sunrpc/pm_getmaps.c: Likewise.
30179 * sunrpc/pm_getport.c: Likewise.
30180 * sunrpc/pmap_clnt.c: Likewise.
30181 * sunrpc/pmap_prot.c: Likewise.
30182 * sunrpc/pmap_prot2.c: Likewise.
30183 * sunrpc/pmap_rmt.c: Likewise.
30184 * sunrpc/publickey.c: Likewise.
30185 * sunrpc/rpc_cmsg.c: Likewise.
30186 * sunrpc/rpc_common.c: Likewise.
30187 * sunrpc/rpc_dtable.c: Likewise.
30188 * sunrpc/rpc_prot.c: Likewise.
30189 * sunrpc/rpc_thread.c: Likewise.
30190 * sunrpc/rtime.c: Likewise.
30191 * sunrpc/svc.c: Likewise.
30192 * sunrpc/svc_auth.c: Likewise.
30193 * sunrpc/svc_authux.c: Likewise.
30194 * sunrpc/svc_raw.c: Likewise.
30195 * sunrpc/svc_run.c: Likewise.
30196 * sunrpc/svc_simple.c: Likewise.
30197 * sunrpc/svc_tcp.c: Likewise.
30198 * sunrpc/svc_udp.c: Likewise.
30199 * sunrpc/svc_unix.c: Likewise.
30200 * sunrpc/svcauth_des.c: Likewise.
30201 * sunrpc/xcrypt.c: Likewise.
30202 * sunrpc/xdr.c: Likewise.
30203 * sunrpc/xdr_array.c: Likewise.
30204 * sunrpc/xdr_float.c: Likewise.
30205 * sunrpc/xdr_intXX_t.c: Likewise.
30206 * sunrpc/xdr_mem.c: Likewise.
30207 * sunrpc/xdr_rec.c: Likewise.
30208 * sunrpc/xdr_ref.c: Likewise.
30209 * sunrpc/xdr_sizeof.c: Likewise.
30210 * sunrpc/xdr_stdio.c: Likewise.
30211
e6c61494
UD
302122011-04-10 Ulrich Drepper <drepper@gmail.com>
30213
30214 [BZ #12650]
30215 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30216 * sysdeps/ia64/dl-tls.h: Likewise.
30217 * sysdeps/powerpc/dl-tls.h: Likewise.
30218 * sysdeps/s390/dl-tls.h: Likewise.
30219 * sysdeps/sh/dl-tls.h: Likewise.
30220 * sysdeps/sparc/dl-tls.h: Likewise.
30221 * sysdeps/x86_64/dl-tls.h: Likewise.
30222 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30223
34fe483e
AS
302242011-03-14 Andreas Schwab <schwab@redhat.com>
30225
30226 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30227 rpath element also skip the following colon.
30228 (expand_dynamic_string_token): Add is_path parameter and pass
30229 down to DL_DST_REQUIRED and _dl_dst_substitute.
30230 (decompose_rpath): Call expand_dynamic_string_token with
30231 non-zero is_path. Ignore empty rpaths.
30232 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30233 with zero is_path.
30234
f12a32e6
AS
302352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30236
30237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30238 Make cancelable.
30239
38a7d692
UD
302402011-04-09 Ulrich Drepper <drepper@gmail.com>
30241
30242 [BZ #12655]
30243 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30244 Patch by Filipe David Manana <fdmanana@apache.org>.
30245
e451d22b
AS
302462011-04-07 Andreas Schwab <schwab@redhat.com>
30247
30248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30249 Maintain aligned stack.
30250 (CHECK_RSP): Remove unused macro.
30251
dedc7c7b
UD
302522011-04-03 Ulrich Drepper <drepper@gmail.com>
30253
30254 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30256
94521213
UD
302572011-04-02 Ulrich Drepper <drepper@gmail.com>
30258
30259 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30260
8cb700c0 30261 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30262
0354e355
L
302632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30264
30265 [BZ #12518]
30266 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30267 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30268 * sysdeps/x86_64/memmove.c: New file.
30269 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30270 (memcpy): Renamed to ...
30271 (__new_memcpy): This.
30272 (memcpy): Provide GLIBC_2_14 memcpy.
30273 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30274 (memcpy): Provide GLIBC_2_2_5 memcpy.
30275
8593482f
UD
302762011-04-01 Ulrich Drepper <drepper@gmail.com>
30277
30278 [BZ #12631]
30279 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30280
81a5726b
AS
302812011-03-30 Andreas Schwab <schwab@redhat.com>
30282
30283 * misc/syncfs.c: New file.
30284 * misc/Makefile (routines): Add syncfs.
30285 * posix/unistd.h: Declare syncfs.
30286 * sysdeps/unix/syscalls.list: Add syncfs.
30287
00e5419f
AS
302882011-04-01 Andreas Schwab <schwab@redhat.com>
30289
30290 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30291 open_by_handle_at.
30292 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30297 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30299
748876bf
UD
303002011-04-01 Ulrich Drepper <drepper@gmail.com>
30301
658e451d
UD
30302 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30305 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30306 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30307 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30308 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30309
748876bf
UD
30310 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30311 sync_file_range.c with -fexceptions.
30312 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30313 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30314 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30315 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30316 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30317 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30318 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30319 sync_file_range as cancellation point
30320 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30321 now a wrapper around __call_sync_file_range with cancellation handling.
30322 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30323 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30324 function name to __call_sync_file_range.
30325 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30326 Add call_sync_file_range.
748876bf 30327
6e63d5e1
AS
303282011-04-01 Andreas Schwab <schwab@redhat.com>
30329
30330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30331 bits/timex.h.
6e63d5e1 30332
46998f74
UD
303332011-04-01 Ulrich Drepper <drepper@gmail.com>
30334
4c1423ed
UD
30335 * iconv/iconv.h: Fix typo in comment.
30336 * io/fcntl.h: Likewise.
30337 * libio/stdio.h: Likewise.
30338 * posix/spawn.h: Likewise.
30339 * posix/unistd.h: Likewise.
30340 * stdlib/stdlib.h: Likewise.
30341 * time/time.h: Likewise.
30342 * wcsmbs/wchar.h: Likewise.
30343
158648c0
UD
30344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30345 open_by_handle): Add.
30346 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30347 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30348 Augment a few comments.
30349 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30353 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30354 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30355 open_by_handle.
30356
46998f74
UD
30357 * io/fcntl.h (AT_EMPTY_PATH): Define.
30358
83fe108b
UD
303592011-03-30 Ulrich Drepper <drepper@gmail.com>
30360
30361 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30362 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30363 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30364 to...
30365 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30366 * Versions.def: Add GLIBC_2.14.
30367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30368 Export.
83fe108b 30369
bb242059
UD
303702011-03-22 Ulrich Drepper <drepper@gmail.com>
30371
30372 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30373 round counter.
30374 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30375
c97a1282
L
303762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30377
30378 [BZ #12597]
30379 * string/test-strncmp.c (do_page_test): New function.
30380 (check2): Likewise.
30381 (test_main): Call check2.
30382 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30383
2a115601
UD
303842011-03-20 Ulrich Drepper <drepper@gmail.com>
30385
30386 [BZ #12587]
30387 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30388 Handle cache information in CPU leaf 4.
30389 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30390
8126d904
UD
303912011-03-18 Ulrich Drepper <drepper@gmail.com>
30392
042c49c6 30393 [BZ #12583]
8126d904
UD
30394 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30395 character representation.
30396 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30397
ccfe366e
RA
303982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30399
30400 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30401 END(__isnan) to END(__isnanf) to match function entry point/label
30402 EALIGN(__isnanf,...).
30403
c6e13027
JJ
304042011-03-10 Jakub Jelinek <jakub@redhat.com>
30405
30406 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30407
33f85a3f
UD
304082011-03-10 Ulrich Drepper <drepper@gmail.com>
30409
028478fa
UD
30410 [BZ #12510]
30411 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30412 copy from the symbol referenced in the relocation to initialize the
30413 used variable.
30414 Patch by Piotr Bury <pbury@goahead.com>.
30415 * elf/Makefile: Add rules to build and tst-unique3.
30416 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30417 * elf/tst-unique3.cc: New file.
30418 * elf/tst-unique3.h: New file.
30419 * elf/tst-unique3lib.cc: New file.
30420 * elf/tst-unique3lib2.cc: New file.
30421
33f85a3f
UD
30422 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30423
03592fc7
MF
304242011-03-10 Mike Frysinger <vapier@gentoo.org>
30425
30426 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30427 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30428 to _start.
03592fc7 30429
6a5ee102
UD
304302011-03-06 Ulrich Drepper <drepper@gmail.com>
30431
30432 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30433 to-be-loaded object along a path to loader is ld.so.
30434
7e4ba49c
HJ
304352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30436 Ulrich Drepper <drepper@gmail.com>
30437
30438 * sysdeps/x86_64/memset.S: After aligning destination, code
30439 branches to different locations depending on the value of
30440 misalignment, when multiarch is enabled. Fix this.
30441
304422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30443
30444 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30445 Set _x86_64_preferred_memory_instruction for AMD processsors.
30446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30447 Set bit_Prefer_SSE_for_memop for AMD processors.
30448
13a804de
UD
304492011-03-04 Ulrich Drepper <drepper@gmail.com>
30450
30451 * libio/fmemopen.c (fmemopen): Optimize a bit.
30452
9d25c392
AS
304532011-03-03 Andreas Schwab <schwab@redhat.com>
30454
30455 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30456
a5543c6a
RM
304572011-03-03 Roland McGrath <roland@redhat.com>
30458
30459 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30460
012d35f7
DM
304612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30462
7e4ba49c 30463 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30464 __bzero_ultra1 instead of __memset_ultra1.
30465
4bff6e01
AS
304662011-02-23 Andreas Schwab <schwab@redhat.com>
30467 Ulrich Drepper <drepper@gmail.com>
30468
30469 [BZ #12509]
30470 * include/link.h (struct link_map): Add l_orig_initfini.
30471 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30472 returning unsuccessfully.
30473 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30474 close of a file loaded at startup, restore the original l_initfini
30475 list.
30476 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30477 list, store the pointer.
30478 * elf/Makefile ($(objpfx)noload-mem): New rule.
30479 (noload-ENV): Define.
30480 (tests): Add $(objpfx)noload-mem.
30481 * elf/noload.c: Include <memcheck.h>.
30482 (main): Call mtrace. Close all opened handles.
30483
f2092faf
AS
304842011-02-17 Andreas Schwab <schwab@redhat.com>
30485
30486 [BZ #12454]
30487 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30488 dependencies are missing.
30489
6c8a2e88
ST
304902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30491
f2092faf 30492 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30493 Hurd needs munmap.
30494 * sysdeps/mach/hurd/ifreq.h: New file.
30495
84a42118
PB
304962011-01-27 Petr Baudis <pasky@suse.cz>
30497 Ulrich Drepper <drepper@gmail.com>
30498
071f805e 30499 [BZ 12445]#
84a42118
PB
30500 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30501 to extend_alloca().
30502 * stdio-common/bug23.c: New file.
30503 * stdio-common/Makefile (tests): Add bug23.
30504
e23fe25b
AS
305052010-09-28 Andreas Schwab <schwab@redhat.com>
30506 Ulrich Drepper <drepper@gmail.com>
30507
30508 [BZ #12489]
30509 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30510 before performing relro protection. At old place add assertion
30511 to make sure nothing changed.
30512
d3f02e10
NS
305132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30514 Glauber de Oliveira Costa <glommer@gmail.com>
30515
30516 * elf/elf.h: Add new ARM TLS relocs.
30517
d55fd7a5
RA
305182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30519
30520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30521 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30522 cast from r3.
30523 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30524 'tests' variable.
30525 * sysdeps/wordsize-64/tst-writev.c: New file.
30526
2206397e
RA
305272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30528
30529 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30530 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30531 insns in _dl_start to prevent a TOC reference before relocs are
30532 resolved.
30533
e9433893
UD
305342011-02-15 Ulrich Drepper <drepper@gmail.com>
30535
30536 [BZ #12469]
30537 * Makeconfig: Remove RANLIB definition.
30538 * Makerules: Don't use RANLIB.
30539 * aclocal.m4: Remove ranlib test.
30540 * configure.in: No need to check for ranlib.
30541 * elf/rtld-Rules: Don't use RANLIB.
30542
f75286c6
ST
305432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30544
8e31c82d
ST
30545 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30546 protection macro.
30547 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30548 inclusion protection macro.
30549
f75286c6
ST
30550 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30551 SIGRTMIN and SIGRTMAX and print information in that case only when
30552 SIGRTMIN is defined.
30553
c1d0e639
JJ
305542011-02-11 Jakub Jelinek <jakub@redhat.com>
30555
30556 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30557 arginfo fn returning -1.
30558
30559 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30560 and thousands string is zero terminated.
30561
edf9294e
AS
305622011-02-03 Andreas Schwab <schwab@redhat.com>
30563
30564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30565 sysdeps/unix/sysv/linux/bits/socket.h.
30566
2b7e92df
ST
305672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30568
edf9294e
AS
30569 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30570 (__CPU_COUNT): Remove old macros.
30571 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30572 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30573 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30574 (__sched_cpualloc, __sched_cpufree): Add declarations.
30575
a4c7ea7b
UD
305762011-02-05 Ulrich Drepper <drepper@gmail.com>
30577
30578 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30579 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30580 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30581 (readdhstai): Return value of addhstaiX call.
30582 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30583 (addgrbyX): Return value returned by cache_addgr.
30584 (readdgrbyname): Return value returned by addgrbyX.
30585 (readdgrbygid): Likewise.
30586 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30587 (addpwbyX): Return value returned by cache_addpw.
30588 (readdpwbyname): Return value returned by addhstbyX.
30589 (readdpwbyuid): Likewise.
30590 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30591 (addservbyX): Return value returned by cache_addserv.
30592 (readdservbyname): Return value returned by addservbyX:
30593 (readdservbyport): Likewise.
30594 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30595 (addhstbyX): Return value returned by cache_addhst.
30596 (readdhstbyname): Return value returned by addhstbyX.
30597 (readdhstbyaddr): Likewise.
30598 (readdhstbynamev6): Likewise.
30599 (readdhstbyaddrv6): Likewise.
30600 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30601 (readdinitgroups): Return value returned by addinitgroupsX.
30602 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30603 (prune_cache): Keep track of timeout value of re-added entries.
30604 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30605 * nscd/nscd.h: Adjust prototypes of readd* functions.
30606
a0bf67cc
RM
306072011-02-04 Roland McGrath <roland@redhat.com>
30608
30609 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30610 (nis_stats): Likewise.
30611 * nis/nis_modify.c (nis_modify): Likewise.
30612 * nis/nis_remove.c (nis_remove): Likewise.
30613 * nis/nis_add.c (nis_add): Likewise.
30614
30615 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30616
30617 * posix/fnmatch_loop.c: Add some consts.
30618
30619 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30620
435b95eb
L
306212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30622
30623 [BZ #12460]
30624 * config.make.in (config-cflags-novzeroupper): Define.
30625 * configure.in: Substitute libc_cv_cc_novzeroupper.
30626 * elf/Makefile (AVX-CFLAGS): Define.
30627 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30628 (CFLAGS-tst-auditmod4a.c): Likewise.
30629 (CFLAGS-tst-auditmod4b.c): Likewise.
30630 (CFLAGS-tst-auditmod6b.c): Likewise.
30631 (CFLAGS-tst-auditmod6c.c): Likewise.
30632 (CFLAGS-tst-auditmod7b.c): Likewise.
30633 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30634
8517b15e
UD
306352011-02-02 Ulrich Drepper <drepper@gmail.com>
30636
30637 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30638 function to the callback.
30639 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30640
10a656fe
AS
306412011-02-02 Andreas Schwab <schwab@redhat.com>
30642
30643 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30644 of errno.
30645
968dad0a
UD
306462011-01-19 Ulrich Drepper <drepper@gmail.com>
30647
9f94d2ea 30648 [BZ #11724]
968dad0a
UD
30649 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30650 of constructors.
30651 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30652 of destructors.
30653 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30654
30655 [BZ #11724]
30656 * elf/Makefile: Add rules to build and run new test.
30657 * elf/tst-initorder.c: New file.
30658 * elf/tst-initorder.exp: New file.
30659 * elf/tst-initordera1.c: New file.
30660 * elf/tst-initordera2.c: New file.
30661 * elf/tst-initordera3.c: New file.
30662 * elf/tst-initordera4.c: New file.
30663 * elf/tst-initorderb1.c: New file.
30664 * elf/tst-initorderb2.c: New file.
30665 * elf/tst-order-a1.c: New file.
30666 * elf/tst-order-a2.c: New file.
30667 * elf/tst-order-a3.c: New file.
30668 * elf/tst-order-a4.c: New file.
30669 * elf/tst-order-b1.c: New file.
30670 * elf/tst-order-b2.c: New file.
30671 * elf/tst-order-main.c: New file.
30672 New test case by George Gensure <werkt0@gmail.com>.
30673
86e92359
UD
306742010-10-01 Andreas Schwab <schwab@redhat.com>
30675
30676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30677 decoding ACE if AI_CANONIDN.
30678
5d5732b0
UD
306792011-01-18 Ulrich Drepper <drepper@gmail.com>
30680
30681 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30682
a77e8cbc
UD
306832011-01-17 Ulrich Drepper <drepper@gmail.com>
30684
6392473f
UD
30685 * version.h (RELEASE): Bump for 2.13 release.
30686 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30687
620a0529
UD
30688 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30689
18ba70a5
UD
30690 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30691 MADV_NOHUGEPAGE.
32465c3e
UD
30692 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30698
c0dafcf1
UD
30699 * posix/getconf.c: Update copyright year.
30700 * catgets/gencat.c: Likewise.
30701 * csu/version.c: Likewise.
30702 * debug/catchsegv.sh: Likewise.
30703 * debug/xtrace.sh: Likewise.
30704 * elf/ldconfig.c: Likewise.
30705 * elf/ldd.bash.in: Likewise.
30706 * elf/sprof.c (print_version): Likewise.
30707 * iconv/iconv_prog.c: Likewise.
30708 * iconv/iconvconfig.c: Likewise.
30709 * locale/programs/locale.c: Likewise.
30710 * locale/programs/localedef.c: Likewise.
30711 * malloc/memusage.sh: Likewise.
30712 * malloc/mtrace.pl: Likewise.
30713 * nscd/nscd.c (print_version): Likewise.
30714 * nss/getent.c: Likewise.
30715
a77e8cbc
UD
30716 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30717 PF_CAIF, and PF_ALG.
30718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30719
77e8bddf
AS
307202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30721
1f20b93a
AS
30722 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30723 (modules-names): Use them.
30724 (ifunc-test-modules, ifunc-pie-tests): Define.
30725 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30726 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30727 (test-extras): Likewise.
30728 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30729 $(compile-command.c).
30730 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30731 (all-built-dso): Define.
30732 (check-textrel.out, check-execstack.out): Depend on it.
30733
77e8bddf
AS
30734 * configure.in: Don't override --enable-multi-arch.
30735
bc425b33
UD
307362011-01-15 Ulrich Drepper <drepper@gmail.com>
30737
30738 [BZ #6812]
30739 * nscd/hstcache.c (tryagain): Define.
30740 (cache_addhst): Return tryagain not notfound for temporary errors.
30741 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30742 failed.
30743
794c3ad3
UD
307442011-01-14 Ulrich Drepper <drepper@gmail.com>
30745
70181fdd
UD
30746 [BZ #10563]
30747 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30748 to make the syscall.
30749 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30750
794c3ad3
UD
30751 [BZ #12378]
30752 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30753 and fall back to matching as normal character if the string ends before
30754 the matching ']' is found. This is what POSIX requires.
30755 * posix/testfnm.c: Adjust test result.
30756 * posix/globtest.sh: Adjust test result. Add new test.
30757 * posix/tst-fnmatch.input: Likewise.
30758 * posix/tst-fnmatch2.c: Add new test.
30759
68dc9497
AS
307602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30761
30762 * elf/Makefile (check-execstack): Revert last change. Depend on
30763 check-execstack.h.
30764 (check-execstack.h): New target.
30765 (generated): Add check-execstack.h.
30766 * elf/check-execstack.c: Include "check-execstack.h".
30767 (main): Revert last change.
30768 (handle_file): Return zero if GNU_STACK is absent and
30769 DEFAULT_STACK_PERMS doesn't include PF_X.
30770
451f001b
UD
307712011-01-13 Ulrich Drepper <drepper@gmail.com>
30772
cfa28e56
UD
30773 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30774 in child fails because the descriptor is already closed.
8cf8ce17
UD
30775 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30776 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30777 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30778
1086d70d
UD
30779 [BZ #12397]
30780 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30781 syscall.
30782
451f001b
UD
30783 [BZ #10484]
30784 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30785 temporary buffer used to handle multi lookups locally.
a85b5cb4 30786 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30787
08769175
UD
307882011-01-12 Ulrich Drepper <drepper@gmail.com>
30789
30790 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30791 loader is ld.so.
30792
5e49c52e
UD
307932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30794
30795 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30796 alignment for SSE2.
30797
60522a5f
UD
307982011-01-12 Ulrich Drepper <drepper@gmail.com>
30799
30800 [BZ #12394]
30801 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30802 characters. When rounding increased number of integer digits recompute
30803 number of groups.
30804 * stdio-common/tst-grouping.c: New file.
30805 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30806
f257bbd7
UD
308072011-01-09 Ulrich Drepper <drepper@gmail.com>
30808
30809 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30810 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30811
30812 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30813 void.
30814 * bits/select.h: Likewise.
30815
fa9c15cb
UD
308162011-01-08 Ulrich Drepper <drepper@gmail.com>
30817
30818 * po/ja.po: Update from translation team.
30819
16c2895f
DM
308202011-01-04 David S. Miller <davem@sunset.davemloft.net>
30821
30822 [BZ #11155]
30823 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30824 implementation just like for lxstat, fxstatat, et al.
30825
2543fef2
JM
308262010-12-27 Jim Meyering <meyering@redhat.com>
30827
30828 [BZ #12348]
30829 * posix/regexec.c (build_trtable): Return failure indication upon
30830 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30831
98727dbe
UD
308322010-12-25 Ulrich Drepper <drepper@gmail.com>
30833
5bd6dc5c
UD
30834 [BZ #12201]
30835 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30836 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30837 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30838 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30839
97983464
UD
30840 [BZ #12207]
30841 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30842
98727dbe
UD
30843 [BZ #12204]
30844 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30845 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30846
4a531bb0
L
308472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30848
30849 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30850 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30851 script has SORT_BY_INIT_PRIORITY.
30852 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30853 NO_CTORS_DTORS_SECTIONS is defined.
30854 * elf/soinit.c: Likewise.
30855 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30856 NO_CTORS_DTORS_SECTIONS is defined.
30857 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30858 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30859 * sysdeps/sh/init-first.c: Likewise.
30860 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30861
07eb4b71
UD
308622010-12-24 Ulrich Drepper <drepper@gmail.com>
30863
30864 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30865 always use the slow path.
30866
30950a5f
RA
308672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30868
30869 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30870 similar rule which adds the sysdep directories to the header search in
30871 order to pick up the correct platform stackinfo.h.
30872 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30873 perform test if it is, otherwise return successfully without testing.
30874 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30875 DEFAULT_STACK_PERMS define in stackinfo.h.
30876 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30877 defined in stackinfo.h.
30878 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30879 DEFAULT_STACK_PERMS defined in stackinfo.h.
30880 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30881 * sysdeps/ia64/stackinfo.h: Likewise.
30882 * sysdeps/s390/stackinfo.h: Likewise.
30883 * sysdeps/sh/stackinfo.h: Likewise.
30884 * sysdeps/sparc/stackinfo.h: Likewise.
30885 * sysdeps/x86_64/stackinfo.h: Likewise.
30886 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30887 PF_X for powerpc64. Retain PF_X for powerpc32.
30888
db753e2c
UD
308892010-12-19 Ulrich Drepper <drepper@gmail.com>
30890
14b697f7
UD
30891 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30892 accurately.
db753e2c
UD
30893 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30894 GETDENTS_64BIT_ALIGNED.
30895
28300719
UD
308962010-12-14 Ulrich Drepper <dreper@gmail.com>
30897
14b697f7 30898 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30899
4f197237
AS
309002010-12-10 Andreas Schwab <schwab@redhat.com>
30901
dbb0472f
AS
30902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30903 _GNU_SOURCE.
30904
4f197237
AS
30905 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30906 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30907 Remove __restrict.
30908 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30909 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30910
fb88ac72
UD
309112010-12-09 Ulrich Drepper <drepper@gmail.com>
30912
30913 [BZ #11655]
30914 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30915 are initialized.
30916
42acbb92
JJ
309172010-12-09 Jakub Jelinek <jakub@redhat.com>
30918
30919 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30920
c038d98d
UD
309212010-12-03 Ulrich Drepper <drepper@gmail.com>
30922
30923 * po/it.po: Update from translation team.
30924
3a4a2499
L
309252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30926
30927 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30928 unused codes.
30929
1e24cf6e
UD
309302010-11-30 Ulrich Drepper <drepper@gmail.com>
30931
30932 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30933
a7690819
AS
309342010-11-24 Andreas Schwab <schwab@redhat.com>
30935
30936 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30937 specially.
30938 (gaih_getanswer_slice): Likewise.
30939
3bf8d1b1
JJ
309402010-10-20 Jakub Jelinek <jakub@redhat.com>
30941
30942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30943
6db52fbb
PB
309442010-05-31 Petr Baudis <pasky@suse.cz>
30945
30946 [BZ #11149]
30947 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30948 silently even in the chroot mode.
30949
eaca7569
UD
309502010-11-22 Ulrich Drepper <drepper@gmail.com>
30951
30952 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30953 last patch a bit. Pretty printing
30954
3056dcdb
UD
309552010-05-31 Petr Baudis <pasky@suse.cz>
30956
30957 [BZ #10085]
30958 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30959 initialization of skip_initgroups_dyn.
30960
cf7c9078
UD
309612010-11-19 Ulrich Drepper <drepper@gmail.com>
30962
30963 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30964 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30965
a1fb5e3e
UD
309662010-11-16 Ulrich Drepper <drepper@gmail.com>
30967
30968 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30969
3540d66b
AS
309702010-11-11 Andreas Schwab <schwab@redhat.com>
30971
30972 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30973 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30974 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30975 ($(objpfx)tst-fnmatch-mem): New rule.
30976 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30977 * posix/tst-fnmatch.c (main): Call mtrace.
30978
13b69574
L
309792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30980
30981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30982 Support Intel processor model 6 and model 0x2c.
30983
da93d214
LM
309842010-11-10 Luis Machado <luisgpm@br.ibm.com>
30985
30986 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30987 signed comparison.
30988
8ca52c6e
L
309892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30990
30991 [BZ #12205]
30992 * string/test-strncasecmp.c (check_result): New function.
30993 (do_one_test): Use it.
30994 (check1): New function.
30995 (test_main): Use it.
30996 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30997 Support strcasecmp and strncasecmp.
30998
69da074d
UD
309992010-11-08 Ulrich Drepper <drepper@gmail.com>
31000
31001 [BZ #12194]
31002 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31003 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31004
ff02d528
L
310052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31006
31007 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31008 IFUNC support.
31009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31010 memset-x86-64.
31011 * sysdeps/x86_64/multiarch/bzero.S: New file.
31012 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31013 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31014 * sysdeps/x86_64/multiarch/memset.S: New file.
31015 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31017 Set bit_Prefer_SSE_for_memop for Intel processors.
31018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31019 Define.
31020 (index_Prefer_SSE_for_memop): Define.
31021 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31022
344d0b54
LM
310232010-11-04 Luis Machado <luisgpm@br.ibm.com>
31024
31025 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31026 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31027
c0dde15b
UD
310282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31029
31030 [BZ #12191]
31031 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31032 (__x86_64_raw_data_cache_size_half): Likewise.
31033 (__x86_64_raw_shared_cache_size): Likewise.
31034 (__x86_64_raw_shared_cache_size_half): Likewise.
31035
31036 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31037 (__x86_64_raw_data_cache_size_half): Likewise.
31038 (__x86_64_raw_shared_cache_size): Likewise.
31039 (__x86_64_raw_shared_cache_size_half): Likewise.
31040 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31041 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31042 and __x86_64_raw_shared_cache_size_half. Round
31043 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31044 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31045 to multiple of 256 bytes.
31046
0e516e0e
MS
310472010-11-03 Ulrich Drepper <drepper@gmail.com>
31048
31049 [BZ #12167]
31050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31051 of inacessible symlinks. Verify result of symlink before returning it.
31052 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31053 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31054
0e012e87
ER
310552010-10-28 Erich Ritz <erichritz@gmail.com>
31056
31057 * math/math.h (isinf): Fix typo in comment.
31058
de0ff7bc
UD
310592010-11-01 Ulrich Drepper <drepper@gmail.com>
31060
31061 * po/da.po: Update from translation team.
31062
fa41c84d
UD
310632010-10-26 Ulrich Drepper <drepper@gmail.com>
31064
31065 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31066 is added to the list.
31067
f0967738
AK
310682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31069 Ulrich Drepper <drepper@gmail.com>
31070
31071 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31072 the global list here. Move code to...
31073 (_dl_add_to_namespace_list): ...here. New function.
31074 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31075 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31076 * elf/dl-load.c (lose): Don't remove the element from the list.
31077 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31078 (_dl_map_object): Likewise.
31079
310802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31081
31082 [BZ #12159]
31083 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31084 into all bytes of SSE register.
31085 Patch by Richard Li <richardpku@gmail.com>.
31086
f0967738 310872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31088
31089 [BZ #12140]
31090 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31091 perturbing.
31092
d0b9e94f
MB
310932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31094
31095 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31096 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31097 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31100 submachine.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31102
8e9f92e9
AS
311032010-10-22 Andreas Schwab <schwab@redhat.com>
31104
31105 * include/dlfcn.h (__RTLD_SECURE): Define.
31106 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31107 mode & __RTLD_SECURE instead.
31108 (open_path): Rename preloaded parameter to secure.
31109 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31110 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31111 * elf/dl-deps.c (openaux): Likewise.
31112 * elf/rtld.c (struct map_args): Remove is_preloaded.
31113 (map_doit): Don't use it.
31114 (dl_main): Likewise.
31115 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31116 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31117
bc96fbda
AS
311182010-09-09 Andreas Schwab <schwab@redhat.com>
31119
31120 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31121 (sysd-rules-targets): Remove duplicates.
31122 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31123 rtld-%.$o dependency.
31124
22cd1c9b
AS
311252010-10-18 Andreas Schwab <schwab@redhat.com>
31126
31127 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31128 _dl_map_object do it.
31129
18edac48
UD
311302010-10-19 Ulrich Drepper <drepper@gmail.com>
31131
31132 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31133 fast fma builtins, define the macros in the C99 standard.
31134 (FP_FAST_FMAF): Likewise.
31135 (FP_FAST_FMAL): Likewise.
31136 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31137
31138 * bits/mathdef.h: Update copyright year.
31139 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31140
d2050124
MM
311412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31142
31143 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31144 builtins, define the macros in the C99 standard.
31145 (FP_FAST_FMAF): Likewise.
31146 (FP_FAST_FMAL): Likewise.
31147 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31148 multiply/add.
31149 (FP_FAST_FMAF): Likewise.
31150
475facd1
JJ
311512010-10-15 Jakub Jelinek <jakub@redhat.com>
31152
31153 [BZ #3268]
31154 * math/libm-test.inc (fma_test): Some new testcases.
31155 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31156 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31157 y and infinite z. Do multiplication by C already in long double.
31158 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31159 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31160 y and infinite z. Do bitwise or of inexact bit into u.d.
31161 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31162 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31163 * sysdeps/i386/fpu/s_fma.S: Removed.
31164 * sysdeps/i386/fpu/s_fmal.S: Removed.
31165
7c08a05c
JJ
311662010-10-16 Jakub Jelinek <jakub@redhat.com>
31167
31168 [BZ #3268]
31169 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31170 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31171 computation is not scheduled after fetestexcept. Fix value
31172 of minimum denormal long double.
31173
f3f7372d
JJ
311742010-10-14 Jakub Jelinek <jakub@redhat.com>
31175
31176 [BZ #3268]
31177 * math/libm-test.inc (fma_test): Add some more tests.
31178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31179 correctly.
31180
14d43591
AS
311812010-10-15 Andreas Schwab <schwab@redhat.com>
31182
31183 * scripts/data/localplt-s390-linux-gnu.data: New file.
31184 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31185
5e908464
JJ
311862010-10-13 Jakub Jelinek <jakub@redhat.com>
31187
31188 [BZ #3268]
31189 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31190 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31191 instead of dbl-64.
31192 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31193 inlines.
31194 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31196 if one of x and y is very large and the other is subnormal.
31197 * sysdeps/s390/fpu/s_fmaf.c: New file.
31198 * sysdeps/s390/fpu/s_fma.c: New file.
31199 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31200 * sysdeps/powerpc/fpu/s_fma.S: New file.
31201 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31202 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31203 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31204
312052010-10-12 Jakub Jelinek <jakub@redhat.com>
31206
31207 [BZ #3268]
31208 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31209 fma tests.
31210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31211 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31212 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31213 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31214 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31215 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31217
b833d51f
UD
312182010-10-12 Ulrich Drepper <drepper@redhat.com>
31219
31220 [BZ #12078]
31221 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31222 * posix/bug-regex31.input: Add test case.
31223
1751705d
UD
312242010-10-11 Ulrich Drepper <drepper@gmail.com>
31225
e9b9cbf5
UD
31226 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31227 * posix/bug-regex31.input: New file.
31228
31229 [BZ #12078]
31230 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31231 (parse_sub_exp): Fix last change, use postorder.
31232
ef06edbe
UD
31233 * posix/bug-regex31.c: New file.
31234 * posix/Makefile: Add rules to build and run bug-regex31.
31235
a129c80d
UD
31236 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31237
31238 [BZ #12078]
31239 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31240
b76b818e
UD
31241 [BZ #12108]
31242 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31243 to have entries in sys_siglist.
31244
1751705d
UD
31245 [BZ #12093]
31246 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31247 be NULL.
31248
9ff8d36f
JJ
312492010-10-07 Jakub Jelinek <jakub@redhat.com>
31250
31251 [BZ #3268]
31252 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31253 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31254 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31255 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31256 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31257 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31258 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31259 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31260 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31261 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31262 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31263 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31264 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31265 * math/ftestexcept.c (fetestexcept): Likewise.
31266 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31267 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31268 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31269 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31270 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31271 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31273
af325969
UD
312742010-10-11 Ulrich Drepper <drepper@gmail.com>
31275
c579b202 31276 [BZ #12107]
af325969
UD
31277 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31278 newline.
31279
67a67b95
UD
312802010-10-06 Ulrich Drepper <drepper@gmail.com>
31281
31282 * string/bug-strstr1.c: New file.
31283 * string/Makefile: Add rules to build and run bug-strstr1.
31284
5fb308bc
EB
312852010-10-05 Eric Blake <eblake@redhat.com>
31286
31287 [BZ #12092]
31288 * string/str-two-way.h (two_way_long_needle): Always clear memory
31289 when skipping input due to the shift table.
31290
45db99c7
UD
312912010-10-03 Ulrich Drepper <drepper@gmail.com>
31292
3b111893
UD
31293 [BZ #12005]
31294 * malloc/mcheck.c: Handle large requests.
31295
45db99c7
UD
31296 [BZ #12077]
31297 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31298 for strncmp and strncasecmp.
31299 * string/stratcliff.c: Add tests for strcmp and strncmp.
31300 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31301
cf7a1eb8
NI
313022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31303
31304 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31305 __set_fpscr.
31306
6484ba5e
AJ
313072010-09-30 Andreas Jaeger <aj@suse.de>
31308
31309 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31310 (CGROUP_SUPER_MAGIC): Define.
31311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31312 Handle btrfs and cgroup file systems.
31313 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31314 Likewise.
31315
91c42559
LM
313162010-09-27 Luis Machado <luisgpm@br.ibm.com>
31317
31318 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31319 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31320
87a97932
AK
313212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31322
31323 [BZ #12067]
31324 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31325 trying to locate the ELF header.
31326
c21cc9bc
AS
313272010-09-27 Andreas Schwab <schwab@redhat.com>
31328
31329 [BZ #11611]
31330 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31331 Mask out sign-bit copies when constructing f_fsid.
31332
315970f6
PB
313332010-09-24 Petr Baudis <pasky@suse.cz>
31334
31335 * debug/stack_chk_fail_local.c: Add missing licence exception.
31336 * debug/warning-nop.c: Likewise.
31337
1ac7a2c7
JM
313382010-09-15 Joseph Myers <joseph@codesourcery.com>
31339
31340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31341 implementing getdents64 using getdents syscall, set d_type if
31342 __ASSUME_GETDENTS32_D_TYPE.
31343
56801c50
AS
313442010-09-16 Andreas Schwab <schwab@redhat.com>
31345
31346 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31347 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31348
dda51327
UD
313492010-09-21 Ulrich Drepper <drepper@redhat.com>
31350
31351 [BZ #12037]
31352 * posix/unistd.h: Undo change of feature selection for ftruncate from
31353 2010-01-11.
31354
8ffcee4a
UD
313552010-09-20 Ulrich Drepper <drepper@redhat.com>
31356
a545ecd9 31357 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31358 detection.
31359
e24f0a8b
AS
313602010-09-20 Andreas Schwab <schwab@redhat.com>
31361
31362 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31363 fanotify_mark.
31364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31365
7291c56f
AS
313662010-09-14 Andreas Schwab <schwab@redhat.com>
31367
31368 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31369 variables after CHECK_SP call.
31370 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31371
bc5fb037
AS
313722010-09-13 Andreas Schwab <schwab@redhat.com>
31373 Ulrich Drepper <drepper@redhat.com>
31374
31375 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31376 re-relocationg ld.so.
31377 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31378 _dl_init_paths call.
31379 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31380 here anymore.
31381
e66e7419
UD
313822010-09-14 Ulrich Drepper <drepper@redhat.com>
31383
31384 * resolv/res_init.c (__res_vinit): Count the default server we added.
31385
c044aa75
CLT
313862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31387 Ulrich Drepper <drepper@redhat.com>
31388
31389 [BZ #11968]
31390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31391 (____longjmp_chk): Use %ebx for saving value across system call.
31392 Add unwind info.
31393
32cf4069
AS
313942010-09-06 Andreas Schwab <schwab@redhat.com>
31395
31396 * manual/Makefile: Don't mix pattern rules with normal rules.
31397
817328ee
AS
313982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31399
31400 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31401 operation.
31402 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31403 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31404 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31405 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31407 Likewise.
31408
29fddf61
UD
314092010-09-04 Ulrich Drepper <drepper@redhat.com>
31410
31411 [BZ #11979]
31412 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31413 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31414
0959ffc9
UD
314152010-09-02 Ulrich Drepper <drepper@redhat.com>
31416
31417 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31418 * sysdeps/x86_64/addmul_1.S: Likewise.
31419 * sysdeps/x86_64/lshift.S: Likewise.
31420 * sysdeps/x86_64/mul_1.S: Likewise.
31421 * sysdeps/x86_64/rshift.S: Likewise.
31422 * sysdeps/x86_64/sub_n.S: Likewise.
31423 * sysdeps/x86_64/submul_1.S: Likewise.
31424
ece29840
ST
314252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31426
0959ffc9
UD
31427 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31428 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31429 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31430 * bits/sched.h [__need_schedparam]
ece29840 31431 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31432 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31433 (__defined_schedparam): Define to 1.
ece29840
ST
31434 (__sched_param): New structure, identical to sched_param.
31435 (__need_schedparam): Undefine.
31436
e53a31fe
MF
314372010-08-31 Mike Frysinger <vapier@gentoo.org>
31438
fdc0c10d
MF
31439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31440 (epoll_create1): Declare.
31441
e53a31fe
MF
31442 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31443
a726d796
AS
314442010-08-31 Andreas Schwab <schwab@redhat.com>
31445
31446 [BZ #7066]
31447 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31448 shifting retval into place.
31449
2f3e3dc7
UD
314502010-09-01 Ulrich Drepper <drepper@redhat.com>
31451
f2933da9
UD
31452 * nis/rpcsvc/nis.h: Update copyright notice.
31453 * nis/rpcsvc/nis.x: Likewise.
31454 * nis/rpcsvc/nis_callback.h: Likewise.
31455 * nis/rpcsvc/nis_callback.x: Likewise.
31456 * nis/rpcsvc/nis_object.x: Likewise.
31457 * nis/rpcsvc/nis_tags.h: Likewise.
31458 * nis/rpcsvc/yp.h: Likewise.
31459 * nis/rpcsvc/yp.x: Likewise.
31460 * nis/rpcsvc/ypupd.h: Likewise.
31461 * nis/yp_xdr.c: Likewise.
31462 * nis/ypupdate_xdr.c: Likewise.
31463
2f3e3dc7
UD
31464 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31465 mainly the body of pmap_getport. Add parameters to specify timeouts.
31466 (pmap_getport): Use __libc_rpc_getport.
31467 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31468 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31469 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31470
f3dcc2f9
AS
314712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31472
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31474 fanotify_mark.
31475
6d34eb5b
RM
314762010-08-27 Roland McGrath <roland@redhat.com>
31477
31478 * sysdeps/i386/i686/multiarch/Makefile
31479 (CFLAGS-varshift.c): New variable.
31480
9ea3de11
UD
314812010-08-27 Ulrich Drepper <drepper@redhat.com>
31482
c96d23fc
UD
31483 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31484 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31485
9ea3de11
UD
31486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31487
31488 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31489
623aac7f
L
314902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31491
31492 * sysdeps/x86_64/strlen.S: Unroll the loop.
31493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31494 strlen-sse2 strlen-sse2-bsf.
31495 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31496 __strlen_no_bsf if bit_Slow_BSF is set.
31497 (__strlen_sse42): Removed.
31498 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31499 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31500
8b2b7715
RM
315012010-08-25 Roland McGrath <roland@redhat.com>
31502
31503 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31504 * sysdeps/x86_64/multiarch/varshift.c: New file.
31505 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31506 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31507 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31508 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31509
e73015f2
L
315102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31511
31512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31513 strlen-sse2 strlen-sse2-bsf.
31514 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31515 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31516 (__strlen_sse2): Removed.
31517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31520 bit_Slow_BSF for Atom.
31521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31522 (index_Slow_BSF): Define.
31523 (HAS_SLOW_BSF): Define.
31524
df24a73e
UD
315252010-08-25 Ulrich Drepper <drepper@redhat.com>
31526
31527 [BZ #10851]
31528 * resolv/res_init.c (__res_vinit): When no server address at all
31529 is given default to loopback.
31530
f2ac4868
RM
315312010-08-24 Roland McGrath <roland@redhat.com>
31532
09055553
RM
31533 * configure.in: Remove config-name.h generation.
31534 * configure: Regenerated.
31535 * config-name.in: File removed.
31536 * scripts/config-uname.sh: New file.
31537 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31538 ($(objdir)config-name.h): New target.
31539
f2ac4868
RM
31540 * sunrpc/rpc_parse.h: Avoid nested comment.
31541
73f27d5e
RH
315422010-08-24 Richard Henderson <rth@redhat.com>
31543 Ulrich Drepper <drepper@redhat.com>
31544 H.J. Lu <hongjiu.lu@intel.com>
31545
31546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31548 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31549 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31550 _mm_alignr_epi8 with _mm_loadu_si128.
31551 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31552 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31553 (__m128i_shift_right): Removed.
31554 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31555 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31556 * sysdeps/x86_64/multiarch/varshift.h: New file.
31557 * sysdeps/x86_64/multiarch/varshift.S: New file.
31558
84b9230c
MF
315592010-08-21 Mike Frysinger <vapier@gentoo.org>
31560
31561 * configure.in: Move assembler checks to before sysdep dir checking.
31562
9bbd0ddc
PB
315632010-08-20 Petr Baudis <pasky@suse.cz>
31564
31565 * LICENSES: Sync the sunrpc license.
31566
9da4bb31
UD
315672010-08-19 Ulrich Drepper <drepper@redhat.com>
31568
a7ab6ec8
UD
31569 * sunrpc/auth_des.c: Update copyright notice once again.
31570 * sunrpc/auth_none.c: Likewise.
31571 * sunrpc/auth_unix.c: Likewise.
31572 * sunrpc/authdes_prot.c: Likewise.
31573 * sunrpc/authuxprot.c: Likewise.
31574 * sunrpc/bindrsvprt.c: Likewise.
31575 * sunrpc/clnt_gen.c: Likewise.
31576 * sunrpc/clnt_perr.c: Likewise.
31577 * sunrpc/clnt_raw.c: Likewise.
31578 * sunrpc/clnt_simp.c: Likewise.
31579 * sunrpc/clnt_tcp.c: Likewise.
31580 * sunrpc/clnt_udp.c: Likewise.
31581 * sunrpc/clnt_unix.c: Likewise.
31582 * sunrpc/des_crypt.c: Likewise.
31583 * sunrpc/des_soft.c: Likewise.
31584 * sunrpc/get_myaddr.c: Likewise.
31585 * sunrpc/getrpcport.c: Likewise.
31586 * sunrpc/key_call.c: Likewise.
31587 * sunrpc/key_prot.c: Likewise.
31588 * sunrpc/openchild.c: Likewise.
31589 * sunrpc/pm_getmaps.c: Likewise.
31590 * sunrpc/pm_getport.c: Likewise.
31591 * sunrpc/pmap_clnt.c: Likewise.
31592 * sunrpc/pmap_prot.c: Likewise.
31593 * sunrpc/pmap_prot2.c: Likewise.
31594 * sunrpc/pmap_rmt.c: Likewise.
31595 * sunrpc/rpc/auth.h: Likewise.
31596 * sunrpc/rpc/auth_unix.h: Likewise.
31597 * sunrpc/rpc/clnt.h: Likewise.
31598 * sunrpc/rpc/des_crypt.h: Likewise.
31599 * sunrpc/rpc/key_prot.h: Likewise.
31600 * sunrpc/rpc/netdb.h: Likewise.
31601 * sunrpc/rpc/pmap_clnt.h: Likewise.
31602 * sunrpc/rpc/pmap_prot.h: Likewise.
31603 * sunrpc/rpc/pmap_rmt.h: Likewise.
31604 * sunrpc/rpc/rpc.h: Likewise.
31605 * sunrpc/rpc/rpc_des.h: Likewise.
31606 * sunrpc/rpc/rpc_msg.h: Likewise.
31607 * sunrpc/rpc/svc.h: Likewise.
31608 * sunrpc/rpc/svc_auth.h: Likewise.
31609 * sunrpc/rpc/types.h: Likewise.
31610 * sunrpc/rpc/xdr.h: Likewise.
31611 * sunrpc/rpc_clntout.c: Likewise.
31612 * sunrpc/rpc_cmsg.c: Likewise.
31613 * sunrpc/rpc_common.c: Likewise.
31614 * sunrpc/rpc_cout.c: Likewise.
31615 * sunrpc/rpc_dtable.c: Likewise.
31616 * sunrpc/rpc_hout.c: Likewise.
31617 * sunrpc/rpc_main.c: Likewise.
31618 * sunrpc/rpc_parse.c: Likewise.
31619 * sunrpc/rpc_parse.h: Likewise.
31620 * sunrpc/rpc_prot.c: Likewise.
31621 * sunrpc/rpc_sample.c: Likewise.
31622 * sunrpc/rpc_scan.c: Likewise.
31623 * sunrpc/rpc_scan.h: Likewise.
31624 * sunrpc/rpc_svcout.c: Likewise.
31625 * sunrpc/rpc_tblout.c: Likewise.
31626 * sunrpc/rpc_util.c: Likewise.
31627 * sunrpc/rpc_util.h: Likewise.
31628 * sunrpc/rpcinfo.c: Likewise.
31629 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31630 * sunrpc/rpcsvc/key_prot.x: Likewise.
31631 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31632 * sunrpc/rpcsvc/mount.x: Likewise.
31633 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31634 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31635 * sunrpc/rpcsvc/rex.x: Likewise.
31636 * sunrpc/rpcsvc/rstat.x: Likewise.
31637 * sunrpc/rpcsvc/rusers.x: Likewise.
31638 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31639 * sunrpc/rpcsvc/spray.x: Likewise.
31640 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31641 * sunrpc/rtime.c: Likewise.
31642 * sunrpc/svc.c: Likewise.
31643 * sunrpc/svc_auth.c: Likewise.
31644 * sunrpc/svc_authux.c: Likewise.
31645 * sunrpc/svc_raw.c: Likewise.
31646 * sunrpc/svc_run.c: Likewise.
31647 * sunrpc/svc_simple.c: Likewise.
31648 * sunrpc/svc_tcp.c: Likewise.
31649 * sunrpc/svc_udp.c: Likewise.
31650 * sunrpc/svc_unix.c: Likewise.
31651 * sunrpc/svcauth_des.c: Likewise.
31652 * sunrpc/xcrypt.c: Likewise.
31653 * sunrpc/xdr.c: Likewise.
31654 * sunrpc/xdr_array.c: Likewise.
31655 * sunrpc/xdr_float.c: Likewise.
31656 * sunrpc/xdr_mem.c: Likewise.
31657 * sunrpc/xdr_rec.c: Likewise.
31658 * sunrpc/xdr_ref.c: Likewise.
31659 * sunrpc/xdr_sizeof.c: Likewise.
31660 * sunrpc/xdr_stdio.c: Likewise.
31661
9da4bb31
UD
31662 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31663 handling.
31664
bdaa77bc
AS
316652010-08-19 Andreas Schwab <schwab@redhat.com>
31666
31667 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31668
fe2f79db
LM
316692010-08-19 Luis Machado <luisgpm@br.ibm.com>
31670
31671 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31673 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31674 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31675 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31676 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31677 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31678 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31679 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31680 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31681 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31682 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31683 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31684 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31685
b9b42ee0
AB
316862010-07-26 Anton Blanchard <anton@samba.org>
31687
31688 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31689 * malloc/arena.c (heap_trim): Likewise.
31690
1c06ba31
UD
316912010-08-16 Ulrich Drepper <drepper@redhat.com>
31692
31693 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31694 here. Not...
31695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31696 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31697
f8392f40
L
316982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31699
31700 * sysdeps/i386/elf/Makefile: New file.
31701
3162f12e
AS
317022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31703
31704 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31705 from fanotify_init.
31706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31708
28c90b2c
UD
317092010-08-15 Ulrich Drepper <drepper@redhat.com>
31710
31711 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31712 of strncasecmp_l.
1feccb6c 31713 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31714
ca6bb004
UD
317152010-08-14 Ulrich Drepper <drepper@redhat.com>
31716
e9f82e0d
UD
31717 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31718 strncase_l-nonascii.
31719 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31720 Add strncase_l-ssse3.
31721 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31722 * sysdeps/x86_64/strcmp.S: Likewise.
31723 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31724 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31725 * sysdeps/x86_64/strncase.S: New file.
31726 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31727 * sysdeps/x86_64/strncase_l.S: New file.
31728 * string/Makefile (strop-tests): Add strncasecmp.
31729 * string/test-strncasecmp.c: New file.
31730
31731 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31732 warning.
31733
ca6bb004
UD
31734 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31735 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31736
052fa7b3
AS
317372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31738
31739 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31740
962dba78
UD
317412010-08-12 Ulrich Drepper <drepper@redhat.com>
31742
31743 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31744 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31745 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31746
bebff237
AM
317472010-05-01 Alan Modra <amodra@gmail.com>
31748
31749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31750 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31751 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31752 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31753 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31754 tidying. Don't tail-call __sigjmp_save for static lib.
31755 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31756 save location.
31757 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31758 (CALL_MCOUNT): Add eh info, and nop after bl.
31759 (TAIL_CALL_SYSCALL_ERROR): New macro.
31760 (PSEUDO_RET): Use it.
31761 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31762 Correct save location of integer regs and cr.
31763 (_dl_profile_resolve): Correct cr save location. Delete nops
31764 after bl when SHARED. Reduce cfi size a little by better
31765 placement of cfi directives.
31766 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31767 make a stack frame. Instead use parm save area as a temp.
31768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31769 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31771 Don't make a stack frame for parent, use parm save area.
31772 Increase child stack frame to 112 bytes. Don't save unused reg,
31773 and adjust reg usage. Set up cfi on error recovery and
31774 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31776 (__makecontext): Add dummy nop after jump to exit.
31777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31778 Use correct parm save area and cr save, reduce stack frame.
31779 Correct cfi for possible PSEUDO_RET frame setup.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31781 Branch to local label emitted by PSEUDO_RET rather than
31782 __syscall_error.
31783
02637374
AS
317842010-08-12 Andreas Schwab <schwab@redhat.com>
31785
31786 [BZ #11904]
31787 * locale/programs/locale.c (print_assignment): New function.
31788 (show_locale_vars): Use it.
31789
c3e2f19b
UD
317902010-08-11 Ulrich Drepper <drepper@redhat.com>
31791
3cdaa6ad
UD
31792 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31793 field.
31794 (struct statfs64): Likewise.
31795 (_STATFS_F_FLAGS): Define.
31796 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31797 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31798 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31799 (ST_VALID): Define locally.
31800 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31801 __statvfs_getflags, use the provided value.
31802 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31803 __ASSUME_STATFS_F_FLAGS.
31804
754f7da3
UD
31805 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31806
10b3bedc
UD
31807 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31808 Add sys/fanotify.h.
31809 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31810 fanotify_mask for GLIBC_2.13.
31811 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31812 fanotify_init and fanotify_mark.
31813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31814 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31815
c08fb0d7
UD
31816 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31817 Add prlimit.
31818 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31819 prlimit64 for GLIBC_2.13.
31820 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31821 prlimit64.
31822 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31823 syscall.
31824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31826 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31827 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31829 add prlimit alias.
31830 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31831
15bac72b
UD
31832 [BZ #11903]
31833 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31834 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31835
c3e2f19b
UD
31836 * nss/Makefile: Add rules to build and run tst-nss-test1.
31837 * shlib-versions: Add entry for libnss_test1.
31838 * nss/nss_test1.c: New file.
31839 * nss/tst-nss-test1.c: New file.
31840
31841 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31842 (__nss_configure_lookup): Set appropriate entry in
31843 __nss_configure_lookup to true.
31844 * nss/nsswitch.h: Define enum with indeces of databases in
31845 databases and __nss_database_custom arrays. Declare
31846 __nss_database_custom.
31847 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31848 to avoid using nscd when custom rules are installed.
31849 * nss/getXXbyYY_r.c: Likewise.
31850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31851
31852 * nss/nss_files/files-parse.c: Whitespace fixes.
31853
f15ce4d8
UD
318542010-08-09 Ulrich Drepper <drepper@redhat.com>
31855
31856 [BZ #11883]
31857 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31858 * posix/fnmatch_loop.c: Likewise.
31859
d22e4cc9
AK
318602010-07-17 Andi Kleen <ak@linux.intel.com>
31861
31862 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31863 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31864 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31865 * Versions.def [GLIBC_2.13]: Add.
31866
805bc17d
UD
318672010-08-06 Ulrich Drepper <drepper@redhat.com>
31868
31869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31870 Also fail if tpwd after pwuid call is NULL.
31871
5a42321d
ST
318722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31873
31874 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31875 when converting to ms.
31876
fd3ebeda
ST
318772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31878
31879 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31880 EOPNOTSUPP errors with ENOTTY.
31881 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31882 EOPNOTSUPP errors with ENOTTY.
31883
73507d3a
UD
318842010-07-31 Ulrich Drepper <drepper@redhat.com>
31885
31886 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31887 Add strcasecmp_l-ssse3.
31888 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31889 strcasecmp.
31890 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31891 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31892 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31893
fe36dd02
UD
318942010-07-30 Ulrich Drepper <drepper@redhat.com>
31895
66f6765a
UD
31896 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31897
42e08a54
UD
31898 * string/Makefile (strop-tests): Add strcasecmp.
31899 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31900 strcasecmp_l-nonascii.
31901 (gen-as-const-headers): Add locale-defines.sym.
31902 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31903 * sysdeps/x86_64/strcasecmp.S: New file.
31904 * sysdeps/x86_64/strcasecmp_l.S: New file.
31905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31906 * sysdeps/x86_64/locale-defines.sym: New file.
31907 * string/test-strcasecmp.c: New file.
31908
fe36dd02
UD
31909 * string/test-strcasestr.c: Test both ends of the range of characters.
31910 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31911
48cbc0d6
RM
319122010-07-29 Roland McGrath <roland@redhat.com>
31913
76e6d6bc 31914 [BZ #11856]
48cbc0d6
RM
31915 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31916
880113d9
UD
319172010-07-27 Ulrich Drepper <drepper@redhat.com>
31918
31919 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31920 for ld.so.
31921
deb9cabb
AS
319222010-07-27 Andreas Schwab <schwab@redhat.com>
31923
31924 * manual/memory.texi (Malloc Tunable Parameters): Document
31925 M_PERTURB.
31926
1c7570ff
RM
319272010-07-26 Roland McGrath <roland@redhat.com>
31928
31929 [BZ #11840]
31930 * configure.in (-fgnu89-inline check): Set and substitute
31931 gnu89_inline, not libc_cv_gnu89_inline.
31932 * configure: Regenerated.
31933 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31934
24fb0f88
UD
319352010-07-26 Ulrich Drepper <drepper@redhat.com>
31936
31937 * string/test-strnlen.c: New file.
31938 * string/Makefile (strop-tests): Add strnlen.
31939 * string/tester.c (test_strnlen): Add a few more test cases.
31940 * string/tst-strlen.c: Better error reporting.
31941
31942 * sysdeps/x86_64/strnlen.S: New file.
31943
8e96b93a
UD
319442010-07-24 Ulrich Drepper <drepper@redhat.com>
31945
31946 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31947 lower-latency instructions.
31948
dbc676d4
UD
319492010-07-23 Ulrich Drepper <drepper@redhat.com>
31950
31951 * string/test-strcasestr.c: New file.
31952 * string/test-strstr.c: New file.
31953 * string/Makefile (strop-tests): Add strstr and strcasestr.
31954 * string/str-two-way.h: Don't undefine MAX.
31955 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31956
f6a31e0e
AS
319572010-07-21 Andreas Schwab <schwab@redhat.com>
31958
31959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31960 strcasestr-nonascii.
31961 (CFLAGS-strcasestr-nonascii.c): Define.
31962 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31964 Remove unused attribute.
31965
5dbc3b6c
RM
319662010-07-20 Roland McGrath <roland@redhat.com>
31967
31968 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31969 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31970 ld.so.cache was broken. With it, there is no way to disable dsocaps
31971 like LD_HWCAP_MASK can disable hwcaps.
31972
23d101d8
EPM
319732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31974
31975 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31976
cc9f2e47
UD
319772010-07-16 Ulrich Drepper <drepper@redhat.com>
31978
31979 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31980 call in strcasestr.
31981 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31982 __strcasestr_sse42_nonascii.
31983 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31984 strcasestr-nonascii.c.
31985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31986
77c1b069
LM
319872010-06-15 Luis Machado <luisgpm@br.ibm.com>
31988
31989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31990 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31992 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31993
440566c3
UD
319942010-07-09 Ulrich Drepper <drepper@redhat.com>
31995
31996 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31997 fcntl.
31998
5be9d05d
AS
319992010-07-06 Andreas Schwab <schwab@redhat.com>
32000
c30b7ee2 32001 [BZ #11577]
5be9d05d
AS
32002 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32003 dl_signal_cerror.
32004
8a492a67
UD
320052010-07-06 Ulrich Drepper <drepper@redhat.com>
32006
32007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32008 _PC_PIPE_BUF using F_GETPIPE_SZ.
32009
713df3d5
RM
320102010-07-05 Roland McGrath <roland@redhat.com>
32011
32012 * manual/arith.texi (Rounding Functions): Fix rint description
32013 implicit in round description.
32014
702e8f14
UD
320152010-07-02 Ulrich Drepper <drepper@redhat.com>
32016
32017 * elf/Makefile: Fix linking for a few tests to make recent linker
32018 happy.
32019
52ed8be9
AS
320202010-06-30 Andreas Schwab <schwab@redhat.com>
32021
32022 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32023 $(common-objpfx)libc_nonshared.a.
32024
f47c9a11
LM
320252010-06-21 Luis Machado <luisgpm@br.ibm.com>
32026
32027 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32028 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32029 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32030 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32031 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32032 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32033 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32034 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32049 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32050 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32051 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32052 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32053 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32054 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32055 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32056 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32057 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32058 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32059 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32060 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32075
6fb8cbcb
L
320762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32077
32078 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32079 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32080 * string/memmove.c (memmove): Renamed to ...
32081 (MEMMOVE): ...this. Default to memmove.
32082 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32083 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32084 (END_CHK): Define.
32085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32086 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32087 mempcpy-ssse3-back memmove-ssse3-back.
32088 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32089 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32091 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32092 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32093 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32094 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32095 * sysdeps/x86_64/multiarch/memmove.c: New file.
32096 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32097 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32098 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32099 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32100 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32102 Define.
32103 (index_Fast_Copy_Backward): Define.
32104 (HAS_ARCH_FEATURE): Define.
32105 (HAS_FAST_REP_STRING): Define.
32106 (HAS_FAST_COPY_BACKWARD): Define.
32107
4e733bac 321082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32109
32110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32111 Restore proper fallback handling.
32112
63c4ed22
UD
321132010-06-19 Ulrich Drepper <drepper@redhat.com>
32114
ac2b484c
UD
32115 [BZ #11701]
32116 * posix/group_member.c (__group_member): Correct checking loop.
32117
63c4ed22
UD
32118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32119 OOM in getpwuid_r correctly. Return error number when the caller
32120 should return, otherwise -1.
32121 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32122 call returning > 0 value.
32123 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32124
765ade4b
AS
321252010-06-07 Andreas Schwab <schwab@redhat.com>
32126
32127 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32128 libc_nonshared.a from targets in modules-names.
32129
80da2e09
KS
321302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32131
32132 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32133 requires it.
32134
158db122
LM
321352010-06-10 Luis Machado <luisgpm@br.ibm.com>
32136
32137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32138 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32139 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32141
caa78cf8
AS
321422010-06-02 Andreas Schwab <schwab@redhat.com>
32143
32144 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32145
b2ef2c01
UD
321462010-06-14 Ulrich Drepper <drepper@redhat.com>
32147
32148 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32149 and F_GETPIPE_SZ.
32150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32154 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32155 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32156
fbd643b6
RM
321572010-06-14 Roland McGrath <roland@redhat.com>
32158
32159 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32160
f32f2869
JJ
321612010-06-07 Jakub Jelinek <jakub@redhat.com>
32162
32163 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32164 __REDIRECT followed by __THROW.
32165 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32166 * posix/getopt.h (getopt): Likewise.
32167
2a50c078
EPM
321682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32169
32170 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32171 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32172 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32173 in AT_FLAGS.
32174 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32175 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32176
eb5ad2eb
LM
321772010-05-28 Luis Machado <luisgpm@br.ibm.com>
32178
32179 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32180
3c88fe1e
L
321812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 [BZ #11640]
32184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32185 Properly check family and model.
32186
d2f73151
TY
321872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32188
32189 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32190
ebd2e13d
LM
321912010-05-24 Luis Machado <luisgpm@br.ibm.com>
32192
32193 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32194
b32b8b45
UD
321952010-05-21 Ulrich Drepper <drepper@redhat.com>
32196
32197 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32198 symbol reference.
32199
9acbe24d
AS
322002010-05-19 Andreas Schwab <schwab@redhat.com>
32201
32202 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32203 symbol reference.
32204
f0ccf6ea
AS
322052010-05-21 Andreas Schwab <schwab@redhat.com>
32206
3d04ff3a
AS
32207 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32208 and internal_recvmmsg.
32209 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32210 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32211 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32212 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32213
f0ccf6ea
AS
32214 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32215 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32216 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32217
5b08ac57
AS
322182010-05-20 Andreas Schwab <schwab@redhat.com>
32219
32220 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32221
4828935d
LM
322222010-05-17 Luis Machado <luisgpm@br.ibm.com>
32223
32224 POWER7 optimizations.
32225 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32226 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32227
373d545e
UD
322282010-05-19 Ulrich Drepper <drepper@redhat.com>
32229
32230 * version.h: Update for 2.13 development version.
32231
21a2b1ae
AS
322322010-05-12 Andrew Stubbs <ams@codesourcery.com>
32233
32234 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32235 exceptions. Return 0.
32236
3f7dcb2b
RM
322372010-05-07 Roland McGrath <roland@redhat.com>
32238
32239 * elf/ldconfig.c (main): Add a const.
32240
5f24d53a 322412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32242
a160f8d8
UD
32243 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32244 (args_options): Add no-idn option.
32245 (ahosts_keys_int): Add idn_flags to ai_flags.
32246 (parse_option): Handle 'i' option to clear idn_flags.
32247
5f24d53a
UD
32248 * malloc/malloc.c (_int_free): Possible race in the most recently
32249 added check. Only act on the data if no current modification
32250 happened.
265bb1ce
UD
32251
32252See ChangeLog.17 for earlier changes.